From 9401dcbd57cbdde2c47ebfeb8bf9cc48ce75a51e Mon Sep 17 00:00:00 2001 From: Claas Augner Date: Fri, 29 Aug 2025 13:54:48 +0200 Subject: [PATCH 1/5] fix(button): increase contrast for light positive action Only secondary/plain, as primary uses white text color. --- components/button/server.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/button/server.css b/components/button/server.css index eb4c3f3fc..7727ca12f 100644 --- a/components/button/server.css +++ b/components/button/server.css @@ -75,6 +75,7 @@ color: light-dark(var(--color-green-50), var(--color-green-80)); &:hover { + color: light-dark(var(--color-green-20), var(--color-green-80)); background-color: light-dark( var(--color-green-90), var(--color-green-10) @@ -102,6 +103,7 @@ color: light-dark(var(--color-green-50), var(--color-green-80)); &:hover { + color: light-dark(var(--color-green-20), var(--color-green-80)); background-color: light-dark( var(--color-green-90), var(--color-green-10) From 000e4ab3a408bb541761093e51babee977f79ded Mon Sep 17 00:00:00 2001 From: Claas Augner Date: Fri, 29 Aug 2025 14:03:17 +0200 Subject: [PATCH 2/5] fix(button): increase contrast for light negative action --- components/button/server.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/button/server.css b/components/button/server.css index 7727ca12f..c5780ef73 100644 --- a/components/button/server.css +++ b/components/button/server.css @@ -87,6 +87,7 @@ color: light-dark(var(--color-red-50), var(--color-red-80)); &:hover { + color: light-dark(var(--color-red-20), var(--color-red-80)); background-color: light-dark(var(--color-red-90), var(--color-red-10)); } } @@ -115,6 +116,7 @@ color: light-dark(var(--color-red-50), var(--color-red-80)); &:hover { + color: light-dark(var(--color-red-20), var(--color-red-80)); background-color: light-dark(var(--color-red-90), var(--color-red-10)); } } From 9ed89ec706363098ebb606e3f5589cbacfcf9782 Mon Sep 17 00:00:00 2001 From: Claas Augner Date: Wed, 3 Sep 2025 14:19:39 +0200 Subject: [PATCH 3/5] chore(sandbox): add disabled buttons --- components/button/sandbox.js | 55 +++++++++++++++++++++--------------- 1 file changed, 33 insertions(+), 22 deletions(-) diff --git a/components/button/sandbox.js b/components/button/sandbox.js index 2e6d673b3..a693d05b4 100644 --- a/components/button/sandbox.js +++ b/components/button/sandbox.js @@ -18,6 +18,7 @@ export class ButtonSandbox extends SandboxComponent { { icon, iconOnly: false }, { icon, iconOnly: true }, ]; + const disabled = [false, true]; return html`