You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
613 B
TypeScript
25 lines
613 B
TypeScript
// uno.config.ts
|
|
import { defineConfig, presetAttributify, presetUno } from 'unocss';
|
|
|
|
export default defineConfig({
|
|
theme: {
|
|
colors: {
|
|
// ...
|
|
myDarkBgColor: '#141414',
|
|
myMainDarkBgColor: '#1c1c1c'
|
|
}
|
|
},
|
|
presets: [
|
|
presetAttributify({
|
|
/* preset options */
|
|
}),
|
|
presetUno()
|
|
],
|
|
shortcuts: {
|
|
'ct-border': 'border-t-1px border-t-solid border-t-gray-300',
|
|
'cr-border': 'border-r-1px border-r-solid border-r-gray-300 ',
|
|
'cl-border': 'border-l-1px border-l-solid border-l-gray-300',
|
|
'cb-border': 'border-b-1px border-b-solid border-b-gray-300'
|
|
}
|
|
});
|