-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
68 lines (66 loc) · 1.87 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
import typographyPlugin from "@tailwindcss/typography"
import daisyUIPlugin from "daisyui"
import defaultTheme from "tailwindcss/defaultTheme"
import { type Config } from "tailwindcss"
import type { PluginUtils } from "tailwindcss/types/config"
export default {
content: ["./src/**/*.{js,ts,jsx,tsx}"],
daisyui: {
themes: [
{
light: {
primary: "oklch(60% 0.15 165)",
"primary-content": "oklch(95% 0.05 165)",
secondary: "oklch(95% 0.01 165)",
accent: "oklch(90% 0.17 150)",
neutral: "oklch(30% 0.06 240)",
"base-100": "oklch(98% 0.01 240)",
},
},
{
dark: {
primary: "oklch(75% 0.15 165)",
secondary: "oklch(29% 0.05 165)",
accent: "oklch(75% 0.15 165)",
neutral: "oklch(98% 0.01 240)",
"base-100": "oklch(30% 0.06 240)",
},
},
],
},
theme: {
extend: {
typography: ({ theme }: PluginUtils) => ({
DEFAULT: {
css: {
fontFamily: theme("fontFamily.serif").join(", "),
fontSize: "1.075rem",
textAlign: "justify",
lineHeight: "1.6125rem",
},
},
}),
fontFamily: {
serif: ['"Source Serif 4 Variable"', ...defaultTheme.fontFamily.serif],
sans: ['"Inter Variable"', ...defaultTheme.fontFamily.sans],
heading: ['"Fira Sans"', ...defaultTheme.fontFamily.sans],
},
colors: {
science: {
"100": "#FFFFFF",
"200": "#ECF0FF",
"300": "#C5D4FF",
"400": "#84AAFF",
"500": "#498FFF",
"600": "#007AF0",
"700": "#0069D0",
DEFAULT: "#0069D0",
"800": "#0051A2",
"900": "#003A79",
"950": "#002451",
},
},
},
},
plugins: [typographyPlugin, daisyUIPlugin],
} satisfies Config