-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
61 lines (60 loc) · 1.31 KB
/
tailwind.config.js
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
import { theme as _theme } from './askanna.conf.json'
/** @type {import('tailwindcss').Config} */
export const important = true
export const corePlugins = {
preflight: false,
backdropFilter: false
}
export const safelist = [
{
pattern: /on-surface/
},
{
pattern: /outline-(primary|secondary|third|accent|error|info|success|warning|failed|main)/
}
]
export const content = ['./index.html', './src/**/*.{vue,js,ts}']
export const theme = {
extend: {
minWidth: {
'72': '18rem'
},
fontSize: {
'2xl': [
'1.4rem',
{
lineHeight: '2rem',
letterSpacing: '-0.01em',
fontWeight: '500'
}
]
},
width: {
'1.1/3': '36.6%'
},
typography: {
DEFAULT: {
css: {
color: _theme.colors['main'],
'h1, h2, h3, h4, h5, h6': {
color: _theme.colors['main']
},
a: {
color: _theme.colors.primary
},
'ul > li::marker': {
color: _theme.colors['main']
},
'ol > li::marker': {
color: _theme.colors['main']
}
}
}
},
height: {
7.5: '30px'
},
colors: _theme.colors
}
}
export const plugins = [require('@tailwindcss/forms'), require('@tailwindcss/typography')]