primevue-mirror/apps/showcase/components/layout/designer/primitive/DesignBorderRadius.vue

31 lines
1.2 KiB
Vue

<template>
<Fieldset legend="Rounded" :toggleable="true">
<section class="grid grid-cols-4 mb-3 gap-2">
<div class="flex flex-col gap-1">
<DesignTokenField v-model="$preset.primitive.borderRadius.none" label="None" />
</div>
<div class="flex flex-col gap-1">
<DesignTokenField v-model="$preset.primitive.borderRadius.xs" label="Extra Small" />
</div>
<div class="flex flex-col gap-1">
<DesignTokenField v-model="$preset.primitive.borderRadius.sm" label="Small" />
</div>
<div class="flex flex-col gap-1">
<DesignTokenField v-model="$preset.primitive.borderRadius.md" label="Medium" />
</div>
<div class="flex flex-col gap-1">
<DesignTokenField v-model="$preset.primitive.borderRadius.lg" label="Large" />
</div>
<div class="flex flex-col gap-1">
<DesignTokenField v-model="$preset.primitive.borderRadius.xl" label="Extra Large" />
</div>
</section>
</Fieldset>
</template>
<script>
export default {
inject: ['$preset']
};
</script>