(frontend) add a Popover primitive

easily use buttons toggling styled RAC popovers
This commit is contained in:
Emmanuel Pelletier
2024-07-21 16:00:37 +02:00
parent 789bce5092
commit d6b5e9a50c
5 changed files with 79 additions and 5 deletions

View File

@@ -146,6 +146,7 @@ const config: Config = {
2: { value: '2' },
},
radii: {
4: { value: '0.25rem' },
6: { value: '0.375rem' },
8: { value: '0.5rem' },
16: { value: '1rem' },
@@ -187,7 +188,7 @@ const config: Config = {
text: { value: '{colors.white}' },
warm: { value: '{colors.blue.300}' },
subtle: { value: '{colors.blue.100}' },
'subtle-text': { value: '{colors.sky.700}' },
'subtle-text': { value: '{colors.blue.700}' },
},
danger: {
DEFAULT: { value: '{colors.red.600}' },