This is an automated email from the ASF dual-hosted git repository.

carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 4f0d822  jewel-headings: fix margins to avoid extra spaces
4f0d822 is described below

commit 4f0d822ed5b253b885b4b1f95a438bce9a5c3ec1
Author: Carlos Rovira <[email protected]>
AuthorDate: Sun Feb 23 13:57:40 2020 +0100

    jewel-headings: fix margins to avoid extra spaces
---
 .../main/sass/components-primary/_application.sass | 21 ----------------
 .../src/main/sass/components-primary/_text.sass    | 28 +++++++++++++++++++++-
 2 files changed, 27 insertions(+), 22 deletions(-)

diff --git 
a/frameworks/themes/JewelTheme/src/main/sass/components-primary/_application.sass
 
b/frameworks/themes/JewelTheme/src/main/sass/components-primary/_application.sass
index 7cb8cc2..aee8003 100644
--- 
a/frameworks/themes/JewelTheme/src/main/sass/components-primary/_application.sass
+++ 
b/frameworks/themes/JewelTheme/src/main/sass/components-primary/_application.sass
@@ -39,27 +39,6 @@ j|Form
 input, select, textarea, button
        font-family: inherit
 
-h1
-       font-size: 2.5em
-
-h2
-       font-size: 2em
-
-h3
-       font-size: 1.5em
-
-h4
-       font-size: 1.25em
-
-h5
-       font-size: 1em
-
-span
-       font-size: 1em
-
-div
-       font-size: 14px
-
 hr
        background-color: $default-color
 
diff --git 
a/frameworks/themes/JewelTheme/src/main/sass/components-primary/_text.sass 
b/frameworks/themes/JewelTheme/src/main/sass/components-primary/_text.sass
index 5ecd810..41aeea6 100644
--- a/frameworks/themes/JewelTheme/src/main/sass/components-primary/_text.sass
+++ b/frameworks/themes/JewelTheme/src/main/sass/components-primary/_text.sass
@@ -32,4 +32,30 @@ a:active
 .primary-dark
     color: darken($primary-color, 20%)
 .primary-darkest
-    color: darken($primary-color, 40%)
\ No newline at end of file
+    color: darken($primary-color, 40%)
+
+h1
+    font-size: 2em
+    margin: .8rem 0rem
+
+h2
+    font-size: 2em
+    margin: .58rem 0rem
+
+h3
+    font-size: 1.5em
+    margin: .408rem 0rem
+
+h4
+    font-size: 1.25em
+    margin: .35rem 0rem
+
+h5
+    font-size: 1em
+    margin: .2rem 0rem
+
+span
+    font-size: 1em
+
+div
+    font-size: 14px
\ No newline at end of file

Reply via email to