Skip to content

Commit

Permalink
fix font assets
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardoperra committed Nov 11, 2024
1 parent a71fa3a commit 98cfc2b
Show file tree
Hide file tree
Showing 14 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions packages/app/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export default defineConfig({
},
},
server: {
compressPublicAssets: true,
prerender: {
routes: ['/about', '/about/supported-workflow-features'],
},
Expand Down
1 change: 0 additions & 1 deletion packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Binary file removed packages/app/public/fonts/Manrope-Bold.woff2
Binary file not shown.
Binary file removed packages/app/public/fonts/Manrope-ExtraBold.woff2
Binary file not shown.
Binary file removed packages/app/public/fonts/Manrope-ExtraLight.woff2
Binary file not shown.
Binary file removed packages/app/public/fonts/Manrope-Light.woff2
Binary file not shown.
Binary file removed packages/app/public/fonts/Manrope-Medium.woff2
Binary file not shown.
Binary file removed packages/app/public/fonts/Manrope-Regular.woff2
Binary file not shown.
Binary file removed packages/app/public/fonts/Manrope-SemiBold.woff2
Binary file not shown.
Binary file removed packages/app/public/fonts/Manrope[wght].ttf
Binary file not shown.
Binary file removed packages/app/public/fonts/Manrope[wght].woff2
Binary file not shown.
Binary file not shown.
5 changes: 3 additions & 2 deletions packages/app/src/global-codeui.css.ts
Original file line number Diff line number Diff line change
@@ -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', {
Expand Down

0 comments on commit 98cfc2b

Please sign in to comment.