mirror of
https://github.com/tridactyl/tridactyl.git
synced 2026-09-10 07:16:33 -04:00
Cheer up linter
This commit is contained in:
parent
eddfe2b41a
commit
808317f3d2
|
|
@ -62,8 +62,14 @@ export async function theme(element) {
|
|||
const hintElemOptions = await config.getAsync("hintstyles")
|
||||
|
||||
// Allow for different hint text colours if using overlays (can help visibility issues)
|
||||
const hintFgVar = hintElemOptions.overlay === "all" ? "--tridactyl-hint-highlight-fg" : "--tridactyl-hint-fg"
|
||||
const activeFgVar = hintElemOptions.overlay === "all" ? "--tridactyl-hint-highlight-active-fg" : "--tridactyl-hint-active-fg"
|
||||
const hintFgVar =
|
||||
hintElemOptions.overlay === "all"
|
||||
? "--tridactyl-hint-highlight-fg"
|
||||
: "--tridactyl-hint-fg"
|
||||
const activeFgVar =
|
||||
hintElemOptions.overlay === "all"
|
||||
? "--tridactyl-hint-highlight-active-fg"
|
||||
: "--tridactyl-hint-active-fg"
|
||||
|
||||
const hintElemRules =
|
||||
(hintElemOptions.fg === "all"
|
||||
|
|
|
|||
Loading…
Reference in a new issue