Skip to content
This repository was archived by the owner on Jul 22, 2023. It is now read-only.

Commit 3cf848b

Browse files
committed
fix(ui) better legibility for disabled buttons – fixes #31
1 parent bce539f commit 3cf848b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

catppuccin.user.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,11 @@
510510
--color-sponsors-emphasis: $mauve;
511511
--color-sponsors-muted: rgba(219, 97, 162, 0.4);
512512
--color-sponsors-subtle: rgba(219, 97, 162, 0.15);
513-
--color-primer-fg-disabled: #484f58;
513+
if (blueaccent) {
514+
--color-primer-fg-disabled: alpha($blue, .5);
515+
} else {
516+
--color-primer-fg-disabled: alpha($rosewater, .5);
517+
}
514518
--color-primer-canvas-backdrop: rgba(1, 4, 9, 0.8);
515519
--color-primer-canvas-sticky: rgba(13, 17, 23, 0.95);
516520
--color-primer-border-active: $red;

0 commit comments

Comments
 (0)