-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
48 lines (47 loc) · 1.58 KB
/
tailwind.config.ts
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
import type { Config } from "tailwindcss"
import { nextui } from "@nextui-org/react"
import colors from "tailwindcss/colors"
import typography from "@tailwindcss/typography"
/**
* Definerer configurasjoner for TailwindCSS.
* content inneholder paths til alle filer som skal kunne bruke TailwindCSS-klasser.
* theme inneholder alle farger, fonter, størrelser osv. som skal kunne brukes.
* Man kan legge til egne farger og lignende, ved å legge de til i extend.
* @see https://tailwindcss.com/docs/configuration
*/
const config: Config = {
content: [
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}",
],
theme: {
fontFamily: {
"cascadia-code": ["Cascadia Code", "monospace"],
},
extend: {
colors: {
"root-light": "#44b2e3",
"root-primary": "#1370A6",
"root-primary-dark": "#0B4B6A",
"root-secondary": colors.blue[500],
"default-background": "#F3F3F3",
"default-dark-background": "#0a0a12",
"dark-title": "#3E3E3E",
bedpress: "#FFBA09",
social: "#09B5FF",
workshop: "#FF0961",
other: colors.gray[400],
},
maxWidth: {
initial: "initial",
},
zIndex: {
"101": "101",
},
},
},
darkMode: "class",
plugins: [nextui(), typography()],
}
export default config