refactor: theming
This commit is contained in:
parent
9a77c7da2a
commit
a4d235b6fe
22 changed files with 351 additions and 39 deletions
|
@ -11,6 +11,11 @@ import {
|
|||
|
||||
export default defineConfig({
|
||||
shortcuts: [
|
||||
{
|
||||
'border-base': 'border-$c-border',
|
||||
'bg-base': 'bg-$c-bg-base',
|
||||
'text-base': 'text-$c-text-base',
|
||||
},
|
||||
],
|
||||
presets: [
|
||||
presetUno({
|
||||
|
@ -35,8 +40,7 @@ export default defineConfig({
|
|||
],
|
||||
theme: {
|
||||
colors: {
|
||||
primary: 'var(--color-primary)',
|
||||
border: 'var(--color-border)',
|
||||
primary: 'var(--c-primary)',
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue