mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-05 08:47:05 +02:00
Extract shared UI and theme packages
This commit is contained in:
9
apps/yaak-proxy/theme.ts
Normal file
9
apps/yaak-proxy/theme.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import {
|
||||
applyThemeToDocument,
|
||||
defaultDarkTheme,
|
||||
platformFromUserAgent,
|
||||
setPlatformOnDocument,
|
||||
} from "@yaakapp-internal/theme";
|
||||
|
||||
setPlatformOnDocument(platformFromUserAgent(navigator.userAgent));
|
||||
applyThemeToDocument(defaultDarkTheme);
|
||||
Reference in New Issue
Block a user