Pin notes

This commit is contained in:
Joscha 2025-02-09 18:21:45 +01:00
parent de6080c3ad
commit 0b485e6cfe
4 changed files with 50 additions and 11 deletions

View file

@ -1,6 +1,13 @@
<script setup lang="ts">
const props = defineProps<{
inverted?: boolean;
}>();
</script>
<template>
<div
class="flex select-none items-center rounded-sm border bg-white p-0.5 transition hover:scale-110 active:scale-95"
class="flex select-none items-center rounded-sm border p-0.5 transition hover:scale-110 active:scale-95"
:class="props.inverted ? 'bg-black text-white' : 'bg-white text-black'"
>
<slot></slot>
</div>