开源库
扩展插件
Appearance
获取基础色对应的浅色板,根据索引值获取当前索引色阶的调色板
<script setup> import { colorPalette } from "@/uni_modules/ucs-color"; // #EFE8FF console.log(colorPalette("#604cfc",1)) </script>