-
-
Notifications
You must be signed in to change notification settings - Fork 288
/
Copy pathtailwind.config.js
132 lines (130 loc) · 6.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
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
121
122
123
124
125
126
127
128
129
130
131
132
import defaultTheme from "tailwindcss/defaultTheme";
import forms from "@tailwindcss/forms";
import typography from "@tailwindcss/typography";
/** @type {import("tailwindcss").Config} */
export default {
darkMode: ["selector", "class"],
content: [
"./extensions/Invoicing/resources/js/**/*.vue",
"./vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php",
"./vendor/laravel/jetstream/**/*.blade.php",
"./storage/framework/views/*.php",
"./resources/views/**/*.blade.php",
"./resources/js/**/*.vue"
],
theme: {
extend: {
boxShadow: {
card: "var(--theme-shadow-card)",
dropdown: "var(--theme-shadow-dropdown)"
},
containers: {
"2xs": "16rem"
},
fontFamily: {
sans: [
"Outfit",
...defaultTheme.fontFamily.sans
]
},
colors: {
ring: "var(--ring)",
primary: {
DEFAULT: "hsl(var(--primary))",
foreground: "hsl(var(--primary-foreground))"
},
secondary: {
DEFAULT: "hsl(var(--secondary))",
foreground: "hsl(var(--secondary-foreground))"
},
tertiary: "var(--color-bg-tertiary)",
quaternary: "var(--color-bg-quaternary)",
background: "var(--background)",
"text-primary": "var(--color-text-primary)",
"text-secondary": "var(--color-text-secondary)",
"text-tertiary": "var(--color-text-tertiary)",
"text-quaternary": "var(--color-text-quaternary)",
"border-primary": "var(--color-border-primary)",
"border-secondary": "var(--color-border-secondary)",
"border-tertiary": "var(--color-border-tertiary)",
"default-background": "var(--theme-color-default-background)",
"default-background-separator": "var(--theme-color-default-background-separator)",
"row-background": "var(--theme-color-row-background)",
"card-background": "var(--theme-color-card-background)",
"card-background-active": "var(--theme-color-card-background-active)",
"card-background-separator": "var(--theme-color-card-background-separator)",
"card-border": "var(--theme-color-card-border)",
"card-border-active": "var(--theme-color-card-border-active)",
muted: {
DEFAULT: "hsl(var(--muted))",
foreground: "hsl(var(--muted-foreground))"
},
"tab-background": "var(--theme-color-tab-background)",
"tab-background-active": "var(--theme-color-tab-background-active)",
"tab-border": "var(--theme-color-tab-border)",
"icon-default": "var(--theme-color-icon-default)",
"icon-active": "var(--theme-color-icon-active)",
"menu-active": "var(--theme-color-menu-active)",
"input-border": "var(--theme-color-input-border)",
"input-border-active": "var(--color-input-border-active)",
"input-background": "var(--theme-color-input-background)",
"button-secondary-background": "var(--theme-button-secondary-background)",
"button-secondary-background-hover": "var(--theme-button-secondary-background-active)",
"button-secondary-border": "var(--theme-color-card-border)",
"row-separator": "var(--theme-color-row-separator-background)",
"row-heading-background": "var(--theme-color-row-heading-background)",
"row-heading-border": "var(--theme-color-row-heading-border)",
accent: {
"50": "rgba(var(--color-accent-50), <alpha-value>)",
"100": "rgba(var(--color-accent-100), <alpha-value>)",
"200": "rgba(var(--color-accent-200), <alpha-value>)",
"300": "rgba(var(--color-accent-300), <alpha-value>)",
"400": "rgba(var(--color-accent-400), <alpha-value>)",
"500": "rgba(var(--color-accent-500), <alpha-value>)",
"600": "rgba(var(--color-accent-600), <alpha-value>)",
"700": "rgba(var(--color-accent-700), <alpha-value>)",
"800": "rgba(var(--color-accent-800), <alpha-value>)",
"900": "rgba(var(--color-accent-900), <alpha-value>)",
"950": "rgba(var(--color-accent-950), <alpha-value>)",
DEFAULT: "var(--color-bg-tertiary)",
foreground: "rgb(var(--color-accent-200))"
},
"button-primary-background": "var(--theme-color-button-primary-background)",
"button-primary-background-hover": "var(--theme-color-button-primary-background-hover)",
"button-primary-border": "var(--theme-color-button-primary-border)",
"button-primary-text": "var(--theme-color-button-primary-text)",
"input-select-active": "var(--theme-color-input-select-active)",
"input-select-active-hover": "var(--theme-color-input-select-active-hover)",
foreground: "var(--foreground)",
card: {
DEFAULT: "var(--card))",
foreground: "var(--card-foreground))"
},
popover: {
DEFAULT: "var(--popover)",
foreground: "var(--popover-foreground)",
border: "var(--popover-border)",
},
destructive: {
DEFAULT: "var(--destructive)",
foreground: "var(--destructive-foreground)"
},
border: "var(--border)",
input: "var(--input)",
chart: {
"1": "hsl(var(--chart-1))",
"2": "hsl(var(--chart-2))",
"3": "hsl(var(--chart-3))",
"4": "hsl(var(--chart-4))",
"5": "hsl(var(--chart-5))"
}
},
borderRadius: {
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)"
}
}
},
plugins: [forms, typography, require("@tailwindcss/container-queries"), require("tailwindcss-animate")]
};