0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-01 03:49:22 -05:00

♻ Use dm/str

This commit is contained in:
Florian Schroedl 2024-12-10 17:15:40 +01:00
parent 5bac53ea03
commit 6e7a5e5c7f

View file

@ -7,6 +7,7 @@
(ns app.main.ui.workspace.tokens.sets (ns app.main.ui.workspace.tokens.sets
(:require-macros [app.main.style :as stl]) (:require-macros [app.main.style :as stl])
(:require (:require
[app.common.data.macros :as dm]
[app.common.types.tokens-lib :as ctob] [app.common.types.tokens-lib :as ctob]
[app.main.data.tokens :as wdt] [app.main.data.tokens :as wdt]
[app.main.refs :as refs] [app.main.refs :as refs]
@ -65,7 +66,7 @@
mixed? (= checked "mixed") mixed? (= checked "mixed")
checked? (or all? mixed?)] checked? (or all? mixed?)]
[:div {:role "checkbox" [:div {:role "checkbox"
:aria-checked (str checked) :aria-checked (dm/str checked)
:tabindex 0 :tabindex 0
:class (stl/css-case :checkbox-style true :class (stl/css-case :checkbox-style true
:checkbox-checked-style checked?) :checkbox-checked-style checked?)