-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
65 lines (63 loc) · 2.06 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
/** @type {import('tailwindcss').Config} */
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
darkMode: "class",
variants: {
backgroundColor: [
"dark",
"dark-hover",
"dark-group-hover",
"dark-even",
"dark-odd",
],
borderColor: ["dark", "dark-focus", "dark-focus-within"],
textColor: ["dark", "dark-hover", "dark-active"],
},
content: [
"./components/**/*.{js,vue,ts}",
"./layouts/**/*.vue",
"./pages/**/*.vue",
"./plugins/**/*.{js,ts}",
"./nuxt.config.{js,ts}",
"./app.vue",
],
theme: {
screens: {
xs: "500px",
...defaultTheme.screens,
},
extend: {
// 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", "& > *");
},
],
};