-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
115 lines (111 loc) · 3.53 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
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
import type { Config } from "tailwindcss";
import plugin from "tailwindcss/plugin";
import { themeColors, themeMetallics, themeInks, proficiencyScale } from "./app/styles/color/colors";
import { shadesOfWhite, ashenTints, misspiggyTints, skyblueTints, seashellTints, platinumTints } from "./app/styles/color/shades_tints";
export default {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/ui/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./app/styles/globals.css",
"./app/styles/fonts.css",
"./app/styles/colors/colors.ts",
"./app/styles/icons.ts",
"./app/styles/colors/shades_tints.ts",
],
theme: {
extend: {
fontFamily: {
cormorantGaramond: ['"Cormorant Garamond"', "sans-serif"],
lobster: ["Lobster", "sans-serif"],
robotoMono: ["Roboto Mono", "sans-serif"],
abrilFatface: ["Abril Fatface", "sans-serif"],
charm: ["Charm", "sans-serif"],
ibmPlexSans: ["IBM Plex Sans", "sans-serif"],
},
colors: {
// whites
...shadesOfWhite,
...themeMetallics,
...themeInks,
...themeColors,
...ashenTints,
...misspiggyTints,
...skyblueTints,
...seashellTints,
...platinumTints,
...proficiencyScale,
},
boxShadow: {
punchcard: "inset 2px 2px 3px 0 rgba(0,0,0,0.35), 3px 3px 4px 0 rgba(0,0,0,0.35)",
dropdown: "inset 0 1px 0 0 rgba(125,125,125,0.35), 1px 1px 1px 0 rgba(0,0,0,0.35)",
default: "inset 0 4px 4px 0 rgba(0,0,0,0.25), 0 4px 4px 0 rgba(0, 0, 0, 0.25)",
},
minHeight: {
landscape: 'var(--landscape-min-height)',
},
margin: {
footer: 'var(--footer-margin)',
},
screens: {
'xs': '768px',
'wide-view': '1200px',
'long': '1300px',
},
fontSize: {
'xs': '0.75rem',
}
},
},
plugins: [
plugin(function ({ addUtilities, theme }) {
addUtilities({
'.border-punchcard': {
'border-width': '3px',
'border-style': 'solid',
'border-color': theme('colors.lightgreen'),
},
'.bio-label': {
'font-family': 'Roboto Mono',
'font-size': '0.75rem',
'font-weight': 'normal',
'color': theme('colors.lightgreen'),
'background-color': theme('colors.antiqueblack'),
},
'.footer-dynamic': {
'margin-top': 'var(--footer-margin)',
},
'.inner-shadow': {
'box-shadow': 'inset 0 4px 6px 0 rgba(0,0,0,0.15)',
},
'.inner-shadow-sm': {
'box-shadow': 'inset 0 2px 3px 0 rgba(0,0,0,0.05)',
},
'.motto-text-shadow': {
'text-shadow': '1px 1px 0 rgba(120, 120, 120, 0.95)',
'color': theme('colors.bonewhite'),
},
'.motto-shadow': {
'box-shadow': 'inset 1px 1px 0 0 rgba(120,120,120,0.15), inset -1px -1px 0 0 rgba(120,120,120,0.15)',
'border-color': theme('colors.seashell'),
},
'.header-shadow': {
'text-shadow': '1px 1px 1px rgba(25, 25, 112, 1)',
'color': theme('colors.skyblue'),
'font-size': '30px',
'text-align': 'center',
'font-family': '"Lobster", serif, italic',
},
'.subtopic-text': {
'color': '#777',
'font-size': '12px',
'font-family': 'IBM Plex Sans',
},
'.spacer': {
'height': '50px',
},
});
}),
],
} satisfies Config;