diff --git a/examples/doc-viewer/app/components/home-gallery.tsx b/examples/doc-viewer/app/components/home-gallery.tsx
index 81d4de0b..289cc426 100644
--- a/examples/doc-viewer/app/components/home-gallery.tsx
+++ b/examples/doc-viewer/app/components/home-gallery.tsx
@@ -840,7 +840,7 @@ const HomeGallery: FunctionWidget = ({ locale }: { locale: Locale }) => {
{copy.payout_amount}
diff --git a/examples/doc-viewer/app/global.css b/examples/doc-viewer/app/global.css
index 70e9b2f1..3f9891af 100644
--- a/examples/doc-viewer/app/global.css
+++ b/examples/doc-viewer/app/global.css
@@ -1329,7 +1329,6 @@ home-column {
width: 25%;
height: 6px;
border-radius: 3px;
- @apply bg-primary dark:bg-primary-dark;
}
.home-danger {
diff --git a/lib/ui/include/ui/theme.h b/lib/ui/include/ui/theme.h
index e3fd27de..a810c72a 100644
--- a/lib/ui/include/ui/theme.h
+++ b/lib/ui/include/ui/theme.h
@@ -40,6 +40,8 @@ typedef struct ui_theme_rule {
ui_theme_token_t token;
int dark;
int alpha;
+ /* 0: a plain color property; > 0: box-shadow spread in pixels */
+ int shadow;
} ui_theme_rule_t;
/**
diff --git a/lib/ui/src/ui_theme.c b/lib/ui/src/ui_theme.c
index ca2893fa..18ee544c 100644
--- a/lib/ui/src/ui_theme.c
+++ b/lib/ui/src/ui_theme.c
@@ -170,6 +170,18 @@ static void format_color(theme_color_t *color, char *buf, size_t size)
color->color.g, color->color.b, color->alpha);
}
+static void format_rule_value(const ui_theme_rule_t *rule, theme_color_t *color,
+ char *buf, size_t size)
+{
+ if (rule->shadow > 0) {
+ snprintf(buf, size, "0 0 0 %dpx rgba(%u, %u, %u, %.2f)",
+ rule->shadow, color->color.r, color->color.g,
+ color->color.b, color->alpha);
+ return;
+ }
+ format_color(color, buf, size);
+}
+
static int append_rule(char *css, size_t *length, int dark,
const char *selector, const char *property,
const char *value)
@@ -264,7 +276,7 @@ int ui_theme_set_accent_color(const char *hex)
if (rule->alpha >= 0) {
color.alpha = rule->alpha / 255.0f;
}
- format_color(&color, value, sizeof(value));
+ format_rule_value(rule, &color, value, sizeof(value));
if (append_rule(css, &length, rule->dark, rule->selector,
rule->property, value) != 0) {
free(css);
diff --git a/scripts/generate-accent-themes.js b/scripts/generate-accent-themes.js
index 8b35ecf4..c2507d2a 100644
--- a/scripts/generate-accent-themes.js
+++ b/scripts/generate-accent-themes.js
@@ -118,6 +118,39 @@ function extractRules(css) {
rules.push({ selector: rule.selector, ...parsed });
}
});
+ /* Focus rings are box-shadows; override their color so the ring follows
+ * the accent instead of the fixed neutral `boxShadow.focus*` values. */
+ rule.walkDecls("box-shadow", (decl) => {
+ const match = decl.value.match(
+ /theme\("boxShadow\.(focus(?:-sm)?)(-dark)?"\)/
+ );
+ if (!match) {
+ return;
+ }
+ for (const part of rule.selector.split(",")) {
+ let selector = part.trim();
+ let dark = !!match[2];
+ if (selector.startsWith(".dark ")) {
+ selector = selector.slice(6).trim();
+ dark = true;
+ }
+ const key = [selector, "box-shadow", "primary", dark, match[1]].join(
+ "|"
+ );
+ if (seen.has(key)) {
+ continue;
+ }
+ seen.add(key);
+ rules.push({
+ selector,
+ property: "box-shadow",
+ token: "primary",
+ dark,
+ alpha: dark ? 0.3 : 0.2,
+ shadow: match[1] === "focus-sm" ? 2 : 3,
+ });
+ }
+ });
});
return rules;
}
@@ -141,7 +174,9 @@ function cssForAccent(accent, rules) {
return rules
.map((rule) => {
const selector = scopeSelector(rule.selector, accent.name, rule.dark);
- return `${selector} {\n ${rule.property}: ${tokenValue(tokens, rule)};\n}\n`;
+ const color = tokenValue(tokens, rule);
+ const value = rule.shadow ? `0 0 0 ${rule.shadow}px ${color}` : color;
+ return `${selector} {\n ${rule.property}: ${value};\n}\n`;
})
.join("\n");
}
@@ -177,7 +212,7 @@ function rulesHeader(rules) {
rule.alpha === undefined ? -1 : Math.round(rule.alpha * 255);
for (const selector of rule.selector.split(",").map((part) => part.trim())) {
rows.push(
- ` { "${selector}", "${rule.property}", ${TOKEN_ENUM[rule.token]}, ${rule.dark ? 1 : 0}, ${alpha} },`
+ ` { "${selector}", "${rule.property}", ${TOKEN_ENUM[rule.token]}, ${rule.dark ? 1 : 0}, ${alpha}, ${rule.shadow || 0} },`
);
}
}
diff --git a/src/styles/accent-rules.h b/src/styles/accent-rules.h
index fd553c70..1cae0f80 100644
--- a/src/styles/accent-rules.h
+++ b/src/styles/accent-rules.h
@@ -1,111 +1,125 @@
/* Generated by scripts/generate-accent-themes.js */
/* clang-format off */
static const ui_theme_rule_t ui_theme_rules[] = {
- { "button:primary", "background-color", UI_THEME_TOKEN_PRIMARY, 0, -1 },
- { ".button-primary", "background-color", UI_THEME_TOKEN_PRIMARY, 0, -1 },
- { "button:primary", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 0, -1 },
- { ".button-primary", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 0, -1 },
- { "button:primary", "background-color", UI_THEME_TOKEN_PRIMARY, 1, -1 },
- { ".button-primary", "background-color", UI_THEME_TOKEN_PRIMARY, 1, -1 },
- { "button:primary", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 1, -1 },
- { ".button-primary", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 1, -1 },
- { "button:primary:hover", "background-color", UI_THEME_TOKEN_PRIMARY, 0, 230 },
- { ".button-primary:hover", "background-color", UI_THEME_TOKEN_PRIMARY, 0, 230 },
- { "button:primary:hover", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 0, -1 },
- { ".button-primary:hover", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 0, -1 },
- { "button:primary:hover", "background-color", UI_THEME_TOKEN_PRIMARY, 1, 230 },
- { ".button-primary:hover", "background-color", UI_THEME_TOKEN_PRIMARY, 1, 230 },
- { "button:primary:hover", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 1, -1 },
- { ".button-primary:hover", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 1, -1 },
- { "button:link", "color", UI_THEME_TOKEN_PRIMARY, 0, -1 },
- { ".button-link", "color", UI_THEME_TOKEN_PRIMARY, 0, -1 },
- { "button:link", "color", UI_THEME_TOKEN_PRIMARY, 1, -1 },
- { ".button-link", "color", UI_THEME_TOKEN_PRIMARY, 1, -1 },
- { "button:link:hover", "color", UI_THEME_TOKEN_PRIMARY, 0, -1 },
- { ".button-link:hover", "color", UI_THEME_TOKEN_PRIMARY, 0, -1 },
- { "button:link:hover", "color", UI_THEME_TOKEN_PRIMARY, 1, -1 },
- { ".button-link:hover", "color", UI_THEME_TOKEN_PRIMARY, 1, -1 },
- { "button:primary:active", "background-color", UI_THEME_TOKEN_PRIMARY, 0, 204 },
- { "button:primary:active", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 0, -1 },
- { "button:primary:active", "background-color", UI_THEME_TOKEN_PRIMARY, 1, 204 },
- { "button:primary:active", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 1, -1 },
- { "button:link:active", "color", UI_THEME_TOKEN_PRIMARY, 0, -1 },
- { ".button-link:active", "color", UI_THEME_TOKEN_PRIMARY, 0, -1 },
- { "button:link:active", "color", UI_THEME_TOKEN_PRIMARY, 1, -1 },
- { ".button-link:active", "color", UI_THEME_TOKEN_PRIMARY, 1, -1 },
- { "badge:default", "border-color", UI_THEME_TOKEN_PRIMARY, 0, -1 },
- { ".badge-default", "border-color", UI_THEME_TOKEN_PRIMARY, 0, -1 },
- { "badge:default", "background-color", UI_THEME_TOKEN_PRIMARY, 0, -1 },
- { ".badge-default", "background-color", UI_THEME_TOKEN_PRIMARY, 0, -1 },
- { "badge:default", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 0, -1 },
- { ".badge-default", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 0, -1 },
- { "badge:default", "border-color", UI_THEME_TOKEN_PRIMARY, 1, -1 },
- { ".badge-default", "border-color", UI_THEME_TOKEN_PRIMARY, 1, -1 },
- { "badge:default", "background-color", UI_THEME_TOKEN_PRIMARY, 1, -1 },
- { ".badge-default", "background-color", UI_THEME_TOKEN_PRIMARY, 1, -1 },
- { "badge:default", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 1, -1 },
- { ".badge-default", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 1, -1 },
- { ".tooltip-inner", "background-color", UI_THEME_TOKEN_PRIMARY, 0, -1 },
- { ".tooltip-inner", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 0, -1 },
- { ".tooltip-inner", "background-color", UI_THEME_TOKEN_PRIMARY, 1, -1 },
- { ".tooltip-inner", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 1, -1 },
- { "tooltip-content text", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 0, -1 },
- { "tooltip-content text", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 1, -1 },
- { ".tooltip-arrow.tooltip-side-top", "border-top-color", UI_THEME_TOKEN_PRIMARY, 0, -1 },
- { ".tooltip-arrow.tooltip-side-top", "border-top-color", UI_THEME_TOKEN_PRIMARY, 1, -1 },
- { ".tooltip-arrow.tooltip-side-bottom", "border-bottom-color", UI_THEME_TOKEN_PRIMARY, 0, -1 },
- { ".tooltip-arrow.tooltip-side-bottom", "border-bottom-color", UI_THEME_TOKEN_PRIMARY, 1, -1 },
- { ".tooltip-arrow.tooltip-side-left", "border-left-color", UI_THEME_TOKEN_PRIMARY, 0, -1 },
- { ".tooltip-arrow.tooltip-side-left", "border-left-color", UI_THEME_TOKEN_PRIMARY, 1, -1 },
- { ".tooltip-arrow.tooltip-side-right", "border-right-color", UI_THEME_TOKEN_PRIMARY, 0, -1 },
- { ".tooltip-arrow.tooltip-side-right", "border-right-color", UI_THEME_TOKEN_PRIMARY, 1, -1 },
- { "progress-indicator", "background-color", UI_THEME_TOKEN_PRIMARY, 0, -1 },
- { "progress-indicator", "background-color", UI_THEME_TOKEN_PRIMARY, 1, -1 },
- { "radio-group-item:checked", "border-color", UI_THEME_TOKEN_PRIMARY, 0, -1 },
- { "radio-group-item:checked", "background-color", UI_THEME_TOKEN_PRIMARY, 0, -1 },
- { "radio-group-item:checked", "border-color", UI_THEME_TOKEN_PRIMARY, 1, -1 },
- { "radio-group-item:checked", "background-color", UI_THEME_TOKEN_PRIMARY, 1, -1 },
- { "radio-group-item .indicator", "background-color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 0, -1 },
- { "radio-group-item .indicator", "background-color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 1, -1 },
- { "alert-dialog-action:primary", "background-color", UI_THEME_TOKEN_PRIMARY, 0, -1 },
- { "alert-dialog-action:primary", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 0, -1 },
- { "alert-dialog-action:primary", "background-color", UI_THEME_TOKEN_PRIMARY, 1, -1 },
- { "alert-dialog-action:primary", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 1, -1 },
- { "alert-dialog-action:primary:hover", "background-color", UI_THEME_TOKEN_PRIMARY, 0, 230 },
- { "alert-dialog-action:primary:hover", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 0, -1 },
- { "alert-dialog-action:primary:hover", "background-color", UI_THEME_TOKEN_PRIMARY, 1, 230 },
- { "alert-dialog-action:primary:hover", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 1, -1 },
- { "checkbox:checked", "border-color", UI_THEME_TOKEN_PRIMARY, 0, -1 },
- { "checkbox:indeterminate", "border-color", UI_THEME_TOKEN_PRIMARY, 0, -1 },
- { "checkbox:checked", "background-color", UI_THEME_TOKEN_PRIMARY, 0, -1 },
- { "checkbox:indeterminate", "background-color", UI_THEME_TOKEN_PRIMARY, 0, -1 },
- { "checkbox:checked", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 0, -1 },
- { "checkbox:indeterminate", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 0, -1 },
- { "checkbox:checked", "border-color", UI_THEME_TOKEN_PRIMARY, 1, -1 },
- { "checkbox:indeterminate", "border-color", UI_THEME_TOKEN_PRIMARY, 1, -1 },
- { "checkbox:checked", "background-color", UI_THEME_TOKEN_PRIMARY, 1, -1 },
- { "checkbox:indeterminate", "background-color", UI_THEME_TOKEN_PRIMARY, 1, -1 },
- { "checkbox:checked", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 1, -1 },
- { "checkbox:indeterminate", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 1, -1 },
- { "textinput .selection", "background-color", UI_THEME_TOKEN_PRIMARY, 0, -1 },
- { "textinput .selection", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 0, -1 },
- { "textinput .selection", "background-color", UI_THEME_TOKEN_PRIMARY, 1, -1 },
- { "textinput .selection", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 1, -1 },
- { ".sidebar-menu-button:hover", "background-color", UI_THEME_TOKEN_SIDEBAR_ACCENT, 0, -1 },
- { ".sidebar-menu-button:hover", "color", UI_THEME_TOKEN_SIDEBAR_ACCENT_FOREGROUND, 0, -1 },
- { ".sidebar-menu-button:hover", "background-color", UI_THEME_TOKEN_SIDEBAR_ACCENT, 1, -1 },
- { ".sidebar-menu-button:hover", "color", UI_THEME_TOKEN_SIDEBAR_ACCENT_FOREGROUND, 1, -1 },
- { ".sidebar-menu-button.active", "background-color", UI_THEME_TOKEN_SIDEBAR_ACCENT, 0, -1 },
- { ".sidebar-menu-button.active", "color", UI_THEME_TOKEN_SIDEBAR_ACCENT_FOREGROUND, 0, -1 },
- { ".sidebar-menu-button.active", "background-color", UI_THEME_TOKEN_SIDEBAR_ACCENT, 1, -1 },
- { ".sidebar-menu-button.active", "color", UI_THEME_TOKEN_SIDEBAR_ACCENT_FOREGROUND, 1, -1 },
- { ".sidebar-team-logo", "background-color", UI_THEME_TOKEN_SIDEBAR_PRIMARY, 0, -1 },
- { ".sidebar-team-logo", "color", UI_THEME_TOKEN_SIDEBAR_PRIMARY_FOREGROUND, 0, -1 },
- { ".sidebar-team-logo", "background-color", UI_THEME_TOKEN_SIDEBAR_PRIMARY, 1, -1 },
- { ".sidebar-team-logo", "color", UI_THEME_TOKEN_SIDEBAR_PRIMARY_FOREGROUND, 1, -1 },
- { ".sidebar-avatar", "background-color", UI_THEME_TOKEN_SIDEBAR_ACCENT, 0, -1 },
- { ".sidebar-avatar", "color", UI_THEME_TOKEN_SIDEBAR_ACCENT_FOREGROUND, 0, -1 },
- { ".sidebar-avatar", "background-color", UI_THEME_TOKEN_SIDEBAR_ACCENT, 1, -1 },
- { ".sidebar-avatar", "color", UI_THEME_TOKEN_SIDEBAR_ACCENT_FOREGROUND, 1, -1 },
+ { "button:primary", "background-color", UI_THEME_TOKEN_PRIMARY, 0, -1, 0 },
+ { ".button-primary", "background-color", UI_THEME_TOKEN_PRIMARY, 0, -1, 0 },
+ { "button:primary", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 0, -1, 0 },
+ { ".button-primary", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 0, -1, 0 },
+ { "button:primary", "background-color", UI_THEME_TOKEN_PRIMARY, 1, -1, 0 },
+ { ".button-primary", "background-color", UI_THEME_TOKEN_PRIMARY, 1, -1, 0 },
+ { "button:primary", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 1, -1, 0 },
+ { ".button-primary", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 1, -1, 0 },
+ { "button:primary:hover", "background-color", UI_THEME_TOKEN_PRIMARY, 0, 230, 0 },
+ { ".button-primary:hover", "background-color", UI_THEME_TOKEN_PRIMARY, 0, 230, 0 },
+ { "button:primary:hover", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 0, -1, 0 },
+ { ".button-primary:hover", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 0, -1, 0 },
+ { "button:primary:hover", "background-color", UI_THEME_TOKEN_PRIMARY, 1, 230, 0 },
+ { ".button-primary:hover", "background-color", UI_THEME_TOKEN_PRIMARY, 1, 230, 0 },
+ { "button:primary:hover", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 1, -1, 0 },
+ { ".button-primary:hover", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 1, -1, 0 },
+ { "button:link", "color", UI_THEME_TOKEN_PRIMARY, 0, -1, 0 },
+ { ".button-link", "color", UI_THEME_TOKEN_PRIMARY, 0, -1, 0 },
+ { "button:link", "color", UI_THEME_TOKEN_PRIMARY, 1, -1, 0 },
+ { ".button-link", "color", UI_THEME_TOKEN_PRIMARY, 1, -1, 0 },
+ { "button:link:hover", "color", UI_THEME_TOKEN_PRIMARY, 0, -1, 0 },
+ { ".button-link:hover", "color", UI_THEME_TOKEN_PRIMARY, 0, -1, 0 },
+ { "button:link:hover", "color", UI_THEME_TOKEN_PRIMARY, 1, -1, 0 },
+ { ".button-link:hover", "color", UI_THEME_TOKEN_PRIMARY, 1, -1, 0 },
+ { "button:primary:active", "background-color", UI_THEME_TOKEN_PRIMARY, 0, 204, 0 },
+ { "button:primary:active", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 0, -1, 0 },
+ { "button:primary:active", "background-color", UI_THEME_TOKEN_PRIMARY, 1, 204, 0 },
+ { "button:primary:active", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 1, -1, 0 },
+ { "button:link:active", "color", UI_THEME_TOKEN_PRIMARY, 0, -1, 0 },
+ { ".button-link:active", "color", UI_THEME_TOKEN_PRIMARY, 0, -1, 0 },
+ { "button:link:active", "color", UI_THEME_TOKEN_PRIMARY, 1, -1, 0 },
+ { ".button-link:active", "color", UI_THEME_TOKEN_PRIMARY, 1, -1, 0 },
+ { "badge:default", "border-color", UI_THEME_TOKEN_PRIMARY, 0, -1, 0 },
+ { ".badge-default", "border-color", UI_THEME_TOKEN_PRIMARY, 0, -1, 0 },
+ { "badge:default", "background-color", UI_THEME_TOKEN_PRIMARY, 0, -1, 0 },
+ { ".badge-default", "background-color", UI_THEME_TOKEN_PRIMARY, 0, -1, 0 },
+ { "badge:default", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 0, -1, 0 },
+ { ".badge-default", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 0, -1, 0 },
+ { "badge:default", "border-color", UI_THEME_TOKEN_PRIMARY, 1, -1, 0 },
+ { ".badge-default", "border-color", UI_THEME_TOKEN_PRIMARY, 1, -1, 0 },
+ { "badge:default", "background-color", UI_THEME_TOKEN_PRIMARY, 1, -1, 0 },
+ { ".badge-default", "background-color", UI_THEME_TOKEN_PRIMARY, 1, -1, 0 },
+ { "badge:default", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 1, -1, 0 },
+ { ".badge-default", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 1, -1, 0 },
+ { "attachment.has-trigger:active", "box-shadow", UI_THEME_TOKEN_PRIMARY, 0, 51, 2 },
+ { "attachment.has-trigger:focus", "box-shadow", UI_THEME_TOKEN_PRIMARY, 0, 51, 2 },
+ { "attachment.has-trigger:active", "box-shadow", UI_THEME_TOKEN_PRIMARY, 1, 77, 2 },
+ { "attachment.has-trigger:focus", "box-shadow", UI_THEME_TOKEN_PRIMARY, 1, 77, 2 },
+ { ".tooltip-inner", "background-color", UI_THEME_TOKEN_PRIMARY, 0, -1, 0 },
+ { ".tooltip-inner", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 0, -1, 0 },
+ { ".tooltip-inner", "background-color", UI_THEME_TOKEN_PRIMARY, 1, -1, 0 },
+ { ".tooltip-inner", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 1, -1, 0 },
+ { "tooltip-content text", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 0, -1, 0 },
+ { "tooltip-content text", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 1, -1, 0 },
+ { ".tooltip-arrow.tooltip-side-top", "border-top-color", UI_THEME_TOKEN_PRIMARY, 0, -1, 0 },
+ { ".tooltip-arrow.tooltip-side-top", "border-top-color", UI_THEME_TOKEN_PRIMARY, 1, -1, 0 },
+ { ".tooltip-arrow.tooltip-side-bottom", "border-bottom-color", UI_THEME_TOKEN_PRIMARY, 0, -1, 0 },
+ { ".tooltip-arrow.tooltip-side-bottom", "border-bottom-color", UI_THEME_TOKEN_PRIMARY, 1, -1, 0 },
+ { ".tooltip-arrow.tooltip-side-left", "border-left-color", UI_THEME_TOKEN_PRIMARY, 0, -1, 0 },
+ { ".tooltip-arrow.tooltip-side-left", "border-left-color", UI_THEME_TOKEN_PRIMARY, 1, -1, 0 },
+ { ".tooltip-arrow.tooltip-side-right", "border-right-color", UI_THEME_TOKEN_PRIMARY, 0, -1, 0 },
+ { ".tooltip-arrow.tooltip-side-right", "border-right-color", UI_THEME_TOKEN_PRIMARY, 1, -1, 0 },
+ { "progress-indicator", "background-color", UI_THEME_TOKEN_PRIMARY, 0, -1, 0 },
+ { "progress-indicator", "background-color", UI_THEME_TOKEN_PRIMARY, 1, -1, 0 },
+ { "radio-group-item:checked", "border-color", UI_THEME_TOKEN_PRIMARY, 0, -1, 0 },
+ { "radio-group-item:checked", "background-color", UI_THEME_TOKEN_PRIMARY, 0, -1, 0 },
+ { "radio-group-item:checked", "border-color", UI_THEME_TOKEN_PRIMARY, 1, -1, 0 },
+ { "radio-group-item:checked", "background-color", UI_THEME_TOKEN_PRIMARY, 1, -1, 0 },
+ { "radio-group-item .indicator", "background-color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 0, -1, 0 },
+ { "radio-group-item .indicator", "background-color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 1, -1, 0 },
+ { "input-group:focused", "border-color", UI_THEME_TOKEN_PRIMARY, 0, -1, 0 },
+ { "input-group:focused", "border-color", UI_THEME_TOKEN_PRIMARY, 1, -1, 0 },
+ { "input-group:focused", "box-shadow", UI_THEME_TOKEN_PRIMARY, 0, 51, 3 },
+ { "input-group:focused", "box-shadow", UI_THEME_TOKEN_PRIMARY, 1, 77, 3 },
+ { "alert-dialog-action:primary", "background-color", UI_THEME_TOKEN_PRIMARY, 0, -1, 0 },
+ { "alert-dialog-action:primary", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 0, -1, 0 },
+ { "alert-dialog-action:primary", "background-color", UI_THEME_TOKEN_PRIMARY, 1, -1, 0 },
+ { "alert-dialog-action:primary", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 1, -1, 0 },
+ { "alert-dialog-action:primary:hover", "background-color", UI_THEME_TOKEN_PRIMARY, 0, 230, 0 },
+ { "alert-dialog-action:primary:hover", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 0, -1, 0 },
+ { "alert-dialog-action:primary:hover", "background-color", UI_THEME_TOKEN_PRIMARY, 1, 230, 0 },
+ { "alert-dialog-action:primary:hover", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 1, -1, 0 },
+ { "checkbox:checked", "border-color", UI_THEME_TOKEN_PRIMARY, 0, -1, 0 },
+ { "checkbox:indeterminate", "border-color", UI_THEME_TOKEN_PRIMARY, 0, -1, 0 },
+ { "checkbox:checked", "background-color", UI_THEME_TOKEN_PRIMARY, 0, -1, 0 },
+ { "checkbox:indeterminate", "background-color", UI_THEME_TOKEN_PRIMARY, 0, -1, 0 },
+ { "checkbox:checked", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 0, -1, 0 },
+ { "checkbox:indeterminate", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 0, -1, 0 },
+ { "checkbox:checked", "border-color", UI_THEME_TOKEN_PRIMARY, 1, -1, 0 },
+ { "checkbox:indeterminate", "border-color", UI_THEME_TOKEN_PRIMARY, 1, -1, 0 },
+ { "checkbox:checked", "background-color", UI_THEME_TOKEN_PRIMARY, 1, -1, 0 },
+ { "checkbox:indeterminate", "background-color", UI_THEME_TOKEN_PRIMARY, 1, -1, 0 },
+ { "checkbox:checked", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 1, -1, 0 },
+ { "checkbox:indeterminate", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 1, -1, 0 },
+ { "textinput .selection", "background-color", UI_THEME_TOKEN_PRIMARY, 0, -1, 0 },
+ { "textinput .selection", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 0, -1, 0 },
+ { "textinput .selection", "background-color", UI_THEME_TOKEN_PRIMARY, 1, -1, 0 },
+ { "textinput .selection", "color", UI_THEME_TOKEN_PRIMARY_FOREGROUND, 1, -1, 0 },
+ { "textinput:focus", "border-color", UI_THEME_TOKEN_PRIMARY, 0, -1, 0 },
+ { "textinput:focus", "border-color", UI_THEME_TOKEN_PRIMARY, 1, -1, 0 },
+ { "textinput:focus", "box-shadow", UI_THEME_TOKEN_PRIMARY, 0, 51, 3 },
+ { "textinput:focus", "box-shadow", UI_THEME_TOKEN_PRIMARY, 1, 77, 3 },
+ { ".sidebar-menu-button:hover", "background-color", UI_THEME_TOKEN_SIDEBAR_ACCENT, 0, -1, 0 },
+ { ".sidebar-menu-button:hover", "color", UI_THEME_TOKEN_SIDEBAR_ACCENT_FOREGROUND, 0, -1, 0 },
+ { ".sidebar-menu-button:hover", "background-color", UI_THEME_TOKEN_SIDEBAR_ACCENT, 1, -1, 0 },
+ { ".sidebar-menu-button:hover", "color", UI_THEME_TOKEN_SIDEBAR_ACCENT_FOREGROUND, 1, -1, 0 },
+ { ".sidebar-menu-button.active", "background-color", UI_THEME_TOKEN_SIDEBAR_ACCENT, 0, -1, 0 },
+ { ".sidebar-menu-button.active", "color", UI_THEME_TOKEN_SIDEBAR_ACCENT_FOREGROUND, 0, -1, 0 },
+ { ".sidebar-menu-button.active", "background-color", UI_THEME_TOKEN_SIDEBAR_ACCENT, 1, -1, 0 },
+ { ".sidebar-menu-button.active", "color", UI_THEME_TOKEN_SIDEBAR_ACCENT_FOREGROUND, 1, -1, 0 },
+ { ".sidebar-team-logo", "background-color", UI_THEME_TOKEN_SIDEBAR_PRIMARY, 0, -1, 0 },
+ { ".sidebar-team-logo", "color", UI_THEME_TOKEN_SIDEBAR_PRIMARY_FOREGROUND, 0, -1, 0 },
+ { ".sidebar-team-logo", "background-color", UI_THEME_TOKEN_SIDEBAR_PRIMARY, 1, -1, 0 },
+ { ".sidebar-team-logo", "color", UI_THEME_TOKEN_SIDEBAR_PRIMARY_FOREGROUND, 1, -1, 0 },
+ { ".sidebar-avatar", "background-color", UI_THEME_TOKEN_SIDEBAR_ACCENT, 0, -1, 0 },
+ { ".sidebar-avatar", "color", UI_THEME_TOKEN_SIDEBAR_ACCENT_FOREGROUND, 0, -1, 0 },
+ { ".sidebar-avatar", "background-color", UI_THEME_TOKEN_SIDEBAR_ACCENT, 1, -1, 0 },
+ { ".sidebar-avatar", "color", UI_THEME_TOKEN_SIDEBAR_ACCENT_FOREGROUND, 1, -1, 0 },
+ { ".fill-primary", "background-color", UI_THEME_TOKEN_PRIMARY, 0, -1, 0 },
+ { ".fill-primary", "background-color", UI_THEME_TOKEN_PRIMARY, 1, -1, 0 },
};
/* clang-format on */
diff --git a/src/styles/accents/amber.css b/src/styles/accents/amber.css
index 1c62317f..a0875f40 100644
--- a/src/styles/accents/amber.css
+++ b/src/styles/accents/amber.css
@@ -94,6 +94,22 @@
color: rgba(23, 23, 23, 1);
}
+.accent-amber attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.2);
+}
+
+.accent-amber attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.2);
+}
+
+.accent-amber.dark attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.3);
+}
+
+.accent-amber.dark attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.3);
+}
+
.accent-amber .tooltip-inner {
background-color: rgba(217, 119, 6, 1);
}
@@ -182,6 +198,22 @@
background-color: rgba(23, 23, 23, 1);
}
+.accent-amber input-group:focused {
+ border-color: rgba(217, 119, 6, 1);
+}
+
+.accent-amber.dark input-group:focused {
+ border-color: rgba(251, 191, 36, 1);
+}
+
+.accent-amber input-group:focused {
+ box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2);
+}
+
+.accent-amber.dark input-group:focused {
+ box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.3);
+}
+
.accent-amber alert-dialog-action:primary {
background-color: rgba(217, 119, 6, 1);
}
@@ -254,6 +286,22 @@
color: rgba(23, 23, 23, 1);
}
+.accent-amber textinput:focus {
+ border-color: rgba(217, 119, 6, 1);
+}
+
+.accent-amber.dark textinput:focus {
+ border-color: rgba(251, 191, 36, 1);
+}
+
+.accent-amber textinput:focus {
+ box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2);
+}
+
+.accent-amber.dark textinput:focus {
+ box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.3);
+}
+
.accent-amber .sidebar-menu-button:hover {
background-color: rgba(217, 119, 6, 0.1);
}
@@ -317,3 +365,11 @@
.accent-amber.dark .sidebar-avatar {
color: rgba(251, 191, 36, 1);
}
+
+.accent-amber .fill-primary {
+ background-color: rgba(217, 119, 6, 1);
+}
+
+.accent-amber.dark .fill-primary {
+ background-color: rgba(251, 191, 36, 1);
+}
diff --git a/src/styles/accents/amber.css.h b/src/styles/accents/amber.css.h
index 9d109228..ef27551f 100644
--- a/src/styles/accents/amber.css.h
+++ b/src/styles/accents/amber.css.h
@@ -77,6 +77,18 @@ static const struct {
{ " background-color: rgba(251, 191, 36, 1);\n", 43 },
{ " color: rgba(23, 23, 23, 1);\n", 30 },
{ "}\n", 2 },
+ { ".accent-amber attachment.has-trigger:active {\n", 46 },
+ { " box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-amber attachment.has-trigger:focus {\n", 45 },
+ { " box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-amber.dark attachment.has-trigger:active {\n", 51 },
+ { " box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.3);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-amber.dark attachment.has-trigger:focus {\n", 50 },
+ { " box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.3);\n", 49 },
+ { "}\n", 2 },
{ ".accent-amber .tooltip-inner {\n", 31 },
{ " background-color: rgba(217, 119, 6, 1);\n", 42 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -135,6 +147,18 @@ static const struct {
{ ".accent-amber.dark radio-group-item .indicator {\n", 49 },
{ " background-color: rgba(23, 23, 23, 1);\n", 41 },
{ "}\n", 2 },
+ { ".accent-amber input-group:focused {\n", 36 },
+ { " border-color: rgba(217, 119, 6, 1);\n", 38 },
+ { "}\n", 2 },
+ { ".accent-amber.dark input-group:focused {\n", 41 },
+ { " border-color: rgba(251, 191, 36, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-amber input-group:focused {\n", 36 },
+ { " box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-amber.dark input-group:focused {\n", 41 },
+ { " box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.3);\n", 49 },
+ { "}\n", 2 },
{ ".accent-amber alert-dialog-action:primary {\n", 44 },
{ " background-color: rgba(217, 119, 6, 1);\n", 42 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -165,6 +189,26 @@ static const struct {
{ " background-color: rgba(251, 191, 36, 1);\n", 43 },
{ " color: rgba(23, 23, 23, 1);\n", 30 },
{ "}\n", 2 },
+ { ".accent-amber textinput .selection {\n", 37 },
+ { " background-color: rgba(217, 119, 6, 1);\n", 42 },
+ { " color: rgba(250, 250, 250, 1);\n", 33 },
+ { "}\n", 2 },
+ { ".accent-amber.dark textinput .selection {\n", 42 },
+ { " background-color: rgba(251, 191, 36, 1);\n", 43 },
+ { " color: rgba(23, 23, 23, 1);\n", 30 },
+ { "}\n", 2 },
+ { ".accent-amber textinput:focus {\n", 32 },
+ { " border-color: rgba(217, 119, 6, 1);\n", 38 },
+ { "}\n", 2 },
+ { ".accent-amber.dark textinput:focus {\n", 37 },
+ { " border-color: rgba(251, 191, 36, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-amber textinput:focus {\n", 32 },
+ { " box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-amber.dark textinput:focus {\n", 37 },
+ { " box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.3);\n", 49 },
+ { "}\n", 2 },
{ ".accent-amber .sidebar-menu-button:hover {\n", 43 },
{ " background-color: rgba(217, 119, 6, 0.1);\n", 44 },
{ " color: rgba(217, 119, 6, 1);\n", 31 },
@@ -197,16 +241,14 @@ static const struct {
{ " background-color: rgba(251, 191, 36, 0.15);\n", 46 },
{ " color: rgba(251, 191, 36, 1);\n", 32 },
{ "}\n", 2 },
- { ".accent-amber textinput .selection {\n", 37 },
+ { ".accent-amber .fill-primary {\n", 30 },
{ " background-color: rgba(217, 119, 6, 1);\n", 42 },
- { " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
- { ".accent-amber.dark textinput .selection {\n", 42 },
+ { ".accent-amber.dark .fill-primary {\n", 35 },
{ " background-color: rgba(251, 191, 36, 1);\n", 43 },
- { " color: rgba(23, 23, 23, 1);\n", 30 },
{ "}\n", 2 },
};
-static const size_t css_str_amber_total_length = 5633;
+static const size_t css_str_amber_total_length = 6837;
static inline void ui_load_css_string_amber_chunks(void)
{
size_t i;
diff --git a/src/styles/accents/blue.css b/src/styles/accents/blue.css
index 01a5d9d7..3e523dee 100644
--- a/src/styles/accents/blue.css
+++ b/src/styles/accents/blue.css
@@ -94,6 +94,22 @@
color: rgba(250, 250, 250, 1);
}
+.accent-blue attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
+}
+
+.accent-blue attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
+}
+
+.accent-blue.dark attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.3);
+}
+
+.accent-blue.dark attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.3);
+}
+
.accent-blue .tooltip-inner {
background-color: rgba(37, 99, 235, 1);
}
@@ -182,6 +198,22 @@
background-color: rgba(250, 250, 250, 1);
}
+.accent-blue input-group:focused {
+ border-color: rgba(37, 99, 235, 1);
+}
+
+.accent-blue.dark input-group:focused {
+ border-color: rgba(96, 165, 250, 1);
+}
+
+.accent-blue input-group:focused {
+ box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
+}
+
+.accent-blue.dark input-group:focused {
+ box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.3);
+}
+
.accent-blue alert-dialog-action:primary {
background-color: rgba(37, 99, 235, 1);
}
@@ -254,6 +286,22 @@
color: rgba(250, 250, 250, 1);
}
+.accent-blue textinput:focus {
+ border-color: rgba(37, 99, 235, 1);
+}
+
+.accent-blue.dark textinput:focus {
+ border-color: rgba(96, 165, 250, 1);
+}
+
+.accent-blue textinput:focus {
+ box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
+}
+
+.accent-blue.dark textinput:focus {
+ box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.3);
+}
+
.accent-blue .sidebar-menu-button:hover {
background-color: rgba(37, 99, 235, 0.1);
}
@@ -317,3 +365,11 @@
.accent-blue.dark .sidebar-avatar {
color: rgba(96, 165, 250, 1);
}
+
+.accent-blue .fill-primary {
+ background-color: rgba(37, 99, 235, 1);
+}
+
+.accent-blue.dark .fill-primary {
+ background-color: rgba(96, 165, 250, 1);
+}
diff --git a/src/styles/accents/blue.css.h b/src/styles/accents/blue.css.h
index 9b174f96..e878b189 100644
--- a/src/styles/accents/blue.css.h
+++ b/src/styles/accents/blue.css.h
@@ -75,6 +75,18 @@ static const struct {
{ " background-color: rgba(96, 165, 250, 1);\n", 43 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
+ { ".accent-blue attachment.has-trigger:active {\n", 45 },
+ { " box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-blue attachment.has-trigger:focus {\n", 44 },
+ { " box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-blue.dark attachment.has-trigger:active {\n", 50 },
+ { " box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.3);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-blue.dark attachment.has-trigger:focus {\n", 49 },
+ { " box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.3);\n", 49 },
+ { "}\n", 2 },
{ ".accent-blue .tooltip-inner {\n", 30 },
{ " background-color: rgba(37, 99, 235, 1);\n", 42 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -133,6 +145,18 @@ static const struct {
{ ".accent-blue.dark radio-group-item .indicator {\n", 48 },
{ " background-color: rgba(250, 250, 250, 1);\n", 44 },
{ "}\n", 2 },
+ { ".accent-blue input-group:focused {\n", 35 },
+ { " border-color: rgba(37, 99, 235, 1);\n", 38 },
+ { "}\n", 2 },
+ { ".accent-blue.dark input-group:focused {\n", 40 },
+ { " border-color: rgba(96, 165, 250, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-blue input-group:focused {\n", 35 },
+ { " box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-blue.dark input-group:focused {\n", 40 },
+ { " box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.3);\n", 49 },
+ { "}\n", 2 },
{ ".accent-blue alert-dialog-action:primary {\n", 43 },
{ " background-color: rgba(37, 99, 235, 1);\n", 42 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -163,6 +187,26 @@ static const struct {
{ " background-color: rgba(96, 165, 250, 1);\n", 43 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
+ { ".accent-blue textinput .selection {\n", 36 },
+ { " background-color: rgba(37, 99, 235, 1);\n", 42 },
+ { " color: rgba(250, 250, 250, 1);\n", 33 },
+ { "}\n", 2 },
+ { ".accent-blue.dark textinput .selection {\n", 41 },
+ { " background-color: rgba(96, 165, 250, 1);\n", 43 },
+ { " color: rgba(250, 250, 250, 1);\n", 33 },
+ { "}\n", 2 },
+ { ".accent-blue textinput:focus {\n", 31 },
+ { " border-color: rgba(37, 99, 235, 1);\n", 38 },
+ { "}\n", 2 },
+ { ".accent-blue.dark textinput:focus {\n", 36 },
+ { " border-color: rgba(96, 165, 250, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-blue textinput:focus {\n", 31 },
+ { " box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-blue.dark textinput:focus {\n", 36 },
+ { " box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.3);\n", 49 },
+ { "}\n", 2 },
{ ".accent-blue .sidebar-menu-button:hover {\n", 42 },
{ " background-color: rgba(37, 99, 235, 0.1);\n", 44 },
{ " color: rgba(37, 99, 235, 1);\n", 31 },
@@ -195,16 +239,14 @@ static const struct {
{ " background-color: rgba(96, 165, 250, 0.15);\n", 46 },
{ " color: rgba(96, 165, 250, 1);\n", 32 },
{ "}\n", 2 },
- { ".accent-blue textinput .selection {\n", 36 },
+ { ".accent-blue .fill-primary {\n", 29 },
{ " background-color: rgba(37, 99, 235, 1);\n", 42 },
- { " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
- { ".accent-blue.dark textinput .selection {\n", 41 },
+ { ".accent-blue.dark .fill-primary {\n", 34 },
{ " background-color: rgba(96, 165, 250, 1);\n", 43 },
- { " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
};
-static const size_t css_str_blue_total_length = 5607;
+static const size_t css_str_blue_total_length = 6797;
static inline void ui_load_css_string_blue_chunks(void)
{
size_t i;
diff --git a/src/styles/accents/cyan.css b/src/styles/accents/cyan.css
index 4637b436..f503df2a 100644
--- a/src/styles/accents/cyan.css
+++ b/src/styles/accents/cyan.css
@@ -94,6 +94,22 @@
color: rgba(23, 23, 23, 1);
}
+.accent-cyan attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(8, 145, 178, 0.2);
+}
+
+.accent-cyan attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(8, 145, 178, 0.2);
+}
+
+.accent-cyan.dark attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.3);
+}
+
+.accent-cyan.dark attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.3);
+}
+
.accent-cyan .tooltip-inner {
background-color: rgba(8, 145, 178, 1);
}
@@ -182,6 +198,22 @@
background-color: rgba(23, 23, 23, 1);
}
+.accent-cyan input-group:focused {
+ border-color: rgba(8, 145, 178, 1);
+}
+
+.accent-cyan.dark input-group:focused {
+ border-color: rgba(34, 211, 238, 1);
+}
+
+.accent-cyan input-group:focused {
+ box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.2);
+}
+
+.accent-cyan.dark input-group:focused {
+ box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.3);
+}
+
.accent-cyan alert-dialog-action:primary {
background-color: rgba(8, 145, 178, 1);
}
@@ -254,6 +286,22 @@
color: rgba(23, 23, 23, 1);
}
+.accent-cyan textinput:focus {
+ border-color: rgba(8, 145, 178, 1);
+}
+
+.accent-cyan.dark textinput:focus {
+ border-color: rgba(34, 211, 238, 1);
+}
+
+.accent-cyan textinput:focus {
+ box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.2);
+}
+
+.accent-cyan.dark textinput:focus {
+ box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.3);
+}
+
.accent-cyan .sidebar-menu-button:hover {
background-color: rgba(8, 145, 178, 0.1);
}
@@ -317,3 +365,11 @@
.accent-cyan.dark .sidebar-avatar {
color: rgba(34, 211, 238, 1);
}
+
+.accent-cyan .fill-primary {
+ background-color: rgba(8, 145, 178, 1);
+}
+
+.accent-cyan.dark .fill-primary {
+ background-color: rgba(34, 211, 238, 1);
+}
diff --git a/src/styles/accents/cyan.css.h b/src/styles/accents/cyan.css.h
index 155849db..c7cdb92a 100644
--- a/src/styles/accents/cyan.css.h
+++ b/src/styles/accents/cyan.css.h
@@ -75,6 +75,18 @@ static const struct {
{ " background-color: rgba(34, 211, 238, 1);\n", 43 },
{ " color: rgba(23, 23, 23, 1);\n", 30 },
{ "}\n", 2 },
+ { ".accent-cyan attachment.has-trigger:active {\n", 45 },
+ { " box-shadow: 0 0 0 2px rgba(8, 145, 178, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-cyan attachment.has-trigger:focus {\n", 44 },
+ { " box-shadow: 0 0 0 2px rgba(8, 145, 178, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-cyan.dark attachment.has-trigger:active {\n", 50 },
+ { " box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.3);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-cyan.dark attachment.has-trigger:focus {\n", 49 },
+ { " box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.3);\n", 49 },
+ { "}\n", 2 },
{ ".accent-cyan .tooltip-inner {\n", 30 },
{ " background-color: rgba(8, 145, 178, 1);\n", 42 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -133,6 +145,18 @@ static const struct {
{ ".accent-cyan.dark radio-group-item .indicator {\n", 48 },
{ " background-color: rgba(23, 23, 23, 1);\n", 41 },
{ "}\n", 2 },
+ { ".accent-cyan input-group:focused {\n", 35 },
+ { " border-color: rgba(8, 145, 178, 1);\n", 38 },
+ { "}\n", 2 },
+ { ".accent-cyan.dark input-group:focused {\n", 40 },
+ { " border-color: rgba(34, 211, 238, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-cyan input-group:focused {\n", 35 },
+ { " box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-cyan.dark input-group:focused {\n", 40 },
+ { " box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.3);\n", 49 },
+ { "}\n", 2 },
{ ".accent-cyan alert-dialog-action:primary {\n", 43 },
{ " background-color: rgba(8, 145, 178, 1);\n", 42 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -163,6 +187,26 @@ static const struct {
{ " background-color: rgba(34, 211, 238, 1);\n", 43 },
{ " color: rgba(23, 23, 23, 1);\n", 30 },
{ "}\n", 2 },
+ { ".accent-cyan textinput .selection {\n", 36 },
+ { " background-color: rgba(8, 145, 178, 1);\n", 42 },
+ { " color: rgba(250, 250, 250, 1);\n", 33 },
+ { "}\n", 2 },
+ { ".accent-cyan.dark textinput .selection {\n", 41 },
+ { " background-color: rgba(34, 211, 238, 1);\n", 43 },
+ { " color: rgba(23, 23, 23, 1);\n", 30 },
+ { "}\n", 2 },
+ { ".accent-cyan textinput:focus {\n", 31 },
+ { " border-color: rgba(8, 145, 178, 1);\n", 38 },
+ { "}\n", 2 },
+ { ".accent-cyan.dark textinput:focus {\n", 36 },
+ { " border-color: rgba(34, 211, 238, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-cyan textinput:focus {\n", 31 },
+ { " box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-cyan.dark textinput:focus {\n", 36 },
+ { " box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.3);\n", 49 },
+ { "}\n", 2 },
{ ".accent-cyan .sidebar-menu-button:hover {\n", 42 },
{ " background-color: rgba(8, 145, 178, 0.1);\n", 44 },
{ " color: rgba(8, 145, 178, 1);\n", 31 },
@@ -195,16 +239,14 @@ static const struct {
{ " background-color: rgba(34, 211, 238, 0.15);\n", 46 },
{ " color: rgba(34, 211, 238, 1);\n", 32 },
{ "}\n", 2 },
- { ".accent-cyan textinput .selection {\n", 36 },
+ { ".accent-cyan .fill-primary {\n", 29 },
{ " background-color: rgba(8, 145, 178, 1);\n", 42 },
- { " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
- { ".accent-cyan.dark textinput .selection {\n", 41 },
+ { ".accent-cyan.dark .fill-primary {\n", 34 },
{ " background-color: rgba(34, 211, 238, 1);\n", 43 },
- { " color: rgba(23, 23, 23, 1);\n", 30 },
{ "}\n", 2 },
};
-static const size_t css_str_cyan_total_length = 5571;
+static const size_t css_str_cyan_total_length = 6761;
static inline void ui_load_css_string_cyan_chunks(void)
{
size_t i;
diff --git a/src/styles/accents/emerald.css b/src/styles/accents/emerald.css
index 3214ffbd..c3ac79f0 100644
--- a/src/styles/accents/emerald.css
+++ b/src/styles/accents/emerald.css
@@ -94,6 +94,22 @@
color: rgba(250, 250, 250, 1);
}
+.accent-emerald attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.2);
+}
+
+.accent-emerald attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.2);
+}
+
+.accent-emerald.dark attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.3);
+}
+
+.accent-emerald.dark attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.3);
+}
+
.accent-emerald .tooltip-inner {
background-color: rgba(5, 150, 105, 1);
}
@@ -182,6 +198,22 @@
background-color: rgba(250, 250, 250, 1);
}
+.accent-emerald input-group:focused {
+ border-color: rgba(5, 150, 105, 1);
+}
+
+.accent-emerald.dark input-group:focused {
+ border-color: rgba(52, 211, 153, 1);
+}
+
+.accent-emerald input-group:focused {
+ box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
+}
+
+.accent-emerald.dark input-group:focused {
+ box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.3);
+}
+
.accent-emerald alert-dialog-action:primary {
background-color: rgba(5, 150, 105, 1);
}
@@ -254,6 +286,22 @@
color: rgba(250, 250, 250, 1);
}
+.accent-emerald textinput:focus {
+ border-color: rgba(5, 150, 105, 1);
+}
+
+.accent-emerald.dark textinput:focus {
+ border-color: rgba(52, 211, 153, 1);
+}
+
+.accent-emerald textinput:focus {
+ box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
+}
+
+.accent-emerald.dark textinput:focus {
+ box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.3);
+}
+
.accent-emerald .sidebar-menu-button:hover {
background-color: rgba(5, 150, 105, 0.1);
}
@@ -317,3 +365,11 @@
.accent-emerald.dark .sidebar-avatar {
color: rgba(52, 211, 153, 1);
}
+
+.accent-emerald .fill-primary {
+ background-color: rgba(5, 150, 105, 1);
+}
+
+.accent-emerald.dark .fill-primary {
+ background-color: rgba(52, 211, 153, 1);
+}
diff --git a/src/styles/accents/emerald.css.h b/src/styles/accents/emerald.css.h
index 43582f7f..8c896cc3 100644
--- a/src/styles/accents/emerald.css.h
+++ b/src/styles/accents/emerald.css.h
@@ -79,6 +79,18 @@ static const struct {
{ " background-color: rgba(52, 211, 153, 1);\n", 43 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
+ { ".accent-emerald attachment.has-trigger:active {\n", 48 },
+ { " box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-emerald attachment.has-trigger:focus {\n", 47 },
+ { " box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-emerald.dark attachment.has-trigger:active {\n", 53 },
+ { " box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.3);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-emerald.dark attachment.has-trigger:focus {\n", 52 },
+ { " box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.3);\n", 49 },
+ { "}\n", 2 },
{ ".accent-emerald .tooltip-inner {\n", 33 },
{ " background-color: rgba(5, 150, 105, 1);\n", 42 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -137,6 +149,18 @@ static const struct {
{ ".accent-emerald.dark radio-group-item .indicator {\n", 51 },
{ " background-color: rgba(250, 250, 250, 1);\n", 44 },
{ "}\n", 2 },
+ { ".accent-emerald input-group:focused {\n", 38 },
+ { " border-color: rgba(5, 150, 105, 1);\n", 38 },
+ { "}\n", 2 },
+ { ".accent-emerald.dark input-group:focused {\n", 43 },
+ { " border-color: rgba(52, 211, 153, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-emerald input-group:focused {\n", 38 },
+ { " box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-emerald.dark input-group:focused {\n", 43 },
+ { " box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.3);\n", 49 },
+ { "}\n", 2 },
{ ".accent-emerald alert-dialog-action:primary {\n", 46 },
{ " background-color: rgba(5, 150, 105, 1);\n", 42 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -167,6 +191,26 @@ static const struct {
{ " background-color: rgba(52, 211, 153, 1);\n", 43 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
+ { ".accent-emerald textinput .selection {\n", 39 },
+ { " background-color: rgba(5, 150, 105, 1);\n", 42 },
+ { " color: rgba(250, 250, 250, 1);\n", 33 },
+ { "}\n", 2 },
+ { ".accent-emerald.dark textinput .selection {\n", 44 },
+ { " background-color: rgba(52, 211, 153, 1);\n", 43 },
+ { " color: rgba(250, 250, 250, 1);\n", 33 },
+ { "}\n", 2 },
+ { ".accent-emerald textinput:focus {\n", 34 },
+ { " border-color: rgba(5, 150, 105, 1);\n", 38 },
+ { "}\n", 2 },
+ { ".accent-emerald.dark textinput:focus {\n", 39 },
+ { " border-color: rgba(52, 211, 153, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-emerald textinput:focus {\n", 34 },
+ { " box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-emerald.dark textinput:focus {\n", 39 },
+ { " box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.3);\n", 49 },
+ { "}\n", 2 },
{ ".accent-emerald .sidebar-menu-button:hover {\n", 45 },
{ " background-color: rgba(5, 150, 105, 0.1);\n", 44 },
{ " color: rgba(5, 150, 105, 1);\n", 31 },
@@ -199,16 +243,14 @@ static const struct {
{ " background-color: rgba(52, 211, 153, 0.15);\n", 46 },
{ " color: rgba(52, 211, 153, 1);\n", 32 },
{ "}\n", 2 },
- { ".accent-emerald textinput .selection {\n", 39 },
+ { ".accent-emerald .fill-primary {\n", 32 },
{ " background-color: rgba(5, 150, 105, 1);\n", 42 },
- { " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
- { ".accent-emerald.dark textinput .selection {\n", 44 },
+ { ".accent-emerald.dark .fill-primary {\n", 37 },
{ " background-color: rgba(52, 211, 153, 1);\n", 43 },
- { " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
};
-static const size_t css_str_emerald_total_length = 5793;
+static const size_t css_str_emerald_total_length = 7025;
static inline void ui_load_css_string_emerald_chunks(void)
{
size_t i;
diff --git a/src/styles/accents/fuchsia.css b/src/styles/accents/fuchsia.css
index ff7676b4..eebf1456 100644
--- a/src/styles/accents/fuchsia.css
+++ b/src/styles/accents/fuchsia.css
@@ -94,6 +94,22 @@
color: rgba(250, 250, 250, 1);
}
+.accent-fuchsia attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(192, 38, 211, 0.2);
+}
+
+.accent-fuchsia attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(192, 38, 211, 0.2);
+}
+
+.accent-fuchsia.dark attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(232, 121, 249, 0.3);
+}
+
+.accent-fuchsia.dark attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(232, 121, 249, 0.3);
+}
+
.accent-fuchsia .tooltip-inner {
background-color: rgba(192, 38, 211, 1);
}
@@ -182,6 +198,22 @@
background-color: rgba(250, 250, 250, 1);
}
+.accent-fuchsia input-group:focused {
+ border-color: rgba(192, 38, 211, 1);
+}
+
+.accent-fuchsia.dark input-group:focused {
+ border-color: rgba(232, 121, 249, 1);
+}
+
+.accent-fuchsia input-group:focused {
+ box-shadow: 0 0 0 3px rgba(192, 38, 211, 0.2);
+}
+
+.accent-fuchsia.dark input-group:focused {
+ box-shadow: 0 0 0 3px rgba(232, 121, 249, 0.3);
+}
+
.accent-fuchsia alert-dialog-action:primary {
background-color: rgba(192, 38, 211, 1);
}
@@ -254,6 +286,22 @@
color: rgba(250, 250, 250, 1);
}
+.accent-fuchsia textinput:focus {
+ border-color: rgba(192, 38, 211, 1);
+}
+
+.accent-fuchsia.dark textinput:focus {
+ border-color: rgba(232, 121, 249, 1);
+}
+
+.accent-fuchsia textinput:focus {
+ box-shadow: 0 0 0 3px rgba(192, 38, 211, 0.2);
+}
+
+.accent-fuchsia.dark textinput:focus {
+ box-shadow: 0 0 0 3px rgba(232, 121, 249, 0.3);
+}
+
.accent-fuchsia .sidebar-menu-button:hover {
background-color: rgba(192, 38, 211, 0.1);
}
@@ -317,3 +365,11 @@
.accent-fuchsia.dark .sidebar-avatar {
color: rgba(232, 121, 249, 1);
}
+
+.accent-fuchsia .fill-primary {
+ background-color: rgba(192, 38, 211, 1);
+}
+
+.accent-fuchsia.dark .fill-primary {
+ background-color: rgba(232, 121, 249, 1);
+}
diff --git a/src/styles/accents/fuchsia.css.h b/src/styles/accents/fuchsia.css.h
index 876b429f..b40e56e8 100644
--- a/src/styles/accents/fuchsia.css.h
+++ b/src/styles/accents/fuchsia.css.h
@@ -79,6 +79,18 @@ static const struct {
{ " background-color: rgba(232, 121, 249, 1);\n", 44 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
+ { ".accent-fuchsia attachment.has-trigger:active {\n", 48 },
+ { " box-shadow: 0 0 0 2px rgba(192, 38, 211, 0.2);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-fuchsia attachment.has-trigger:focus {\n", 47 },
+ { " box-shadow: 0 0 0 2px rgba(192, 38, 211, 0.2);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-fuchsia.dark attachment.has-trigger:active {\n", 53 },
+ { " box-shadow: 0 0 0 2px rgba(232, 121, 249, 0.3);\n", 50 },
+ { "}\n", 2 },
+ { ".accent-fuchsia.dark attachment.has-trigger:focus {\n", 52 },
+ { " box-shadow: 0 0 0 2px rgba(232, 121, 249, 0.3);\n", 50 },
+ { "}\n", 2 },
{ ".accent-fuchsia .tooltip-inner {\n", 33 },
{ " background-color: rgba(192, 38, 211, 1);\n", 43 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -137,6 +149,18 @@ static const struct {
{ ".accent-fuchsia.dark radio-group-item .indicator {\n", 51 },
{ " background-color: rgba(250, 250, 250, 1);\n", 44 },
{ "}\n", 2 },
+ { ".accent-fuchsia input-group:focused {\n", 38 },
+ { " border-color: rgba(192, 38, 211, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-fuchsia.dark input-group:focused {\n", 43 },
+ { " border-color: rgba(232, 121, 249, 1);\n", 40 },
+ { "}\n", 2 },
+ { ".accent-fuchsia input-group:focused {\n", 38 },
+ { " box-shadow: 0 0 0 3px rgba(192, 38, 211, 0.2);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-fuchsia.dark input-group:focused {\n", 43 },
+ { " box-shadow: 0 0 0 3px rgba(232, 121, 249, 0.3);\n", 50 },
+ { "}\n", 2 },
{ ".accent-fuchsia alert-dialog-action:primary {\n", 46 },
{ " background-color: rgba(192, 38, 211, 1);\n", 43 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -167,6 +191,26 @@ static const struct {
{ " background-color: rgba(232, 121, 249, 1);\n", 44 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
+ { ".accent-fuchsia textinput .selection {\n", 39 },
+ { " background-color: rgba(192, 38, 211, 1);\n", 43 },
+ { " color: rgba(250, 250, 250, 1);\n", 33 },
+ { "}\n", 2 },
+ { ".accent-fuchsia.dark textinput .selection {\n", 44 },
+ { " background-color: rgba(232, 121, 249, 1);\n", 44 },
+ { " color: rgba(250, 250, 250, 1);\n", 33 },
+ { "}\n", 2 },
+ { ".accent-fuchsia textinput:focus {\n", 34 },
+ { " border-color: rgba(192, 38, 211, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-fuchsia.dark textinput:focus {\n", 39 },
+ { " border-color: rgba(232, 121, 249, 1);\n", 40 },
+ { "}\n", 2 },
+ { ".accent-fuchsia textinput:focus {\n", 34 },
+ { " box-shadow: 0 0 0 3px rgba(192, 38, 211, 0.2);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-fuchsia.dark textinput:focus {\n", 39 },
+ { " box-shadow: 0 0 0 3px rgba(232, 121, 249, 0.3);\n", 50 },
+ { "}\n", 2 },
{ ".accent-fuchsia .sidebar-menu-button:hover {\n", 45 },
{ " background-color: rgba(192, 38, 211, 0.1);\n", 45 },
{ " color: rgba(192, 38, 211, 1);\n", 32 },
@@ -199,16 +243,14 @@ static const struct {
{ " background-color: rgba(232, 121, 249, 0.15);\n", 47 },
{ " color: rgba(232, 121, 249, 1);\n", 33 },
{ "}\n", 2 },
- { ".accent-fuchsia textinput .selection {\n", 39 },
+ { ".accent-fuchsia .fill-primary {\n", 32 },
{ " background-color: rgba(192, 38, 211, 1);\n", 43 },
- { " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
- { ".accent-fuchsia.dark textinput .selection {\n", 44 },
+ { ".accent-fuchsia.dark .fill-primary {\n", 37 },
{ " background-color: rgba(232, 121, 249, 1);\n", 44 },
- { " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
};
-static const size_t css_str_fuchsia_total_length = 5849;
+static const size_t css_str_fuchsia_total_length = 7095;
static inline void ui_load_css_string_fuchsia_chunks(void)
{
size_t i;
diff --git a/src/styles/accents/green.css b/src/styles/accents/green.css
index 07253538..98da9516 100644
--- a/src/styles/accents/green.css
+++ b/src/styles/accents/green.css
@@ -94,6 +94,22 @@
color: rgba(23, 23, 23, 1);
}
+.accent-green attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
+}
+
+.accent-green attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
+}
+
+.accent-green.dark attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.3);
+}
+
+.accent-green.dark attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.3);
+}
+
.accent-green .tooltip-inner {
background-color: rgba(22, 163, 74, 1);
}
@@ -182,6 +198,22 @@
background-color: rgba(23, 23, 23, 1);
}
+.accent-green input-group:focused {
+ border-color: rgba(22, 163, 74, 1);
+}
+
+.accent-green.dark input-group:focused {
+ border-color: rgba(74, 222, 128, 1);
+}
+
+.accent-green input-group:focused {
+ box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
+}
+
+.accent-green.dark input-group:focused {
+ box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.3);
+}
+
.accent-green alert-dialog-action:primary {
background-color: rgba(22, 163, 74, 1);
}
@@ -254,6 +286,22 @@
color: rgba(23, 23, 23, 1);
}
+.accent-green textinput:focus {
+ border-color: rgba(22, 163, 74, 1);
+}
+
+.accent-green.dark textinput:focus {
+ border-color: rgba(74, 222, 128, 1);
+}
+
+.accent-green textinput:focus {
+ box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
+}
+
+.accent-green.dark textinput:focus {
+ box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.3);
+}
+
.accent-green .sidebar-menu-button:hover {
background-color: rgba(22, 163, 74, 0.1);
}
@@ -317,3 +365,11 @@
.accent-green.dark .sidebar-avatar {
color: rgba(74, 222, 128, 1);
}
+
+.accent-green .fill-primary {
+ background-color: rgba(22, 163, 74, 1);
+}
+
+.accent-green.dark .fill-primary {
+ background-color: rgba(74, 222, 128, 1);
+}
diff --git a/src/styles/accents/green.css.h b/src/styles/accents/green.css.h
index e64cd4bf..3dd1f729 100644
--- a/src/styles/accents/green.css.h
+++ b/src/styles/accents/green.css.h
@@ -77,6 +77,18 @@ static const struct {
{ " background-color: rgba(74, 222, 128, 1);\n", 43 },
{ " color: rgba(23, 23, 23, 1);\n", 30 },
{ "}\n", 2 },
+ { ".accent-green attachment.has-trigger:active {\n", 46 },
+ { " box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-green attachment.has-trigger:focus {\n", 45 },
+ { " box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-green.dark attachment.has-trigger:active {\n", 51 },
+ { " box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.3);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-green.dark attachment.has-trigger:focus {\n", 50 },
+ { " box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.3);\n", 49 },
+ { "}\n", 2 },
{ ".accent-green .tooltip-inner {\n", 31 },
{ " background-color: rgba(22, 163, 74, 1);\n", 42 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -135,6 +147,18 @@ static const struct {
{ ".accent-green.dark radio-group-item .indicator {\n", 49 },
{ " background-color: rgba(23, 23, 23, 1);\n", 41 },
{ "}\n", 2 },
+ { ".accent-green input-group:focused {\n", 36 },
+ { " border-color: rgba(22, 163, 74, 1);\n", 38 },
+ { "}\n", 2 },
+ { ".accent-green.dark input-group:focused {\n", 41 },
+ { " border-color: rgba(74, 222, 128, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-green input-group:focused {\n", 36 },
+ { " box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-green.dark input-group:focused {\n", 41 },
+ { " box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.3);\n", 49 },
+ { "}\n", 2 },
{ ".accent-green alert-dialog-action:primary {\n", 44 },
{ " background-color: rgba(22, 163, 74, 1);\n", 42 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -165,6 +189,26 @@ static const struct {
{ " background-color: rgba(74, 222, 128, 1);\n", 43 },
{ " color: rgba(23, 23, 23, 1);\n", 30 },
{ "}\n", 2 },
+ { ".accent-green textinput .selection {\n", 37 },
+ { " background-color: rgba(22, 163, 74, 1);\n", 42 },
+ { " color: rgba(250, 250, 250, 1);\n", 33 },
+ { "}\n", 2 },
+ { ".accent-green.dark textinput .selection {\n", 42 },
+ { " background-color: rgba(74, 222, 128, 1);\n", 43 },
+ { " color: rgba(23, 23, 23, 1);\n", 30 },
+ { "}\n", 2 },
+ { ".accent-green textinput:focus {\n", 32 },
+ { " border-color: rgba(22, 163, 74, 1);\n", 38 },
+ { "}\n", 2 },
+ { ".accent-green.dark textinput:focus {\n", 37 },
+ { " border-color: rgba(74, 222, 128, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-green textinput:focus {\n", 32 },
+ { " box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-green.dark textinput:focus {\n", 37 },
+ { " box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.3);\n", 49 },
+ { "}\n", 2 },
{ ".accent-green .sidebar-menu-button:hover {\n", 43 },
{ " background-color: rgba(22, 163, 74, 0.1);\n", 44 },
{ " color: rgba(22, 163, 74, 1);\n", 31 },
@@ -197,16 +241,14 @@ static const struct {
{ " background-color: rgba(74, 222, 128, 0.15);\n", 46 },
{ " color: rgba(74, 222, 128, 1);\n", 32 },
{ "}\n", 2 },
- { ".accent-green textinput .selection {\n", 37 },
+ { ".accent-green .fill-primary {\n", 30 },
{ " background-color: rgba(22, 163, 74, 1);\n", 42 },
- { " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
- { ".accent-green.dark textinput .selection {\n", 42 },
+ { ".accent-green.dark .fill-primary {\n", 35 },
{ " background-color: rgba(74, 222, 128, 1);\n", 43 },
- { " color: rgba(23, 23, 23, 1);\n", 30 },
{ "}\n", 2 },
};
-static const size_t css_str_green_total_length = 5633;
+static const size_t css_str_green_total_length = 6837;
static inline void ui_load_css_string_green_chunks(void)
{
size_t i;
diff --git a/src/styles/accents/indigo.css b/src/styles/accents/indigo.css
index 5ea2eafe..48be65a8 100644
--- a/src/styles/accents/indigo.css
+++ b/src/styles/accents/indigo.css
@@ -94,6 +94,22 @@
color: rgba(250, 250, 250, 1);
}
+.accent-indigo attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
+}
+
+.accent-indigo attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
+}
+
+.accent-indigo.dark attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(129, 140, 248, 0.3);
+}
+
+.accent-indigo.dark attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(129, 140, 248, 0.3);
+}
+
.accent-indigo .tooltip-inner {
background-color: rgba(79, 70, 229, 1);
}
@@ -182,6 +198,22 @@
background-color: rgba(250, 250, 250, 1);
}
+.accent-indigo input-group:focused {
+ border-color: rgba(79, 70, 229, 1);
+}
+
+.accent-indigo.dark input-group:focused {
+ border-color: rgba(129, 140, 248, 1);
+}
+
+.accent-indigo input-group:focused {
+ box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
+}
+
+.accent-indigo.dark input-group:focused {
+ box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.3);
+}
+
.accent-indigo alert-dialog-action:primary {
background-color: rgba(79, 70, 229, 1);
}
@@ -254,6 +286,22 @@
color: rgba(250, 250, 250, 1);
}
+.accent-indigo textinput:focus {
+ border-color: rgba(79, 70, 229, 1);
+}
+
+.accent-indigo.dark textinput:focus {
+ border-color: rgba(129, 140, 248, 1);
+}
+
+.accent-indigo textinput:focus {
+ box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
+}
+
+.accent-indigo.dark textinput:focus {
+ box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.3);
+}
+
.accent-indigo .sidebar-menu-button:hover {
background-color: rgba(79, 70, 229, 0.1);
}
@@ -317,3 +365,11 @@
.accent-indigo.dark .sidebar-avatar {
color: rgba(129, 140, 248, 1);
}
+
+.accent-indigo .fill-primary {
+ background-color: rgba(79, 70, 229, 1);
+}
+
+.accent-indigo.dark .fill-primary {
+ background-color: rgba(129, 140, 248, 1);
+}
diff --git a/src/styles/accents/indigo.css.h b/src/styles/accents/indigo.css.h
index 659c9098..82e98118 100644
--- a/src/styles/accents/indigo.css.h
+++ b/src/styles/accents/indigo.css.h
@@ -79,6 +79,18 @@ static const struct {
{ " background-color: rgba(129, 140, 248, 1);\n", 44 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
+ { ".accent-indigo attachment.has-trigger:active {\n", 47 },
+ { " box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-indigo attachment.has-trigger:focus {\n", 46 },
+ { " box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-indigo.dark attachment.has-trigger:active {\n", 52 },
+ { " box-shadow: 0 0 0 2px rgba(129, 140, 248, 0.3);\n", 50 },
+ { "}\n", 2 },
+ { ".accent-indigo.dark attachment.has-trigger:focus {\n", 51 },
+ { " box-shadow: 0 0 0 2px rgba(129, 140, 248, 0.3);\n", 50 },
+ { "}\n", 2 },
{ ".accent-indigo .tooltip-inner {\n", 32 },
{ " background-color: rgba(79, 70, 229, 1);\n", 42 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -137,6 +149,18 @@ static const struct {
{ ".accent-indigo.dark radio-group-item .indicator {\n", 50 },
{ " background-color: rgba(250, 250, 250, 1);\n", 44 },
{ "}\n", 2 },
+ { ".accent-indigo input-group:focused {\n", 37 },
+ { " border-color: rgba(79, 70, 229, 1);\n", 38 },
+ { "}\n", 2 },
+ { ".accent-indigo.dark input-group:focused {\n", 42 },
+ { " border-color: rgba(129, 140, 248, 1);\n", 40 },
+ { "}\n", 2 },
+ { ".accent-indigo input-group:focused {\n", 37 },
+ { " box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-indigo.dark input-group:focused {\n", 42 },
+ { " box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.3);\n", 50 },
+ { "}\n", 2 },
{ ".accent-indigo alert-dialog-action:primary {\n", 45 },
{ " background-color: rgba(79, 70, 229, 1);\n", 42 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -167,6 +191,26 @@ static const struct {
{ " background-color: rgba(129, 140, 248, 1);\n", 44 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
+ { ".accent-indigo textinput .selection {\n", 38 },
+ { " background-color: rgba(79, 70, 229, 1);\n", 42 },
+ { " color: rgba(250, 250, 250, 1);\n", 33 },
+ { "}\n", 2 },
+ { ".accent-indigo.dark textinput .selection {\n", 43 },
+ { " background-color: rgba(129, 140, 248, 1);\n", 44 },
+ { " color: rgba(250, 250, 250, 1);\n", 33 },
+ { "}\n", 2 },
+ { ".accent-indigo textinput:focus {\n", 33 },
+ { " border-color: rgba(79, 70, 229, 1);\n", 38 },
+ { "}\n", 2 },
+ { ".accent-indigo.dark textinput:focus {\n", 38 },
+ { " border-color: rgba(129, 140, 248, 1);\n", 40 },
+ { "}\n", 2 },
+ { ".accent-indigo textinput:focus {\n", 33 },
+ { " box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-indigo.dark textinput:focus {\n", 38 },
+ { " box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.3);\n", 50 },
+ { "}\n", 2 },
{ ".accent-indigo .sidebar-menu-button:hover {\n", 44 },
{ " background-color: rgba(79, 70, 229, 0.1);\n", 44 },
{ " color: rgba(79, 70, 229, 1);\n", 31 },
@@ -199,16 +243,14 @@ static const struct {
{ " background-color: rgba(129, 140, 248, 0.15);\n", 47 },
{ " color: rgba(129, 140, 248, 1);\n", 33 },
{ "}\n", 2 },
- { ".accent-indigo textinput .selection {\n", 38 },
+ { ".accent-indigo .fill-primary {\n", 31 },
{ " background-color: rgba(79, 70, 229, 1);\n", 42 },
- { " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
- { ".accent-indigo.dark textinput .selection {\n", 43 },
+ { ".accent-indigo.dark .fill-primary {\n", 36 },
{ " background-color: rgba(129, 140, 248, 1);\n", 44 },
- { " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
};
-static const size_t css_str_indigo_total_length = 5759;
+static const size_t css_str_indigo_total_length = 6984;
static inline void ui_load_css_string_indigo_chunks(void)
{
size_t i;
diff --git a/src/styles/accents/lime.css b/src/styles/accents/lime.css
index a99b4277..866a7d40 100644
--- a/src/styles/accents/lime.css
+++ b/src/styles/accents/lime.css
@@ -94,6 +94,22 @@
color: rgba(23, 23, 23, 1);
}
+.accent-lime attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(101, 163, 13, 0.2);
+}
+
+.accent-lime attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(101, 163, 13, 0.2);
+}
+
+.accent-lime.dark attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(163, 230, 53, 0.3);
+}
+
+.accent-lime.dark attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(163, 230, 53, 0.3);
+}
+
.accent-lime .tooltip-inner {
background-color: rgba(101, 163, 13, 1);
}
@@ -182,6 +198,22 @@
background-color: rgba(23, 23, 23, 1);
}
+.accent-lime input-group:focused {
+ border-color: rgba(101, 163, 13, 1);
+}
+
+.accent-lime.dark input-group:focused {
+ border-color: rgba(163, 230, 53, 1);
+}
+
+.accent-lime input-group:focused {
+ box-shadow: 0 0 0 3px rgba(101, 163, 13, 0.2);
+}
+
+.accent-lime.dark input-group:focused {
+ box-shadow: 0 0 0 3px rgba(163, 230, 53, 0.3);
+}
+
.accent-lime alert-dialog-action:primary {
background-color: rgba(101, 163, 13, 1);
}
@@ -254,6 +286,22 @@
color: rgba(23, 23, 23, 1);
}
+.accent-lime textinput:focus {
+ border-color: rgba(101, 163, 13, 1);
+}
+
+.accent-lime.dark textinput:focus {
+ border-color: rgba(163, 230, 53, 1);
+}
+
+.accent-lime textinput:focus {
+ box-shadow: 0 0 0 3px rgba(101, 163, 13, 0.2);
+}
+
+.accent-lime.dark textinput:focus {
+ box-shadow: 0 0 0 3px rgba(163, 230, 53, 0.3);
+}
+
.accent-lime .sidebar-menu-button:hover {
background-color: rgba(101, 163, 13, 0.1);
}
@@ -317,3 +365,11 @@
.accent-lime.dark .sidebar-avatar {
color: rgba(163, 230, 53, 1);
}
+
+.accent-lime .fill-primary {
+ background-color: rgba(101, 163, 13, 1);
+}
+
+.accent-lime.dark .fill-primary {
+ background-color: rgba(163, 230, 53, 1);
+}
diff --git a/src/styles/accents/lime.css.h b/src/styles/accents/lime.css.h
index bd08839d..38ed151e 100644
--- a/src/styles/accents/lime.css.h
+++ b/src/styles/accents/lime.css.h
@@ -75,6 +75,18 @@ static const struct {
{ " background-color: rgba(163, 230, 53, 1);\n", 43 },
{ " color: rgba(23, 23, 23, 1);\n", 30 },
{ "}\n", 2 },
+ { ".accent-lime attachment.has-trigger:active {\n", 45 },
+ { " box-shadow: 0 0 0 2px rgba(101, 163, 13, 0.2);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-lime attachment.has-trigger:focus {\n", 44 },
+ { " box-shadow: 0 0 0 2px rgba(101, 163, 13, 0.2);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-lime.dark attachment.has-trigger:active {\n", 50 },
+ { " box-shadow: 0 0 0 2px rgba(163, 230, 53, 0.3);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-lime.dark attachment.has-trigger:focus {\n", 49 },
+ { " box-shadow: 0 0 0 2px rgba(163, 230, 53, 0.3);\n", 49 },
+ { "}\n", 2 },
{ ".accent-lime .tooltip-inner {\n", 30 },
{ " background-color: rgba(101, 163, 13, 1);\n", 43 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -133,6 +145,18 @@ static const struct {
{ ".accent-lime.dark radio-group-item .indicator {\n", 48 },
{ " background-color: rgba(23, 23, 23, 1);\n", 41 },
{ "}\n", 2 },
+ { ".accent-lime input-group:focused {\n", 35 },
+ { " border-color: rgba(101, 163, 13, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-lime.dark input-group:focused {\n", 40 },
+ { " border-color: rgba(163, 230, 53, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-lime input-group:focused {\n", 35 },
+ { " box-shadow: 0 0 0 3px rgba(101, 163, 13, 0.2);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-lime.dark input-group:focused {\n", 40 },
+ { " box-shadow: 0 0 0 3px rgba(163, 230, 53, 0.3);\n", 49 },
+ { "}\n", 2 },
{ ".accent-lime alert-dialog-action:primary {\n", 43 },
{ " background-color: rgba(101, 163, 13, 1);\n", 43 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -163,6 +187,26 @@ static const struct {
{ " background-color: rgba(163, 230, 53, 1);\n", 43 },
{ " color: rgba(23, 23, 23, 1);\n", 30 },
{ "}\n", 2 },
+ { ".accent-lime textinput .selection {\n", 36 },
+ { " background-color: rgba(101, 163, 13, 1);\n", 43 },
+ { " color: rgba(250, 250, 250, 1);\n", 33 },
+ { "}\n", 2 },
+ { ".accent-lime.dark textinput .selection {\n", 41 },
+ { " background-color: rgba(163, 230, 53, 1);\n", 43 },
+ { " color: rgba(23, 23, 23, 1);\n", 30 },
+ { "}\n", 2 },
+ { ".accent-lime textinput:focus {\n", 31 },
+ { " border-color: rgba(101, 163, 13, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-lime.dark textinput:focus {\n", 36 },
+ { " border-color: rgba(163, 230, 53, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-lime textinput:focus {\n", 31 },
+ { " box-shadow: 0 0 0 3px rgba(101, 163, 13, 0.2);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-lime.dark textinput:focus {\n", 36 },
+ { " box-shadow: 0 0 0 3px rgba(163, 230, 53, 0.3);\n", 49 },
+ { "}\n", 2 },
{ ".accent-lime .sidebar-menu-button:hover {\n", 42 },
{ " background-color: rgba(101, 163, 13, 0.1);\n", 45 },
{ " color: rgba(101, 163, 13, 1);\n", 32 },
@@ -195,16 +239,14 @@ static const struct {
{ " background-color: rgba(163, 230, 53, 0.15);\n", 46 },
{ " color: rgba(163, 230, 53, 1);\n", 32 },
{ "}\n", 2 },
- { ".accent-lime textinput .selection {\n", 36 },
+ { ".accent-lime .fill-primary {\n", 29 },
{ " background-color: rgba(101, 163, 13, 1);\n", 43 },
- { " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
- { ".accent-lime.dark textinput .selection {\n", 41 },
+ { ".accent-lime.dark .fill-primary {\n", 34 },
{ " background-color: rgba(163, 230, 53, 1);\n", 43 },
- { " color: rgba(23, 23, 23, 1);\n", 30 },
{ "}\n", 2 },
};
-static const size_t css_str_lime_total_length = 5599;
+static const size_t css_str_lime_total_length = 6796;
static inline void ui_load_css_string_lime_chunks(void)
{
size_t i;
diff --git a/src/styles/accents/neutral.css b/src/styles/accents/neutral.css
index 8c60bd06..c13a5ccc 100644
--- a/src/styles/accents/neutral.css
+++ b/src/styles/accents/neutral.css
@@ -94,6 +94,22 @@
color: rgba(23, 23, 23, 1);
}
+.accent-neutral attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(23, 23, 23, 0.2);
+}
+
+.accent-neutral attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(23, 23, 23, 0.2);
+}
+
+.accent-neutral.dark attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(245, 245, 245, 0.3);
+}
+
+.accent-neutral.dark attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(245, 245, 245, 0.3);
+}
+
.accent-neutral .tooltip-inner {
background-color: rgba(23, 23, 23, 1);
}
@@ -182,6 +198,22 @@
background-color: rgba(23, 23, 23, 1);
}
+.accent-neutral input-group:focused {
+ border-color: rgba(23, 23, 23, 1);
+}
+
+.accent-neutral.dark input-group:focused {
+ border-color: rgba(245, 245, 245, 1);
+}
+
+.accent-neutral input-group:focused {
+ box-shadow: 0 0 0 3px rgba(23, 23, 23, 0.2);
+}
+
+.accent-neutral.dark input-group:focused {
+ box-shadow: 0 0 0 3px rgba(245, 245, 245, 0.3);
+}
+
.accent-neutral alert-dialog-action:primary {
background-color: rgba(23, 23, 23, 1);
}
@@ -254,6 +286,22 @@
color: rgba(23, 23, 23, 1);
}
+.accent-neutral textinput:focus {
+ border-color: rgba(23, 23, 23, 1);
+}
+
+.accent-neutral.dark textinput:focus {
+ border-color: rgba(245, 245, 245, 1);
+}
+
+.accent-neutral textinput:focus {
+ box-shadow: 0 0 0 3px rgba(23, 23, 23, 0.2);
+}
+
+.accent-neutral.dark textinput:focus {
+ box-shadow: 0 0 0 3px rgba(245, 245, 245, 0.3);
+}
+
.accent-neutral .sidebar-menu-button:hover {
background-color: rgba(23, 23, 23, 0.1);
}
@@ -317,3 +365,11 @@
.accent-neutral.dark .sidebar-avatar {
color: rgba(245, 245, 245, 1);
}
+
+.accent-neutral .fill-primary {
+ background-color: rgba(23, 23, 23, 1);
+}
+
+.accent-neutral.dark .fill-primary {
+ background-color: rgba(245, 245, 245, 1);
+}
diff --git a/src/styles/accents/neutral.css.h b/src/styles/accents/neutral.css.h
index c84272a7..567fe3a2 100644
--- a/src/styles/accents/neutral.css.h
+++ b/src/styles/accents/neutral.css.h
@@ -79,6 +79,18 @@ static const struct {
{ " background-color: rgba(245, 245, 245, 1);\n", 44 },
{ " color: rgba(23, 23, 23, 1);\n", 30 },
{ "}\n", 2 },
+ { ".accent-neutral attachment.has-trigger:active {\n", 48 },
+ { " box-shadow: 0 0 0 2px rgba(23, 23, 23, 0.2);\n", 47 },
+ { "}\n", 2 },
+ { ".accent-neutral attachment.has-trigger:focus {\n", 47 },
+ { " box-shadow: 0 0 0 2px rgba(23, 23, 23, 0.2);\n", 47 },
+ { "}\n", 2 },
+ { ".accent-neutral.dark attachment.has-trigger:active {\n", 53 },
+ { " box-shadow: 0 0 0 2px rgba(245, 245, 245, 0.3);\n", 50 },
+ { "}\n", 2 },
+ { ".accent-neutral.dark attachment.has-trigger:focus {\n", 52 },
+ { " box-shadow: 0 0 0 2px rgba(245, 245, 245, 0.3);\n", 50 },
+ { "}\n", 2 },
{ ".accent-neutral .tooltip-inner {\n", 33 },
{ " background-color: rgba(23, 23, 23, 1);\n", 41 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -137,6 +149,18 @@ static const struct {
{ ".accent-neutral.dark radio-group-item .indicator {\n", 51 },
{ " background-color: rgba(23, 23, 23, 1);\n", 41 },
{ "}\n", 2 },
+ { ".accent-neutral input-group:focused {\n", 38 },
+ { " border-color: rgba(23, 23, 23, 1);\n", 37 },
+ { "}\n", 2 },
+ { ".accent-neutral.dark input-group:focused {\n", 43 },
+ { " border-color: rgba(245, 245, 245, 1);\n", 40 },
+ { "}\n", 2 },
+ { ".accent-neutral input-group:focused {\n", 38 },
+ { " box-shadow: 0 0 0 3px rgba(23, 23, 23, 0.2);\n", 47 },
+ { "}\n", 2 },
+ { ".accent-neutral.dark input-group:focused {\n", 43 },
+ { " box-shadow: 0 0 0 3px rgba(245, 245, 245, 0.3);\n", 50 },
+ { "}\n", 2 },
{ ".accent-neutral alert-dialog-action:primary {\n", 46 },
{ " background-color: rgba(23, 23, 23, 1);\n", 41 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -167,6 +191,26 @@ static const struct {
{ " background-color: rgba(245, 245, 245, 1);\n", 44 },
{ " color: rgba(23, 23, 23, 1);\n", 30 },
{ "}\n", 2 },
+ { ".accent-neutral textinput .selection {\n", 39 },
+ { " background-color: rgba(23, 23, 23, 1);\n", 41 },
+ { " color: rgba(250, 250, 250, 1);\n", 33 },
+ { "}\n", 2 },
+ { ".accent-neutral.dark textinput .selection {\n", 44 },
+ { " background-color: rgba(245, 245, 245, 1);\n", 44 },
+ { " color: rgba(23, 23, 23, 1);\n", 30 },
+ { "}\n", 2 },
+ { ".accent-neutral textinput:focus {\n", 34 },
+ { " border-color: rgba(23, 23, 23, 1);\n", 37 },
+ { "}\n", 2 },
+ { ".accent-neutral.dark textinput:focus {\n", 39 },
+ { " border-color: rgba(245, 245, 245, 1);\n", 40 },
+ { "}\n", 2 },
+ { ".accent-neutral textinput:focus {\n", 34 },
+ { " box-shadow: 0 0 0 3px rgba(23, 23, 23, 0.2);\n", 47 },
+ { "}\n", 2 },
+ { ".accent-neutral.dark textinput:focus {\n", 39 },
+ { " box-shadow: 0 0 0 3px rgba(245, 245, 245, 0.3);\n", 50 },
+ { "}\n", 2 },
{ ".accent-neutral .sidebar-menu-button:hover {\n", 45 },
{ " background-color: rgba(23, 23, 23, 0.1);\n", 43 },
{ " color: rgba(23, 23, 23, 1);\n", 30 },
@@ -199,16 +243,14 @@ static const struct {
{ " background-color: rgba(245, 245, 245, 0.15);\n", 47 },
{ " color: rgba(245, 245, 245, 1);\n", 33 },
{ "}\n", 2 },
- { ".accent-neutral textinput .selection {\n", 39 },
+ { ".accent-neutral .fill-primary {\n", 32 },
{ " background-color: rgba(23, 23, 23, 1);\n", 41 },
- { " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
- { ".accent-neutral.dark textinput .selection {\n", 44 },
+ { ".accent-neutral.dark .fill-primary {\n", 37 },
{ " background-color: rgba(245, 245, 245, 1);\n", 44 },
- { " color: rgba(23, 23, 23, 1);\n", 30 },
{ "}\n", 2 },
};
-static const size_t css_str_neutral_total_length = 5757;
+static const size_t css_str_neutral_total_length = 6989;
static inline void ui_load_css_string_neutral_chunks(void)
{
size_t i;
diff --git a/src/styles/accents/orange.css b/src/styles/accents/orange.css
index 331f0825..9684a794 100644
--- a/src/styles/accents/orange.css
+++ b/src/styles/accents/orange.css
@@ -94,6 +94,22 @@
color: rgba(250, 250, 250, 1);
}
+.accent-orange attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.2);
+}
+
+.accent-orange attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.2);
+}
+
+.accent-orange.dark attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.3);
+}
+
+.accent-orange.dark attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.3);
+}
+
.accent-orange .tooltip-inner {
background-color: rgba(234, 88, 12, 1);
}
@@ -182,6 +198,22 @@
background-color: rgba(250, 250, 250, 1);
}
+.accent-orange input-group:focused {
+ border-color: rgba(234, 88, 12, 1);
+}
+
+.accent-orange.dark input-group:focused {
+ border-color: rgba(251, 146, 60, 1);
+}
+
+.accent-orange input-group:focused {
+ box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.2);
+}
+
+.accent-orange.dark input-group:focused {
+ box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.3);
+}
+
.accent-orange alert-dialog-action:primary {
background-color: rgba(234, 88, 12, 1);
}
@@ -254,6 +286,22 @@
color: rgba(250, 250, 250, 1);
}
+.accent-orange textinput:focus {
+ border-color: rgba(234, 88, 12, 1);
+}
+
+.accent-orange.dark textinput:focus {
+ border-color: rgba(251, 146, 60, 1);
+}
+
+.accent-orange textinput:focus {
+ box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.2);
+}
+
+.accent-orange.dark textinput:focus {
+ box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.3);
+}
+
.accent-orange .sidebar-menu-button:hover {
background-color: rgba(234, 88, 12, 0.1);
}
@@ -317,3 +365,11 @@
.accent-orange.dark .sidebar-avatar {
color: rgba(251, 146, 60, 1);
}
+
+.accent-orange .fill-primary {
+ background-color: rgba(234, 88, 12, 1);
+}
+
+.accent-orange.dark .fill-primary {
+ background-color: rgba(251, 146, 60, 1);
+}
diff --git a/src/styles/accents/orange.css.h b/src/styles/accents/orange.css.h
index 1b15bb29..9603ee95 100644
--- a/src/styles/accents/orange.css.h
+++ b/src/styles/accents/orange.css.h
@@ -79,6 +79,18 @@ static const struct {
{ " background-color: rgba(251, 146, 60, 1);\n", 43 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
+ { ".accent-orange attachment.has-trigger:active {\n", 47 },
+ { " box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-orange attachment.has-trigger:focus {\n", 46 },
+ { " box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-orange.dark attachment.has-trigger:active {\n", 52 },
+ { " box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.3);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-orange.dark attachment.has-trigger:focus {\n", 51 },
+ { " box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.3);\n", 49 },
+ { "}\n", 2 },
{ ".accent-orange .tooltip-inner {\n", 32 },
{ " background-color: rgba(234, 88, 12, 1);\n", 42 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -137,6 +149,18 @@ static const struct {
{ ".accent-orange.dark radio-group-item .indicator {\n", 50 },
{ " background-color: rgba(250, 250, 250, 1);\n", 44 },
{ "}\n", 2 },
+ { ".accent-orange input-group:focused {\n", 37 },
+ { " border-color: rgba(234, 88, 12, 1);\n", 38 },
+ { "}\n", 2 },
+ { ".accent-orange.dark input-group:focused {\n", 42 },
+ { " border-color: rgba(251, 146, 60, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-orange input-group:focused {\n", 37 },
+ { " box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-orange.dark input-group:focused {\n", 42 },
+ { " box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.3);\n", 49 },
+ { "}\n", 2 },
{ ".accent-orange alert-dialog-action:primary {\n", 45 },
{ " background-color: rgba(234, 88, 12, 1);\n", 42 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -167,6 +191,26 @@ static const struct {
{ " background-color: rgba(251, 146, 60, 1);\n", 43 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
+ { ".accent-orange textinput .selection {\n", 38 },
+ { " background-color: rgba(234, 88, 12, 1);\n", 42 },
+ { " color: rgba(250, 250, 250, 1);\n", 33 },
+ { "}\n", 2 },
+ { ".accent-orange.dark textinput .selection {\n", 43 },
+ { " background-color: rgba(251, 146, 60, 1);\n", 43 },
+ { " color: rgba(250, 250, 250, 1);\n", 33 },
+ { "}\n", 2 },
+ { ".accent-orange textinput:focus {\n", 33 },
+ { " border-color: rgba(234, 88, 12, 1);\n", 38 },
+ { "}\n", 2 },
+ { ".accent-orange.dark textinput:focus {\n", 38 },
+ { " border-color: rgba(251, 146, 60, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-orange textinput:focus {\n", 33 },
+ { " box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-orange.dark textinput:focus {\n", 38 },
+ { " box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.3);\n", 49 },
+ { "}\n", 2 },
{ ".accent-orange .sidebar-menu-button:hover {\n", 44 },
{ " background-color: rgba(234, 88, 12, 0.1);\n", 44 },
{ " color: rgba(234, 88, 12, 1);\n", 31 },
@@ -199,16 +243,14 @@ static const struct {
{ " background-color: rgba(251, 146, 60, 0.15);\n", 46 },
{ " color: rgba(251, 146, 60, 1);\n", 32 },
{ "}\n", 2 },
- { ".accent-orange textinput .selection {\n", 38 },
+ { ".accent-orange .fill-primary {\n", 31 },
{ " background-color: rgba(234, 88, 12, 1);\n", 42 },
- { " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
- { ".accent-orange.dark textinput .selection {\n", 43 },
+ { ".accent-orange.dark .fill-primary {\n", 36 },
{ " background-color: rgba(251, 146, 60, 1);\n", 43 },
- { " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
};
-static const size_t css_str_orange_total_length = 5731;
+static const size_t css_str_orange_total_length = 6949;
static inline void ui_load_css_string_orange_chunks(void)
{
size_t i;
diff --git a/src/styles/accents/pink.css b/src/styles/accents/pink.css
index fc1cd52b..da740e5d 100644
--- a/src/styles/accents/pink.css
+++ b/src/styles/accents/pink.css
@@ -94,6 +94,22 @@
color: rgba(250, 250, 250, 1);
}
+.accent-pink attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(219, 39, 119, 0.2);
+}
+
+.accent-pink attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(219, 39, 119, 0.2);
+}
+
+.accent-pink.dark attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(244, 114, 182, 0.3);
+}
+
+.accent-pink.dark attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(244, 114, 182, 0.3);
+}
+
.accent-pink .tooltip-inner {
background-color: rgba(219, 39, 119, 1);
}
@@ -182,6 +198,22 @@
background-color: rgba(250, 250, 250, 1);
}
+.accent-pink input-group:focused {
+ border-color: rgba(219, 39, 119, 1);
+}
+
+.accent-pink.dark input-group:focused {
+ border-color: rgba(244, 114, 182, 1);
+}
+
+.accent-pink input-group:focused {
+ box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.2);
+}
+
+.accent-pink.dark input-group:focused {
+ box-shadow: 0 0 0 3px rgba(244, 114, 182, 0.3);
+}
+
.accent-pink alert-dialog-action:primary {
background-color: rgba(219, 39, 119, 1);
}
@@ -254,6 +286,22 @@
color: rgba(250, 250, 250, 1);
}
+.accent-pink textinput:focus {
+ border-color: rgba(219, 39, 119, 1);
+}
+
+.accent-pink.dark textinput:focus {
+ border-color: rgba(244, 114, 182, 1);
+}
+
+.accent-pink textinput:focus {
+ box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.2);
+}
+
+.accent-pink.dark textinput:focus {
+ box-shadow: 0 0 0 3px rgba(244, 114, 182, 0.3);
+}
+
.accent-pink .sidebar-menu-button:hover {
background-color: rgba(219, 39, 119, 0.1);
}
@@ -317,3 +365,11 @@
.accent-pink.dark .sidebar-avatar {
color: rgba(244, 114, 182, 1);
}
+
+.accent-pink .fill-primary {
+ background-color: rgba(219, 39, 119, 1);
+}
+
+.accent-pink.dark .fill-primary {
+ background-color: rgba(244, 114, 182, 1);
+}
diff --git a/src/styles/accents/pink.css.h b/src/styles/accents/pink.css.h
index 8b067acd..e2bdcb6a 100644
--- a/src/styles/accents/pink.css.h
+++ b/src/styles/accents/pink.css.h
@@ -75,6 +75,18 @@ static const struct {
{ " background-color: rgba(244, 114, 182, 1);\n", 44 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
+ { ".accent-pink attachment.has-trigger:active {\n", 45 },
+ { " box-shadow: 0 0 0 2px rgba(219, 39, 119, 0.2);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-pink attachment.has-trigger:focus {\n", 44 },
+ { " box-shadow: 0 0 0 2px rgba(219, 39, 119, 0.2);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-pink.dark attachment.has-trigger:active {\n", 50 },
+ { " box-shadow: 0 0 0 2px rgba(244, 114, 182, 0.3);\n", 50 },
+ { "}\n", 2 },
+ { ".accent-pink.dark attachment.has-trigger:focus {\n", 49 },
+ { " box-shadow: 0 0 0 2px rgba(244, 114, 182, 0.3);\n", 50 },
+ { "}\n", 2 },
{ ".accent-pink .tooltip-inner {\n", 30 },
{ " background-color: rgba(219, 39, 119, 1);\n", 43 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -133,6 +145,18 @@ static const struct {
{ ".accent-pink.dark radio-group-item .indicator {\n", 48 },
{ " background-color: rgba(250, 250, 250, 1);\n", 44 },
{ "}\n", 2 },
+ { ".accent-pink input-group:focused {\n", 35 },
+ { " border-color: rgba(219, 39, 119, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-pink.dark input-group:focused {\n", 40 },
+ { " border-color: rgba(244, 114, 182, 1);\n", 40 },
+ { "}\n", 2 },
+ { ".accent-pink input-group:focused {\n", 35 },
+ { " box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.2);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-pink.dark input-group:focused {\n", 40 },
+ { " box-shadow: 0 0 0 3px rgba(244, 114, 182, 0.3);\n", 50 },
+ { "}\n", 2 },
{ ".accent-pink alert-dialog-action:primary {\n", 43 },
{ " background-color: rgba(219, 39, 119, 1);\n", 43 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -163,6 +187,26 @@ static const struct {
{ " background-color: rgba(244, 114, 182, 1);\n", 44 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
+ { ".accent-pink textinput .selection {\n", 36 },
+ { " background-color: rgba(219, 39, 119, 1);\n", 43 },
+ { " color: rgba(250, 250, 250, 1);\n", 33 },
+ { "}\n", 2 },
+ { ".accent-pink.dark textinput .selection {\n", 41 },
+ { " background-color: rgba(244, 114, 182, 1);\n", 44 },
+ { " color: rgba(250, 250, 250, 1);\n", 33 },
+ { "}\n", 2 },
+ { ".accent-pink textinput:focus {\n", 31 },
+ { " border-color: rgba(219, 39, 119, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-pink.dark textinput:focus {\n", 36 },
+ { " border-color: rgba(244, 114, 182, 1);\n", 40 },
+ { "}\n", 2 },
+ { ".accent-pink textinput:focus {\n", 31 },
+ { " box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.2);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-pink.dark textinput:focus {\n", 36 },
+ { " box-shadow: 0 0 0 3px rgba(244, 114, 182, 0.3);\n", 50 },
+ { "}\n", 2 },
{ ".accent-pink .sidebar-menu-button:hover {\n", 42 },
{ " background-color: rgba(219, 39, 119, 0.1);\n", 45 },
{ " color: rgba(219, 39, 119, 1);\n", 32 },
@@ -195,16 +239,14 @@ static const struct {
{ " background-color: rgba(244, 114, 182, 0.15);\n", 47 },
{ " color: rgba(244, 114, 182, 1);\n", 33 },
{ "}\n", 2 },
- { ".accent-pink textinput .selection {\n", 36 },
+ { ".accent-pink .fill-primary {\n", 29 },
{ " background-color: rgba(219, 39, 119, 1);\n", 43 },
- { " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
- { ".accent-pink.dark textinput .selection {\n", 41 },
+ { ".accent-pink.dark .fill-primary {\n", 34 },
{ " background-color: rgba(244, 114, 182, 1);\n", 44 },
- { " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
};
-static const size_t css_str_pink_total_length = 5663;
+static const size_t css_str_pink_total_length = 6867;
static inline void ui_load_css_string_pink_chunks(void)
{
size_t i;
diff --git a/src/styles/accents/purple.css b/src/styles/accents/purple.css
index 84c1df6b..5965b13c 100644
--- a/src/styles/accents/purple.css
+++ b/src/styles/accents/purple.css
@@ -94,6 +94,22 @@
color: rgba(250, 250, 250, 1);
}
+.accent-purple attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(147, 51, 234, 0.2);
+}
+
+.accent-purple attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(147, 51, 234, 0.2);
+}
+
+.accent-purple.dark attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(192, 132, 252, 0.3);
+}
+
+.accent-purple.dark attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(192, 132, 252, 0.3);
+}
+
.accent-purple .tooltip-inner {
background-color: rgba(147, 51, 234, 1);
}
@@ -182,6 +198,22 @@
background-color: rgba(250, 250, 250, 1);
}
+.accent-purple input-group:focused {
+ border-color: rgba(147, 51, 234, 1);
+}
+
+.accent-purple.dark input-group:focused {
+ border-color: rgba(192, 132, 252, 1);
+}
+
+.accent-purple input-group:focused {
+ box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.2);
+}
+
+.accent-purple.dark input-group:focused {
+ box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.3);
+}
+
.accent-purple alert-dialog-action:primary {
background-color: rgba(147, 51, 234, 1);
}
@@ -254,6 +286,22 @@
color: rgba(250, 250, 250, 1);
}
+.accent-purple textinput:focus {
+ border-color: rgba(147, 51, 234, 1);
+}
+
+.accent-purple.dark textinput:focus {
+ border-color: rgba(192, 132, 252, 1);
+}
+
+.accent-purple textinput:focus {
+ box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.2);
+}
+
+.accent-purple.dark textinput:focus {
+ box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.3);
+}
+
.accent-purple .sidebar-menu-button:hover {
background-color: rgba(147, 51, 234, 0.1);
}
@@ -317,3 +365,11 @@
.accent-purple.dark .sidebar-avatar {
color: rgba(192, 132, 252, 1);
}
+
+.accent-purple .fill-primary {
+ background-color: rgba(147, 51, 234, 1);
+}
+
+.accent-purple.dark .fill-primary {
+ background-color: rgba(192, 132, 252, 1);
+}
diff --git a/src/styles/accents/purple.css.h b/src/styles/accents/purple.css.h
index c5831f42..c1a50ff7 100644
--- a/src/styles/accents/purple.css.h
+++ b/src/styles/accents/purple.css.h
@@ -79,6 +79,18 @@ static const struct {
{ " background-color: rgba(192, 132, 252, 1);\n", 44 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
+ { ".accent-purple attachment.has-trigger:active {\n", 47 },
+ { " box-shadow: 0 0 0 2px rgba(147, 51, 234, 0.2);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-purple attachment.has-trigger:focus {\n", 46 },
+ { " box-shadow: 0 0 0 2px rgba(147, 51, 234, 0.2);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-purple.dark attachment.has-trigger:active {\n", 52 },
+ { " box-shadow: 0 0 0 2px rgba(192, 132, 252, 0.3);\n", 50 },
+ { "}\n", 2 },
+ { ".accent-purple.dark attachment.has-trigger:focus {\n", 51 },
+ { " box-shadow: 0 0 0 2px rgba(192, 132, 252, 0.3);\n", 50 },
+ { "}\n", 2 },
{ ".accent-purple .tooltip-inner {\n", 32 },
{ " background-color: rgba(147, 51, 234, 1);\n", 43 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -137,6 +149,18 @@ static const struct {
{ ".accent-purple.dark radio-group-item .indicator {\n", 50 },
{ " background-color: rgba(250, 250, 250, 1);\n", 44 },
{ "}\n", 2 },
+ { ".accent-purple input-group:focused {\n", 37 },
+ { " border-color: rgba(147, 51, 234, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-purple.dark input-group:focused {\n", 42 },
+ { " border-color: rgba(192, 132, 252, 1);\n", 40 },
+ { "}\n", 2 },
+ { ".accent-purple input-group:focused {\n", 37 },
+ { " box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.2);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-purple.dark input-group:focused {\n", 42 },
+ { " box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.3);\n", 50 },
+ { "}\n", 2 },
{ ".accent-purple alert-dialog-action:primary {\n", 45 },
{ " background-color: rgba(147, 51, 234, 1);\n", 43 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -167,6 +191,26 @@ static const struct {
{ " background-color: rgba(192, 132, 252, 1);\n", 44 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
+ { ".accent-purple textinput .selection {\n", 38 },
+ { " background-color: rgba(147, 51, 234, 1);\n", 43 },
+ { " color: rgba(250, 250, 250, 1);\n", 33 },
+ { "}\n", 2 },
+ { ".accent-purple.dark textinput .selection {\n", 43 },
+ { " background-color: rgba(192, 132, 252, 1);\n", 44 },
+ { " color: rgba(250, 250, 250, 1);\n", 33 },
+ { "}\n", 2 },
+ { ".accent-purple textinput:focus {\n", 33 },
+ { " border-color: rgba(147, 51, 234, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-purple.dark textinput:focus {\n", 38 },
+ { " border-color: rgba(192, 132, 252, 1);\n", 40 },
+ { "}\n", 2 },
+ { ".accent-purple textinput:focus {\n", 33 },
+ { " box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.2);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-purple.dark textinput:focus {\n", 38 },
+ { " box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.3);\n", 50 },
+ { "}\n", 2 },
{ ".accent-purple .sidebar-menu-button:hover {\n", 44 },
{ " background-color: rgba(147, 51, 234, 0.1);\n", 45 },
{ " color: rgba(147, 51, 234, 1);\n", 32 },
@@ -199,16 +243,14 @@ static const struct {
{ " background-color: rgba(192, 132, 252, 0.15);\n", 47 },
{ " color: rgba(192, 132, 252, 1);\n", 33 },
{ "}\n", 2 },
- { ".accent-purple textinput .selection {\n", 38 },
+ { ".accent-purple .fill-primary {\n", 31 },
{ " background-color: rgba(147, 51, 234, 1);\n", 43 },
- { " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
- { ".accent-purple.dark textinput .selection {\n", 43 },
+ { ".accent-purple.dark .fill-primary {\n", 36 },
{ " background-color: rgba(192, 132, 252, 1);\n", 44 },
- { " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
};
-static const size_t css_str_purple_total_length = 5787;
+static const size_t css_str_purple_total_length = 7019;
static inline void ui_load_css_string_purple_chunks(void)
{
size_t i;
diff --git a/src/styles/accents/red.css b/src/styles/accents/red.css
index 5940d300..02f00fec 100644
--- a/src/styles/accents/red.css
+++ b/src/styles/accents/red.css
@@ -94,6 +94,22 @@
color: rgba(250, 250, 250, 1);
}
+.accent-red attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
+}
+
+.accent-red attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
+}
+
+.accent-red.dark attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.3);
+}
+
+.accent-red.dark attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.3);
+}
+
.accent-red .tooltip-inner {
background-color: rgba(220, 38, 38, 1);
}
@@ -182,6 +198,22 @@
background-color: rgba(250, 250, 250, 1);
}
+.accent-red input-group:focused {
+ border-color: rgba(220, 38, 38, 1);
+}
+
+.accent-red.dark input-group:focused {
+ border-color: rgba(248, 113, 113, 1);
+}
+
+.accent-red input-group:focused {
+ box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
+}
+
+.accent-red.dark input-group:focused {
+ box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.3);
+}
+
.accent-red alert-dialog-action:primary {
background-color: rgba(220, 38, 38, 1);
}
@@ -254,6 +286,22 @@
color: rgba(250, 250, 250, 1);
}
+.accent-red textinput:focus {
+ border-color: rgba(220, 38, 38, 1);
+}
+
+.accent-red.dark textinput:focus {
+ border-color: rgba(248, 113, 113, 1);
+}
+
+.accent-red textinput:focus {
+ box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
+}
+
+.accent-red.dark textinput:focus {
+ box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.3);
+}
+
.accent-red .sidebar-menu-button:hover {
background-color: rgba(220, 38, 38, 0.1);
}
@@ -317,3 +365,11 @@
.accent-red.dark .sidebar-avatar {
color: rgba(248, 113, 113, 1);
}
+
+.accent-red .fill-primary {
+ background-color: rgba(220, 38, 38, 1);
+}
+
+.accent-red.dark .fill-primary {
+ background-color: rgba(248, 113, 113, 1);
+}
diff --git a/src/styles/accents/red.css.h b/src/styles/accents/red.css.h
index f04e2a82..c25105e5 100644
--- a/src/styles/accents/red.css.h
+++ b/src/styles/accents/red.css.h
@@ -73,6 +73,18 @@ static const struct {
{ " background-color: rgba(248, 113, 113, 1);\n", 44 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
+ { ".accent-red attachment.has-trigger:active {\n", 44 },
+ { " box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-red attachment.has-trigger:focus {\n", 43 },
+ { " box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-red.dark attachment.has-trigger:active {\n", 49 },
+ { " box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.3);\n", 50 },
+ { "}\n", 2 },
+ { ".accent-red.dark attachment.has-trigger:focus {\n", 48 },
+ { " box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.3);\n", 50 },
+ { "}\n", 2 },
{ ".accent-red .tooltip-inner {\n", 29 },
{ " background-color: rgba(220, 38, 38, 1);\n", 42 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -131,6 +143,18 @@ static const struct {
{ ".accent-red.dark radio-group-item .indicator {\n", 47 },
{ " background-color: rgba(250, 250, 250, 1);\n", 44 },
{ "}\n", 2 },
+ { ".accent-red input-group:focused {\n", 34 },
+ { " border-color: rgba(220, 38, 38, 1);\n", 38 },
+ { "}\n", 2 },
+ { ".accent-red.dark input-group:focused {\n", 39 },
+ { " border-color: rgba(248, 113, 113, 1);\n", 40 },
+ { "}\n", 2 },
+ { ".accent-red input-group:focused {\n", 34 },
+ { " box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-red.dark input-group:focused {\n", 39 },
+ { " box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.3);\n", 50 },
+ { "}\n", 2 },
{ ".accent-red alert-dialog-action:primary {\n", 42 },
{ " background-color: rgba(220, 38, 38, 1);\n", 42 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -161,6 +185,26 @@ static const struct {
{ " background-color: rgba(248, 113, 113, 1);\n", 44 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
+ { ".accent-red textinput .selection {\n", 35 },
+ { " background-color: rgba(220, 38, 38, 1);\n", 42 },
+ { " color: rgba(250, 250, 250, 1);\n", 33 },
+ { "}\n", 2 },
+ { ".accent-red.dark textinput .selection {\n", 40 },
+ { " background-color: rgba(248, 113, 113, 1);\n", 44 },
+ { " color: rgba(250, 250, 250, 1);\n", 33 },
+ { "}\n", 2 },
+ { ".accent-red textinput:focus {\n", 30 },
+ { " border-color: rgba(220, 38, 38, 1);\n", 38 },
+ { "}\n", 2 },
+ { ".accent-red.dark textinput:focus {\n", 35 },
+ { " border-color: rgba(248, 113, 113, 1);\n", 40 },
+ { "}\n", 2 },
+ { ".accent-red textinput:focus {\n", 30 },
+ { " box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-red.dark textinput:focus {\n", 35 },
+ { " box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.3);\n", 50 },
+ { "}\n", 2 },
{ ".accent-red .sidebar-menu-button:hover {\n", 41 },
{ " background-color: rgba(220, 38, 38, 0.1);\n", 44 },
{ " color: rgba(220, 38, 38, 1);\n", 31 },
@@ -193,16 +237,14 @@ static const struct {
{ " background-color: rgba(248, 113, 113, 0.15);\n", 47 },
{ " color: rgba(248, 113, 113, 1);\n", 33 },
{ "}\n", 2 },
- { ".accent-red textinput .selection {\n", 35 },
+ { ".accent-red .fill-primary {\n", 28 },
{ " background-color: rgba(220, 38, 38, 1);\n", 42 },
- { " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
- { ".accent-red.dark textinput .selection {\n", 40 },
+ { ".accent-red.dark .fill-primary {\n", 33 },
{ " background-color: rgba(248, 113, 113, 1);\n", 44 },
- { " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
};
-static const size_t css_str_red_total_length = 5573;
+static const size_t css_str_red_total_length = 6756;
static inline void ui_load_css_string_red_chunks(void)
{
size_t i;
diff --git a/src/styles/accents/rose.css b/src/styles/accents/rose.css
index 362e1c25..bd20d5b5 100644
--- a/src/styles/accents/rose.css
+++ b/src/styles/accents/rose.css
@@ -94,6 +94,22 @@
color: rgba(250, 250, 250, 1);
}
+.accent-rose attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(225, 29, 72, 0.2);
+}
+
+.accent-rose attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(225, 29, 72, 0.2);
+}
+
+.accent-rose.dark attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(251, 113, 133, 0.3);
+}
+
+.accent-rose.dark attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(251, 113, 133, 0.3);
+}
+
.accent-rose .tooltip-inner {
background-color: rgba(225, 29, 72, 1);
}
@@ -182,6 +198,22 @@
background-color: rgba(250, 250, 250, 1);
}
+.accent-rose input-group:focused {
+ border-color: rgba(225, 29, 72, 1);
+}
+
+.accent-rose.dark input-group:focused {
+ border-color: rgba(251, 113, 133, 1);
+}
+
+.accent-rose input-group:focused {
+ box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.2);
+}
+
+.accent-rose.dark input-group:focused {
+ box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.3);
+}
+
.accent-rose alert-dialog-action:primary {
background-color: rgba(225, 29, 72, 1);
}
@@ -254,6 +286,22 @@
color: rgba(250, 250, 250, 1);
}
+.accent-rose textinput:focus {
+ border-color: rgba(225, 29, 72, 1);
+}
+
+.accent-rose.dark textinput:focus {
+ border-color: rgba(251, 113, 133, 1);
+}
+
+.accent-rose textinput:focus {
+ box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.2);
+}
+
+.accent-rose.dark textinput:focus {
+ box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.3);
+}
+
.accent-rose .sidebar-menu-button:hover {
background-color: rgba(225, 29, 72, 0.1);
}
@@ -317,3 +365,11 @@
.accent-rose.dark .sidebar-avatar {
color: rgba(251, 113, 133, 1);
}
+
+.accent-rose .fill-primary {
+ background-color: rgba(225, 29, 72, 1);
+}
+
+.accent-rose.dark .fill-primary {
+ background-color: rgba(251, 113, 133, 1);
+}
diff --git a/src/styles/accents/rose.css.h b/src/styles/accents/rose.css.h
index d8b50b15..3f4e315c 100644
--- a/src/styles/accents/rose.css.h
+++ b/src/styles/accents/rose.css.h
@@ -75,6 +75,18 @@ static const struct {
{ " background-color: rgba(251, 113, 133, 1);\n", 44 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
+ { ".accent-rose attachment.has-trigger:active {\n", 45 },
+ { " box-shadow: 0 0 0 2px rgba(225, 29, 72, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-rose attachment.has-trigger:focus {\n", 44 },
+ { " box-shadow: 0 0 0 2px rgba(225, 29, 72, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-rose.dark attachment.has-trigger:active {\n", 50 },
+ { " box-shadow: 0 0 0 2px rgba(251, 113, 133, 0.3);\n", 50 },
+ { "}\n", 2 },
+ { ".accent-rose.dark attachment.has-trigger:focus {\n", 49 },
+ { " box-shadow: 0 0 0 2px rgba(251, 113, 133, 0.3);\n", 50 },
+ { "}\n", 2 },
{ ".accent-rose .tooltip-inner {\n", 30 },
{ " background-color: rgba(225, 29, 72, 1);\n", 42 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -133,6 +145,18 @@ static const struct {
{ ".accent-rose.dark radio-group-item .indicator {\n", 48 },
{ " background-color: rgba(250, 250, 250, 1);\n", 44 },
{ "}\n", 2 },
+ { ".accent-rose input-group:focused {\n", 35 },
+ { " border-color: rgba(225, 29, 72, 1);\n", 38 },
+ { "}\n", 2 },
+ { ".accent-rose.dark input-group:focused {\n", 40 },
+ { " border-color: rgba(251, 113, 133, 1);\n", 40 },
+ { "}\n", 2 },
+ { ".accent-rose input-group:focused {\n", 35 },
+ { " box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-rose.dark input-group:focused {\n", 40 },
+ { " box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.3);\n", 50 },
+ { "}\n", 2 },
{ ".accent-rose alert-dialog-action:primary {\n", 43 },
{ " background-color: rgba(225, 29, 72, 1);\n", 42 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -163,6 +187,26 @@ static const struct {
{ " background-color: rgba(251, 113, 133, 1);\n", 44 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
+ { ".accent-rose textinput .selection {\n", 36 },
+ { " background-color: rgba(225, 29, 72, 1);\n", 42 },
+ { " color: rgba(250, 250, 250, 1);\n", 33 },
+ { "}\n", 2 },
+ { ".accent-rose.dark textinput .selection {\n", 41 },
+ { " background-color: rgba(251, 113, 133, 1);\n", 44 },
+ { " color: rgba(250, 250, 250, 1);\n", 33 },
+ { "}\n", 2 },
+ { ".accent-rose textinput:focus {\n", 31 },
+ { " border-color: rgba(225, 29, 72, 1);\n", 38 },
+ { "}\n", 2 },
+ { ".accent-rose.dark textinput:focus {\n", 36 },
+ { " border-color: rgba(251, 113, 133, 1);\n", 40 },
+ { "}\n", 2 },
+ { ".accent-rose textinput:focus {\n", 31 },
+ { " box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-rose.dark textinput:focus {\n", 36 },
+ { " box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.3);\n", 50 },
+ { "}\n", 2 },
{ ".accent-rose .sidebar-menu-button:hover {\n", 42 },
{ " background-color: rgba(225, 29, 72, 0.1);\n", 44 },
{ " color: rgba(225, 29, 72, 1);\n", 31 },
@@ -195,16 +239,14 @@ static const struct {
{ " background-color: rgba(251, 113, 133, 0.15);\n", 47 },
{ " color: rgba(251, 113, 133, 1);\n", 33 },
{ "}\n", 2 },
- { ".accent-rose textinput .selection {\n", 36 },
+ { ".accent-rose .fill-primary {\n", 29 },
{ " background-color: rgba(225, 29, 72, 1);\n", 42 },
- { " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
- { ".accent-rose.dark textinput .selection {\n", 41 },
+ { ".accent-rose.dark .fill-primary {\n", 34 },
{ " background-color: rgba(251, 113, 133, 1);\n", 44 },
- { " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
};
-static const size_t css_str_rose_total_length = 5635;
+static const size_t css_str_rose_total_length = 6832;
static inline void ui_load_css_string_rose_chunks(void)
{
size_t i;
diff --git a/src/styles/accents/sky.css b/src/styles/accents/sky.css
index 9704d317..74237a6c 100644
--- a/src/styles/accents/sky.css
+++ b/src/styles/accents/sky.css
@@ -94,6 +94,22 @@
color: rgba(250, 250, 250, 1);
}
+.accent-sky attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
+}
+
+.accent-sky attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
+}
+
+.accent-sky.dark attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.3);
+}
+
+.accent-sky.dark attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.3);
+}
+
.accent-sky .tooltip-inner {
background-color: rgba(2, 132, 199, 1);
}
@@ -182,6 +198,22 @@
background-color: rgba(250, 250, 250, 1);
}
+.accent-sky input-group:focused {
+ border-color: rgba(2, 132, 199, 1);
+}
+
+.accent-sky.dark input-group:focused {
+ border-color: rgba(56, 189, 248, 1);
+}
+
+.accent-sky input-group:focused {
+ box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
+}
+
+.accent-sky.dark input-group:focused {
+ box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.3);
+}
+
.accent-sky alert-dialog-action:primary {
background-color: rgba(2, 132, 199, 1);
}
@@ -254,6 +286,22 @@
color: rgba(250, 250, 250, 1);
}
+.accent-sky textinput:focus {
+ border-color: rgba(2, 132, 199, 1);
+}
+
+.accent-sky.dark textinput:focus {
+ border-color: rgba(56, 189, 248, 1);
+}
+
+.accent-sky textinput:focus {
+ box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
+}
+
+.accent-sky.dark textinput:focus {
+ box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.3);
+}
+
.accent-sky .sidebar-menu-button:hover {
background-color: rgba(2, 132, 199, 0.1);
}
@@ -317,3 +365,11 @@
.accent-sky.dark .sidebar-avatar {
color: rgba(56, 189, 248, 1);
}
+
+.accent-sky .fill-primary {
+ background-color: rgba(2, 132, 199, 1);
+}
+
+.accent-sky.dark .fill-primary {
+ background-color: rgba(56, 189, 248, 1);
+}
diff --git a/src/styles/accents/sky.css.h b/src/styles/accents/sky.css.h
index 3c0e4dfa..b679948a 100644
--- a/src/styles/accents/sky.css.h
+++ b/src/styles/accents/sky.css.h
@@ -73,6 +73,18 @@ static const struct {
{ " background-color: rgba(56, 189, 248, 1);\n", 43 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
+ { ".accent-sky attachment.has-trigger:active {\n", 44 },
+ { " box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-sky attachment.has-trigger:focus {\n", 43 },
+ { " box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-sky.dark attachment.has-trigger:active {\n", 49 },
+ { " box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.3);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-sky.dark attachment.has-trigger:focus {\n", 48 },
+ { " box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.3);\n", 49 },
+ { "}\n", 2 },
{ ".accent-sky .tooltip-inner {\n", 29 },
{ " background-color: rgba(2, 132, 199, 1);\n", 42 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -131,6 +143,18 @@ static const struct {
{ ".accent-sky.dark radio-group-item .indicator {\n", 47 },
{ " background-color: rgba(250, 250, 250, 1);\n", 44 },
{ "}\n", 2 },
+ { ".accent-sky input-group:focused {\n", 34 },
+ { " border-color: rgba(2, 132, 199, 1);\n", 38 },
+ { "}\n", 2 },
+ { ".accent-sky.dark input-group:focused {\n", 39 },
+ { " border-color: rgba(56, 189, 248, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-sky input-group:focused {\n", 34 },
+ { " box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-sky.dark input-group:focused {\n", 39 },
+ { " box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.3);\n", 49 },
+ { "}\n", 2 },
{ ".accent-sky alert-dialog-action:primary {\n", 42 },
{ " background-color: rgba(2, 132, 199, 1);\n", 42 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -161,6 +185,26 @@ static const struct {
{ " background-color: rgba(56, 189, 248, 1);\n", 43 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
+ { ".accent-sky textinput .selection {\n", 35 },
+ { " background-color: rgba(2, 132, 199, 1);\n", 42 },
+ { " color: rgba(250, 250, 250, 1);\n", 33 },
+ { "}\n", 2 },
+ { ".accent-sky.dark textinput .selection {\n", 40 },
+ { " background-color: rgba(56, 189, 248, 1);\n", 43 },
+ { " color: rgba(250, 250, 250, 1);\n", 33 },
+ { "}\n", 2 },
+ { ".accent-sky textinput:focus {\n", 30 },
+ { " border-color: rgba(2, 132, 199, 1);\n", 38 },
+ { "}\n", 2 },
+ { ".accent-sky.dark textinput:focus {\n", 35 },
+ { " border-color: rgba(56, 189, 248, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-sky textinput:focus {\n", 30 },
+ { " box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-sky.dark textinput:focus {\n", 35 },
+ { " box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.3);\n", 49 },
+ { "}\n", 2 },
{ ".accent-sky .sidebar-menu-button:hover {\n", 41 },
{ " background-color: rgba(2, 132, 199, 0.1);\n", 44 },
{ " color: rgba(2, 132, 199, 1);\n", 31 },
@@ -193,16 +237,14 @@ static const struct {
{ " background-color: rgba(56, 189, 248, 0.15);\n", 46 },
{ " color: rgba(56, 189, 248, 1);\n", 32 },
{ "}\n", 2 },
- { ".accent-sky textinput .selection {\n", 35 },
+ { ".accent-sky .fill-primary {\n", 28 },
{ " background-color: rgba(2, 132, 199, 1);\n", 42 },
- { " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
- { ".accent-sky.dark textinput .selection {\n", 40 },
+ { ".accent-sky.dark .fill-primary {\n", 33 },
{ " background-color: rgba(56, 189, 248, 1);\n", 43 },
- { " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
};
-static const size_t css_str_sky_total_length = 5545;
+static const size_t css_str_sky_total_length = 6721;
static inline void ui_load_css_string_sky_chunks(void)
{
size_t i;
diff --git a/src/styles/accents/teal.css b/src/styles/accents/teal.css
index 523526ed..9b7cab81 100644
--- a/src/styles/accents/teal.css
+++ b/src/styles/accents/teal.css
@@ -94,6 +94,22 @@
color: rgba(23, 23, 23, 1);
}
+.accent-teal attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.2);
+}
+
+.accent-teal attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.2);
+}
+
+.accent-teal.dark attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.3);
+}
+
+.accent-teal.dark attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.3);
+}
+
.accent-teal .tooltip-inner {
background-color: rgba(13, 148, 136, 1);
}
@@ -182,6 +198,22 @@
background-color: rgba(23, 23, 23, 1);
}
+.accent-teal input-group:focused {
+ border-color: rgba(13, 148, 136, 1);
+}
+
+.accent-teal.dark input-group:focused {
+ border-color: rgba(45, 212, 191, 1);
+}
+
+.accent-teal input-group:focused {
+ box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
+}
+
+.accent-teal.dark input-group:focused {
+ box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.3);
+}
+
.accent-teal alert-dialog-action:primary {
background-color: rgba(13, 148, 136, 1);
}
@@ -254,6 +286,22 @@
color: rgba(23, 23, 23, 1);
}
+.accent-teal textinput:focus {
+ border-color: rgba(13, 148, 136, 1);
+}
+
+.accent-teal.dark textinput:focus {
+ border-color: rgba(45, 212, 191, 1);
+}
+
+.accent-teal textinput:focus {
+ box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
+}
+
+.accent-teal.dark textinput:focus {
+ box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.3);
+}
+
.accent-teal .sidebar-menu-button:hover {
background-color: rgba(13, 148, 136, 0.1);
}
@@ -317,3 +365,11 @@
.accent-teal.dark .sidebar-avatar {
color: rgba(45, 212, 191, 1);
}
+
+.accent-teal .fill-primary {
+ background-color: rgba(13, 148, 136, 1);
+}
+
+.accent-teal.dark .fill-primary {
+ background-color: rgba(45, 212, 191, 1);
+}
diff --git a/src/styles/accents/teal.css.h b/src/styles/accents/teal.css.h
index 36c09b0e..c974dc87 100644
--- a/src/styles/accents/teal.css.h
+++ b/src/styles/accents/teal.css.h
@@ -75,6 +75,18 @@ static const struct {
{ " background-color: rgba(45, 212, 191, 1);\n", 43 },
{ " color: rgba(23, 23, 23, 1);\n", 30 },
{ "}\n", 2 },
+ { ".accent-teal attachment.has-trigger:active {\n", 45 },
+ { " box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.2);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-teal attachment.has-trigger:focus {\n", 44 },
+ { " box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.2);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-teal.dark attachment.has-trigger:active {\n", 50 },
+ { " box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.3);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-teal.dark attachment.has-trigger:focus {\n", 49 },
+ { " box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.3);\n", 49 },
+ { "}\n", 2 },
{ ".accent-teal .tooltip-inner {\n", 30 },
{ " background-color: rgba(13, 148, 136, 1);\n", 43 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -133,6 +145,18 @@ static const struct {
{ ".accent-teal.dark radio-group-item .indicator {\n", 48 },
{ " background-color: rgba(23, 23, 23, 1);\n", 41 },
{ "}\n", 2 },
+ { ".accent-teal input-group:focused {\n", 35 },
+ { " border-color: rgba(13, 148, 136, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-teal.dark input-group:focused {\n", 40 },
+ { " border-color: rgba(45, 212, 191, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-teal input-group:focused {\n", 35 },
+ { " box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-teal.dark input-group:focused {\n", 40 },
+ { " box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.3);\n", 49 },
+ { "}\n", 2 },
{ ".accent-teal alert-dialog-action:primary {\n", 43 },
{ " background-color: rgba(13, 148, 136, 1);\n", 43 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -163,6 +187,26 @@ static const struct {
{ " background-color: rgba(45, 212, 191, 1);\n", 43 },
{ " color: rgba(23, 23, 23, 1);\n", 30 },
{ "}\n", 2 },
+ { ".accent-teal textinput .selection {\n", 36 },
+ { " background-color: rgba(13, 148, 136, 1);\n", 43 },
+ { " color: rgba(250, 250, 250, 1);\n", 33 },
+ { "}\n", 2 },
+ { ".accent-teal.dark textinput .selection {\n", 41 },
+ { " background-color: rgba(45, 212, 191, 1);\n", 43 },
+ { " color: rgba(23, 23, 23, 1);\n", 30 },
+ { "}\n", 2 },
+ { ".accent-teal textinput:focus {\n", 31 },
+ { " border-color: rgba(13, 148, 136, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-teal.dark textinput:focus {\n", 36 },
+ { " border-color: rgba(45, 212, 191, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-teal textinput:focus {\n", 31 },
+ { " box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-teal.dark textinput:focus {\n", 36 },
+ { " box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.3);\n", 49 },
+ { "}\n", 2 },
{ ".accent-teal .sidebar-menu-button:hover {\n", 42 },
{ " background-color: rgba(13, 148, 136, 0.1);\n", 45 },
{ " color: rgba(13, 148, 136, 1);\n", 32 },
@@ -195,16 +239,14 @@ static const struct {
{ " background-color: rgba(45, 212, 191, 0.15);\n", 46 },
{ " color: rgba(45, 212, 191, 1);\n", 32 },
{ "}\n", 2 },
- { ".accent-teal textinput .selection {\n", 36 },
+ { ".accent-teal .fill-primary {\n", 29 },
{ " background-color: rgba(13, 148, 136, 1);\n", 43 },
- { " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
- { ".accent-teal.dark textinput .selection {\n", 41 },
+ { ".accent-teal.dark .fill-primary {\n", 34 },
{ " background-color: rgba(45, 212, 191, 1);\n", 43 },
- { " color: rgba(23, 23, 23, 1);\n", 30 },
{ "}\n", 2 },
};
-static const size_t css_str_teal_total_length = 5599;
+static const size_t css_str_teal_total_length = 6796;
static inline void ui_load_css_string_teal_chunks(void)
{
size_t i;
diff --git a/src/styles/accents/violet.css b/src/styles/accents/violet.css
index 76bb79da..d3b58299 100644
--- a/src/styles/accents/violet.css
+++ b/src/styles/accents/violet.css
@@ -94,6 +94,22 @@
color: rgba(250, 250, 250, 1);
}
+.accent-violet attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);
+}
+
+.accent-violet attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);
+}
+
+.accent-violet.dark attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(167, 139, 250, 0.3);
+}
+
+.accent-violet.dark attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(167, 139, 250, 0.3);
+}
+
.accent-violet .tooltip-inner {
background-color: rgba(124, 58, 237, 1);
}
@@ -182,6 +198,22 @@
background-color: rgba(250, 250, 250, 1);
}
+.accent-violet input-group:focused {
+ border-color: rgba(124, 58, 237, 1);
+}
+
+.accent-violet.dark input-group:focused {
+ border-color: rgba(167, 139, 250, 1);
+}
+
+.accent-violet input-group:focused {
+ box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
+}
+
+.accent-violet.dark input-group:focused {
+ box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.3);
+}
+
.accent-violet alert-dialog-action:primary {
background-color: rgba(124, 58, 237, 1);
}
@@ -254,6 +286,22 @@
color: rgba(250, 250, 250, 1);
}
+.accent-violet textinput:focus {
+ border-color: rgba(124, 58, 237, 1);
+}
+
+.accent-violet.dark textinput:focus {
+ border-color: rgba(167, 139, 250, 1);
+}
+
+.accent-violet textinput:focus {
+ box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
+}
+
+.accent-violet.dark textinput:focus {
+ box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.3);
+}
+
.accent-violet .sidebar-menu-button:hover {
background-color: rgba(124, 58, 237, 0.1);
}
@@ -317,3 +365,11 @@
.accent-violet.dark .sidebar-avatar {
color: rgba(167, 139, 250, 1);
}
+
+.accent-violet .fill-primary {
+ background-color: rgba(124, 58, 237, 1);
+}
+
+.accent-violet.dark .fill-primary {
+ background-color: rgba(167, 139, 250, 1);
+}
diff --git a/src/styles/accents/violet.css.h b/src/styles/accents/violet.css.h
index feb6e40a..ff72afcc 100644
--- a/src/styles/accents/violet.css.h
+++ b/src/styles/accents/violet.css.h
@@ -79,6 +79,18 @@ static const struct {
{ " background-color: rgba(167, 139, 250, 1);\n", 44 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
+ { ".accent-violet attachment.has-trigger:active {\n", 47 },
+ { " box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-violet attachment.has-trigger:focus {\n", 46 },
+ { " box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-violet.dark attachment.has-trigger:active {\n", 52 },
+ { " box-shadow: 0 0 0 2px rgba(167, 139, 250, 0.3);\n", 50 },
+ { "}\n", 2 },
+ { ".accent-violet.dark attachment.has-trigger:focus {\n", 51 },
+ { " box-shadow: 0 0 0 2px rgba(167, 139, 250, 0.3);\n", 50 },
+ { "}\n", 2 },
{ ".accent-violet .tooltip-inner {\n", 32 },
{ " background-color: rgba(124, 58, 237, 1);\n", 43 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -137,6 +149,18 @@ static const struct {
{ ".accent-violet.dark radio-group-item .indicator {\n", 50 },
{ " background-color: rgba(250, 250, 250, 1);\n", 44 },
{ "}\n", 2 },
+ { ".accent-violet input-group:focused {\n", 37 },
+ { " border-color: rgba(124, 58, 237, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-violet.dark input-group:focused {\n", 42 },
+ { " border-color: rgba(167, 139, 250, 1);\n", 40 },
+ { "}\n", 2 },
+ { ".accent-violet input-group:focused {\n", 37 },
+ { " box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-violet.dark input-group:focused {\n", 42 },
+ { " box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.3);\n", 50 },
+ { "}\n", 2 },
{ ".accent-violet alert-dialog-action:primary {\n", 45 },
{ " background-color: rgba(124, 58, 237, 1);\n", 43 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -167,6 +191,26 @@ static const struct {
{ " background-color: rgba(167, 139, 250, 1);\n", 44 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
+ { ".accent-violet textinput .selection {\n", 38 },
+ { " background-color: rgba(124, 58, 237, 1);\n", 43 },
+ { " color: rgba(250, 250, 250, 1);\n", 33 },
+ { "}\n", 2 },
+ { ".accent-violet.dark textinput .selection {\n", 43 },
+ { " background-color: rgba(167, 139, 250, 1);\n", 44 },
+ { " color: rgba(250, 250, 250, 1);\n", 33 },
+ { "}\n", 2 },
+ { ".accent-violet textinput:focus {\n", 33 },
+ { " border-color: rgba(124, 58, 237, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-violet.dark textinput:focus {\n", 38 },
+ { " border-color: rgba(167, 139, 250, 1);\n", 40 },
+ { "}\n", 2 },
+ { ".accent-violet textinput:focus {\n", 33 },
+ { " box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-violet.dark textinput:focus {\n", 38 },
+ { " box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.3);\n", 50 },
+ { "}\n", 2 },
{ ".accent-violet .sidebar-menu-button:hover {\n", 44 },
{ " background-color: rgba(124, 58, 237, 0.1);\n", 45 },
{ " color: rgba(124, 58, 237, 1);\n", 32 },
@@ -199,16 +243,14 @@ static const struct {
{ " background-color: rgba(167, 139, 250, 0.15);\n", 47 },
{ " color: rgba(167, 139, 250, 1);\n", 33 },
{ "}\n", 2 },
- { ".accent-violet textinput .selection {\n", 38 },
+ { ".accent-violet .fill-primary {\n", 31 },
{ " background-color: rgba(124, 58, 237, 1);\n", 43 },
- { " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
- { ".accent-violet.dark textinput .selection {\n", 43 },
+ { ".accent-violet.dark .fill-primary {\n", 36 },
{ " background-color: rgba(167, 139, 250, 1);\n", 44 },
- { " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
};
-static const size_t css_str_violet_total_length = 5787;
+static const size_t css_str_violet_total_length = 7019;
static inline void ui_load_css_string_violet_chunks(void)
{
size_t i;
diff --git a/src/styles/accents/yellow.css b/src/styles/accents/yellow.css
index 8c8634f3..cb75b689 100644
--- a/src/styles/accents/yellow.css
+++ b/src/styles/accents/yellow.css
@@ -94,6 +94,22 @@
color: rgba(23, 23, 23, 1);
}
+.accent-yellow attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(202, 138, 4, 0.2);
+}
+
+.accent-yellow attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(202, 138, 4, 0.2);
+}
+
+.accent-yellow.dark attachment.has-trigger:active {
+ box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.3);
+}
+
+.accent-yellow.dark attachment.has-trigger:focus {
+ box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.3);
+}
+
.accent-yellow .tooltip-inner {
background-color: rgba(202, 138, 4, 1);
}
@@ -182,6 +198,22 @@
background-color: rgba(23, 23, 23, 1);
}
+.accent-yellow input-group:focused {
+ border-color: rgba(202, 138, 4, 1);
+}
+
+.accent-yellow.dark input-group:focused {
+ border-color: rgba(250, 204, 21, 1);
+}
+
+.accent-yellow input-group:focused {
+ box-shadow: 0 0 0 3px rgba(202, 138, 4, 0.2);
+}
+
+.accent-yellow.dark input-group:focused {
+ box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.3);
+}
+
.accent-yellow alert-dialog-action:primary {
background-color: rgba(202, 138, 4, 1);
}
@@ -254,6 +286,22 @@
color: rgba(23, 23, 23, 1);
}
+.accent-yellow textinput:focus {
+ border-color: rgba(202, 138, 4, 1);
+}
+
+.accent-yellow.dark textinput:focus {
+ border-color: rgba(250, 204, 21, 1);
+}
+
+.accent-yellow textinput:focus {
+ box-shadow: 0 0 0 3px rgba(202, 138, 4, 0.2);
+}
+
+.accent-yellow.dark textinput:focus {
+ box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.3);
+}
+
.accent-yellow .sidebar-menu-button:hover {
background-color: rgba(202, 138, 4, 0.1);
}
@@ -317,3 +365,11 @@
.accent-yellow.dark .sidebar-avatar {
color: rgba(250, 204, 21, 1);
}
+
+.accent-yellow .fill-primary {
+ background-color: rgba(202, 138, 4, 1);
+}
+
+.accent-yellow.dark .fill-primary {
+ background-color: rgba(250, 204, 21, 1);
+}
diff --git a/src/styles/accents/yellow.css.h b/src/styles/accents/yellow.css.h
index b2cebc81..6e47a3cb 100644
--- a/src/styles/accents/yellow.css.h
+++ b/src/styles/accents/yellow.css.h
@@ -79,6 +79,18 @@ static const struct {
{ " background-color: rgba(250, 204, 21, 1);\n", 43 },
{ " color: rgba(23, 23, 23, 1);\n", 30 },
{ "}\n", 2 },
+ { ".accent-yellow attachment.has-trigger:active {\n", 47 },
+ { " box-shadow: 0 0 0 2px rgba(202, 138, 4, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-yellow attachment.has-trigger:focus {\n", 46 },
+ { " box-shadow: 0 0 0 2px rgba(202, 138, 4, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-yellow.dark attachment.has-trigger:active {\n", 52 },
+ { " box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.3);\n", 49 },
+ { "}\n", 2 },
+ { ".accent-yellow.dark attachment.has-trigger:focus {\n", 51 },
+ { " box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.3);\n", 49 },
+ { "}\n", 2 },
{ ".accent-yellow .tooltip-inner {\n", 32 },
{ " background-color: rgba(202, 138, 4, 1);\n", 42 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -137,6 +149,18 @@ static const struct {
{ ".accent-yellow.dark radio-group-item .indicator {\n", 50 },
{ " background-color: rgba(23, 23, 23, 1);\n", 41 },
{ "}\n", 2 },
+ { ".accent-yellow input-group:focused {\n", 37 },
+ { " border-color: rgba(202, 138, 4, 1);\n", 38 },
+ { "}\n", 2 },
+ { ".accent-yellow.dark input-group:focused {\n", 42 },
+ { " border-color: rgba(250, 204, 21, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-yellow input-group:focused {\n", 37 },
+ { " box-shadow: 0 0 0 3px rgba(202, 138, 4, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-yellow.dark input-group:focused {\n", 42 },
+ { " box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.3);\n", 49 },
+ { "}\n", 2 },
{ ".accent-yellow alert-dialog-action:primary {\n", 45 },
{ " background-color: rgba(202, 138, 4, 1);\n", 42 },
{ " color: rgba(250, 250, 250, 1);\n", 33 },
@@ -167,6 +191,26 @@ static const struct {
{ " background-color: rgba(250, 204, 21, 1);\n", 43 },
{ " color: rgba(23, 23, 23, 1);\n", 30 },
{ "}\n", 2 },
+ { ".accent-yellow textinput .selection {\n", 38 },
+ { " background-color: rgba(202, 138, 4, 1);\n", 42 },
+ { " color: rgba(250, 250, 250, 1);\n", 33 },
+ { "}\n", 2 },
+ { ".accent-yellow.dark textinput .selection {\n", 43 },
+ { " background-color: rgba(250, 204, 21, 1);\n", 43 },
+ { " color: rgba(23, 23, 23, 1);\n", 30 },
+ { "}\n", 2 },
+ { ".accent-yellow textinput:focus {\n", 33 },
+ { " border-color: rgba(202, 138, 4, 1);\n", 38 },
+ { "}\n", 2 },
+ { ".accent-yellow.dark textinput:focus {\n", 38 },
+ { " border-color: rgba(250, 204, 21, 1);\n", 39 },
+ { "}\n", 2 },
+ { ".accent-yellow textinput:focus {\n", 33 },
+ { " box-shadow: 0 0 0 3px rgba(202, 138, 4, 0.2);\n", 48 },
+ { "}\n", 2 },
+ { ".accent-yellow.dark textinput:focus {\n", 38 },
+ { " box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.3);\n", 49 },
+ { "}\n", 2 },
{ ".accent-yellow .sidebar-menu-button:hover {\n", 44 },
{ " background-color: rgba(202, 138, 4, 0.1);\n", 44 },
{ " color: rgba(202, 138, 4, 1);\n", 31 },
@@ -199,16 +243,14 @@ static const struct {
{ " background-color: rgba(250, 204, 21, 0.15);\n", 46 },
{ " color: rgba(250, 204, 21, 1);\n", 32 },
{ "}\n", 2 },
- { ".accent-yellow textinput .selection {\n", 38 },
+ { ".accent-yellow .fill-primary {\n", 31 },
{ " background-color: rgba(202, 138, 4, 1);\n", 42 },
- { " color: rgba(250, 250, 250, 1);\n", 33 },
{ "}\n", 2 },
- { ".accent-yellow.dark textinput .selection {\n", 43 },
+ { ".accent-yellow.dark .fill-primary {\n", 36 },
{ " background-color: rgba(250, 204, 21, 1);\n", 43 },
- { " color: rgba(23, 23, 23, 1);\n", 30 },
{ "}\n", 2 },
};
-static const size_t css_str_yellow_total_length = 5695;
+static const size_t css_str_yellow_total_length = 6913;
static inline void ui_load_css_string_yellow_chunks(void)
{
size_t i;
diff --git a/src/styles/style-nova.css b/src/styles/style-nova.css
index 95868d39..a8c14bd6 100644
--- a/src/styles/style-nova.css
+++ b/src/styles/style-nova.css
@@ -986,8 +986,8 @@ input-group {
}
input-group:focused {
- @apply border-foreground;
- @apply dark:border-foreground-dark;
+ @apply border-primary;
+ @apply dark:border-primary-dark;
box-shadow: theme("boxShadow.focus");
}
@@ -1672,7 +1672,7 @@ textinput .selection {
}
textinput:focus {
- @apply border-foreground dark:border-foreground-dark;
+ @apply border-primary dark:border-primary-dark;
box-shadow: theme("boxShadow.focus");
}
@@ -1816,6 +1816,13 @@ sidebar-rail {
@apply text-foreground dark:text-foreground-dark;
}
+/* App-level fills that must follow the accent. The accent generator reads
+ * this rule, so app styles can opt in with the class instead of hard-coding
+ * a primary background that the accent overrides cannot see. */
+.fill-primary {
+ @apply bg-primary dark:bg-primary-dark;
+}
+
/* scrollbar: structural rules live in src/widgets/scrollbar.c; the thumb
* uses the foreground token so it stays visible on both surfaces: dark on
* light backgrounds, light on dark backgrounds. */
diff --git a/src/styles/style-nova.css.h b/src/styles/style-nova.css.h
index dac8514d..7938c2aa 100644
--- a/src/styles/style-nova.css.h
+++ b/src/styles/style-nova.css.h
@@ -1458,7 +1458,7 @@ static const struct {
{ " background-color: #0a0a0a;\n", 29 },
{ "}\n", 2 },
{ "input-group:focused {\r\n", 23 },
- { " border-color: #0a0a0a;\n", 25 },
+ { " border-color: #171717;\n", 25 },
{ "}\n", 2 },
{ ".dark input-group:focused {\r\n", 29 },
{ " border-color: #fafafa;\n", 25 },
@@ -2311,14 +2311,24 @@ static const struct {
{ "textinput {\r\n", 13 },
{ " box-sizing: border-box;\n", 26 },
{ "}\n", 2 },
+ { "\n", 1 },
{ "textcaret {\r\n", 13 },
{ " background-color: #0a0a0a;\n", 29 },
{ "}\n", 2 },
{ ".dark textcaret {\r\n", 19 },
{ " background-color: #fafafa;\n", 29 },
{ "}\n", 2 },
+ { "\n", 1 },
+ { "textinput .selection {\r\n", 24 },
+ { " background-color: #171717;\r\n", 30 },
+ { " color: #fafafa;\n", 18 },
+ { "}\n", 2 },
+ { ".dark textinput .selection {\r\n", 30 },
+ { " background-color: #fafafa;\r\n", 30 },
+ { " color: #171717;\n", 18 },
+ { "}\n", 2 },
{ "textinput:focus {\r\n", 19 },
- { " border-color: #0a0a0a;\n", 25 },
+ { " border-color: #171717;\n", 25 },
{ "}\n", 2 },
{ ".dark textinput:focus {\r\n", 25 },
{ " border-color: #fafafa;\n", 25 },
@@ -2509,6 +2519,13 @@ static const struct {
{ " color: #fafafa;\n", 18 },
{ "}\n", 2 },
{ "\n", 1 },
+ { ".fill-primary {\r\n", 17 },
+ { " background-color: #171717;\n", 29 },
+ { "}\n", 2 },
+ { ".dark .fill-primary {\r\n", 23 },
+ { " background-color: #fafafa;\n", 29 },
+ { "}\n", 2 },
+ { "\n", 1 },
{ "scrollbar-thumb {\r\n", 19 },
{ " background-color: rgb(10 10 10 / 0.25);\n", 42 },
{ "}\n", 2 },
@@ -2527,16 +2544,8 @@ static const struct {
{ ".dark scrollbar-thumb:active {\r\n", 32 },
{ " background-color: rgb(250 250 250 / 0.6);\n", 44 },
{ "}\n", 2 },
- { "textinput .selection {\r\n", 24 },
- { " background-color: #171717;\r\n", 30 },
- { " color: #fafafa;\n", 18 },
- { "}\n", 2 },
- { ".dark textinput .selection {\r\n", 30 },
- { " background-color: #fafafa;\r\n", 30 },
- { " color: #171717;\n", 18 },
- { "}\n", 2 },
};
-static const size_t css_str_style_nova_total_length = 51024;
+static const size_t css_str_style_nova_total_length = 51129;
static inline void ui_load_css_string_style_nova_chunks(void)
{
size_t i;
diff --git a/tests/integration/test_theme_accent.c b/tests/integration/test_theme_accent.c
index 97842c1b..4b9482f8 100644
--- a/tests/integration/test_theme_accent.c
+++ b/tests/integration/test_theme_accent.c
@@ -153,6 +153,53 @@ static void test_accent_switch(void)
ui_clear_trash();
}
+static void test_focus_ring(void)
+{
+ ui_widget_t *input = ui_create_widget("textinput");
+
+ ui_widget_add_status(input, "focus");
+ ui_widget_append(ui_root(), input);
+ ui_theme_set_accent("green");
+ ui_update();
+ ctest_equal_bool("focus ring should use the accent",
+ input->computed_style.box_shadow_color ==
+ css_color(51, 0x16, 0xa3, 0x4a),
+ true);
+ ctest_equal_bool("focus border should use the accent",
+ input->computed_style.border_top_color ==
+ css_color(255, 0x16, 0xa3, 0x4a),
+ true);
+
+ ui_theme_set_accent_color("#2563eb");
+ ui_update();
+ ctest_equal_bool("custom focus ring should use the accent",
+ input->computed_style.box_shadow_color ==
+ css_color(51, 0x25, 0x63, 0xeb),
+ true);
+
+ ui_theme_set_accent(NULL);
+ ui_widget_destroy(input);
+ ui_clear_trash();
+}
+
+static void test_fill_primary(void)
+{
+ ui_widget_t *fill = ui_create_widget(NULL);
+
+ ui_widget_add_class(fill, "fill-primary");
+ ui_widget_append(ui_root(), fill);
+ ui_theme_set_accent("green");
+ ui_update();
+ ctest_equal_bool("fill-primary should follow the accent",
+ fill->computed_style.background_color ==
+ css_color(255, 0x16, 0xa3, 0x4a),
+ true);
+
+ ui_theme_set_accent(NULL);
+ ui_widget_destroy(fill);
+ ui_clear_trash();
+}
+
void test_theme_accent(void)
{
lcui_init();
@@ -162,6 +209,8 @@ void test_theme_accent(void)
ctest_describe("accent badge color", test_custom_badge_color);
ctest_describe("accent swatch", test_swatch_dark);
ctest_describe("accent switch", test_accent_switch);
+ ctest_describe("accent focus ring", test_focus_ring);
+ ctest_describe("accent fill", test_fill_primary);
lcui_destroy();
}