8373679: Link color accessibility issue in dark theme

Reviewed-by: liach, nbenalla
This commit is contained in:
Hannes Wallnöfer 2026-01-26 13:28:04 +00:00
parent 8a9127fc2d
commit 37cb22826a
2 changed files with 8 additions and 1 deletions

View File

@ -163,6 +163,13 @@
<path d="m8 8 84 84" style="stroke:%23e0e0e0;stroke-width:15"/>\ <path d="m8 8 84 84" style="stroke:%23e0e0e0;stroke-width:15"/>\
<path d="M8 92 92 8" style="stroke:%23e0e0e0;stroke-width:15"/></svg>'); <path d="M8 92 92 8" style="stroke:%23e0e0e0;stroke-width:15"/></svg>');
--current-theme-svg: url("moon.svg"); --current-theme-svg: url("moon.svg");
div.block a[href], div.horizontal-scroll a[href], div.inherited-list h3 a[href], header > div a[href],
.hierarchy a[href], .index a[href], div.caption a[href], .sub-title a[href], .deprecation-comment a[href],
.serialized-class-details a[href] {
text-decoration: underline;
text-decoration-thickness: 0.02em;
text-underline-offset: 0.12em;
}
} }
/* /*
* Styles for individual HTML elements. * Styles for individual HTML elements.

View File

@ -122,7 +122,7 @@ public class CheckStylesheetClasses {
"modifiers", "permits", "return-type"); "modifiers", "permits", "return-type");
// misc: these are defined in HtmlStyle, and used by the doclet // misc: these are defined in HtmlStyle, and used by the doclet
removeAll(htmlStyleNames, "col-plain", "external-link", "header", "index", removeAll(htmlStyleNames, "col-plain", "external-link", "header",
"package-uses", "packages", "permits-note", "serialized-package-container", "package-uses", "packages", "permits-note", "serialized-package-container",
"source-container"); "source-container");