feat: use new color picker?

This commit is contained in:
fuwaa 2022-07-24 22:50:17 +08:00
parent 789624c35f
commit dbcb0239b5
No known key found for this signature in database
GPG key ID: 2E4F5DC11DE1D654

32
src/assets/styles/RC.css Normal file
View file

@ -0,0 +1,32 @@
/* Custom layout */
.custom-layout .react-colorful {
padding: 2px;
border-radius: 12px;
background: #33333a !important;
box-shadow: 0 6px 12px #999;
width: inherit;
height: inherit;
}
.custom-layout .react-colorful__saturation {
border-radius: 5px;
border-bottom: none;
width: inherit;
height: inherit;
margin: 5px 0;
}
.custom-layout .react-colorful__hue {
order: -1;
height: 14px;
border-radius: 5px;
}
.custom-layout .react-colorful__alpha {
display: none;
}
.custom-layout .react-colorful__hue-pointer,
.custom-layout .react-colorful__alpha-pointer {
width: 20px;
height: 20px;
}