Skip to content

Font

🌏 Translated with the assistance of DeepSeek and ChatGPT

The component library font is from Fusion Pixel, which uses the SIL OFL 1.1 license.

After importing import '@pixelium/web-vue/dist/font.css', you can set 'Fusion Pixel Zh_hans' in the font-family property to use it outside of components.

Component fonts are provided by the CSS variable var(--px-font). If you need to change the font, you can override it by creating a --px-font variable.

Below are the fonts provided by the preset --px-font:

css
:root {
	// ...
	--px-font: 'Fusion Pixel Zh_hans', sans-serif;
}