-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathtailwind.config.js
74 lines (68 loc) · 1.96 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
const colors = require('tailwindcss/colors')
const defaultTheme = require('tailwindcss/defaultTheme')
const plugin = require('tailwindcss/plugin')
module.exports = {
content: ['./{components,contexts,hooks,pages,utils}/**/*.{js,cjs,mjs,ts,tsx}'],
daisyui: {
themes: ['dracula'],
},
theme: {
extend: {
colors: {
stargaze: { DEFAULT: '#DB2676', 80: '#C81F71' },
dark: { DEFAULT: '#06090B' },
gray: { DEFAULT: '#A9A9A9' },
'dark-gray': { DEFAULT: '#191D20' },
purple: { DEFAULT: '#7E5DFF' },
neutral: colors.neutral,
plumbus: {
DEFAULT: '#DB2676',
light: '#AF1F5F',
matte: '#5D89E9',
dark: '#FFC900',
10: '#FFF0ED',
20: '#5D89E9',
30: '#F5A7A2',
40: '#DB2676',
50: '#DB2676',
60: '#DB2676',
70: '#AB5152',
80: '#944144',
90: '#7D3136',
100: '#662027',
110: '#4F1019',
120: '#38000B',
},
twitter: { DEFAULT: '#1DA1F2' },
},
fontFamily: {
heading: ["'Basement Grotesque'", ...defaultTheme.fontFamily.sans],
sans: ['Roboto', ...defaultTheme.fontFamily.sans],
mono: ['"JetBrains Mono"', ...defaultTheme.fontFamily.mono],
},
animation: {
'spin-slow': 'spin 3s linear infinite',
},
},
},
plugins: [
// tailwindcss official plugins
require('@tailwindcss/forms')({
strategy: 'class',
}),
require('@tailwindcss/line-clamp'),
require('tailwindcss-opentype'),
// custom gradient background
plugin(({ addUtilities }) => {
addUtilities({
'.stargaze-gradient-bg': {
background: `linear-gradient(64.38deg, #00027D 15.06%, #7F97D2 100.6%), #252020`,
},
'.stargaze-gradient-brand': {
background: `linear-gradient(102.33deg, #FFC27D 10.96%, #7F97D2 93.51%)`,
},
})
}),
require('daisyui'),
],
}