Skip to content

Commit da07c22

Browse files
authored
fix(developer experts card): Add dark mode compatability (#2919)
1 parent 45c965b commit da07c22

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

src/components/page/intro/next/DeveloperExperts/index.module.scss

+14-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
1+
:global {
2+
html[data-theme='dark'] {
3+
--c-bg-dev-experts: var(--token-secondary-bg-c);
4+
}
5+
6+
:root {
7+
--c-bg-dev-experts: var(--c-indigo-10);
8+
}
9+
}
10+
111
.developerExperts {
2-
background-color: var(--c-indigo-10);
12+
background-color: var(--c-bg-dev-experts);
313

414
padding: 2.5rem;
515

@@ -13,14 +23,16 @@
1323

1424
&Title {
1525
margin-block-end: 0.5rem;
26+
27+
color: var(--token-heading-color-dark);
1628
}
1729

1830
&Description {
1931
margin-block-end: 2.5rem;
2032

2133
line-height: 1.6 !important;
2234

23-
color: var(--c-indigo-90);
35+
// color: var(--c-indigo-90);
2436
}
2537

2638
&Links {

0 commit comments

Comments
 (0)