diff --git a/packages/app/app.config.ts b/packages/app/app.config.ts index b6a5e8a..dde5eff 100644 --- a/packages/app/app.config.ts +++ b/packages/app/app.config.ts @@ -54,6 +54,7 @@ export default defineConfig({ }, }, server: { + compressPublicAssets: true, prerender: { routes: ['/about', '/about/supported-workflow-features'], }, diff --git a/packages/app/package.json b/packages/app/package.json index f650fa3..8cde4a6 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -39,7 +39,6 @@ "@pipelineui/workflow-languageserver": "workspace:*", "@pipelineui/workflow-parser": "workspace:*", "@pipelineui/yaml-editor": "workspace:*", - "@qualified/codemirror-workspace": "^0.5.0", "@solid-primitives/deep": "^0.2.10", "@solid-primitives/event-listener": "^2.3.3", "@solid-primitives/keyed": "^1.2.3", diff --git a/packages/app/public/fonts/Manrope-Bold.woff2 b/packages/app/public/fonts/Manrope-Bold.woff2 deleted file mode 100644 index 42f7dda..0000000 Binary files a/packages/app/public/fonts/Manrope-Bold.woff2 and /dev/null differ diff --git a/packages/app/public/fonts/Manrope-ExtraBold.woff2 b/packages/app/public/fonts/Manrope-ExtraBold.woff2 deleted file mode 100644 index 8895cb1..0000000 Binary files a/packages/app/public/fonts/Manrope-ExtraBold.woff2 and /dev/null differ diff --git a/packages/app/public/fonts/Manrope-ExtraLight.woff2 b/packages/app/public/fonts/Manrope-ExtraLight.woff2 deleted file mode 100644 index cc3cef4..0000000 Binary files a/packages/app/public/fonts/Manrope-ExtraLight.woff2 and /dev/null differ diff --git a/packages/app/public/fonts/Manrope-Light.woff2 b/packages/app/public/fonts/Manrope-Light.woff2 deleted file mode 100644 index da449ca..0000000 Binary files a/packages/app/public/fonts/Manrope-Light.woff2 and /dev/null differ diff --git a/packages/app/public/fonts/Manrope-Medium.woff2 b/packages/app/public/fonts/Manrope-Medium.woff2 deleted file mode 100644 index 33c2ad6..0000000 Binary files a/packages/app/public/fonts/Manrope-Medium.woff2 and /dev/null differ diff --git a/packages/app/public/fonts/Manrope-Regular.woff2 b/packages/app/public/fonts/Manrope-Regular.woff2 deleted file mode 100644 index 7b618d2..0000000 Binary files a/packages/app/public/fonts/Manrope-Regular.woff2 and /dev/null differ diff --git a/packages/app/public/fonts/Manrope-SemiBold.woff2 b/packages/app/public/fonts/Manrope-SemiBold.woff2 deleted file mode 100644 index 8a4559f..0000000 Binary files a/packages/app/public/fonts/Manrope-SemiBold.woff2 and /dev/null differ diff --git a/packages/app/public/fonts/Manrope[wght].ttf b/packages/app/public/fonts/Manrope[wght].ttf deleted file mode 100644 index 21c45b9..0000000 Binary files a/packages/app/public/fonts/Manrope[wght].ttf and /dev/null differ diff --git a/packages/app/public/fonts/Manrope[wght].woff2 b/packages/app/public/fonts/Manrope[wght].woff2 deleted file mode 100644 index 4d677aa..0000000 Binary files a/packages/app/public/fonts/Manrope[wght].woff2 and /dev/null differ diff --git a/packages/app/public/fonts/ZenKakuGothicNew-Regular.ttf b/packages/app/public/fonts/ZenKakuGothicNew-Regular.ttf deleted file mode 100644 index 97980b6..0000000 Binary files a/packages/app/public/fonts/ZenKakuGothicNew-Regular.ttf and /dev/null differ diff --git a/packages/app/src/global-codeui.css.ts b/packages/app/src/global-codeui.css.ts index aeb45fd..a5d37c3 100644 --- a/packages/app/src/global-codeui.css.ts +++ b/packages/app/src/global-codeui.css.ts @@ -1,16 +1,17 @@ import {globalStyle, globalFontFace} from '@vanilla-extract/css'; import {themeVars} from '@codeui/kit'; -import gabaritoFont from '/fonts/Gabarito-VariableFont_wght.ttf?inline'; +import gabaritoFont from './ui/Gabarito-VariableFont_wght.ttf'; globalFontFace('Gabarito', { src: `url(${gabaritoFont})`, + fontDisplay: 'swap', }); globalStyle('[data-cui-theme=dark] html, body', { background: themeVars.accent1, color: themeVars.foreground, - fontFamily: 'Gabarito', + fontFamily: '"Gabarito", "system-ui", "Arial"', }); globalStyle('::-webkit-scrollbar', { diff --git a/packages/app/public/fonts/Gabarito-VariableFont_wght.ttf b/packages/app/src/ui/Gabarito-VariableFont_wght.ttf similarity index 100% rename from packages/app/public/fonts/Gabarito-VariableFont_wght.ttf rename to packages/app/src/ui/Gabarito-VariableFont_wght.ttf