Skip to content

Commit c617122

Browse files
committed
Optimize some text style
1 parent 22154ca commit c617122

File tree

7 files changed

+17
-16
lines changed

7 files changed

+17
-16
lines changed

npm/dist/blog-404-v2.0.0.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

npm/dist/blog-index-v2.0.0.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

npm/dist/blog-post-v2.0.0.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

npm/dist/blog-scaffold-v2.0.0.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

npm/src/component/list.scss

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@
77
@use "sass:color";
88

99
.mdc-deprecated-list:not(.nav-list) {
10-
border: 1px solid;
11-
border-color: var(--divider-color);
10+
border: 1px dashed;
11+
border-color: var(--divider-dashed-color);
1212
border-radius: var(--table-list-border-radius);
1313

1414
li {
1515
margin: 0;
1616
}
1717
.mdc-deprecated-list-divider {
1818
border: none;
19-
border-top: 1px solid;
20-
border-color: var(--divider-color);
19+
border-top: 1px dashed;
20+
border-color: var(--divider-dashed-color);
2121
}
2222
}
2323

npm/src/component/text.scss

+1
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ blockquote {
211211
// 引用段落中的<p>
212212
blockquote p {
213213
margin: 0;
214+
color: var(--mdc-theme-on-surface-secondary);
214215
}
215216

216217
audio {

npm/src/component/theme.scss

+8-8
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ $text-content-secondary: (
7676
$blockquote-border: (
7777
// light: #f6c9c9,
7878
// dark: #824d4d,
79-
light: color.adjust(map.get($surface, "light"), $lightness: -10%),
80-
dark: color.adjust(map.get($surface, "dark"), $lightness: +10%),
79+
light: color.adjust(map.get($surface, "light"), $lightness: -5%),
80+
dark: color.adjust(map.get($surface, "dark"), $lightness: +5%),
8181
);
8282

8383
$drawer-nav-ripple: (
@@ -160,8 +160,8 @@ $dialog-action-btn-ripple: (
160160
);
161161

162162
$chip-bg: (
163-
light: color.adjust(map.get($surface, "light"), $lightness: -3%),
164-
dark: color.adjust(map.get($surface, "dark"), $lightness: +3%),
163+
light: color.adjust(map.get($surface, "light"), $lightness: -2.4%),
164+
dark: color.adjust(map.get($surface, "dark"), $lightness: +2.4%),
165165
);
166166
$chip-ink: (
167167
light: color.adjust(map.get($chip-bg, "light"), $lightness: -60%),
@@ -221,13 +221,13 @@ $code-highlight-border: (
221221
);
222222

223223
$strong-under-line: (
224-
light: color.adjust(map.get($surface, "light"), $lightness: -10%),
224+
light: color.adjust(map.get($surface, "light"), $lightness: -8%),
225225
dark: color.adjust(map.get($surface, "dark"), $lightness: +10%),
226226
);
227227

228228
$surface-block-bg: (
229229
light: color.adjust(map.get($surface, "light"), $lightness: - 0.5%),
230-
dark: color.adjust(map.get($surface, "dark"), $lightness: - 1.2%),
230+
dark: color.adjust(map.get($surface, "dark"), $lightness: - 0.5%),
231231
);
232232

233233
$surface-block-ripple: (
@@ -241,8 +241,8 @@ $surface-block-ink-strong: (
241241
);
242242

243243
$surface-block-border-dashed: (
244-
light: color.adjust(map.get($surface-block-bg, "light"), $lightness: -20%),
245-
dark: color.adjust(map.get($surface-block-bg, "dark"), $lightness: +20%),
244+
light: color.adjust(map.get($surface-block-bg, "light"), $lightness: -15%),
245+
dark: color.adjust(map.get($surface-block-bg, "dark"), $lightness: +15%),
246246
);
247247

248248
$surface-block-border: (

0 commit comments

Comments
 (0)