feat: 更新 unocss 配置,添加新的颜色变量和文本颜色定义
This commit is contained in:
@ -33,8 +33,8 @@ export default defineConfig({
|
|||||||
|
|
||||||
// https://unocss.dev/config/theme#usage
|
// https://unocss.dev/config/theme#usage
|
||||||
colors: {
|
colors: {
|
||||||
// TODO: Add colors
|
'surface-0': 'var(--p-surface-0)', // text-surface-0
|
||||||
'surface-0': 'var(--p-surface-0)',
|
'surface-900': 'var(--p-surface-900)', // text-surface-900
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -43,6 +43,10 @@ export default defineConfig({
|
|||||||
'logo-transform': 'i-icon:pacman w-6em h-6em transform transition-800',
|
'logo-transform': 'i-icon:pacman w-6em h-6em transform transition-800',
|
||||||
pacman: 'i-icon:pacman text-(pink 36)',
|
pacman: 'i-icon:pacman text-(pink 36)',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
// https://github.com/primefaces/tailwindcss-primeui/blob/d5e903377e015b7c63cb5edf42490b9d6954ef04/src/utils/preset.js
|
||||||
|
'text-muted-color': 'text-[var(--p-text-muted-color)]',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
presets: [
|
presets: [
|
||||||
presetUno({
|
presetUno({
|
||||||
|
Reference in New Issue
Block a user