Files
fabric_trade_admin/uno.config.ts
T

34 lines
999 B
TypeScript
Raw Normal View History

2026-08-06 17:12:28 +03:30
import {
defineConfig,
presetUno,
transformerDirectives,
transformerVariantGroup,
} from 'unocss'
export default defineConfig({
presets: [presetUno()],
transformers: [transformerDirectives(), transformerVariantGroup()],
theme: {
colors: {
primary: 'var(--color-primary)',
'primary-hover': 'var(--color-primary-hover)',
'primary-soft': 'var(--color-primary-soft)',
surface: 'var(--color-surface)',
bg: 'var(--color-bg)',
border: 'var(--color-border)',
text: 'var(--color-text)',
muted: 'var(--color-text-muted)',
success: 'var(--color-success)',
danger: 'var(--color-danger)',
warning: 'var(--color-warning)',
sidebar: 'var(--color-sidebar-bg)',
},
},
shortcuts: {
'page-shell': 'flex flex-1 flex-col min-h-0 overflow-hidden',
'card-surface': 'bg-surface border border-border rounded-xl p-4',
'btn-block': 'w-full',
'admin-panel': 'bg-surface border border-border rounded-xl',
},
})