-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
executable file
·81 lines (77 loc) · 2.13 KB
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
corePlugins: {
aspectRatio: true,
},
extend: {
fontFamily: {
sans: ['Roboto'],
londrina: ['Londrina Solid'],
},
typography(theme) {
return {
DEFAULT: {
css: {
'code::before': {
content: 'none', // don’t generate the pseudo-element
// content: '""', // this is an alternative: generate pseudo element using an empty string
},
'code::after': {
content: 'none',
},
code: {
backgroundColor: theme('colors.gray.100'),
borderRadius: theme('borderRadius.DEFAULT'),
paddingLeft: theme('spacing[1.5]'),
paddingRight: theme('spacing[1.5]'),
paddingTop: theme('spacing.1'),
paddingBottom: theme('spacing.1'),
},
},
},
};
},
minWidth: {
36: '9rem',
},
maxWidth: {
80: '20rem',
48: '80rem',
},
colors: {
primary: '#96c342',
'primary-75': '#a5d884',
'primary-50': '#c2e4ac',
'primary-25': '#e0f1d5',
'primary-text': '#448422',
secondary: '#3863a2',
'secondary-75': '#698ab9',
'secondary-50': '#9ab0d0',
'secondary-25': '#ccd7e7',
neutral: '#3c3c3b',
'neutral-75': '#727378',
'neutral-50': '#a0a1a4',
'neutral-25': '#cfcfd1',
'base-content': '#3c3c3b',
tertiary: '#df595b',
'tertiary-75': '#e58479',
'tertiary-50': '#eca79d',
'tertiary-25': '#f4d1c8',
quaternary: '#538794',
'quaternary-75': '#6d9aae',
'quaternary-50': '#8cb3c8',
'quaternary-25': '#adc2d8',
},
letterSpacing: {
wide: '.125rem',
},
},
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
require('@tailwindcss/aspect-ratio'),
],
};