mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 08:50:57 -05:00
Merge remote-tracking branch 'origin/staging' into develop
This commit is contained in:
commit
288e6e1ea1
2 changed files with 3 additions and 4 deletions
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
## :rocket: Next
|
## :rocket: Next
|
||||||
|
|
||||||
### :boom: Breaking changes
|
|
||||||
### :sparkles: New features
|
### :sparkles: New features
|
||||||
### :bug: Bugs fixed
|
### :bug: Bugs fixed
|
||||||
### :arrow_up: Deps updates
|
### :arrow_up: Deps updates
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
;;; SHADOW EFFECT
|
;;; SHADOW EFFECT
|
||||||
|
|
||||||
(s/def ::id uuid?)
|
(s/def ::id (s/nilable uuid?))
|
||||||
(s/def ::style #{:drop-shadow :inner-shadow})
|
(s/def ::style #{:drop-shadow :inner-shadow})
|
||||||
(s/def ::offset-x ::us/safe-number)
|
(s/def ::offset-x ::us/safe-number)
|
||||||
(s/def ::offset-y ::us/safe-number)
|
(s/def ::offset-y ::us/safe-number)
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
(s/def ::file-id (s/nilable uuid?))
|
(s/def ::file-id (s/nilable uuid?))
|
||||||
(s/def ::ref-id (s/nilable uuid?))
|
(s/def ::ref-id (s/nilable uuid?))
|
||||||
|
|
||||||
(s/def ::shadow-color
|
(s/def :shadow/color
|
||||||
(s/keys :opt-un [::color
|
(s/keys :opt-un [::color
|
||||||
::opacity
|
::opacity
|
||||||
::gradient
|
::gradient
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
(s/def ::shadow-props
|
(s/def ::shadow-props
|
||||||
(s/keys :req-un [:internal.shadow/id
|
(s/keys :req-un [:internal.shadow/id
|
||||||
:internal.shadow/style
|
:internal.shadow/style
|
||||||
::shadow-color
|
:shadow/color
|
||||||
:internal.shadow/offset-x
|
:internal.shadow/offset-x
|
||||||
:internal.shadow/offset-y
|
:internal.shadow/offset-y
|
||||||
:internal.shadow/blur
|
:internal.shadow/blur
|
||||||
|
|
Loading…
Reference in a new issue