You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2020/06/12 08:53:13 UTC
[royale-asjs] branch develop updated: jewel-text: adding
font-weight styles
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 b818b9e jewel-text: adding font-weight styles
b818b9e is described below
commit b818b9e8fe2a880322c2e09c70304655d2697ead
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Fri Jun 12 10:53:01 2020 +0200
jewel-text: adding font-weight styles
---
.../JewelTheme/src/main/resources/defaults.css | 20 ++++++++++++++++++++
.../src/main/sass/components-primary/_text.sass | 15 +++++++++++++++
2 files changed, 35 insertions(+)
diff --git a/frameworks/themes/JewelTheme/src/main/resources/defaults.css b/frameworks/themes/JewelTheme/src/main/resources/defaults.css
index 6177520..404d507 100644
--- a/frameworks/themes/JewelTheme/src/main/resources/defaults.css
+++ b/frameworks/themes/JewelTheme/src/main/resources/defaults.css
@@ -1296,6 +1296,26 @@ a:active {
color: #063b5b;
}
+.weight-lightest {
+ font-weight: 100;
+}
+
+.weight-light {
+ font-weight: 300;
+}
+
+.weight-regular {
+ font-weight: 400;
+}
+
+.weight-bold {
+ font-weight: 600;
+}
+
+.weight-bolder {
+ font-weight: 800;
+}
+
h1 {
font-size: 2em;
margin: 0.8rem 0rem;
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 41aeea6..5be149b 100644
--- a/frameworks/themes/JewelTheme/src/main/sass/components-primary/_text.sass
+++ b/frameworks/themes/JewelTheme/src/main/sass/components-primary/_text.sass
@@ -34,6 +34,21 @@ a:active
.primary-darkest
color: darken($primary-color, 40%)
+.weight-lightest
+ font-weight: 100
+
+.weight-light
+ font-weight: 300
+
+.weight-regular
+ font-weight: 400
+
+.weight-bold
+ font-weight: 600
+
+.weight-bolder
+ font-weight: 800
+
h1
font-size: 2em
margin: .8rem 0rem