From 239933482fd30e099ab9d038bc1a2e0164a65cb4 Mon Sep 17 00:00:00 2001 From: gjj <Ganjj@probim.com.cn> Date: Mon, 17 Mar 2025 14:41:10 +0800 Subject: [PATCH] 增加标段筛选和接口字段,调整样式,增加全局放大 --- tailwind.config.js | 55 +++++++++++++++++++++++++++++++++++-------------------- 1 files changed, 35 insertions(+), 20 deletions(-) diff --git a/tailwind.config.js b/tailwind.config.js index 7944e5d..10bff87 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,23 +1,38 @@ +/* + * @Author: gjj Ganjj@probim.com.cn + * @Date: 2025-02-14 14:32:19 + * @LastEditors: gjj Ganjj@probim.com.cn + * @LastEditTime: 2025-03-17 13:35:25 + * @FilePath: \北京交通大学\tailwind.config.js + * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE + */ /** @type {import('tailwindcss').Config} */ module.exports = { - content: ["./index.html", "./src/**/*.{vue,js,ts,jsx,tsx}"], - theme: { - extend: { - fontFamily: { - pingfang: ["PingFang SC Semibold", "PingFang SC Regular", "PingFang SC Medium", "Microsoft YaHei"], - "pingfang-medium": ["PingFang SC Medium", "Microsoft YaHei"], - "pingfang-regular": ["PingFang SC Regular", "Microsoft YaHei"], - "pingfang-light": ["PingFang SC Light", "平方 细体", "Microsoft YaHei"], - ding: ["DINEngschrift-Alternate"], - }, - spacing: { - 4.5: "1.125rem", - 18: "4.5rem", - }, - borderRadius: { - half: "50%", - }, + content: ["./index.html", "./src/**/*.{vue,js,ts,jsx,tsx}"], + theme: { + screens: { + 'sm': '640px', + 'md': '768px', + 'lg': '1024px', + 'xl': '1280px', + '2xl': '1536px', + }, + extend: { + fontFamily: { + pingfang: ["PingFang SC Semibold", "PingFang SC Regular", "PingFang SC Medium", "Microsoft YaHei"], + "pingfang-medium": ["PingFang SC Medium", "Microsoft YaHei"], + "pingfang-regular": ["PingFang SC Regular", "Microsoft YaHei"], + "pingfang-light": ["PingFang SC Light", "平方 细体", "Microsoft YaHei"], + ding: ["DINEngschrift-Alternate"], + }, + spacing: { + 4.5: "1.125rem", + 18: "4.5rem", + }, + borderRadius: { + half: "50%", + }, + }, }, - }, - plugins: [], -}; + plugins: [], +}; \ No newline at end of file -- Gitblit v1.9.3