-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
59 lines (58 loc) · 1.98 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
/** @type {import('tailwindcss').Config} */
const colors = require("tailwindcss/colors");
const defaultTheme = require("tailwindcss/defaultTheme");
export default {
prefix: "tw-",
content: ["./*.html", "./*.js"],
theme: {
extend: {
colors: {
brand: "#0062AF",
border: colors.slate[300],
"border-disabled": colors.zinc[300],
"border-component": colors.slate[300],
"bg-primary": colors.white,
"bg-secondary": colors.slate[50],
"bg-tertiary": colors.slate[100],
"bg-disabled": colors.zinc[100],
"bg-component-hover": colors.slate[200],
"bg-component-active": colors.slate[100],
"bg-component-selected": colors.violet[100],
"bg-component-hover-dark": colors.slate[800],
"bg-component-active-dark": colors.slate[900],
"bg-component-selected-dark": colors.violet[800],
"focus-outline": colors.violet[600],
"text-primary": colors.slate[800],
"text-primary-dark": colors.slate[200],
"text-secondary": colors.slate[500],
"text-secondary-dark": colors.slate[400],
"text-tertiary": colors.slate[400],
"text-disabled": colors.zinc[300],
success: colors.green[700],
warn: colors.yellow[700],
info: colors.blue[700],
error: colors.red[700],
},
boxShadow: {
"selected-horizontal": "inset 0 -2px 0 #0062AF",
"selected-horizontal-dark": "inset 0 -2px 0 #8b5cf6",
"selected-vertical": "inset 4px 0 0 #0062AF",
},
// Matching Bootstrap breakpoints
screens: {
// => @media (min-width: 640px) { ... }
sm: "576px",
// => @media (min-width: 768px) { ... }
md: "768px",
// => @media (min-width: 1024px) { ... }
lg: "992px",
// => @media (min-width: 1280px) { ... }
xl: "1200px",
// => @media (min-width: 1536px) { ... }
"2xl": "1400px",
xxl: "1400px",
},
},
},
plugins: [],
};