refactor: Consolidate icon imports across components and streamline import statements for improved readability

This commit is contained in:
2026-07-06 03:29:18 +10:00
parent 1f71fd7a51
commit 09db721b7e
221 changed files with 3472 additions and 2128 deletions

View File

@@ -0,0 +1,25 @@
import { recipe } from '@vanilla-extract/recipes';
import { config } from 'folds';
export const Icon = recipe({
base: {
display: 'inline-block',
flexShrink: 0,
verticalAlign: 'middle',
},
variants: {
size: {
'50': { width: config.size.X50, height: config.size.X50 },
'100': { width: config.size.X100, height: config.size.X100 },
'200': { width: config.size.X200, height: config.size.X200 },
'300': { width: config.size.X300, height: config.size.X300 },
'400': { width: config.size.X400, height: config.size.X400 },
'500': { width: config.size.X500, height: config.size.X500 },
'600': { width: config.size.X600, height: config.size.X600 },
Inherit: { width: '1em', height: '1em' },
},
},
defaultVariants: {
size: '400',
},
});