docs: 编写 color-picker 文档

This commit is contained in:
就眠儀式
2022-02-19 16:39:59 +08:00
parent d64fdd71e6
commit ffecfa43a4
2 changed files with 37 additions and 5 deletions

View File

@@ -109,7 +109,7 @@ export interface LayColorPicker {
}
const props = withDefaults(defineProps<LayColorPicker>(), {
modelValue: { r: 217, g: 128, b: 95, a: 1 },
modelValue: { r: 255, g: 255, b: 255, a: 1 },
preset: ["#009688", "#1e9fff", "#ffb800", "#ff5722", "#5fb878"],
});