<script setup>
defineProps({
  ordered: {
    type: Boolean,
    default: false
  }
})
</script>

<template>
  <component
    :is="ordered ? 'ol' : 'ul'"
    class="prose-list mb-2.5 list-none space-y-2 pl-0 text-[15px] leading-8 text-[var(--site-text)]"
  >
    <slot />
  </component>
</template>
