-
Notifications
You must be signed in to change notification settings - Fork 12
/
tailwind.config.js
78 lines (75 loc) · 1.9 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
const defaultTheme = require('tailwindcss/defaultTheme');
const tailwindColors = require('tailwindcss/colors');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/app/**/*.{js,ts,jsx,tsx}',
'./src/pages/**/*.{js,ts,jsx,tsx}',
'./src/components/**/*.{js,ts,jsx,tsx}',
'./src/stories/**/*.{js,ts,jsx,tsx}',
],
theme: {
letterSpacing: {
tight: '-0.125em',
},
screens: Object.fromEntries(
Object.entries(defaultTheme.screens).filter(([key]) => key !== '2xl'),
),
container: {
padding: {
DEFAULT: '1rem',
sm: '2rem',
lg: '4rem',
xl: '5rem',
'2xl': '6rem',
},
},
minHeight: {
64: '64px',
full: '100%',
screen: '100vh',
},
backgroundColor: (theme) => ({
...theme('colors'),
primary: '#6366F1',
primarydark: '#7300B0',
secondary: '#667eea',
secondarydark: '#3b4c99',
tertiary: '#d53f8c',
tertiarydark: '#9d2e67',
}),
extend: {
fontFamily: {
sans: ['var(--font-rubik)', 'sans-serif'],
title: ['var(--font-lexend)', 'sans-serif'],
},
colors: {
coolGrayDark: '#050C1A',
ellipseGreen: '#134547',
profileRing: '#00C39D',
violet: '#6366F1',
darkViolet: '#3336A3',
testblue: '#0089C4',
greenFec: '#00C39D',
},
textColor: {
primary: tailwindColors.zinc[50],
secondary: tailwindColors.zinc[200],
tertiary: tailwindColors.zinc[300],
quaternary: tailwindColors.zinc[400],
accent: '#6366F1',
informational: '#4991DA',
lightBlue: '#00CCFF',
darkBlue: '#0066CC',
hover: '#2469FF',
},
blur: {
'4xl': '128px',
},
},
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms')({ strategy: 'class' }),
],
};