mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
feat(app): let Windows users switch back to Fluxer Sans (#3365)
This commit is contained in:
1 parent
71be6c1de4
commit
a208b56354
51 files changed
+3066
-1874
No files matched your search
@@ -41,6 +41,7 @@ import {useRemScaleTracking} from '@app/features/theme/hooks/useRemScaleTracking
|
||||
import {useThemeCssVariables} from '@app/features/theme/hooks/useThemeCssVariables';
|
||||
import Theme from '@app/features/theme/state/Theme';
|
||||
import ThemeLibrary from '@app/features/theme/state/ThemeLibrary';
|
||||
import WindowsFont from '@app/features/theme/state/WindowsFont';
|
||||
import {useThemeStudioBroadcast} from '@app/features/theme_studio/state/ThemeStudioBroadcast';
|
||||
import ThemeStudioState from '@app/features/theme_studio/state/ThemeStudioState';
|
||||
import {SVGMasks} from '@app/features/ui/components/SVGMasks';
|
||||
@@ -174,6 +175,7 @@ export const AppWrapper = observer(({children}: AppWrapperProps) => {
|
||||
useDocumentClassToggle('reduced-motion', reducedMotion);
|
||||
useDocumentClassToggle('mobile-layout', MobileLayout.platformMobileDetected || MobileLayout.enabled);
|
||||
useDocumentClassToggle(UNFOCUSED_FULLY_INTERACTIVE_CLASS, stayInteractiveWhenUnfocused);
|
||||
useDocumentClassToggle('windows-fluxer-sans', WindowsFont.useFluxerSans);
|
||||
useDesktopAllowTransparency(isNative);
|
||||
useWindowEventListeners();
|
||||
useRemScaleTracking();
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
--font-mono: 'Fluxer Mono', 'Menlo', 'Monaco', 'Courier New', var(--font-fallback-mono), monospace;
|
||||
}
|
||||
|
||||
:root.platform-windows {
|
||||
:root.platform-windows:not(.windows-fluxer-sans) {
|
||||
--font-sans-primary: 'Segoe UI Variable Text', 'Segoe UI';
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user