refactor: event editor color picker (#1400)

* refactor: event editor color picker

* refactor: throttle and debounce function signature
This commit is contained in:
Shobhit Nagpal
2024-12-27 15:27:48 +05:30
committed by GitHub
parent 7f39d035fd
commit 6bbf8ce795
8 changed files with 111 additions and 14 deletions
@@ -1,4 +1,7 @@
.swatch {
display: flex;
align-items: center;
justify-content: center;
width: 24px;
height: 24px;
border-radius: 12px;
@@ -14,3 +17,23 @@
box-shadow: 0 0 0 1px $blue-300;
}
.input {
color: $gray-200;
border: 1px solid transparent;
border-radius: 0 3px;
background-color: $gray-1200;
padding: 0 0.5rem;
font-size: 1rem;
height: 2rem;
outline: none;
&:hover {
background-color: $gray-1100;
}
&:focus {
background-color: $gray-1000;
color: $gray-50;
border: 1px solid $blue-500;
}
}