🎨 Format with Biome (#1097)

This commit is contained in:
Alejandra
2024-03-17 17:28:45 +01:00
committed by GitHub
parent d4ee4db2f0
commit 94a2037f8a
31 changed files with 407 additions and 391 deletions

View File

@@ -1,31 +1,31 @@
import { extendTheme } from '@chakra-ui/react'
import { extendTheme } from "@chakra-ui/react"
const disabledStyles = {
_disabled: {
backgroundColor: 'ui.main',
backgroundColor: "ui.main",
},
}
const theme = extendTheme({
colors: {
ui: {
main: '#009688',
secondary: '#EDF2F7',
success: '#48BB78',
danger: '#E53E3E',
white: '#FFFFFF',
dark: '#1A202C',
darkSlate: '#252D3D',
main: "#009688",
secondary: "#EDF2F7",
success: "#48BB78",
danger: "#E53E3E",
white: "#FFFFFF",
dark: "#1A202C",
darkSlate: "#252D3D",
},
},
components: {
Button: {
variants: {
primary: {
backgroundColor: 'ui.main',
color: 'ui.white',
backgroundColor: "ui.main",
color: "ui.white",
_hover: {
backgroundColor: '#00766C',
backgroundColor: "#00766C",
},
_disabled: {
...disabledStyles,
@@ -35,10 +35,10 @@ const theme = extendTheme({
},
},
danger: {
backgroundColor: 'ui.danger',
color: 'ui.white',
backgroundColor: "ui.danger",
color: "ui.white",
_hover: {
backgroundColor: '#E32727',
backgroundColor: "#E32727",
},
},
},
@@ -48,7 +48,7 @@ const theme = extendTheme({
enclosed: {
tab: {
_selected: {
color: 'ui.main',
color: "ui.main",
},
},
},