fix(frontend): einheitliche Schriftart in AntD-Komponenten
Build and Push Multi-Platform Images / build-and-push (push) Successful in 17s
Build and Push Multi-Platform Images / build-and-push (push) Successful in 17s
fontFamily-Token im ConfigProvider auf denselben Inter-Stack wie der Body gesetzt. Zuvor fehlte das Token, sodass AntD-Eingaben (z.B. das Select- Suchfeld) im AntD-Default-Stack abwichen, während der angezeigte Wert die Body-Schrift (Inter) nutzte. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -76,6 +76,10 @@ function ThemedApp() {
|
|||||||
token: {
|
token: {
|
||||||
colorPrimary: '#1677ff',
|
colorPrimary: '#1677ff',
|
||||||
borderRadius: 6,
|
borderRadius: 6,
|
||||||
|
// Gleiche Schriftfamilie wie der Body (index.css), damit AntD-Eingaben
|
||||||
|
// – z.B. das Select-Suchfeld – nicht im AntD-Default-Stack abweichen.
|
||||||
|
fontFamily:
|
||||||
|
"'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif",
|
||||||
...(isDark
|
...(isDark
|
||||||
? {}
|
? {}
|
||||||
: {
|
: {
|
||||||
|
|||||||
Reference in New Issue
Block a user