forked from CosmosContracts/juno-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
65 lines (60 loc) · 1.79 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
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}'],
theme: {
extend: {
colors: {
juno: { DEFAULT: '#CA706D' },
dark: { DEFAULT: '#06090B' },
gray: { DEFAULT: '#F3F6F8' },
'dark-gray': { DEFAULT: '#191D20' },
purple: { DEFAULT: '#7E5DFF' },
neutral: colors.neutral,
plumbus: {
DEFAULT: '#F0827D',
light: '#FF9D9E',
matte: '#CA9991',
dark: '#6E5451',
10: '#FFF0ED',
20: '#FACBC8',
30: '#F5A7A2',
40: '#F0827D',
50: '#D9726F',
60: '#C26261',
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],
},
},
},
plugins: [
// tailwindcss official plugins
require('@tailwindcss/forms')({
strategy: 'class',
}),
require('@tailwindcss/line-clamp'),
// custom gradient background
plugin(({ addUtilities }) => {
addUtilities({
'.juno-gradient-bg': {
background: `linear-gradient(63.38deg, rgba(29, 24, 24, 0.25) 45.06%, rgba(240, 130, 125, 0.25) 100.6%), #252020`,
},
'.juno-gradient-brand': {
background: `linear-gradient(102.33deg, #F9BCB2 10.96%, #FFFFFF 93.51%)`,
},
})
}),
],
}