-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.ts
42 lines (40 loc) · 1.08 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
import type { Config } from "tailwindcss"
export const pxToEm = (value?: number | string) => `${Number(value) / 16}em`
export default {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
screens: {
xs: pxToEm(375),
sm: pxToEm(768),
md: pxToEm(834),
lg: pxToEm(1024),
xl: pxToEm(1280),
xxl: pxToEm(1440),
},
extend: {
gridTemplateColumns: {
"connectors-grid": "repeat(auto-fill, minmax(200px, 1fr))",
},
colors: {
background: "var(--background)",
foreground: "var(--foreground)",
black: "#14161C",
"lavander-sky": "#A1A1D6",
charcoal: "#464C5E",
"raisin-black": "#262933",
"light-blue": "#aecbfc",
"dark-grey": "#646876",
"medium-grey": "#6f727c",
"nebula-from": "#EC796B",
"nebula-to": "#D672EF",
"light-grey": "#F6F6F6",
backdrop: "rgba(0, 0, 0, 0.3)",
},
},
},
plugins: [],
} satisfies Config