From 16853a364c1bd04e50a68889b95c8ca2e23eec37 Mon Sep 17 00:00:00 2001 From: andreawoe Date: Sun, 23 Aug 2026 10:56:53 +0200 Subject: [PATCH] fix(theme): restore compose FAB icon + circular shape on SRC theme --- lib/builtin-themes.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/builtin-themes.ts b/lib/builtin-themes.ts index 71cc85a0..d2511313 100644 --- a/lib/builtin-themes.ts +++ b/lib/builtin-themes.ts @@ -1135,7 +1135,7 @@ body[data-theme-skin="builtin-src"] button:not(.rounded-full):not([role="switch" } /* MD3 filled button — primary surface, M3 label-large, state layers */ -body[data-theme-skin="builtin-src"] .bg-primary.text-primary-foreground { +body[data-theme-skin="builtin-src"] .bg-primary.text-primary-foreground:not(.rounded-full) { border-radius: 20px !important; padding-inline: 24px !important; min-height: 40px !important; @@ -1146,20 +1146,20 @@ body[data-theme-skin="builtin-src"] .bg-primary.text-primary-foreground { transition: box-shadow 200ms ease, filter 200ms ease; } /* hover: M3 elevation 1 + 8 % on-primary state layer */ -body[data-theme-skin="builtin-src"] .bg-primary.text-primary-foreground:hover { +body[data-theme-skin="builtin-src"] .bg-primary.text-primary-foreground:not(.rounded-full):hover { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.30), 0 2px 6px 2px rgba(0, 0, 0, 0.15) !important; filter: brightness(1.06); } /* focus: +12 % tint + M3 focus ring */ -body[data-theme-skin="builtin-src"] .bg-primary.text-primary-foreground:focus-visible { +body[data-theme-skin="builtin-src"] .bg-primary.text-primary-foreground:not(.rounded-full):focus-visible { filter: brightness(1.10) !important; outline: 3px solid var(--color-ring) !important; outline-offset: 2px !important; } /* pressed: +12 % darker, no shadow */ -body[data-theme-skin="builtin-src"] .bg-primary.text-primary-foreground:active { +body[data-theme-skin="builtin-src"] .bg-primary.text-primary-foreground:not(.rounded-full):active { box-shadow: none !important; filter: brightness(0.94) !important; }