-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
81 lines (80 loc) · 1.84 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
76
77
78
79
80
81
const body = "#0E0B16";
const theme_color = "#4717F6";
const theme_accent = "#5a2df7";
const demo_ui = "#4b89e7";
// prettier-ignore
module.exports = {
prefix: "",
purge: {
enabled: process?.argv?.indexOf("build") !== -1,
content: [
"./src/**/*.html",
"./src/**/*.ts",
]
},
darkMode: "class", // or 'media' or 'class'
theme: {
extend: {
colors: {
'body': body,
'body-accent': '#171225',
'selected-text': '#A3A3FF',
'accent': '#e6e6e6',
'theme': theme_color,
'theme-accent': theme_accent,
'demo-ui': demo_ui,
'nav': '#404053',
'secondary': '#9191A4',
'badge': '#3F3F51',
'input-border': '#565666',
'input': '#2A2A35',
'simulation': '#282832'
},
fill: {
'theme-accent': theme_accent,
'demo-ui': demo_ui,
},
fontFamily: {
'poppins': ["'Poppins'", 'sans-serif']
},
width: {
'16px': '16px',
'24px': '24px',
'48px': '48px',
'45p': '45%',
'49p': '49%',
'90p': '90%'
},
height: {
'16px': '16px',
'24px': '24px',
'48px': '48px',
'45p': '45%',
'144': '36rem'
},
backgroundImage: {
'emergent-pattern': "url('./assets/emergent_demos/hero/background.webp')"
},
outline: {
'theme': ['2px solid ' + theme_color, '-2px'],
'body': ['2px solid ' + body, '-2px'],
'theme-accent': ['2px solid ' + theme_accent, '-2px']
},
maxWidth: {
'1/4': '25%',
'1/2': '50%',
'3/4': '75%',
'1/3': '33.33%'
},
minHeight: (theme) => ({
...theme('spacing'),
}),
boxShadow: {
'slider': '-9999px 0 0 9999px' + demo_ui
}
},
},
variants: {
extend: {},
},
};