-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
110 lines (98 loc) · 2.16 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
import typography from "@tailwindcss/typography";
import { Config } from "tailwindcss";
export default {
content: ["./src/**/*.{html,js,svelte,ts}"],
theme: {
container: {
center: true,
padding: "2rem",
screens: {
"2xl": "1400px",
},
},
extend: {
screens: {
mainExpanded: "1244px",
main: "1152px",
xs: "480px",
"2xs": "380px",
},
width: {
mainExpanded: "1244px",
main: "1152px",
md: "1048px",
sm: "748px",
xs: "480px",
"2xs": "380px",
},
keyframes: {
sheetSwipeInFromLeft: {
from: {
transform: "translateX(-100%)",
},
to: {
transform: "translateX(0)",
},
},
sheetSwipeInToLeft: {
from: {
transform: "translateX(0)",
},
to: {
transform: "translateX(-100%)",
},
},
indeterminate: {
"0%": { transform: "translateX(0) scaleX(0)" },
"40%": { transform: "translateX(0) scaleX(0.4)" },
"100%": { transform: "translateX(100%) scaleX(0.5)" },
},
},
animation: {
sheetSwipeInFromLeft: "sheetSwipeInFromLeft 150ms ease-out",
sheetSwipeInToLeft: "sheetSwipeInToLeft 150ms ease-in",
indeterminate: "indeterminate 1s infinite ease-in",
},
},
fontFamily: {
sans: ["Roboto", "sans-serif"],
},
colors: {
white: "#ffffff",
black: "#000000",
transparent: "transparent",
backgrond: "#F8F8F8",
"d-backgrond": "#100f13",
"yellow-900": "#C57C10",
"yellow-700": "#f3a002",
"yellow-600": "#ffb900",
"yellow-500": "#FFC700",
"tangerine-600": "#FF7A00",
"blue-500": "#0066FF",
"gray-800": "#242E3C",
"gray-600": "#4C4E59",
"gray-300": "#D7D9E1",
"gray-200": "#E9EBF1",
"gray-100": "#F3F5F8",
"d-gray-800": "#DBE3ED",
"d-gray-600": "#A9ADB4",
"d-gray-300": "#3E404F",
"d-gray-200": "#252628",
"d-gray-100": "#1D1F22",
"violet-500": "#8F00FF",
"red-700": "#b91c1c",
"red-600": "#e02929",
"green-500": "#1BB82B",
},
},
darkMode: "selector",
plugins: [
typography,
function ({ addVariant }) {
addVariant(
"prose-inline-code",
'& :is(:where(:not(pre)>code):not(:where([class~="not-prose"] *)))',
);
},
],
} as Config;