-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
92 lines (88 loc) · 2.58 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
/** @type {import('tailwindcss').Config} */
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
important: false,
content: [
'./src/pages/**/*.{js,ts,jsx,tsx}',
'./src/components/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {
colors: {
bgPrimary: '#FFFFFF',
bgSecondary: '#DEE3EC',
bgTertiary: '#F5F5F6',
textPrimary: '#24303A',
textSecondary: '#a1a4a7',
textTertiary: '#C7CACC',
contrastText: '#F5F5F6',
BURed: '#CC0000',
CBlue: '#3264AF',
DBlue: '#1B356E',
GoldenYellow: '#FFCC01',
GoldFoil: '#C8A102',
steel: '#C7CACC',
shadow: '#C7CABB',
fire: '#fb8c00',
grass: '#689f38',
electric: '#ffc107',
water: '#039be5',
ice: '#22d3ee',
ground: '#795548',
rock: '#546e7a',
fairy: '#c2185b',
poison: '#8e24aa',
bug: '#afb42b',
ghost: '#b3b6b8',
dragon: '#ef5350',
dark: '#424242',
psychic: '#324242',
flying: '#CC0000',
fighting: '#26a69a',
unknown: '#1264AF',
normal: '#3264AF',
variable: ({ opacityValue }) =>
opacityValue
? `rgba(var(--white-color), ${opacityValue})`
: `rgb(var(--white-color))`,
tahiti: {
100: '#cffafe',
200: '#a5f3fc',
300: '#67e8f9',
400: '#22d3ee',
500: '#06b6d4',
600: '#0891b2',
700: '#0e7490',
800: '#155e75',
900: '#164e63',
},
},
fontFamily: {
montserrat: ['"Montserrat"', ...defaultTheme.fontFamily.sans],
},
},
},
safelist: [
{
pattern:
/text-(steel|unknown|shadow|fire|grass|electric|water|ice|ground|rock|fairy|poison|bug|ghost|dragon|dark|psychic|flying|fighting|normal)/,
},
{
pattern:
/bg-(steel|unknown|shadow|fire|grass|electric|water|ice|ground|rock|fairy|poison|bug|ghost|dragon|dark|psychic|flying|fighting|normal)/,
},
{
pattern:
/shadow-(steel|unknown|shadow|fire|grass|electric|water|ice|ground|rock|fairy|poison|bug|ghost|dragon|dark|psychic|flying|fighting|normal)/,
},
{
pattern:
/border-(steel|unknown|shadow|fire|grass|electric|water|ice|ground|rock|fairy|poison|bug|ghost|dragon|dark|psychic|flying|fighting|normal)/,
},
{
pattern:
/from-(steel|unknown|shadow|fire|grass|electric|water|ice|ground|rock|fairy|poison|bug|ghost|dragon|dark|psychic|flying|fighting|normal)/,
},
],
plugins: [],
};