Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removing the confusing static-style-guide stuff #157

Merged
merged 1 commit into from
Oct 5, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 16 additions & 29 deletions docs/templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ styleDictionary.buildAllPlatforms();

[lib/common/templates.js](https://github.com/amzn/style-dictionary/blob/master/lib/common/templates.js)

### android/colors
### android/colors


Creates a color resource xml file with all the colors in your style dictionary.
Expand All @@ -76,7 +76,7 @@ Creates a color resource xml file with all the colors in your style dictionary.

* * *

### android/dimens
### android/dimens


Creates a dimen resource xml file with all the sizes in your style dictionary.
Expand All @@ -92,7 +92,7 @@ Creates a dimen resource xml file with all the sizes in your style dictionary.

* * *

### android/fontDimens
### android/fontDimens


Creates a dimen resource xml file with all the font sizes in your style dictionary.
Expand All @@ -108,7 +108,7 @@ Creates a dimen resource xml file with all the font sizes in your style dictiona

* * *

### android/integers
### android/integers


Creates a resource xml file with all the integers in your style dictionary. It filters your
Expand All @@ -129,7 +129,7 @@ style properties by `prop.attributes.category === 'time'`

* * *

### android/strings
### android/strings


Creates a resource xml file with all the strings in your style dictionary. Filters your
Expand All @@ -146,7 +146,7 @@ style properties by `prop.attributes.category === 'content'`

* * *

### ios/macros
### ios/macros


Creates an Objective-C header file with macros for style properties
Expand All @@ -162,7 +162,7 @@ Creates an Objective-C header file with macros for style properties

* * *

### ios/plist
### ios/plist


Creates an Objective-C plist file
Expand All @@ -174,7 +174,7 @@ Creates an Objective-C plist file

* * *

### ios/singleton.m
### ios/singleton.m


Creates an Objective-C implementation file of a style dictionary singleton class
Expand All @@ -186,7 +186,7 @@ Creates an Objective-C implementation file of a style dictionary singleton class

* * *

### ios/singleton.h
### ios/singleton.h


Creates an Objective-C header file of a style dictionary singleton class
Expand All @@ -198,7 +198,7 @@ Creates an Objective-C header file of a style dictionary singleton class

* * *

### ios/static.h
### ios/static.h


Creates an Objective-C header file of a static style dictionary class
Expand All @@ -210,7 +210,7 @@ Creates an Objective-C header file of a static style dictionary class

* * *

### ios/static.m
### ios/static.m


Creates an Objective-C implementation file of a static style dictionary class
Expand All @@ -222,7 +222,7 @@ Creates an Objective-C implementation file of a static style dictionary class

* * *

### ios/colors.h
### ios/colors.h


Creates an Objective-C header file of a color class
Expand All @@ -234,7 +234,7 @@ Creates an Objective-C header file of a color class

* * *

### ios/colors.m
### ios/colors.m


Creates an Objective-C implementation file of a color class
Expand All @@ -246,7 +246,7 @@ Creates an Objective-C implementation file of a color class

* * *

### ios/strings.h
### ios/strings.h


Creates an Objective-C header file of strings
Expand All @@ -258,7 +258,7 @@ Creates an Objective-C header file of strings

* * *

### ios/strings.m
### ios/strings.m


Creates an Objective-C implementation file of strings
Expand All @@ -270,7 +270,7 @@ Creates an Objective-C implementation file of strings

* * *

### css/fonts.css
### css/fonts.css


Creates CSS file with @font-face declarations
Expand All @@ -281,16 +281,3 @@ Creates CSS file with @font-face declarations


* * *

### static-style-guide/index.html


Creates a generic static html page

**Todo**

- Add example and usage


* * *

7 changes: 0 additions & 7 deletions example/complete/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@
ios/assets
ios/Classes/Generated

# Style Dictionary Generated Files (static-style-guide)
static-style-guide/public/js/style-dictionary-properties.js
static-style-guide/public/css/fonts.css
static-style-guide/public/css/variables.css
static-style-guide/public/assets
static-style-guide/public/index.html

# OS X
.DS_Store

Expand Down
31 changes: 0 additions & 31 deletions example/complete/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,37 +107,6 @@
"format": "json"
}],
"actions": ["copy_assets"]
},

"staticStyleGuide-html":{
"buildPath": "static-style-guide/public/",
"files": [
{
"destination": "index.html",
"template": "static-style-guide/index.html"
}
],
"actions": ["copy_assets"]
},
"staticStyleGuide-js": {
"transformGroup": "web",
"buildPath": "static-style-guide/public/js/",
"files": [{
"name": "__style_properties",
"destination": "style-dictionary-properties.js",
"format": "javascript/object"
}]
},
"staticStyleGuide-css": {
"transformGroup": "scss",
"buildPath": "static-style-guide/public/css/",
"files": [{
"destination": "fonts.css",
"template": "css/fonts.css"
},{
"destination": "variables.css",
"format": "css/variables"
}]
}
}
}
Loading