<script setup lang="ts">
import { ralClassicPallette } from '@/components/ral'

const props = defineProps([ 'cb'])

</script>
<template>
    <template v-for="col in ralClassicPallette">
        <div class="picker-item" 
            :style="[{ backgroundColor: col.hex }]" @click="props.cb(col.code)">
        </div>
    </template>
</template>