diff --git a/src/theme.js b/src/theme.js index b7fbe40df4..ab5974f207 100644 --- a/src/theme.js +++ b/src/theme.js @@ -148,7 +148,7 @@ function setCustomThemeVars(customTheme) { function setCSSVariable(name, hexColor, doPct = true) { style.setProperty(`--${name}`, hexColor); if (doPct) { - // uses #rrggbbaa to define the color with alpha values at 0% and 50% + // uses #rrggbbaa to define the color with alpha values at 0%, 15% and 50% style.setProperty(`--${name}-0pct`, hexColor + "00"); style.setProperty(`--${name}-15pct`, hexColor + "26"); style.setProperty(`--${name}-50pct`, hexColor + "7F");