forked from basetool-io/basetool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
124 lines (122 loc) · 3.26 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
/* eslint-disable @typescript-eslint/no-var-requires */
/* eslint-disable global-require */
const colors = require("tailwindcss/colors");
const { bgColors } = require("./lib/colors");
const whitelistedBgColors = bgColors.map((c) => `bg-${c}-200`);
module.exports = {
content: {
enabled: true,
safelist: [...whitelistedBgColors],
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./features/**/components/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
// './src/widgets/**/*.{js,ts,jsx,tsx}',
"./plugins/data-sources/**/*.{js,ts,jsx,tsx}",
"./plugins/fields/**/*.{js,ts,jsx,tsx}",
"./lib/**/*.css",
],
},
theme: {
extend: {
fontFamily: {
sans: '"Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',
},
colors: {
orange: colors.orange,
"cool-gray": {
DEFAULT: "#2776EA",
50: "#108105100",
100: "#f1f6fe",
200: "#bed5f9",
300: "#8bb5f4",
400: "#5894ef",
500: "#2976ea",
600: "#135cc8",
700: "#0e4495",
800: "#092d62",
900: "#05152e",
},
sky: colors.sky,
teal: colors.teal,
amber: colors.amber,
blue: {
600: "#2776EA",
},
"tech-blue": "#2776EA",
"palatinate-blue": "#3A1EF6",
},
flex: {
2: "2 1 0",
},
cursor: {
"cursor-help": "cursor-help",
"ns-resize": "ns-resize",
"ew-resize": "ew-resize",
"ne-resize": "ne-resize",
"nw-resize": "nw-resize",
"sw-resize": "sw-resize",
"se-resize": "se-resize",
grab: "grab",
},
outline: {
green: ["2px solid green", "1px"],
},
borderWidth: {
0.25: "0.25px",
0.5: "0.5px",
},
minHeight: {
inherit: "inherit",
16: "4rem",
24: "6rem",
48: "12rem",
"1/2": "50%",
"1/3": "33.333333%",
"2/3": "66.666667%",
"1/4": "25%",
"2/4": "50%",
"3/4": "75%",
"1/5": "20%",
"2/5": "40%",
"3/5": "60%",
"4/5": "80%",
},
margin: {
"-8.5": "-2.125rem",
"-1.75": "-0.325rem",
},
height: {
4.5: "1.125rem",
},
boxShadow: {
left: "rgba(0, 0, 0, 0.24) 0px 3px 8px, rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;",
glow: "rgba(50, 50, 93, 0.15) 0px 50px 100px -20px, rgba(0, 0, 0, 0.1) 0px 30px 60px -30px",
"pw-footer": "0 2px 4px 1px rgba(0, 0, 0, 0.3)",
},
zIndex: {
60: 60,
},
animation: {
blob: "blob 9s infinite",
},
keyframes: {
blob: {
"0%": {
transform: "translate(0, 0) scale(1)",
},
"33%": {
transform: "translate(30px, 50px) scale(1.1)",
},
"66%": {
transform: "translate(-20px, 20px) scale(0.9)",
},
"100%": {
transform: "translate(0, 0) scale(1)",
},
},
},
},
},
plugins: [],
};