mirror of
https://github.com/penpot/penpot.git
synced 2026-05-02 06:38:20 +00:00
🐛 Fix selected colors with tokens (#8889)
This commit is contained in:
parent
666313c2c3
commit
5b78de3594
@ -38,6 +38,7 @@
|
||||
- Fix opacity incorrectly disabled for visible shapes [Taiga #13906](https://tree.taiga.io/project/penpot/issue/13906)
|
||||
- Update onboarding image [Taiga #13864](https://tree.taiga.io/project/penpot/issue/13864)
|
||||
- Fix hot update on color-row on texts [Taiga #13923](https://tree.taiga.io/project/penpot/issue/13923)
|
||||
- Fix selected color tokens [Taiga #13930](https://tree.taiga.io/project/penpot/issue/13930)
|
||||
|
||||
## 2.15.0 (Unreleased)
|
||||
|
||||
|
||||
@ -95,7 +95,13 @@
|
||||
[raw-tokens input-type]
|
||||
(delay
|
||||
(let [raw-tokens (deref raw-tokens)
|
||||
key-order (get cto/tokens-by-input input-type)]
|
||||
key-order (case input-type
|
||||
:color-selection
|
||||
(concat
|
||||
(get cto/tokens-by-input :fill)
|
||||
(get cto/tokens-by-input :stroke-color))
|
||||
|
||||
(get cto/tokens-by-input input-type))]
|
||||
(-> (reduce (fn [acc k]
|
||||
(if (contains? raw-tokens k)
|
||||
(assoc acc k (get raw-tokens k))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user