Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

🩹(frontend) fix color contrast when toggling a control

lebaudantoine26ca81db40c9
diff --git a/src/frontend/src/primitives/buttonRecipe.ts b/src/frontend/src/primitives/buttonRecipe.ts
index 52b2561b..a40f3064 100644
--- a/src/frontend/src/primitives/buttonRecipe.ts
+++ b/src/frontend/src/primitives/buttonRecipe.ts
@@ -140,6 +140,7 @@ export const buttonRecipe = cva({
legacyStyle: {
true: {
borderColor: 'gray.400',
+ transition: 'border 200ms, background 200ms, color 200ms',
'&[data-hovered]': {
borderColor: 'gray.500',
},
@@ -147,10 +148,12 @@ export const buttonRecipe = cva({
borderColor: 'gray.500',
},
'&[data-selected]': {
- background: '#e5e7eb',
- borderColor: 'gray.400',
+ backgroundColor: '#1d4ed8',
+ color: 'white',
+ borderColor: 'gray.500',
'&[data-hovered]': {
- backgroundColor: 'gray.300',
+ borderColor: '#6b7280',
+ backgroundColor: '#1e40af',
},
},
},