-
Notifications
You must be signed in to change notification settings - Fork 6.3k
-
Hey folks,
did anyone found a workaround for adding custom fonts after workbenchworkbench.web.main.css
was removed from the codebase?
Previously we could simply add css classes there to embed custom fonts: https://github.com/OCram85/arkanum/blob/master/Dockerfile#L53
🔖 Refs
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment 2 replies
-
Would it be possible to link the fonts.css
file in the workbench.html
file instead? Inject something like <link rel="stylesheet" href="{{WORKBENCH_WEB_BASE_URL}}/out/vs/code/browser/workbench/fonts.css">
and then copy font.css
to that directory.
Beta Was this translation helpful? Give feedback.
All reactions
-
that is good point. I also found this: src/vs/workbench/browser/media/style.css .
maybe it‘s also possible to load the fonts from there
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
I guess I could fix it by customizing the workbench.css
directly: OCram85/arkanum@86d6373
Note
Unfortunately I couldn't use the files mention from the vscode repo directly because I wasn't sure if these should exist in the sources or after building any artifacts.
Beta Was this translation helpful? Give feedback.