💄(buttons) new button styles ("invisible" toggled + danger)

this will be used for toggled on/off mic and camera buttons. We want
toggled-on buttons that don't look pressed as it looks a bit weird
(we'll change icons on pressed/unpressed state). And we want red buttons
for when the buttons are not pressed, so adding the "danger" variant
too.

the whole colorpalette stuff needs a bit of work to be clean but it'll
do for now
This commit is contained in:
Emmanuel Pelletier
2024-08-06 11:37:18 +02:00
committed by aleb_the_flash
parent 6ab5b3300a
commit a8f64f5a36
2 changed files with 41 additions and 0 deletions

View File

@@ -199,6 +199,7 @@ const config: Config = {
text: { value: '{colors.white}' },
subtle: { value: '{colors.red.100}' },
'subtle-text': { value: '{colors.red.700}' },
...pandaPreset.theme.tokens.colors.red,
},
success: {
DEFAULT: { value: '{colors.green.700}' },