-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathtailwind.config.cjs
100 lines (79 loc) · 2.31 KB
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
// tailwind.config.js
// const { fontFamily } = require("tailwindcss/defaultTheme");
module.exports = {
content: ["./src/**/*.{js,ts,jsx,tsx}"],
daisyui: {
themes: [
{
hierrtheme: {
primary: "#FFFFFF",
"primary-content": "#071200",
secondary: "#222222",
"secondary-content": "#FFFFFF",
accent: "#17364F",
"accent-content": "#ccd3da",
neutral: "#001113",
"neutral-content": "#c4c9ca",
"base-100": "#4682b4",
"base-200": "#2a6697",
"base-300": "#225680",
"base-content": "#ffffff",
info: "#f0f0f0",
"info-content": "#000b14",
success: "#aef84e",
"success-content": "#0b1502",
warning: "#ed7600",
"warning-content": "#140500",
error: "#e61635",
"error-content": "#ffd9d6",
},
},
],
},
theme: {
extend: {
screens: {
sm: "350px", //mobile M
md: "768px", //tablet
lg: "1024px", //laptop
xl: "1280px", //laptop L
"2xl": "2560px", //4k
},
backgroundImage: (theme) => ({
"farmer-working": "url('/State-CEDS-Shawn-Uehira-p29.png')",
spectrum:
"linear-gradient(orange, transparent), linear-gradient(to top left, cyan, transparent), linear-gradient(to top right, purple, transparent)",
spectrum2:
"linear-gradient( steelBlue, black, transparent), linear-gradient(to bottom left, cyan, transparent), linear-gradient(to top right, plum, transparent)",
}),
backgroundSize: {
bgBig: "100% 110%",
},
animation: {
"slide-in": "slide-in 0.7s ease-out",
},
keyframes: {
"slide-in": {
"0%": { transform: "translateY(100%)", opacity: 0 },
"100%": { transform: "translateY(0)", opacity: 100 },
},
},
},
colors: {
green: "#1A9432",
lightGreen: "#1FCE1F",
yellowGreen: "#89E21D",
blue: {
lighter: "#COD8ED",
default: "#3276AE",
darker: "#17364F",
},
white: "#FFFFFF",
gray: "#4C4C4C",
red: "#F52020",
},
},
plugins: [require("@tailwindcss/forms"), require("daisyui")],
mode: "jit",
};