feat: add spacing system (#474)

* feat: add spacing system

* refactor: update spacing naming

* chore: add leading 0

---------

Co-authored-by: doprz <52579214+doprz@users.noreply.github.com>
This commit is contained in:
Ethan
2025-01-01 22:12:00 -06:00
committed by GitHub
parent 9cbcfa4720
commit e61ab565c3
2 changed files with 16 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ import transformerDirectives from '@unocss/transformer-directives';
import transformerVariantGroup from '@unocss/transformer-variant-group';
import { defineConfig } from 'unocss';
import { spacing } from './src/shared/types/Spacing';
import { colors } from './src/shared/types/ThemeColors';
export default defineConfig({
@@ -36,6 +37,7 @@ export default defineConfig({
'out-expo': 'cubic-bezier(0.19, 1, 0.22, 1)',
},
colors,
spacing,
},
variants: [
matcher => {