Skip to content

Design Tokens

BaklaVue uses the Baklava Design System tokens. You can customize them via useBaklavaTheme().applyTheme() for a consistent, branded look.

Token Categories

CategoryDescriptionDocs
ColorsPrimary, semantic, and neutral colorsColors →
Border RadiusCorner roundness for componentsBorder Radius →
Size & SpacingSizes and spacing scaleSize & Spacing →
TypographyFont family, size, and weightTypography →
Z-IndexLayering for overlays and dialogsZ-Index →

Quick Example

vue
<script setup>
import { useBaklavaTheme } from "@baklavue/composables";

useBaklavaTheme().applyTheme({
  preset: "vue",
  borderRadius: { m: "0.5rem" },
  typography: { fontFamily: "'Inter', sans-serif" },
});
</script>

See useBaklavaTheme for the full API.