This is an automated email from the ASF dual-hosted git repository. aharui pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit 7337e94f827335555b474eff67712987cc6b7ea2 Author: Alex Harui <[email protected]> AuthorDate: Wed Feb 21 13:52:05 2018 -0800 The browser defaults of serif and 16px are undesirable and unexpected for migrating Flex users. Add a basic.css theme with the type selectors that override browser defaults. More type selectors might be needed as we scrub the examples --- frameworks/air-config-template.xml | 1 + frameworks/flex-config-template.xml | 1 + frameworks/royale-config-template.xml | 1 + frameworks/themes/Basic/basic.css | 38 +++++++++++++++++++++++++++++++++++ 4 files changed, 41 insertions(+) diff --git a/frameworks/air-config-template.xml b/frameworks/air-config-template.xml index 0faa5d5..a58d503 100644 --- a/frameworks/air-config-template.xml +++ b/frameworks/air-config-template.xml @@ -283,6 +283,7 @@ <!-- List of CSS or SWC files to apply as a theme. --> <!-- not set --> <theme> + <filename>themes/Basic/basic.css</filename> </theme> <!-- Turns on the display of stack traces for uncaught runtime errors. --> diff --git a/frameworks/flex-config-template.xml b/frameworks/flex-config-template.xml index 38bfeab..0b49886 100644 --- a/frameworks/flex-config-template.xml +++ b/frameworks/flex-config-template.xml @@ -317,6 +317,7 @@ <!-- List of CSS or SWC files to apply as a theme. --> <theme> + <filename>themes/Basic/basic.css</filename> </theme> <!-- Turns on the display of stack traces for uncaught runtime errors. --> diff --git a/frameworks/royale-config-template.xml b/frameworks/royale-config-template.xml index 2fcdbe2..42bc3a8 100644 --- a/frameworks/royale-config-template.xml +++ b/frameworks/royale-config-template.xml @@ -317,6 +317,7 @@ <!-- List of CSS or SWC files to apply as a theme. --> <theme> + <filename>themes/Basic/basic.css</filename> </theme> <!-- Turns on the display of stack traces for uncaught runtime errors. --> diff --git a/frameworks/themes/Basic/basic.css b/frameworks/themes/Basic/basic.css new file mode 100644 index 0000000..05f06cb --- /dev/null +++ b/frameworks/themes/Basic/basic.css @@ -0,0 +1,38 @@ +/* + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +@namespace "library://ns.apache.org/royale/basic"; + +CheckBox +{ + font-size: 12px; + font-family: sans-serif; +} + +Label +{ + font-size: 12px; + font-family: sans-serif; +} + +RadioButton +{ + font-size: 12px; + font-family: sans-serif; +} -- To stop receiving notification emails like this one, please contact [email protected].
