-
Notifications
You must be signed in to change notification settings - Fork 4
/
twind.config.ts
40 lines (38 loc) · 3.06 KB
/
twind.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 { defineConfig } from "npm:@twind/[email protected]";
import presetTailwind from "npm:@twind/[email protected]";
import presetTypography from "npm:@twind/[email protected]";
export const config = defineConfig({
//@ts-expect-error the tailwind preset types are wiggity whack.
presets: [presetTailwind(), presetTypography(), presetFrontside()],
theme: {
fontFamily: {
sans: ["Proxima Nova", "proxima-nova", "sans-serif"],
inter: ["Inter", "inter", "san-serif"],
},
},
});
function presetFrontside() {
return {
rules: [
["btn-contact", {
background:
`url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALUAAAA5CAMAAABH/5o4AAADAFBMVEVMaXE7WaY9T540dLtDO41CPpA3aLJEN4pARpYxgcY3ZrAqmtpDPI5CPY9CPZBCPI5CPI5CPY89UJ87WKUtj9FCPY8xgcZCP5E+TJsyfMJAR5c7VqQpoN80dLw7VqQsktQtjc8slNUsktM/Spo2bbY4Ya06Wqc+T54zdr5ARpY8VKI/SZlDO44pndxEOIsyfcMyfMJDPI4vicxASJhBRZUqnNw0db0pnt01b7gujM4xf8Q3Z7Esk9Q0c7sqmts4ZK80dLs9UqAvhso6W6g4Y64sldZBRZUpn942bbU4ZK4/S5o4Za83abM6Xqkqndw1cbkpoN9BQpM3ZrEvh8sxfsQ9UJ85YKstkNItjtA3aLI+T500dbwwhMg7WaZAR5c5Yq06W6c2a7Qui85BQ5Q2bbYzdr0yesA/S5o7WaYxgcYwhMkwgscrmNk/Spk2a7QviMwzeL8rltcqm9sopeMoo+IoouFEOYxEOItDO41DPI5DPY9DOoxCPpBCP5BCQJFBRJRBRZVARpZAR5c/S5o+TZw+Tp08U6E9UqA8VKI7WaZEN4pDOYxEOYxEOYtDOo1DPY43aLJCPo9CP5E2a7RCQZFCQZJCQpJBQ5NBQp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ePoNaGGwNqqlOR1kzDTfNrMzKQ1nStaU/rn9QhrSmm7pnPn0GtfZzsG15kIq0ZapvtXr18jbRmaO1pfvPuLdJa2XRLS+t7qDVlgk3xh49Qa7UZyz5/KkZaM3ZsKy/v+IK0Vt6+5uu3Tqi1rtec791dUGvFSbt/9v5AWjP0p/v2/+pDWrP0vJsGGhuR1ro6K9t+N0GtFXVmtbe3Ia2t9PfOFQqFSGuW3k6BQNCDtJ4S6CAaGYZaa05dMigSIa2tNJe6jg4NIq1Z+4LHxv7+wVoHicVirDUnWfIfcj9dLDFI/84AAAAASUVORK5CYII=) no-repeat 100% 100%,linear-gradient(90deg,#44378a,#f74d7b 120%)`,
}],
],
theme: {
extend: {
colors: {
"blue-primary": "#14315D",
"blue-secondary": "#26ABE8",
"pink-secondary": "#F74D7B",
},
boxShadow: {
"blue-box": "0px 18px 50px 0px rgba(53, 113, 185, 0.25)",
},
fontSize: {
"4_5xl": "2.5rem",
},
},
},
};
}