-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuno.config.ts
More file actions
28 lines (27 loc) · 1.01 KB
/
uno.config.ts
File metadata and controls
28 lines (27 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import { defineConfig, presetIcons, presetUno } from 'unocss';
export default defineConfig({
rules: [[/^m-([\.\d]+)$/, ([_, num]) => ({ margin: `${num}px` })]],
theme: {
breakpoints: {
zero: '0px',
xs: '576px',
sm: '768px',
md: '992px',
lg: '1200px',
},
colors: {
brianBlue: '#79c2d0',
brianBlueDark: '#0495b1',
brianBlueLight: '#d4f3f9',
grayLight: '#282c34',
black: '#202020',
},
},
presets: [presetIcons({ prefix: 'i-' }), presetUno()],
shortcuts: {
btn: `cursor-pointer font-[Poppins] inline-block py-4 px-8 bg-transparent rounded
border-solid border-1 text-black dark:!text-white decoration-none border-brian-blue !transition duration-300 hover:bg-brian-blue font-700`,
'form-input':
'w-full mx-auto overflow-hidden border-1 border-solid border-brian-blue-dark rounded outline-none dark:bg-#323645 px-4 py-5 mt-4 dark:text-white focus:border-2 focus:border-solid focus:border-brian-blue dark:focus:bg-#494e63',
},
});