Skip to content

Commit a733d7e

Browse files
committed
tweak dark styles
1 parent 9a0b5ed commit a733d7e

File tree

2 files changed

+33
-7
lines changed

2 files changed

+33
-7
lines changed

website/src/components/TierPlusButtons/styles.module.css

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,12 @@
4040
}
4141

4242
[data-theme="dark"] .sponsorbutton {
43-
border: 1px solid var(--ifm-color-primary);
44-
background-color: var(--ifm-color-primary);
43+
border: 1px solid var(--ifm-color-primary-light);
44+
background-color: var(--ifm-color-primary-light);
45+
}
46+
47+
[data-theme="dark"] .borderbutton {
48+
color: black;
4549
}
4650

4751
[data-theme="dark"] .sponsorbutton:hover {
@@ -51,7 +55,7 @@
5155

5256
[data-theme="dark"] .borderbutton:hover {
5357
border: 1px solid var(--ifm-color-primary-lightest);
54-
color: var(--ifm-color-lightest);
58+
background-color: var(--ifm-color-primary-lightest);
5559
}
5660

5761
@media screen and (max-width: 995px) {

website/src/components/TiersPlus/styles.module.css

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,20 @@
5454
}
5555

5656
.hint {
57-
background: rgb(230, 246, 230);
58-
color: rgb(0, 49, 0);
57+
background: rgb(221, 245, 221);
58+
color: #059669;
5959
padding: 0 0.8rem 0.1rem;
6060
font-size: 0.8rem;
6161
border-radius: calc(infinity * 1px);
6262
margin-left: 1rem;
6363
height: 1.5rem;
6464
}
6565

66+
[data-theme="dark"] .hint {
67+
background: #059669;
68+
color: rgb(230, 246, 230);
69+
}
70+
6671
.badge {
6772
margin: -1.8rem 0 0;
6873
background-color: white;
@@ -78,8 +83,15 @@
7883
}
7984
}
8085

81-
[data-theme="dark"] .tier {
82-
border: 2px solid var(--ifm-color-primary);
86+
[data-theme="dark"] .badge {
87+
background-color: var(--ifm-color-primary-light);
88+
border-color: var(--ifm-color-primary-light);
89+
color: black;
90+
}
91+
92+
[data-theme="dark"] .featured .badge {
93+
background-color: var(--ifm-color-primary);
94+
border-color: var(--ifm-color-primary);
8395
}
8496

8597
.banner {
@@ -120,6 +132,11 @@
120132

121133
[data-theme="dark"] .title,
122134
[data-theme="dark"] .note {
135+
color: var(--ifm-color-primary-light);
136+
}
137+
138+
[data-theme="dark"] .featured .title,
139+
[data-theme="dark"] .featured .note {
123140
color: var(--ifm-color-primary);
124141
}
125142

@@ -202,6 +219,11 @@
202219
}
203220

204221
[data-theme="dark"] .button {
222+
background-color: var(--ifm-color-primary-light);
223+
border-color: var(--ifm-color-primary-light);
224+
}
225+
226+
[data-theme="dark"] .featured .button {
205227
background-color: var(--ifm-color-primary);
206228
border-color: var(--ifm-color-primary);
207229
}

0 commit comments

Comments
 (0)