Skip to content

Commit 1acc291

Browse files
committed
chore: update font style
1 parent 777e471 commit 1acc291

File tree

8 files changed

+10
-26
lines changed

8 files changed

+10
-26
lines changed

docs/更新日志.md

+8
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ abbrlink: 179nqpxt
66

77
`create-react-doc` 严格遵循 [Semantic Versioning 2.0.0](http://semver.org/lang/zh-CN/) 语义化版本规范。
88

9+
### 1.10.3
10+
11+
`2022-11-26`
12+
13+
- **Enhancement**
14+
15+
- 🎈 更新主题字体样式为手写体风格。
16+
917
### 1.10.2
1018

1119
`2022-11-19`

packages/crd-seed/component/Header/index.less

-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@
106106
margin-bottom: 20px;
107107
margin-top: 8px;
108108
padding-left: 20px;
109-
font-family: Lato, Helvetica Neue For Number, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif;
110109
}
111110

112111
.darkMode {

packages/crd-seed/component/Menu/style/index.less

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
transition: background .2s ease-in-out, width .2s ease-in-out;
1212
overflow: auto;
1313
user-select: none;
14+
font-weight: 600;
1415

1516
&-item {
1617
// margin: 0 16px 0 15px;

packages/crd-seed/component/Tags/index.less

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
flex-direction: column;
99

1010
&-title {
11-
font-family: Palatino, Garamond, Times, Georgia, serif;
1211
font-size: 24px;
1312
font-weight: 400;
1413
text-align: center;

packages/crd-seed/index.less

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
body {
2-
font-family: Helvetica Neue For Number, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif;
2+
font-family: cursive, sans-serif;
33
}
44

55
body,

packages/crd-theme/index.less

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
body {
2-
font-family: Helvetica Neue For Number, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif;
3-
}
4-
51
body,
62
html {
73
position: relative;

packages/crd-theme/markdown/style/default.less

-17
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,7 @@
11
code {
2-
font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
32
word-wrap: normal;
43
}
54

6-
// code:not(.hljs) {
7-
// padding: 0.2em 0.4em;
8-
// margin: 0;
9-
// font-size: 85%;
10-
// background-color: rgba(27, 31, 35, 0.07);
11-
// border-radius: 3px;
12-
// }
13-
14-
// code.hljs {
15-
// padding: 16px;
16-
// font-size: 95%;
17-
// line-height: 1.5;
18-
// display: block;
19-
// text-shadow: 0 1px #fff;
20-
// }
21-
225
pre {
236
max-height: 35em;
247
position: relative;

packages/crd-theme/markdown/style/index.less

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
.markdown {
22
padding: 0 40px 20px 40px;
33
margin: 0 auto;
4-
font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;
54
font-size: 14px;
65
line-height: 1.5;
76
word-wrap: break-word;
@@ -31,5 +30,4 @@
3130
margin-bottom: 20px;
3231
margin-top: 8px;
3332
padding-left: 20px;
34-
font-family: Lato,Helvetica Neue For Number,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif;
3533
}

0 commit comments

Comments
 (0)