收口 Makelore 客户端变更
Some checks failed
Electron E2E / Electron E2E (macos-latest) (push) Has been cancelled
Electron E2E / Electron E2E (ubuntu-latest) (push) Has been cancelled
Electron E2E / Electron E2E (windows-latest) (push) Has been cancelled

This commit is contained in:
inman
2026-08-12 22:35:06 +08:00
parent 253bad8b40
commit f4113a872f
232 changed files with 4617 additions and 20121 deletions

View File

@@ -58,56 +58,25 @@ module.exports = {
* All three stacks are pinned explicitly to remove dependency on
* Tailwind's default fontFamily values. The intent:
*
* - sans : the everyday UI body / control font. Apple-first
* on macOS (-apple-system), then BlinkMacSystemFont
* so Chromium on macOS picks the same metrics, then
* Segoe UI for Windows, Roboto for Linux/Android,
* and finally the four Apple/Segoe/Noto color emoji
* fonts so emoji never fall back to a serif.
* - sans : the language-aware --font-sans token. It puts the
* bundled Inter and Source Han Sans SC faces before
* platform fallbacks so Chromium uses both faces for
* mixed Chinese/English strings.
*
* - serif : compatibility alias for the platform display stack.
* The product now uses one system sans family so page
* - serif : compatibility alias for the same bundled sans family.
* The product uses one sans visual system so page
* hierarchy stays coherent across modules.
*
* - mono : standard developer-font stack. Used for IDs, paths,
* tokens, timestamps, code blocks, CLI output etc.
* We pin this so behaviour is identical to Tailwind's
* current default but immune to upstream changes.
* The actual stack lives in the global --font-mono token
* so prose and controls cannot accidentally diverge.
* ────────────────────────────────────────────────────────────── */
fontFamily: {
sans: [
'-apple-system',
'BlinkMacSystemFont',
'"Segoe UI"',
'Roboto',
'"Helvetica Neue"',
'Arial',
'"Noto Sans"',
'sans-serif',
'"Apple Color Emoji"',
'"Segoe UI Emoji"',
'"Segoe UI Symbol"',
'"Noto Color Emoji"',
],
serif: [
'-apple-system',
'BlinkMacSystemFont',
'"SF Pro Display"',
'"PingFang SC"',
'"Segoe UI"',
'Roboto',
'sans-serif',
],
sans: ['var(--font-sans)'],
serif: ['var(--font-sans)'],
mono: [
'ui-monospace',
'SFMono-Regular',
'"SF Mono"',
'Menlo',
'Monaco',
'Consolas',
'"Liberation Mono"',
'"Courier New"',
'monospace',
'var(--font-mono)',
],
},
@@ -222,6 +191,7 @@ module.exports = {
DEFAULT: 'hsl(var(--brand))',
hover: 'hsl(var(--brand-hover))',
soft: 'hsl(var(--brand-soft) / <alpha-value>)',
selected: 'hsl(var(--brand-selected))',
quiet: 'hsl(var(--brand-quiet))',
},