forked from ExpDev07/legacy-rp-admin-v3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
133 lines (127 loc) · 4.78 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
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',
},
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',
'alert': '650px',
'big-alert': '650px',
'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'
},
height: {
'side-close': '40px',
'side-open-one': '116px',
'side-open-two': '134px',
'side-open-three': '180px',
'side-open-four': '226px',
'max': 'calc(100vh - (210px + 120px))',
'inventory_slot': '100px'
},
minWidth: {
'input': '200px',
},
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',
// 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'),
],
}