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