返回 CodeWhale
tailwind.config.ts
根目录 / web / tailwind.config.ts
1 import type { Config } from "tailwindcss";
2
3 export default {
4 content: ["./app/**/*.{ts,tsx}", "./components/**/*.{ts,tsx}"],
5 theme: {
6 extend: {
7 colors: {
8 // The surface and ink tokens resolve through CSS custom properties so
9 // docs can still re-theme, while the shared accent palette stays oceanic.
10 paper: "rgb(var(--c-paper) / <alpha-value>)",
11 "paper-deep": "rgb(var(--c-paper-deep) / <alpha-value>)",
12 "paper-edge": "rgb(var(--c-paper-edge) / <alpha-value>)",
13 "paper-line": "#1B2230",
14 "paper-line-soft": "#CBD3DF",
15 ink: "rgb(var(--c-ink) / <alpha-value>)",
16 "ink-soft": "rgb(var(--c-ink-soft) / <alpha-value>)",
17 "ink-mute": "rgb(var(--c-ink-mute) / <alpha-value>)",
18 indigo: "#315FD8",
19 "indigo-deep": "#2448A6",
20 "indigo-pale": "#E8EEF8",
21 ochre: "#7A5500",
22 jade: "#08766D",
23 cobalt: "#315FD8",
24 },
25 fontFamily: {
26 display: ['"Space Grotesk"', '"Noto Sans SC"', "ui-sans-serif", "system-ui", "sans-serif"],
27 body: ['"IBM Plex Sans"', '"Noto Sans SC"', "ui-sans-serif", "system-ui", "sans-serif"],
28 cjk: ['"Noto Serif SC"', '"Source Han Serif SC"', "serif"],
29 mono: ['"JetBrains Mono"', "ui-monospace", "Menlo", "monospace"],
30 },
31 letterSpacing: {
32 crisp: "-0.018em",
33 wider: "0.08em",
34 widest: "0.18em",
35 },
36 },
37 },
38 plugins: [],
39 } satisfies Config;
40
40 lines TYPESCRIPT