Skip to content

Commit f16dd04

Browse files
committed
Improve light mode link colors
- Normal links should be the same color as the text, not red. - Method name links should be the same color as the text, not red.
1 parent 6e387ff commit f16dd04

File tree

1 file changed

+2
-5
lines changed
  • lib/rdoc/generator/template/aliki/css

1 file changed

+2
-5
lines changed

lib/rdoc/generator/template/aliki/css/rdoc.css

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@
6161
--color-border-default: var(--color-neutral-300);
6262
--color-border-subtle: var(--color-neutral-200);
6363
--color-border-emphasis: var(--color-neutral-400);
64-
--color-link-default: var(--color-primary-600);
65-
--color-link-hover: var(--color-primary-700);
64+
--color-link-default: var(--color-text-primary);
65+
--color-link-hover: var(--color-primary-600);
6666
--color-accent-primary: var(--color-primary-600);
6767
--color-accent-hover: var(--color-primary-700);
6868
--color-accent-subtle: var(--color-primary-50);
@@ -635,7 +635,6 @@ nav ul ul ul ul {
635635
}
636636

637637
nav a {
638-
color: var(--color-text-primary);
639638
text-decoration: none;
640639
}
641640

@@ -1006,12 +1005,10 @@ main .method-heading {
10061005
}
10071006

10081007
main .method-heading .method-name {
1009-
color: var(--color-text-primary);
10101008
font-weight: var(--font-weight-semibold);
10111009
}
10121010

10131011
main .method-heading .method-args {
1014-
color: var(--color-text-secondary);
10151012
font-weight: var(--font-weight-normal);
10161013
}
10171014

0 commit comments

Comments
 (0)