Skip to content

Commit 5270f40

Browse files
committed
Make macos button text 80% opaque when pressed
1 parent 2149c82 commit 5270f40

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

special-pages/shared/components/Button/Button.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ body:not([data-platform-name]) {
177177

178178
/* Active */
179179
--button-bg--active: var(--macos-control-accent-branded-background-pressed);
180+
--button-text--active: color-mix(in srgb, var(--ds-color-theme-accent-content-primary, var(--ds-color-theme-default-light-accent-content-primary)) 80%, transparent);
180181
--button-shadow--active: var(--macos-control-accent-branded-shadow-pressed);
181182

182183
/* Disabled */

0 commit comments

Comments
 (0)