-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
116 lines (114 loc) · 2.86 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
const colors = require("tailwindcss/colors")
import defaultTheme from "tailwindcss/defaultTheme"
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
gridTemplateRows: {
// Simple 8 row grid
10: "repeat(10, minmax(0, 1fr))",
},
typography: {
DEFAULT: {
// Tell the plugin to not add any classes to anchor tags
// since we always use the Link component which is styled already.
css: { a: false },
},
},
},
colors: {
inherit: colors.inherit,
current: colors.current,
transparent: colors.transparent,
white: colors.white,
black: colors.black,
gray: colors.gray,
purple: colors.purple, // super admin color
indigo: colors.indigo, // used for labels
// primary
blue: {
50: "#DFE9F7",
100: "#B6CEEC",
200: "#8EB2E1",
300: "#6697D7",
400: "#3D7BCC",
500: "#2C62A9", // default
600: "#224B81",
700: "#173459",
800: "#0D1C31",
900: "#020508",
},
// secondary
yellow: {
50: "#FFFBF0",
100: "#FDEEBF",
200: "#FBE08D",
300: "#FAD35C",
400: "#F8C62B",
500: "#EAB308", // default
600: "#B68C06",
700: "#856605",
800: "#544003",
900: "#231A01",
},
// pink (Beteiligung)
pink: {
50: "#FFE5F3",
100: "#FFB3DC",
200: "#FF80C5",
300: "#FF4CAE",
400: "#FF1A97",
500: "#E5007D", // default
600: "#B20061",
700: "#800046",
800: "#4D002A",
900: "#1A000E",
},
// error
red: {
50: "#FFF1F2",
100: "#FFE4E6",
200: "#FECDD3",
300: "#FDA4AF",
400: "#FB7185",
500: "#F43F5E", // default
600: "#E11D48",
700: "#BE123C",
800: "#9F1239",
900: "#9F1239",
},
// success
green: {
50: "#ECFDF5",
100: "#D1FAE5",
200: "#A7F3D0",
300: "#6EE7B7",
400: "#34D399",
500: "#10B981", // default
600: "#059669",
700: "#047857",
800: "#065F46",
900: "#064E3B",
},
},
fontFamily: {
sans: ["var(--font-red-hat-text)", ...defaultTheme.fontFamily.sans],
mono: defaultTheme.fontFamily.mono,
},
fontWeight: {
// We only support some weights, see `src/app/_components/layouts/fonts.ts`
// Docs https://tailwindcss.com/docs/font-weight
// thin: '100',
// extralight: '200',
// light: "300",
normal: "400",
medium: "500",
semibold: "600",
bold: "700",
// extrabold: '800',
// black: '900',
},
},
plugins: [require("@tailwindcss/typography"), require("@tailwindcss/forms")],
}