-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
75 lines (75 loc) · 1.47 KB
/
tailwind.config.js
File metadata and controls
75 lines (75 loc) · 1.47 KB
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} */
export default {
content: [
'./src/**/*.{html,js,svelte,ts}',
'./node_modules/flowbite-svelte/**/*.{html,js,svelte,ts}'
],
darkMode: 'media',
theme: {
extend: {
screens: {
small: '480px',
medium: '640px',
large: '1024px'
},
colors: {
primary: {
50: '#eff8ff',
100: '#dff0ff',
200: '#b8e3ff',
300: '#78cdff',
400: '#37b6ff',
500: '#069af1',
600: '#007ace',
700: '#0061a7',
800: '#02528a',
900: '#084572',
950: '#062b4b'
},
glaucous: {
DEFAULT: '#507dbc',
100: '#0f1927',
200: '#1e324e',
300: '#2d4b76',
400: '#3b649d',
500: '#507dbc',
600: '#7498ca',
700: '#97b2d7',
800: '#b9cbe5',
900: '#dce5f2'
},
platinum: {
DEFAULT: '#dae3e5',
100: '#253235',
200: '#4b6369',
300: '#72949b',
400: '#a7bcc0',
500: '#dae3e5',
600: '#e2e9eb',
700: '#eaeff0',
800: '#f1f4f5',
900: '#f8fafa'
}
}
}
},
plugins: [
require('flowbite/plugin'),
({ addComponents }) => {
addComponents({
'.global-field': {
'@apply bg-slate-100 dark:bg-gray-700': {},
'@apply mb-1': {}
},
'.global-field:first-child': {
'border-top-left-radius': '0.75rem',
'border-top-right-radius': '0.75rem'
},
'.global-field:last-child ': {
'border-bottom-left-radius': ' 0.75rem',
'border-bottom-right-radius': '0.75rem'
}
});
}
]
};