This commit is contained in:
2025-02-02 12:51:04 -06:00
parent 14c6e6115b
commit ea81e2addf
4 changed files with 14 additions and 9 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ const variantOutline = definePartsStyle((props) => {
addon: {
border: '2px solid',
borderColor: 'transparent',
bg: mode('blackAlpha.300', 'whiteAlpha.200')(props),
bg: mode('blackAlpha.100', 'whiteAlpha.200')(props),
color: mode('blackAlpha.800', 'whiteAlpha.800')(props),
...transitionProps,
},
+4 -2
View File
@@ -5,6 +5,8 @@ import {
defineStyle,
} from '@chakra-ui/styled-system';
import luxColors from 'theme/foundations/lux-colors';
const { defineMultiStyleConfig, definePartsStyle } =
createMultiStyleConfigHelpers(parts.keys);
@@ -15,7 +17,7 @@ const baseStyleList = defineStyle({
[$bg.variable]: '#fff',
[$shadow.variable]: 'shadows.2xl',
_dark: {
[$bg.variable]: 'colors.gray.900',
[$bg.variable]: luxColors.colors.muted, //'colors.gray.900',
[$shadow.variable]: 'shadows.dark-lg',
},
borderWidth: '0',
@@ -36,7 +38,7 @@ const baseStyleItem = defineStyle({
[$bg.variable]: 'colors.whiteAlpha.100',
},
},
bg: $bg.reference,
bg: luxColors.colors.level1,
});
const baseStyle = definePartsStyle({
+6 -6
View File
@@ -3,16 +3,16 @@ import luxColors from './lux-colors';
const semanticTokens = {
colors: {
divider: {
'default': 'blackAlpha.200',
_dark: 'whiteAlpha.200',
'default': luxColors.colors.muted4,
_dark: luxColors.colors.muted4,
},
text: {
'default': 'blackAlpha.800',
_dark: 'whiteAlpha.800',
'default': luxColors.colors.foreground,
_dark: luxColors.colors.foreground,
},
text_secondary: {
'default': 'gray.500',
_dark: 'gray.400',
'default': luxColors.colors.muted,
_dark: luxColors.colors.muted,
},
link: {
'default': luxColors.colors.muted2,
+3
View File
@@ -1,6 +1,8 @@
import type { StyleFunctionProps } from '@chakra-ui/theme-tools';
import { mode } from '@chakra-ui/theme-tools';
import luxColors from 'theme/foundations/lux-colors';
import getDefaultTransitionProps from './getDefaultTransitionProps';
import getFormStyles from './getFormStyles';
@@ -47,6 +49,7 @@ export default function getOutlinedFieldStyles(props: StyleFunctionProps) {
...formStyles.input.focus,
zIndex: 1,
boxShadow: 'md',
color: luxColors.colors.muted2,
},
_placeholder: {
color: formStyles.placeholder.default.color,