-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
69 lines (68 loc) · 1.74 KB
/
tailwind.config.cjs
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
const defaultTheme = require("tailwindcss/defaultTheme");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
extend: {
colors: {
realWhite: "#ffffff",
white: "#f8f8f2",
black: "#1d1e26",
purple: "#7357ff",
pink: "#ff80bf",
blue: "#80ffea",
current: "currentColor",
},
fontFamily: {
mono: ['"Lucida Console"', "Courier", ...defaultTheme.fontFamily.mono],
},
transitionProperty: {
"opacity-transform": "opacity, transform",
},
keyframes: {
slidein: {
from: {
transform: "translateX(2rem)",
opacity: 0,
},
},
rainbow: {
"0%": {
color: "hsl(0turn, 90%, 65%)",
},
"25%": {
color: "hsl(0.25turn, 90%, 65%)",
},
"50%": {
color: "hsl(0.5turn, 90%, 65%)",
},
"75%": {
color: "hsl(0.75turn, 90%, 65%)",
},
"100%": {
color: "hsl(1turn, 90%, 65%)",
},
},
floating: {
"0%": {
transform: "translateY(0px)",
},
"50%": {
transform: "translateY(5px)",
},
"100%": {
transform: "translateY(0px)",
},
},
},
animation: {
slidein:
"slidein 1s calc(var(--index) * 60ms) cubic-bezier(0.5, 0, 0.5, 1) both",
rainbow:
"rainbow 2s calc(var(--index) * 60ms) linear infinite, floating 1s calc(var(--index) * 60ms) ease-in-out infinite",
},
},
},
plugins: [],
darkMode: "class",
};