重新构建路由和配置样式文件
This commit is contained in:
+26
-6
@@ -1,19 +1,39 @@
|
||||
import type { Config } from "tailwindcss";
|
||||
|
||||
export default {
|
||||
content: ["./app/**/{**,.client,.server}/**/*.{js,jsx,ts,tsx}"],
|
||||
content: [
|
||||
"./app/**/*.{js,jsx,ts,tsx}",
|
||||
"./app/styles/**/*.css"
|
||||
],
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
primary: {
|
||||
DEFAULT: '#1677ff',
|
||||
50: '#e6f4ff',
|
||||
100: '#bae0ff',
|
||||
200: '#91caff',
|
||||
300: '#69b1ff',
|
||||
400: '#4096ff',
|
||||
500: '#1677ff',
|
||||
600: '#0958d9',
|
||||
700: '#003eb3',
|
||||
800: '#002c8c',
|
||||
900: '#001d66',
|
||||
dark: '#0958d9'
|
||||
},
|
||||
},
|
||||
fontFamily: {
|
||||
sans: [
|
||||
"Noto Sans SC",
|
||||
"Inter",
|
||||
"ui-sans-serif",
|
||||
"system-ui",
|
||||
"sans-serif",
|
||||
"Apple Color Emoji",
|
||||
"Segoe UI Emoji",
|
||||
"Segoe UI Symbol",
|
||||
"Noto Color Emoji",
|
||||
// 更新配置来支持中文字体
|
||||
"-apple-system",
|
||||
"BlinkMacSystemFont",
|
||||
"Microsoft YaHei",
|
||||
"sans-serif"
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user