This repository has been archived by the owner on May 26, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
tailwind.config.js
153 lines (146 loc) · 5.55 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
mode: 'jit',
darkMode: 'class',
purge: [
'./resources/views/**/*.blade.php',
'./resources/js/**/*.vue'
],
future: {
removeDeprecatedGapUtilities: true,
purgeLayersByDefault: true,
},
theme: {
screens: {
'mobile': {
'max': '640px',
},
'sm': '640px',
'md': '768px',
'lg': '1024px',
'xl': '1280px',
'2xl': '1536px',
'3xl': '1650px',
},
extend: {
spacing: {
'17': '4.25rem'
},
zIndex: {
'1k': '1000',
'2k': '2000'
},
fontSize: {
'xxs': '11px',
},
fontFamily: {
'sans': [ 'Nunito', ...defaultTheme.fontFamily.sans ],
},
lineHeight: {
'map-icon': '20px',
},
width: {
'inventory': '220px',
'small-alert': '380px',
'alert': '650px',
'big-alert': '650px',
'large-alert': '1000px',
'vlarge-alert': '1200px',
'character_advanced': '550px',
'90': '90px',
'map': '1160px',
'map-right': 'calc(100% - 1160px)',
'split': 'calc(50% - 10px)',
'tp': '170px',
'tp-staff': '200px',
'inventory_contents': '660px',
'inventory_slot': '100px',
'map-gauge': '258px',
'map-other-gauge': 'calc(100% - 125px)',
'map-height-ind': '60px',
'map-icon': '20px',
'ch-button': '32px',
'xs-steam': '150px',
'iframe': '750px'
},
height: {
'side-close': '40px',
'side-open-one': '116px',
'side-open-two': '134px',
'side-open-three': '180px',
'side-open-four': '226px',
'side-open-five': '272px',
'max': 'calc(100vh - (210px + 120px))',
'inventory_slot': '100px'
},
minWidth: {
'input': '200px',
},
minHeight: {
'50': '50px'
},
maxHeight: {
'max': 'calc(100% - 60px)',
'img': '500px',
'modal-max': 'calc(100% - 10rem)'
},
listStyleType: {
'dash': "'-'"
},
inset: {
'attr': '16.5px',
'attr2': '118.5px',
},
colors: {
// Light & dark.
'light': defaultTheme.colors.white,
'dark': defaultTheme.colors.gray['900'],
// Map colors
'map-staff': '#46A54B',
'map-police': '#7469FF',
'map-ems': '#FF5959',
'map-highlight': '#FF6400',
// Rose
'rose-100': 'rgb(255, 228, 230)',
'rose-200': 'rgb(254, 205, 211)',
'rose-300': 'rgb(253, 164, 175)',
'rose-400': 'rgb(251, 113, 133)',
'rose-500': 'rgb(244, 63, 94)',
'rose-600': 'rgb(225, 29, 72)',
'rose-700': 'rgb(190, 18, 60)',
'rose-800': 'rgb(159, 18, 57)',
'rose-900': 'rgb(136, 19, 55)',
// Theme colors.
'primary': defaultTheme.colors.indigo['600'],
'secondary': defaultTheme.colors.gray['100'],
'danger': defaultTheme.colors.red['500'],
'warning': defaultTheme.colors.yellow['500'],
'success': defaultTheme.colors.green['500'],
'muted': defaultTheme.colors.gray['700'],
// Theme pale colors.
'primary-pale': defaultTheme.colors.indigo['100'],
'secondary-pale': defaultTheme.colors.gray['50'],
'danger-pale': defaultTheme.colors.red['100'],
'warning-pale': defaultTheme.colors.yellow['100'],
'success-pale': defaultTheme.colors.green['100'],
// Theme colors (dark mode)
'dark-primary': defaultTheme.colors.indigo['300'],
'dark-secondary': defaultTheme.colors.gray['700'],
'dark-danger': defaultTheme.colors.red['500'],
'dark-warning': defaultTheme.colors.yellow['500'],
'dark-success': defaultTheme.colors.green['500'],
'dark-muted': defaultTheme.colors.gray['300'],
// Theme pale colors (dark mode)
'dark-primary-pale': defaultTheme.colors.indigo['700'],
'dark-secondary-pale': defaultTheme.colors.gray['700'],
'dark-danger-pale': defaultTheme.colors.red['700'],
'dark-warning-pale': defaultTheme.colors.yellow['700'],
'dark-success-pale': defaultTheme.colors.green['700'],
}
},
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
],
}