Pin notes
This commit is contained in:
parent
de6080c3ad
commit
0b485e6cfe
4 changed files with 50 additions and 11 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue