Skip to content

Commit bd19869

Browse files
committed
feat: add color-base variable to qing and su
1 parent 3fa117f commit bd19869

File tree

1 file changed

+56
-2
lines changed

1 file changed

+56
-2
lines changed

theme.css

Lines changed: 56 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -854,6 +854,19 @@ body {
854854
--background-secondary: #f1f0ee;
855855
--background-secondary-alt: #dddfe3;
856856

857+
--color-base-00: #fafafa;
858+
--color-base-05: #f7f7f7;
859+
--color-base-10: #f1f1f2;
860+
--color-base-20: #e8e8ea;
861+
--color-base-25: #dfdfe2;
862+
--color-base-30: #d4d4d8;
863+
--color-base-35: #bcbcc4;
864+
--color-base-40: #a3a3af;
865+
--color-base-50: #8a8a98;
866+
--color-base-60: #6d6d7a;
867+
--color-base-70: #53535f;
868+
--color-base-100: #313139;
869+
857870
--background-gradient: radial-gradient(
858871
ellipse at 50% 30%,
859872
hsl(0, 0%, 100%) 20%,
@@ -889,6 +902,19 @@ body {
889902
--background-secondary: #2d333b;
890903
--background-secondary-alt: #373e48;
891904

905+
--color-base-00: #1a1e24;
906+
--color-base-05: #20242b;
907+
--color-base-10: #252a32;
908+
--color-base-20: #2d333b;
909+
--color-base-25: #333a43;
910+
--color-base-30: #3b424d;
911+
--color-base-35: #444c58;
912+
--color-base-40: #4d5666;
913+
--color-base-50: #5e6778;
914+
--color-base-60: #717b8c;
915+
--color-base-70: #8b93a2;
916+
--color-base-100: #e6e9ee;
917+
892918
--background-gradient: radial-gradient(
893919
ellipse at 50% 30%,
894920
hsl(220, 12%, 18%) 20%,
@@ -925,6 +951,20 @@ body {
925951
--background-primary-alt: #ecf2f4;
926952
--background-secondary: #e0e8eb;
927953
--background-secondary-alt: #d4dfe2;
954+
955+
--color-base-00: #f8fbfb;
956+
--color-base-05: #f2f8f8;
957+
--color-base-10: #eaf3f4;
958+
--color-base-20: #dfeaec;
959+
--color-base-25: #d1e0e3;
960+
--color-base-30: #c2d5d9;
961+
--color-base-35: #b0c9cf;
962+
--color-base-40: #9bbbc2;
963+
--color-base-50: #82a4ac;
964+
--color-base-60: #668890;
965+
--color-base-70: #4f6b72;
966+
--color-base-100: #2c3f44;
967+
928968
--background-gradient: linear-gradient(
929969
160deg,
930970
hsl(190, 30%, 95%) 0%,
@@ -958,6 +998,19 @@ body {
958998
--background-secondary: hsl(198, 20%, 24%);
959999
--background-secondary-alt: hsl(198, 18%, 27%);
9601000

1001+
--color-base-00: #192c33;
1002+
--color-base-05: #1e313a;
1003+
--color-base-10: #233640;
1004+
--color-base-20: #293e49;
1005+
--color-base-25: #30454f;
1006+
--color-base-30: #384d58;
1007+
--color-base-35: #405861;
1008+
--color-base-40: #49636d;
1009+
--color-base-50: #5a7680;
1010+
--color-base-60: #6d8891;
1011+
--color-base-70: #869fa8;
1012+
--color-base-100: #dae5e9;
1013+
9611014
--background-gradient: linear-gradient(
9621015
165deg,
9631016
hsl(198, 28%, 16%) 0%,
@@ -1056,7 +1109,6 @@ body:not(.composer--DisableHeadingDecoration-ReadingView) {
10561109
vertical-align: middle;
10571110
}
10581111

1059-
10601112
.markdown-rendered > h2::before,
10611113
.markdown-rendered .el-h2 > h2::before {
10621114
background-color: var(--h2-indicator-color);
@@ -1089,7 +1141,9 @@ body:not(.composer--DisableHeadingDecoration-ReadingView) {
10891141
}
10901142

10911143
/* heading line highlight */
1092-
.composer--enable-heading-line-editing-highlight .markdown-source-view.mod-cm6 .HyperMD-header.cm-active {
1144+
.composer--enable-heading-line-editing-highlight
1145+
.markdown-source-view.mod-cm6
1146+
.HyperMD-header.cm-active {
10931147
background-color: var(--header-active-bg);
10941148
}
10951149

0 commit comments

Comments
 (0)