memos/web/tailwind.config.js
h2o2o ce5a6fa3ac
chore: update sidebar styles in mobile view (#285)
* 添加移动端点击自动关闭侧边栏

* 添加移动端点击自动关闭侧边栏

* 添加移动端点击自动关闭侧边栏

* move closeSidebar function to utils

* move closeSidebar function to utils

* 侧边栏优化

* 移动端侧边栏优化

* 移动端侧边栏优化

* 移动端侧边栏优化
2022-10-13 22:56:42 +08:00

36 lines
671 B
JavaScript

/* eslint-disable no-undef */
module.exports = {
content: ["./index.html", "./src/**/*.{js,ts,tsx}"],
theme: {
fontSize: {
xs: ".75rem",
sm: ".875rem",
base: "1rem",
lg: "1.125rem",
xl: "1.25rem",
"2xl": "1.5rem",
"3xl": "1.875rem",
"4xl": "2.25rem",
},
extend: {
spacing: {
112: "28rem",
128: "32rem",
180: "45rem",
},
zIndex: {
1: "1",
20: "20",
100: "100",
1000: "1000",
},
gridTemplateRows: {
7: "repeat(7, minmax(0, 1fr))",
},
transitionDuration: {
'377': '377ms',
}
},
},
};