This is an automated email from the ASF dual-hosted git repository.
andreww pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-docs.git
The following commit(s) were added to refs/heads/master by this push:
new a989749 Update jewel-theme-creation.md
a989749 is described below
commit a9897496cae77c1eac93550fca89363a5f2a7a24
Author: Andrew Wetmore <[email protected]>
AuthorDate: Sat Aug 10 18:53:45 2019 -0300
Update jewel-theme-creation.md
Edited the first 40 lines.
---
component-sets/jewel/jewel-theme-creation.md | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/component-sets/jewel/jewel-theme-creation.md
b/component-sets/jewel/jewel-theme-creation.md
index e20acad..b1ed91d 100644
--- a/component-sets/jewel/jewel-theme-creation.md
+++ b/component-sets/jewel/jewel-theme-creation.md
@@ -20,23 +20,23 @@ title: Jewel Theme Creation
# Jewel Theme Creation
-How to make a new Theme for Jewel
+How to make a new theme for Jewel
-Jewel is a component set designed with change of appearance in mind. Jewel
comes with a series of pre designed themes so it can be used directly without
the need for the user to create their own appearance. You can know more about
those themes [here](component-sets/jewel/jewel-themes.html). The Jewel Themes
that comes with Apache Royale define 12 colors, dark and light, flat / no-flat
visuals. However, on many occasions users will want a personalized look, either
adapting one of the them [...]
+Jewel is a component set designed with change of appearance in mind. Jewel
comes with a series of pre-designed themes so you can use it right away without
having to create your own theme. You can learn more about the existing themes
[here](component-sets/jewel/jewel-themes.html). The Jewel themes that come with
Apache Royale define 12 colors, dark and light, flat / no-flat visuals.
However, you may want a personalized look, and you can either adapt one of the
existing themes or create on [...]
## Theme Basics
Themes are a combination of files that define styles in [Cascading Style
Sheets
(CSS)](https://en.wikipedia.org/wiki/Cascading_Style_Sheets){:target='_blank'}
and other assets like images (JPG, PNG, SVG,...). In Jewel we use
[SASS](https://sass-lang.com){:target='_blank'} to define the CSS style rules
since is a preprocessor scripting language that is interpreted or compiled into
CSS.
-> You can create your own theme without the need of SASS, since is not
obligatory, but we strongly recommend to use it for the same reason you use AS3
instead of plain javascript
+> You can create your own theme without the need of SASS, since is not
obligatory, but we strongly recommend using it for the same reason we use AS3
instead of plain JavaScript.
-One of the advantages of using SASS is that we can organize style definitions
by separating styles into files. In Jewel we use a `.sass` file per component
so in that file we will find all the definitions of that component.
+One of the advantages of using SASS is that we can organize style definitions
by separating styles into files. In Jewel we use a `.sass` file per component
so we can easily find all the definitions of the style's components.
-## Generation of default.css file
+## Generating default.css
-`default.css` file is the resultant CSS file that holds all CSS definitions
for a jewel theme. This file is generated by the SASS compiler. When a library
with styles in it is compiled we use SASS to generate
`src/main/resuorces/default.css` file as part of the build process.
+The `default.css` file is the resuling CSS file that holds all CSS definitions
for a Jewel theme. This file is generated by the SASS compiler. When a library
with styles in it is compiled we use SASS to generate the
`src/main/resuorces/default.css` file as part of the build process.
-> SASS generation actually is only set up in Maven build. Not in ANT build.
Apache Royale generates all `default.css` files in the SDK and make them
available to users using ANT, other build tools or IDEs. In the future we
expect contributors add SASS generation for ANT so ANT processes can trigger
the generation of CSS.
+> SASS generation is only set up in the Maven build, not in the ANT build.
Apache Royale generates all `default.css` files in the SDK and makes them
available to users using ANT, other build tools or IDEs. In the future we
expect contributors to add SASS generation for ANT.
## Jewel Library