Theming docs progress update

This commit is contained in:
Cagatay Civici 2024-03-31 02:15:56 +03:00
parent a7c3bf15e3
commit a9df0acc65
21 changed files with 788 additions and 11 deletions

View file

@ -0,0 +1,27 @@
<template>
<DocSectionText v-bind="$attrs">
<p>
Presets use the native font stack by default for optimal rendering depending on the platform. If you have installed a specific font stack in your application, use the <i>fontFamily</i> and the optional <i>fontVariationSettings</i> tokens
to define your custom font for PrimeVue components. As example, let's configure the popular <i>Inter</i> for PrimeVue.
</p>
</DocSectionText>
<DocSectionCode :code="code" hideToggleCode importCode hideStackBlitz />
</template>
<script>
export default {
data() {
return {
code: {
basic: `
const MyPreset = definePreset(Aura, {
semantic: {
fontFamily: 'Inter, sans-serif'
}
});
`
}
};
}
};
</script>