Skip to content

Commit 18977bd

Browse files
committed
Tweaks for a11y.
1 parent eeaea18 commit 18977bd

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

wp-hooks-docs/src/css/custom.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,15 @@
22
* Custom CSS for WordPress Hooks Documentation
33
*/
44

5+
html:not([data-theme='dark']) {
6+
--ifm-color-primary: #3071db;
7+
--ifm-breadcrumb-color-active: #2c6bd4;
8+
--ifm-hover-overlay: rgba(0, 0, 0, 0.1)
9+
}
10+
11+
html[data-theme='dark'] {
12+
--ifm-color-primary: #367ff6;
13+
--ifm-breadcrumb-color-active: #3884ff;
14+
--ifm-breadcrumb-item-background-active: #202022;
15+
--ifm-hover-overlay: rgba(255, 255, 255, 0.1)
16+
}

0 commit comments

Comments
 (0)