0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 00:10:11 -05:00

Add page-metadata defaults to constants namespace.

This commit is contained in:
Andrey Antukh 2016-12-26 22:14:05 +01:00
parent 87e19875e3
commit 7d9280d3da
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95

View file

@ -6,9 +6,6 @@
(ns uxbox.main.constants)
(def grid-x-axis 10)
(def grid-y-axis 10)
(def viewport-width 4000)
(def viewport-height 4000)
@ -17,3 +14,14 @@
(def canvas-scroll-padding 50)
(def canvas-start-scroll-x (- canvas-start-x canvas-scroll-padding))
(def canvas-start-scroll-y (- canvas-start-y canvas-scroll-padding))
(def grid-x-axis 10)
(def grid-y-axis 10)
(def page-metadata
"Default data for page metadata."
{:grid-x-axis grid-x-axis
:grid-y-axis grid-y-axis
:grid-color "#cccccc"
:grid-alignment true
:background "#ffffff"})