Cheer up linter

This commit is contained in:
Oliver Blanthorn 2026-06-17 10:47:38 +02:00
parent eddfe2b41a
commit 808317f3d2
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -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"