-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.ts
96 lines (95 loc) · 2.3 KB
/
tailwind.config.ts
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
import type { Config } from 'tailwindcss'
const config: Config = {
darkMode: 'class',
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
],
/*
* Include class utilities for tailwind > theme > colors > tag
* to enable dynamic generation without purging them
*/
safelist: [
{ pattern: /(bg|text)-tag-.(dark)?/, variants: ['dark'] }
],
theme: {
screens: {
'sm': '480px',
'md': '768px',
'semi-lg': '1024px',
'lg': '1280px',
'xl': '1440px',
},
colors: {
'white': '#ffffff',
'black': '#000000',
'error': '#ff3333',
'error-dark': '#FF6666',
'grey': {
'0a': '#0a0a0a',
'1': '#111111',
'2': '#222222',
'3': '#333333',
'4': '#444444',
'5': '#555555',
'6': '#666666',
'7': '#777777',
'8': '#888888',
'9': '#999999',
'12': '#121212',
'15': '#151515',
'b': '#bbbbbb',
'd': '#dddddd',
'ea': '#eaeaea',
'fb': '#fbfbfb',
},
'blue': {
'100': '#3592FF',
'200': '#0070F3',
'300': '#0061D2',
'd-100': '#3C96ff',
'd-200': '#3291ff',
'd-300': '#187ff6',
},
'tag': {
'redux': '#7D47C3',
'redux-dark': '#B079F7',
'mongodb': '#009C20',
'mongodb-dark': '#00B425',
'react': '#0093AA',
'react-dark': '#00DDFF',
'firebase': '#DC8B02',
'firebase-dark': '#FFA000',
'typescript': '#007ACC',
'typescript-dark': '#0189E5',
'javascript': '#EBAD0E',
'javascript-dark': '#EBAD0E',
'html': '#FF5800',
'html-dark ': '#FF5800',
'css': '#0067FA',
'css-dark': '#0067FA',
'scss': '#DC5F9B',
'scss-dark': '#DC5F9B',
'node-js': '#3C823B',
'node-js-dark': '#4A9F49',
'next-js': '#666666',
'next-js-dark': '#bbbbbb',
}
},
extend: {
fontFamily: {
visby: ['var(--font-visby)'],
lato: ['var(--font-lato)'],
},
gridTemplateColumns: {
'24': 'repeat(24, minmax(0, 1fr))',
},
gridTemplateRows: {
'auto': 'auto 1fr'
}
},
},
plugins: [],
}
export default config