forked from ramTryzens/chaaya
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
42 lines (41 loc) · 1.09 KB
/
Copy pathtailwind.config.ts
File metadata and controls
42 lines (41 loc) · 1.09 KB
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";
import { Constants } from "./app/styles/constants";
export default {
content: ["./app/**/{**,.client,.server}/**/*.{js,jsx,ts,tsx}"],
darkMode: 'selector',
theme: {
extend: {
fontFamily: {
sans: [
"Inter",
"ui-sans-serif",
"system-ui",
"sans-serif",
"Apple Color Emoji",
"Segoe UI Emoji",
"Segoe UI Symbol",
"Noto Color Emoji",
],
},
screens: {
xs: '350px', // Add a custom breakpoint
},
},
backgroundImage: {
'image-light': `url(${Constants.BG_Light})`,
'image-dark': `url(${Constants.BG_Dark})`
},
backgroundPosition: {
'x-10': '10% center', // Sets background-position-x to 10%
'x-0': '0% center', // Sets background-position-x to 0%
},
backgroundSize: {
'170-100': '170% 100%', // Adds custom background-size value
'200-100': '240% 100%', // Adds custom background-size value
},
},
corePlugins: {
transitionProperty: true,
},
plugins: [],
} satisfies Config;