mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-02-26 07:01:06 +01:00
[design] improve link item name colour
This commit is contained in:
parent
2dbf22c1dc
commit
7574b148ee
@ -114,7 +114,7 @@
|
||||
--link-item-color-focus-hover: var(--theme-color-03);
|
||||
--link-item-visual-element-color: var(--theme-accent);
|
||||
--link-item-visual-element-color-focus-hover: var(--theme-style-text);
|
||||
--link-item-name-color: var(--theme-color-19);
|
||||
--link-item-name-color: var(--theme-color-14);
|
||||
--link-item-name-color-focus-hover: var(--theme-style-text);
|
||||
--link-item-image-opacity: 1;
|
||||
--link-item-size: 1em;
|
||||
|
@ -1363,10 +1363,13 @@ var link = (function() {
|
||||
var shades = theme.mod.color.shades(stagedLink.link.color.rgb);
|
||||
var rgb;
|
||||
if (hsl.l < 50) {
|
||||
rgb = shades.positive["9"];
|
||||
rgb = shades.positive["10"];
|
||||
} else {
|
||||
rgb = shades.negative["10"];
|
||||
};
|
||||
if (hsl.l < 50) {
|
||||
linkItemStyle.push("--theme-style-text: var(--theme-white);");
|
||||
} else {
|
||||
rgb = shades.negative["9"];
|
||||
linkItemStyle.push("--theme-style-text: var(--theme-black);");
|
||||
};
|
||||
linkItemStyle.push("--link-item-visual-element-color-focus-hover: var(--theme-style-text);");
|
||||
|
@ -2230,7 +2230,7 @@ var theme = (function() {
|
||||
shade: {
|
||||
opacity: 0.05
|
||||
}
|
||||
}, {
|
||||
}, {
|
||||
name: "Hypnos",
|
||||
font: {
|
||||
display: {
|
||||
|
Loading…
Reference in New Issue
Block a user