-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtailwind.config.js
More file actions
74 lines (72 loc) · 1.9 KB
/
Copy pathtailwind.config.js
File metadata and controls
74 lines (72 loc) · 1.9 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
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
const defaultTheme = require('tailwindcss/defaultTheme')
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/**/*.{js,ts,jsx,tsx,mdx}',
],
darkMode: 'selector',
theme: {
screens: {
'xs': '440px',
...defaultTheme.screens,
},
extend: {
colors: {
from: "hsla(0, 0%, 100%, 0.3)",
to: "hsla(0, 0%, 100%, 0.05)"
},
fontFamily: {
silka: ["var(--font-silka)"]
},
boxShadow: {
memoji: "inset 1px 4px 6px rgba(0,0,0,.4), inset 0px -2px 16px -3px rgba(0,0,0,.2)",
circle: "0 4px 24px -1px rgba(0, 0, 0, 0.1)",
verylight: "2px 1px 4px 0px #3e3e3e1a",
darkmode: "-4px 1px 10px 1px rgb(9 9 11 / 22%)",
},
background: {
circle: "linear-gradient(120deg, hsla(0, 0%, 100%, 0.5), hsla(0, 0%, 100%, 0.1))",
},
animation: {
eclipse: "eclipse 3s linear infinite",
marquee: "marquee 8s linear infinite",
"god-rays": "god-rays var(--duration) cubic-bezier(0.15, 0, 0.85, 1) infinite alternate",
},
keyframes: {
eclipse: {
"0%": {
transform: "translateX(115%)",
},
"100%": {
transform: "translateX(-115%)",
},
},
marquee: {
"from": {
transform: "translateX(0)",
},
"to": {
transform: "translateX(-45%)",
},
},
"god-rays": {
from: {
transform: "translateX(0)",
},
to: {
transform: "translateX(-50%)",
},
},
},
gridTemplateColumns: {
"1-64": "repeat(1, minmax(64px, 1fr))",
"2-64": "repeat(2, minmax(64px, 1fr))",
},
gridTemplateRows: {
"1-64": "repeat(1, minmax(64px, 1fr))",
"2-64": "repeat(2, minmax(64px, 1fr))",
}
},
},
plugins: [],
}