Skip to content

Commit 1be2ca9

Browse files
authored
optimize blockquote styles for dark mode (#6481)
1 parent 25a6e2e commit 1be2ca9

File tree

2 files changed

+31
-24
lines changed

2 files changed

+31
-24
lines changed

src/styles/dark.scss

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,34 @@ body {
6464
color: #82b7f6;
6565
}
6666
}
67+
68+
aside.tip,
69+
aside.warning,
70+
aside.preview,
71+
aside.todo {
72+
background-color: #222222;
73+
color: #fff;
74+
}
75+
aside.tip {
76+
> .tip__prefix {
77+
color: #fff;
78+
}
79+
}
80+
aside.warning {
81+
> .warning__prefix {
82+
color: #fff;
83+
}
84+
}
85+
aside.preview {
86+
> .preview__prefix {
87+
color: #fff;
88+
}
89+
}
90+
aside.todo {
91+
> .todo__prefix {
92+
color: #fff;
93+
}
94+
}
6795
}
6896
.sidebar-item__title,
6997
.sidebar-item__anchor a {

yarn.lock

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -338,14 +338,7 @@
338338
"@babel/traverse" "^7.18.9"
339339
"@babel/types" "^7.18.9"
340340

341-
"@babel/helper-simple-access@^7.18.6":
342-
version "7.18.6"
343-
resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.18.6.tgz#d6d8f51f4ac2978068df934b569f08f29788c7ea"
344-
integrity sha512-iNpIgTgyAvDQpDj76POqg+YEt8fPxx3yaNBg3S30dxNKm2SWfYhD0TGrK/Eu9wHpUW63VQU894TsTg+GLbUa1g==
345-
dependencies:
346-
"@babel/types" "^7.18.6"
347-
348-
"@babel/helper-simple-access@^7.19.4":
341+
"@babel/helper-simple-access@^7.18.6", "@babel/helper-simple-access@^7.19.4":
349342
version "7.19.4"
350343
resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.19.4.tgz#be553f4951ac6352df2567f7daa19a0ee15668e7"
351344
integrity sha512-f9Xq6WqBFqaDfbCzn2w85hwklswz5qsKlh7f08w4Y9yhJHpnNC0QemtSkK5YyOY8kPGvyiwdzZksGUhnGdaUIg==
@@ -1139,16 +1132,7 @@
11391132
debug "^4.1.0"
11401133
globals "^11.1.0"
11411134

1142-
"@babel/types@^7.0.0", "@babel/types@^7.18.10", "@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.19.0", "@babel/types@^7.19.4", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4":
1143-
version "7.19.4"
1144-
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.19.4.tgz#0dd5c91c573a202d600490a35b33246fed8a41c7"
1145-
integrity sha512-M5LK7nAeS6+9j7hAq+b3fQs+pNfUtTGq+yFFfHnauFA8zQtLRfmuipmsKDKKLuyG+wC8ABW43A153YNawNTEtw==
1146-
dependencies:
1147-
"@babel/helper-string-parser" "^7.19.4"
1148-
"@babel/helper-validator-identifier" "^7.19.1"
1149-
to-fast-properties "^2.0.0"
1150-
1151-
"@babel/types@^7.20.0":
1135+
"@babel/types@^7.0.0", "@babel/types@^7.18.10", "@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.19.0", "@babel/types@^7.19.4", "@babel/types@^7.20.0", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4":
11521136
version "7.20.0"
11531137
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.20.0.tgz#52c94cf8a7e24e89d2a194c25c35b17a64871479"
11541138
integrity sha512-Jlgt3H0TajCW164wkTOTzHkZb075tMQMULzrLUoUeKmO7eFL96GgDxf7/Axhc5CAuKE3KFyVW1p6ysKsi2oXAg==
@@ -1875,16 +1859,11 @@
18751859
"@nodelib/fs.stat" "2.0.5"
18761860
run-parallel "^1.1.9"
18771861

1878-
"@nodelib/[email protected]":
1862+
"@nodelib/[email protected]", "@nodelib/fs.stat@^2.0.2":
18791863
version "2.0.5"
18801864
resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b"
18811865
integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==
18821866

1883-
"@nodelib/fs.stat@^2.0.2":
1884-
version "2.0.3"
1885-
resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.3.tgz#34dc5f4cabbc720f4e60f75a747e7ecd6c175bd3"
1886-
integrity sha512-bQBFruR2TAwoevBEd/NWMoAAtNGzTRgdrqnYCc7dhzfoNvqPzLyqlEQnzZ3kVnNrSp25iyxE00/3h2fqGAGArA==
1887-
18881867
"@nodelib/fs.walk@^1.2.3", "@nodelib/fs.walk@^1.2.8":
18891868
version "1.2.8"
18901869
resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a"

0 commit comments

Comments
 (0)