-
Notifications
You must be signed in to change notification settings - Fork 27
/
tailwind.config.js
103 lines (99 loc) · 2.4 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
// Should mostly match styles/Color.ts
const colors = require('tailwindcss/colors');
module.exports = {
darkMode: 'class',
content: ['src/**/*.{js,ts,jsx,tsx}'],
theme: {
colors: {
transparent: 'transparent',
current: 'currentColor',
black: '#000000',
white: '#ffffff',
gray: colors.gray,
blue: colors.blue,
red: colors.red,
yellow: {
500: '#FCFF52', // Prosperity
},
purple: {
50: '#F4EFFF',
100: '#E9DFFF',
200: '#D4BFFF',
300: '#B490FF', // Lavender
500: '#1E002B', // Fig
},
green: {
200: '#BEEAA9',
500: '#56DF7C', // Jade
600: '#20A144',
700: '#476520', // Forest
},
taupe: {
100: '#FCF6F1', // Gypsum
300: '#E7E3D4', // Sand
400: '#C6C2B5',
600: '#655947', // Wood
},
},
fontFamily: {
sans: ['var(--font-inter)', 'sans-serif'],
serif: ['var(--font-alpina)', 'serif'],
mono: ['monospace'],
},
fontSize: {
xs: '0.725rem',
sm: '0.85rem',
base: '0.95rem',
lg: '1.1rem',
xl: '1.25rem',
'2xl': '1.5rem',
'3xl': '1.875rem',
'4xl': '2.25rem',
'5xl': '2.75rem',
'6xl': '3.25rem',
'7xl': '3.75rem',
},
extend: {
screens: {
all: '1px',
xs: '480px',
},
spacing: {
100: '26rem',
112: '28rem',
128: '32rem',
144: '36rem',
},
animation: {
'spin-slow': 'spin 3s linear infinite',
},
backgroundImage: {
'diamond-texture': "url('/backgrounds/diamond-texture.png')",
},
},
},
plugins: [require('daisyui')],
daisyui: {
themes: [
{
light: {
primary: '#FCFF52',
secondary: '#E7E3D4',
accent: '#B490FF',
neutral: '#ffffff',
'base-100': '#ffffff',
info: '#F4EFFF',
success: '#56DF7C',
warning: '#fcd34d',
error: '#F77171',
'--rounded-box': '0px',
'--rounded-btn': '0px',
'--rounded-badge': '0px',
},
},
],
styled: true, // include daisyUI colors and design decisions for all components
utils: true, // adds responsive and modifier utility classes
logs: true, // Shows info about daisyUI version and used config in the console when building your CSS
},
};