mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 08:50:57 -05:00
Remove any reference to the obsolete icon-svg type.
This commit is contained in:
parent
388947d485
commit
82b658e7fe
2 changed files with 1 additions and 15 deletions
|
@ -16,15 +16,6 @@
|
||||||
[uxbox.library.icons.material-design-toggle :as md-toggle]
|
[uxbox.library.icons.material-design-toggle :as md-toggle]
|
||||||
))
|
))
|
||||||
|
|
||||||
(def ^:private +external+
|
|
||||||
[{:name "Custon icon"
|
|
||||||
:view-box [0 0 48 48]
|
|
||||||
:id (gensym "icon")
|
|
||||||
:type :builtin/icon-svg
|
|
||||||
:image {:xlink-href "http://s.cdpn.io/3/kiwi.svg"
|
|
||||||
:width 48
|
|
||||||
:height 48}}])
|
|
||||||
|
|
||||||
(def +collections+
|
(def +collections+
|
||||||
[{:name "Material design (actions)"
|
[{:name "Material design (actions)"
|
||||||
:builtin true
|
:builtin true
|
||||||
|
@ -85,8 +76,4 @@
|
||||||
{:name "Material design (Toggle)"
|
{:name "Material design (Toggle)"
|
||||||
:builtin true
|
:builtin true
|
||||||
:id 15
|
:id 15
|
||||||
:icons md-toggle/+icons+}
|
:icons md-toggle/+icons+}])
|
||||||
{:name "External icons"
|
|
||||||
:builtin true
|
|
||||||
:id 40
|
|
||||||
:icons +external+}])
|
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
(def ^:static ^:private +hierarchy+
|
(def ^:static ^:private +hierarchy+
|
||||||
(as-> (make-hierarchy) $
|
(as-> (make-hierarchy) $
|
||||||
(derive $ :builtin/icon ::shape)
|
(derive $ :builtin/icon ::shape)
|
||||||
(derive $ :builtin/icon-svg ::shape)
|
|
||||||
(derive $ :builtin/group ::shape)))
|
(derive $ :builtin/group ::shape)))
|
||||||
|
|
||||||
(defn shape?
|
(defn shape?
|
||||||
|
|
Loading…
Reference in a new issue