-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
42 lines (42 loc) · 1.1 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
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{html,svelte,js,ts,jsx,tsx}'],
theme: {
extend: {
backgroundColor: {
primary: '#E7E5E4',
primary_dark: '#181A1B',
},
fill: {
primary: '#E7E5E4',
primary_dark: '#181A1B',
},
maxWidth: {
'3/4': '75%',
},
maxHeight: {
'3/4': '75%',
},
textColor: {
primary: '#E7E5E4',
primary_dark: '#181A1B',
},
},
},
darkMode: 'media',
plugins: [
({ addUtilities, e }) => {
const maxSizeUtility = {
[`.${e(`max-size-3/4`)}`]: {
'max-width': '75%',
'max-height': '75%',
},
['.max-size-full']: {
'max-width': '100%',
'max-height': '100%',
},
};
addUtilities(maxSizeUtility);
},
],
};