forked from jorge-menjivar/unsaged
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.js
120 lines (120 loc) · 4.43 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./app/**/*.{js,ts,jsx,tsx}',
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
],
darkMode: 'class',
theme: {
extend: {
colors: {
'theme-dark': '#24292e',
'theme-light': '#ffffff',
'theme-button-dark': 'rgb(180, 180, 180)',
'theme-button-light': 'rgb(90, 90, 90)',
'theme-button-hover-dark': 'rgb(245, 245, 245)',
'theme-button-hover-light': 'rgb(40, 40, 40)',
'theme-activity-bar-dark': '#24292e',
'theme-activity-bar-light': '#ffffff',
'theme-primary-menu-dark': '#1f2428',
'theme-primary-menu-light': '#f4f6ff',
},
backgroundColor: {
'theme-dark': '#24292e',
'theme-light': '#ffffff',
'theme-hover-dark': 'rgb(76 77 93 / 0.3)',
'theme-hover-light': 'rgb(76 77 93 / 0.10)',
'theme-select-dark': '#2f363d',
'theme-select-light': '#2f363d',
'theme-selected-dark': 'rgb(76 77 93 / 0.8)',
'theme-selected-light': 'rgb(76 77 93 / 0.3)',
'theme-setting-hover-dark': '#252b2f',
'theme-setting-hover-light': '#f9fbfc',
'theme-setting-selected-dark': '#262b31',
'theme-setting-selected-light': '#f3f6f8',
'theme-dropdown-dark': '#413e4f',
'theme-dropdown-light': '#ffffff',
'theme-dropdown-hover-dark': '#676473',
'theme-dropdown-hover-light': 'rgb(76 77 93 / 0.10)',
'theme-tooltip-dark': '#24292e',
'theme-tooltip-light': '#ffffff',
},
borderColor: {
'theme-border-dark': '#1b1f23',
'theme-border-light': 'rgba(210, 210, 205, 1)',
'theme-button-border-dark': 'rgba(100, 100, 100, 1)',
'theme-button-border-light': 'rgba(180, 180, 180, 1)',
},
fill: {
'theme-tooltip-dark': '#24292e',
'theme-tooltip-light': '#ffffff',
},
textColor: {
'theme-button-icon-dark': 'rgb(180, 180, 180)',
'theme-button-icon-light': 'rgb(90, 90, 90)',
'theme-button-icon-hover-dark': 'rgb(245, 245, 245)',
'theme-button-icon-hover-light': 'rgb(40, 40, 40)',
'theme-activity-bar-tab-dark': 'rgb(107 114 128 / 1)',
'theme-activity-bar-tab-light': 'rgb(140 140 140 / 1)',
'theme-activity-bar-tab-hover-dark': 'rgb(220 220 235 / 1)',
'theme-activity-bar-tab-hover-light': 'rgb(65 65 65 / 1)',
'theme-activity-bar-tab-selected-dark': 'rgb(230 230 245 / 1)',
'theme-activity-bar-tab-selected-light': 'rgb(40 40 40 / 1)',
},
backgroundSize: {
auto: 'auto',
cover: 'cover',
contain: 'contain',
'175%': '175%',
},
keyframes: {
'bg-pan': {
'0%': { backgroundPosition: '0% 50%' },
'50%': { backgroundPosition: '100% 50%' },
'100%': { backgroundPosition: '0% 50%' },
},
'zoom-pulse': {
'0%': { transform: 'scale(1)' },
'50%': { transform: 'scale(1.05)' },
'100%': { transform: 'scale(1)' },
},
slideDownAndFade: {
from: { opacity: 0, transform: 'translateY(-2px)' },
to: { opacity: 1, transform: 'translateY(0)' },
},
slideLeftAndFade: {
from: { opacity: 0, transform: 'translateX(2px)' },
to: { opacity: 1, transform: 'translateX(0)' },
},
slideUpAndFade: {
from: { opacity: 0, transform: 'translateY(2px)' },
to: { opacity: 1, transform: 'translateY(0)' },
},
slideRightAndFade: {
from: { opacity: 0, transform: 'translateX(-2px)' },
to: { opacity: 1, transform: 'translateX(0)' },
},
},
animation: {
'zoom-pulse-slow': 'zoom-pulse 8s ease infinite',
'zoom-pulse-fast': 'zoom-pulse 2s cubic-bezier(0, 0, 0.2, 1) infinite',
'bg-pan-fast': 'bg-pan 7s ease infinite',
'bg-pan-slow': 'bg-pan 15s ease infinite',
slideDownAndFade:
'slideDownAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1)',
slideLeftAndFade:
'slideLeftAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1)',
slideUpAndFade: 'slideUpAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1)',
slideRightAndFade:
'slideRightAndFade 400ms cubic-bezier(0.16, 1, 0.3, 1)',
},
},
},
variants: {
extend: {
visibility: ['group-hover'],
},
},
plugins: [require('@tailwindcss/typography')],
};