feat: migrate ColorSwatch and public color boundary
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<script setup lang="ts">
|
||||
import { ColorSwatch } from "@heroui-vue/components";
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="flex items-center gap-3">
|
||||
<ColorSwatch aria-label="100% 不透明度" color="rgba(4, 133, 247, 1)" />
|
||||
<ColorSwatch aria-label="75% 不透明度" color="rgba(4, 133, 247, 0.75)" />
|
||||
<ColorSwatch aria-label="50% 不透明度" color="rgba(4, 133, 247, 0.5)" />
|
||||
<ColorSwatch aria-label="25% 不透明度" color="rgba(4, 133, 247, 0.25)" />
|
||||
<ColorSwatch aria-label="0% 不透明度" color="rgba(4, 133, 247, 0)" />
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user