-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
40 lines (37 loc) · 1.09 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
import presetTailwind from "npm:@twind/[email protected]";
import presetTypography from "npm:@twind/[email protected]";
import defaultTheme from "npm:@twind/[email protected]/defaultTheme";
import { defineConfig } from "npm:@twind/[email protected]";
export const config = defineConfig({
//@ts-expect-error the tailwind preset types are wiggity whack.
presets: [presetTailwind(), presetTypography(), presetFrontside()],
});
function presetFrontside() {
return {
rules: [
["header", {
backgroundImage:
"linear-gradient(45deg, #14315d -5%, #44378a, #26abe8 105%)",
color: "#fff",
}],
],
theme: {
fontFamily: {
sans: ["Proxima Nova", "proxima-nova", "sans-serif"],
inter: ["Inter", "inter", "san-serif"],
},
extend: {
colors: {
"blue-primary": "#14315D",
"blue-secondary": "#26ABE8",
"pink-secondary": "#F74D7B",
"typescript-blue": "#3178c6",
},
screens: {
...defaultTheme.screens,
sm: { max: "540px" },
},
},
},
};
}