forked from ccrsxx/twitter-clone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
51 lines (49 loc) · 1.84 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
/** @type {import('tailwindcss').Config} */
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
darkMode: 'class',
content: ['src/pages/**/*.tsx', 'src/components/**/*.tsx'],
theme: {
screens: {
xs: '500px',
...defaultTheme.screens
},
extend: {
fontFamily: {
'twitter-chirp': ['TwitterChirp', 'sans-serif'],
'twitter-chirp-extended': ['TwitterChirpExtendedHeavy', 'sans-serif']
},
// prettier-ignore
colors: {
'main-primary': 'rgb(var(--main-primary) / <alpha-value>)',
'main-secondary': 'rgb(var(--main-secondary) / <alpha-value>)',
'main-background': 'rgb(var(--main-background) / <alpha-value>)',
'main-search-background': 'rgb(var(--main-search-background) / <alpha-value>)',
'main-sidebar-background': 'rgb(var(--main-sidebar-background) / <alpha-value>)',
'main-accent': 'rgb(var(--main-accent) / <alpha-value>)',
'accent-yellow': 'rgb(var(--accent-yellow) / <alpha-value>)',
'accent-blue': 'rgb(var(--accent-blue) / <alpha-value>)',
'accent-pink': 'rgb(var(--accent-pink) / <alpha-value>)',
'accent-purple': 'rgb(var(--accent-purple) / <alpha-value>)',
'accent-orange': 'rgb(var(--accent-orange) / <alpha-value>)',
'accent-green': 'rgb(var(--accent-green) / <alpha-value>)',
'accent-red': '#F4212E',
'dark-primary': '#E7E9EA',
'dark-secondary': '#71767B',
'light-primary': '#0F1419',
'light-secondary': '#536471',
'dark-border': '#2F3336',
'light-border': '#EFF3F4',
'dark-line-reply': '#333639',
'light-line-reply': '#CFD9DE',
'twitter-icon': '#D6D9DB',
'image-preview-hover': '#272C30',
}
}
},
plugins: [
({ addVariant }) => {
addVariant('inner', '& > *');
}
]
};