-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.mjs
53 lines (52 loc) · 1.18 KB
/
tailwind.config.mjs
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
/** @type {import('tailwindcss').Config} */
const defaultTheme = require("tailwindcss/defaultTheme");
export default {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
darkMode: ["class", ".ctp-mocha"],
theme: {
extend: {
fontFamily: {
mono: [
`'ml', ${defaultTheme.fontFamily.mono}, Arial,Hiragino Kaku Gothic ProN,Hiragino Sans,Meiryo, sans-serif`,
{
fontFeatureSettings:
'"frac" 0, "liga" 1, "calt" 1, "ss01" 1, "ss07" 1, "ss11" 1, "ss17" 1',
},
],
"mono-script": [
`'ml', ${defaultTheme.fontFamily.mono}, Arial,Hiragino Kaku Gothic ProN,Hiragino Sans,Meiryo, sans-serif`,
{
fontFeatureSettings:
'"ss02" 1, "frac" 0, "liga" 1, "calt" 1, "ss01" 1, "ss07" 1, "ss11" 1, "ss17" 1',
},
],
},
gradientColorStopPositions: {
33: "33.33%",
66: "66.66%",
},
gridAutoColumns: {
full: "100%",
},
saturate: {
350: "3.5",
},
spacing: {
18: "4.5rem",
96: "20rem",
104: "24rem",
},
transitionProperty: {
filter: "filter",
},
translate: {
3.25: "0.85rem",
},
},
},
plugins: [
require("@catppuccin/tailwindcss")({
prefix: "ctp",
}),
],
};