mirror of
https://github.com/hex248/sprint.git
synced 2026-02-08 02:33:01 +00:00
colour picker component
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
/** biome-ignore-all lint/complexity/noImportantStyles: <needs it because the initial styles are in the component> */
|
||||
@import "./fonts.css";
|
||||
|
||||
@import "tailwindcss";
|
||||
@@ -161,3 +162,35 @@
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
/* react-colorful */
|
||||
.react-colorful {
|
||||
width: 150px !important;
|
||||
height: 150px !important;
|
||||
}
|
||||
|
||||
.react-colorful__saturation {
|
||||
border-radius: 0 !important;
|
||||
/* cursor: pointer; */
|
||||
}
|
||||
|
||||
.react-colorful__last-control {
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
|
||||
.react-colorful__saturation-pointer {
|
||||
width: 16px !important;
|
||||
height: 16px !important;
|
||||
border: 1px solid white !important;
|
||||
}
|
||||
|
||||
.react-colorful__hue {
|
||||
height: 10px !important;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.react-colorful__hue-pointer {
|
||||
width: 16px !important;
|
||||
height: 16px !important;
|
||||
border: 1px solid white !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user