-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
75 lines (74 loc) · 1.69 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./components/**/*.{js,vue,ts}",
"./layouts/**/*.vue",
"./pages/**/*.vue",
"./plugins/**/*.{js,ts}",
"./app.vue",
],
theme: {
colors: {
current: 'currentColor',
transparent: 'transparent',
cinnabar: '#E0492B',
alabaster: '#EDEBE8',
silver: '#E1E0DD',
'dark-black': '#000000',
'chinese-black': '#161616',
onyx: '#3C3C3F',
'raisin-black': '#2A2A2D',
lime: '#DBF447',
white: '#FFF',
},
fontFamily: {
silka: ['Silka', 'Roboto'],
inter: ['Inter', 'Roboto'],
},
container: {
center: true
},
// Force below class to be loaded during build phase so that they can be
// used dynamically (nu-logo).
safelist: [
'text-lime',
'text-cinnabar',
'text-chinese-black',
'text-onyx',
'text-raisin-black',
'text-lime',
'bg-lime',
'bg-cinnabar',
'bg-chinese-black',
'bg-onyx',
'bg-raisin-black',
'bg-lime',
{pattern: /bg-.*/},
],
extend: {
containers: {
'xs': '320px',
'sm': '640px',
'md': '768px',
'lg': '1024px',
'xl': '1280px',
'2xl': '1536px',
},
},
textFillColor: theme => theme('borderColor'),
textStrokeColor: theme => theme('borderColor'),
textStrokeWidth: theme => theme('borderWidth'),
paintOrder: {
'fsm': { paintOrder: 'fill stroke markers' },
'fms': { paintOrder: 'fill markers stroke' },
'sfm': { paintOrder: 'stroke fill markers' },
'smf': { paintOrder: 'stroke markers fill' },
'mfs': { paintOrder: 'markers fill stroke' },
'msf': { paintOrder: 'markers stroke fill' },
},
},
plugins: [
require('tailwindcss-text-fill-stroke'),
require('@tailwindcss/container-queries')
],
}