mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 13:56:39 +02:00
✨ Color picker improvements
This commit is contained in:
parent
9b4ffbaf0c
commit
e3f7e352d4
2 changed files with 16 additions and 2 deletions
|
@ -217,5 +217,19 @@
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.chrome-picker {
|
||||
font-family: inherit !important;
|
||||
|
||||
input {
|
||||
margin-bottom: auto;
|
||||
}
|
||||
|
||||
& > div:nth-child(2) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) {
|
||||
width: 25px !important;
|
||||
height: 25px !important;
|
||||
border-radius: 20px !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
[v]
|
||||
(try
|
||||
(into [] (gcolor/hexToRgb v))
|
||||
(catch js/Object e [0 0 0])))
|
||||
(catch :default e [0 0 0])))
|
||||
|
||||
(defn rgb->hex
|
||||
[[r g b]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue