mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
formatting
This commit is contained in:
parent
66170eb889
commit
46c73fe51f
2 changed files with 44 additions and 47 deletions
|
@ -1,14 +1,14 @@
|
|||
(ns app.main.ui.workspace.tokens.sets
|
||||
(:require-macros [app.main.style :as stl])
|
||||
(:require
|
||||
[app.main.ui.icons :as i]
|
||||
[app.common.data.macros :as dm]
|
||||
[app.main.store :as st]
|
||||
[app.main.ui.components.title-bar :refer [title-bar]]
|
||||
[app.main.ui.context :as ctx]
|
||||
[app.main.store :as st]
|
||||
[app.common.data.macros :as dm]
|
||||
[app.main.ui.icons :as i]
|
||||
[app.util.dom :as dom]
|
||||
[potok.v2.core :as ptk]
|
||||
[okulary.core :as l]
|
||||
[potok.v2.core :as ptk]
|
||||
[rumext.v2 :as mf]))
|
||||
|
||||
|
||||
|
@ -65,8 +65,7 @@
|
|||
on-click
|
||||
(mf/use-fn
|
||||
(mf/deps type set-id)
|
||||
#(st/emit! (set-current-set set-id))
|
||||
)]
|
||||
#(st/emit! (set-current-set set-id)))]
|
||||
[:div {:class (stl/css :set-item-container)
|
||||
:on-click on-click}
|
||||
[:div {:class (stl/css-case :set-item-group (= type :group)
|
||||
|
|
|
@ -51,10 +51,10 @@
|
|||
/*&:hover{
|
||||
box-shadow: 20px 0 0 0 var(--layer-row-background-color-hover);
|
||||
}*/
|
||||
|
||||
}
|
||||
|
||||
.set-item-set, .set-item-group {
|
||||
.set-item-set,
|
||||
.set-item-group {
|
||||
@include bodySmallTypography;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
@ -90,7 +90,6 @@
|
|||
background-color: var(--layer-row-background-color-hover);
|
||||
color: var(--layer-row-foreground-color-hover);
|
||||
box-shadow: -100px 0 0 0 var(--layer-row-background-color-hover);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -137,7 +136,6 @@
|
|||
background-color: var(--layer-row-background-color-hover);
|
||||
color: var(--layer-row-foreground-color-hover);
|
||||
box-shadow: -100px 0 0 0 var(--layer-row-background-color-hover);
|
||||
|
||||
}
|
||||
}
|
||||
.action-btn {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue