收口 Makelore 客户端变更
This commit is contained in:
@@ -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))',
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user