Last active
December 23, 2015 08:29
-
-
Save nuno/6608540 to your computer and use it in GitHub Desktop.
My version of start development "app.tss" style file. AKA reset for Alloy styles.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "Window": { | |
| backgroundColor: "#fff" | |
| }, | |
| "Window[platform=android]":{ | |
| modal: false, // make android windows all heavyweight | |
| backgroundColor:"#fff", | |
| }, | |
| "Label[platform=android]": { | |
| color: "#000" // all platforms except Android default to black | |
| }, | |
| "Label": { | |
| width: Ti.UI.SIZE, | |
| height: Ti.UI.SIZE | |
| }, | |
| "Button": { | |
| height: Ti.UI.SIZE, | |
| width: Ti.UI.SIZE | |
| }, | |
| "ImageView[platform=ios]": { | |
| //preventDefaultImage: true // never show ugly image while loading remote IN PRODUCTION, BUT, comment out for dev. | |
| }, | |
| "TextField": { | |
| borderStyle: Ti.UI.INPUT_BORDERSTYLE_ROUNDED // common default style | |
| }, | |
| "TextField[platform=android]": { | |
| height: Ti.UI.SIZE | |
| }, | |
| // Values for start development, will'b RE-styled in appropriate files with Id's or class's | |
| // Reset this colors to "white" again for production | |
| "View": { | |
| width: Ti.UI.SIZE, | |
| height: Ti.UI.SIZE, | |
| backgroundColor: "gray" | |
| }, | |
| "TableView": { | |
| backgroundColor: "orange" | |
| }, | |
| "TableViewRow": { | |
| backgroundColor: "green" | |
| }, | |
| "ListView": { | |
| backgroundColor: "blue" | |
| }, | |
| "ListItem": { | |
| backgroundColor: "red" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment