From 06051725ee00b7a467277829347846d80e01e374 Mon Sep 17 00:00:00 2001 From: Arthurk12 Date: Mon, 16 Nov 2026 14:56:03 -0300 Subject: [PATCH] fix(BBButton): make the subtle neutral button transparent The subtle neutral button reuses the primary neutral colors: an opaque white background (colorWhite) with --color-gray text, while subtle default sits on a transparent background. BigBlueButton 4.1's native dark theme sets both --color-gray and --color-white to #FFFFFF, since --color-white is its text color there, so the button renders white on white. In the light theme it shows as a white pill on any surface that isn't white. Give subtle neutral the transparent background, light-gray hover and icon-default outline of subtle default, keeping only its --color-gray text. The hover then follows --color-light-gray, which the 4.1 dark theme already sets to a dark surface. --- src/components/Button/constants.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Button/constants.ts b/src/components/Button/constants.ts index 800d340..58cdb7a 100644 --- a/src/components/Button/constants.ts +++ b/src/components/Button/constants.ts @@ -190,12 +190,12 @@ const CSS_COLOR_PROPERTIES: CSSColorPropertiesType = { }, neutral: { color: colorGray, - background: colorWhite, + background: 'transparent', border: false, hoverColor: colorGray, - hoverBackground: colorBrandAux, + hoverBackground: colorLightGray, hoverBorder: false, - outline: colorBrand1, + outline: colorIconDefault, }, }, };