mirror of
https://github.com/usememos/memos.git
synced 2024-11-10 17:02:21 +08:00
38 lines
792 B
JavaScript
38 lines
792 B
JavaScript
/* eslint-disable no-undef */
|
|
/** @type {import('tailwindcss').Config} */
|
|
module.exports = {
|
|
content: ["./index.html", "./src/**/*.{js,ts,tsx}"],
|
|
darkMode: "class",
|
|
theme: {
|
|
fontSize: {
|
|
xs: ".75rem",
|
|
sm: ".875rem",
|
|
base: "1rem",
|
|
lg: "1.125rem",
|
|
xl: "1.25rem",
|
|
"2xl": "1.5rem",
|
|
"3xl": "1.875rem",
|
|
"4xl": "2.25rem",
|
|
"5xl": "2.5rem",
|
|
"6xl": "3rem",
|
|
},
|
|
extend: {
|
|
spacing: {
|
|
112: "28rem",
|
|
128: "32rem",
|
|
180: "45rem",
|
|
},
|
|
zIndex: {
|
|
1: "1",
|
|
2: "2",
|
|
20: "20",
|
|
100: "100",
|
|
1000: "1000",
|
|
},
|
|
gridTemplateRows: {
|
|
7: "repeat(7, minmax(0, 1fr))",
|
|
},
|
|
},
|
|
},
|
|
plugins: [require("@tailwindcss/container-queries")],
|
|
};
|