From b3b2f5db2b7f223aa4935f66184c6436c7558373 Mon Sep 17 00:00:00 2001 From: Charles Dorner Date: Thu, 4 Oct 2018 13:12:03 -0700 Subject: [PATCH] removing the confusing static-style-guide stuff --- docs/templates.md | 45 +- example/complete/.gitignore | 7 - example/complete/config.json | 31 -- .../static-style-guide/public/css/main.css | 214 -------- .../public/css/normalize.css | 461 ------------------ .../static-style-guide/public/js/main.js | 143 ------ lib/common/templates.js | 11 - 7 files changed, 16 insertions(+), 896 deletions(-) delete mode 100644 example/complete/static-style-guide/public/css/main.css delete mode 100644 example/complete/static-style-guide/public/css/normalize.css delete mode 100644 example/complete/static-style-guide/public/js/main.js diff --git a/docs/templates.md b/docs/templates.md index 1ed518e58..7d5d580b5 100644 --- a/docs/templates.md +++ b/docs/templates.md @@ -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. @@ -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. @@ -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. @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 - - -* * * - diff --git a/example/complete/.gitignore b/example/complete/.gitignore index e7a6dc0d4..d77d44170 100644 --- a/example/complete/.gitignore +++ b/example/complete/.gitignore @@ -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 diff --git a/example/complete/config.json b/example/complete/config.json index 3e875518c..92dad20df 100644 --- a/example/complete/config.json +++ b/example/complete/config.json @@ -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" - }] } } } diff --git a/example/complete/static-style-guide/public/css/main.css b/example/complete/static-style-guide/public/css/main.css deleted file mode 100644 index 75d23b071..000000000 --- a/example/complete/static-style-guide/public/css/main.css +++ /dev/null @@ -1,214 +0,0 @@ -/* -// Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"). -// You may not use this file except in compliance with the License. -// A copy of the License is located at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// or in the "license" file accompanying this file. This file 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. -*/ - -:root { - --nav-bar-height: calc( var(--size-padding-tiny) + var(--size-padding-xxl)); - --style-menu-bar-height: calc(3.25 * var(--size-padding-tiny) + var(--size-padding-large)); - --min-body-width: calc(25 * var(--size-padding-xl)); -} - -html, body { - min-width: var(--min-body-width); - background: var(--color-background-base); - color: var(--color-font-base); - font-family: var(--font-family-base); -} - -body { - margin-top: calc( var(--nav-bar-height) + var(--style-menu-bar-height) ); -} - - -.inverse { - background: var(--color-background-inverse); - color: var(--color-font-inverse-base); -} - - -.hidden { - display: none; -} - -.collapsed > div { - display: none; -} - -.icon-font { - font-style: inherit; - font-family: var(--font-family-icons); - display: inline-block; - margin-left: var(--size-padding-medium); - vertical-align: middle; - font-size: var(--size-font-xl); -} - - - -.nav-bar { - position: fixed; - top: 0; - height: var(--nav-bar-height); - width: 100%; - min-width: var(--min-body-width); - box-sizing: border-box; - padding: var(--size-padding-small) var(--size-padding-base); - border-bottom: 1px solid var(--color-base-grey-800); - background: var(--color-brand-primary-base); - color: var(--color-font-inverse-tertiary); - font-weight: 100; - z-index: 1; -} - -.title { - float: left; - font-size: var(--size-font-xl); - margin-top: var(--size-padding-tiny); -} - -.nav-search { - text-align: right; - font-size: var(--size-font-medium); - margin-top: var(--size-padding-tiny); -} - -.search-box { - padding-left: var(--size-padding-tiny); - padding-right: var(--size-padding-tiny); -} - - - - -.styleMenu { - position: fixed; - top: var(--nav-bar-height); - height: var(--style-menu-bar-height); - overflow: hidden; - width: 100%; - border-bottom: 1px solid var(--color-base-grey-900); - background: var(--color-brand-secondary-base); - z-index: 1; -} - -.key { - float: left; - height: var(--style-menu-bar-height); - padding: 0 var(--size-padding-small); - line-height: var(--style-menu-bar-height); - border-right: 1px solid var(--color-base-grey-500); - font-size: var(--size-font-medium); -} - -.key.selected { - font-weight: bold; -} - -.key.selected.last-selected::after { - content: "\2715"; - display: inline-block; - margin: 0 var(--size-padding-small); - font-size: var(--size-font-small); -} - - - - -.style-guide { - border-bottom: 1px solid var(--color-base-grey-400); -} - -.style-guide-property { - padding: var(--size-padding-base); - border-top: 1px solid var(--color-base-grey-400); - box-sizing: border-box; -} - -.style-guide-property:first-of-type { - border-top: 0; -} - -.style-guide-property::after { - content: ""; - clear: both; -} - -.style-guide-property-path { - display: inline-block; - vertical-align: middle; -} - -.style-guide-property-value { - float: right; -} - -.style-guide-property .style-guide-property-attributes-control { - display: inline-block; - width: var(--size-font-medium); - height: var(--size-font-medium); - - -webkit-transform: rotate(90deg); - -moz-transform: rotate(90deg); - -ms-transform: rotate(90deg); - -o-transform: rotate(90deg); - transform: rotate(90deg); - -webkit-transform-origin: 50% 50%; - -moz-transform-origin: 50% 50%; - -ms-transform-origin: 50% 50%; - -o-transform-origin: 50% 50%; - transform-origin: 50% 50%; - -webkit-transition: 80ms linear all; - -moz-transition: 80ms linear all; - -ms-transition: 80ms linear all; - -o-transition: 80ms linear all; - transition: 80ms linear all; - - margin-left: var(--size-padding-tiny); - margin-top: 0; - box-sizing: border-box; - overflow: hidden; - vertical-align: middle; -} - -.style-guide-property .style-guide-property-attributes-control::after { - content: "\25b6"; -} - -.style-guide-property.minimized .style-guide-property-attributes-control { - -webkit-transform: rotate(180deg); - -moz-transform: rotate(180deg); - -ms-transform: rotate(180deg); - -o-transform: rotate(180deg); - transform: rotate(180deg); -} - -.style-guide-property .style-guide-property-attributes { - height: auto; - padding-top: var(--size-padding-small); - overflow: hidden; - text-align: right; -} - -.style-guide-property.minimized .style-guide-property-attributes { - height: 0; - padding-top: 0; -} - -.style-guide-property-name { - display: none; -} - -.style-guide-property-name { - display: none; -} diff --git a/example/complete/static-style-guide/public/css/normalize.css b/example/complete/static-style-guide/public/css/normalize.css deleted file mode 100644 index 4cc15c119..000000000 --- a/example/complete/static-style-guide/public/css/normalize.css +++ /dev/null @@ -1,461 +0,0 @@ -/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */ - -/* Document - ========================================================================== */ - -/** - * 1. Change the default font family in all browsers (opinionated). - * 2. Correct the line height in all browsers. - * 3. Prevent adjustments of font size after orientation changes in - * IE on Windows Phone and in iOS. - */ - -html { - font-family: sans-serif; /* 1 */ - line-height: 1.15; /* 2 */ - -ms-text-size-adjust: 100%; /* 3 */ - -webkit-text-size-adjust: 100%; /* 3 */ -} - -/* Sections - ========================================================================== */ - -/** - * Remove the margin in all browsers (opinionated). - */ - -body { - margin: 0; -} - -/** - * Add the correct display in IE 9-. - */ - -article, -aside, -footer, -header, -nav, -section { - display: block; -} - -/** - * Correct the font size and margin on `h1` elements within `section` and - * `article` contexts in Chrome, Firefox, and Safari. - */ - -h1 { - font-size: 2em; - margin: 0.67em 0; -} - -/* Grouping content - ========================================================================== */ - -/** - * Add the correct display in IE 9-. - * 1. Add the correct display in IE. - */ - -figcaption, -figure, -main { /* 1 */ - display: block; -} - -/** - * Add the correct margin in IE 8. - */ - -figure { - margin: 1em 40px; -} - -/** - * 1. Add the correct box sizing in Firefox. - * 2. Show the overflow in Edge and IE. - */ - -hr { - box-sizing: content-box; /* 1 */ - height: 0; /* 1 */ - overflow: visible; /* 2 */ -} - -/** - * 1. Correct the inheritance and scaling of font size in all browsers. - * 2. Correct the odd `em` font sizing in all browsers. - */ - -pre { - font-family: monospace, monospace; /* 1 */ - font-size: 1em; /* 2 */ -} - -/* Text-level semantics - ========================================================================== */ - -/** - * 1. Remove the gray background on active links in IE 10. - * 2. Remove gaps in links underline in iOS 8+ and Safari 8+. - */ - -a { - background-color: transparent; /* 1 */ - -webkit-text-decoration-skip: objects; /* 2 */ -} - -/** - * Remove the outline on focused links when they are also active or hovered - * in all browsers (opinionated). - */ - -a:active, -a:hover { - outline-width: 0; -} - -/** - * 1. Remove the bottom border in Firefox 39-. - * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. - */ - -abbr[title] { - border-bottom: none; /* 1 */ - text-decoration: underline; /* 2 */ - text-decoration: underline dotted; /* 2 */ -} - -/** - * Prevent the duplicate application of `bolder` by the next rule in Safari 6. - */ - -b, -strong { - font-weight: inherit; -} - -/** - * Add the correct font weight in Chrome, Edge, and Safari. - */ - -b, -strong { - font-weight: bolder; -} - -/** - * 1. Correct the inheritance and scaling of font size in all browsers. - * 2. Correct the odd `em` font sizing in all browsers. - */ - -code, -kbd, -samp { - font-family: monospace, monospace; /* 1 */ - font-size: 1em; /* 2 */ -} - -/** - * Add the correct font style in Android 4.3-. - */ - -dfn { - font-style: italic; -} - -/** - * Add the correct background and color in IE 9-. - */ - -mark { - background-color: #ff0; - color: #000; -} - -/** - * Add the correct font size in all browsers. - */ - -small { - font-size: 80%; -} - -/** - * Prevent `sub` and `sup` elements from affecting the line height in - * all browsers. - */ - -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} - -sub { - bottom: -0.25em; -} - -sup { - top: -0.5em; -} - -/* Embedded content - ========================================================================== */ - -/** - * Add the correct display in IE 9-. - */ - -audio, -video { - display: inline-block; -} - -/** - * Add the correct display in iOS 4-7. - */ - -audio:not([controls]) { - display: none; - height: 0; -} - -/** - * Remove the border on images inside links in IE 10-. - */ - -img { - border-style: none; -} - -/** - * Hide the overflow in IE. - */ - -svg:not(:root) { - overflow: hidden; -} - -/* Forms - ========================================================================== */ - -/** - * 1. Change the font styles in all browsers (opinionated). - * 2. Remove the margin in Firefox and Safari. - */ - -button, -input, -optgroup, -select, -textarea { - font-family: sans-serif; /* 1 */ - font-size: 100%; /* 1 */ - line-height: 1.15; /* 1 */ - margin: 0; /* 2 */ -} - -/** - * Show the overflow in IE. - * 1. Show the overflow in Edge. - */ - -button, -input { /* 1 */ - overflow: visible; -} - -/** - * Remove the inheritance of text transform in Edge, Firefox, and IE. - * 1. Remove the inheritance of text transform in Firefox. - */ - -button, -select { /* 1 */ - text-transform: none; -} - -/** - * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video` - * controls in Android 4. - * 2. Correct the inability to style clickable types in iOS and Safari. - */ - -button, -html [type="button"], /* 1 */ -[type="reset"], -[type="submit"] { - -webkit-appearance: button; /* 2 */ -} - -/** - * Remove the inner border and padding in Firefox. - */ - -button::-moz-focus-inner, -[type="button"]::-moz-focus-inner, -[type="reset"]::-moz-focus-inner, -[type="submit"]::-moz-focus-inner { - border-style: none; - padding: 0; -} - -/** - * Restore the focus styles unset by the previous rule. - */ - -button:-moz-focusring, -[type="button"]:-moz-focusring, -[type="reset"]:-moz-focusring, -[type="submit"]:-moz-focusring { - outline: 1px dotted ButtonText; -} - -/** - * Change the border, margin, and padding in all browsers (opinionated). - */ - -fieldset { - border: 1px solid #c0c0c0; - margin: 0 2px; - padding: 0.35em 0.625em 0.75em; -} - -/** - * 1. Correct the text wrapping in Edge and IE. - * 2. Correct the color inheritance from `fieldset` elements in IE. - * 3. Remove the padding so developers are not caught out when they zero out - * `fieldset` elements in all browsers. - */ - -legend { - box-sizing: border-box; /* 1 */ - color: inherit; /* 2 */ - display: table; /* 1 */ - max-width: 100%; /* 1 */ - padding: 0; /* 3 */ - white-space: normal; /* 1 */ -} - -/** - * 1. Add the correct display in IE 9-. - * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera. - */ - -progress { - display: inline-block; /* 1 */ - vertical-align: baseline; /* 2 */ -} - -/** - * Remove the default vertical scrollbar in IE. - */ - -textarea { - overflow: auto; -} - -/** - * 1. Add the correct box sizing in IE 10-. - * 2. Remove the padding in IE 10-. - */ - -[type="checkbox"], -[type="radio"] { - box-sizing: border-box; /* 1 */ - padding: 0; /* 2 */ -} - -/** - * Correct the cursor style of increment and decrement buttons in Chrome. - */ - -[type="number"]::-webkit-inner-spin-button, -[type="number"]::-webkit-outer-spin-button { - height: auto; -} - -/** - * 1. Correct the odd appearance in Chrome and Safari. - * 2. Correct the outline style in Safari. - */ - -[type="search"] { - -webkit-appearance: textfield; /* 1 */ - outline-offset: -2px; /* 2 */ -} - -/** - * Remove the inner padding and cancel buttons in Chrome and Safari on macOS. - */ - -[type="search"]::-webkit-search-cancel-button, -[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} - -/** - * 1. Correct the inability to style clickable types in iOS and Safari. - * 2. Change font properties to `inherit` in Safari. - */ - -::-webkit-file-upload-button { - -webkit-appearance: button; /* 1 */ - font: inherit; /* 2 */ -} - -/* Interactive - ========================================================================== */ - -/* - * Add the correct display in IE 9-. - * 1. Add the correct display in Edge, IE, and Firefox. - */ - -details, /* 1 */ -menu { - display: block; -} - -/* - * Add the correct display in all browsers. - */ - -summary { - display: list-item; -} - -/* Scripting - ========================================================================== */ - -/** - * Add the correct display in IE 9-. - */ - -canvas { - display: inline-block; -} - -/** - * Add the correct display in IE. - */ - -template { - display: none; -} - -/* Hidden - ========================================================================== */ - -/** - * Add the correct display in IE 10-. - */ - -[hidden] { - display: none; -} \ No newline at end of file diff --git a/example/complete/static-style-guide/public/js/main.js b/example/complete/static-style-guide/public/js/main.js deleted file mode 100644 index 6331f9951..000000000 --- a/example/complete/static-style-guide/public/js/main.js +++ /dev/null @@ -1,143 +0,0 @@ -// -// Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"). -// You may not use this file except in compliance with the License. -// A copy of the License is located at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// or in the "license" file accompanying this file. This file 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. - -$(function () { - - var debounceSearchTimeout; - var debounceSearch = function () { - clearTimeout(debounceSearchTimeout); - debounceSearchTimeout = setTimeout(doSearch, 300); - }; - var doSearch = function () { - if(!$('.use_path')[0].checked && !$('.use_value')[0].checked && !$('.use_attributes')[0].checked) { - alert('Search error: you can only perform a search with at least one field checked.'); - return; - } - - var $e = $('.search-box'); - var searchVals = $e.val().split(" "); - - $('.style-guide-property.search-hidden').removeClass('search-hidden').not('.nav-hidden').removeClass('hidden'); - - if(!$('.use_attributes')[0].checked) { - $('.style-guide-property').addClass('minimized'); - } - - $('.style-guide-property').each(function (i, e) { - var $e = $(e); - var hidden = false; - var foundInAttribute; - - searchVals.some(function (searchVal) { - foundInAttribute = $e.find('.style-guide-property-attributes').text().indexOf(searchVal)>-1; - if( - (!$('.use_path')[0].checked || $e.find('.style-guide-property-path').text().indexOf(searchVal) === -1) - && - (!$('.use_value')[0].checked || $e.find('.style-guide-property-value').text().indexOf(searchVal) === -1) - && - (!$('.use_attributes')[0].checked || !foundInAttribute) - ) { - hidden = true; - return true; - } - }); - - if(hidden) { - $e.addClass('search-hidden hidden'); - } - else if($('.use_attributes')[0].checked && foundInAttribute) { - $e.removeClass('minimized'); - } - }); - }; - - $('.search-box').on('keyup',debounceSearch); - $('.search-modifier').on('click',doSearch); - - $('.style-guide-property-attributes-control').on('click',function (e) { - var $property = $(e.target).closest('.style-guide-property'); - - $property.toggleClass('minimized'); - }); - - - var DEFAULT_PATH = '__ROOT'; - var SEPARATOR = '-'; - var buildStyleMenuHTMLRecursive = function(styleObject, owner) { - if(styleObject.value) { - return ""; - } - else { - var toPrefix; - if(!owner) { - toPrefix = DEFAULT_PATH; - owner = ""; - } - else { - toPrefix = owner; - owner += SEPARATOR; - } - - var keys = Object.keys(styleObject); - var keysHTML = keys.map(function (key) { - return '
' + key + '
' + buildStyleMenuHTMLRecursive(styleObject[key], owner + key); - }); - return keysHTML.join("\n"); - } - }; - - var styleMenu = buildStyleMenuHTMLRecursive(__style_properties); - - $(document.body).prepend('
' + styleMenu + '
'); - $('.key').addClass('hidden'); - $('.key[data-owner=' + DEFAULT_PATH + ']').removeClass('hidden'); - - var currPath = ""; - $('.key').on('click', function (e) { - var $e = $(e.target); - - var owner = $e.attr('data-owner'); - var value = $e.attr('data-value'); - var newPath = (owner===DEFAULT_PATH ? value : owner+SEPARATOR+value ); - if(newPath===currPath) { - newPath = newPath.split(SEPARATOR); - newPath.pop(); - newPath = newPath.join(SEPARATOR); - if(newPath==='') { - newPath = DEFAULT_PATH; - } - } - - currPath = newPath; - $('.key').removeClass('selected last-selected').addClass('hidden'); - - var buildPath = ''; - var currPathArr = currPath.split(SEPARATOR); - currPathArr.forEach(function (key, i) { - $('.key[data-owner=' + (buildPath || DEFAULT_PATH) + '][data-value=' + key + ']').removeClass('hidden').addClass('selected' + (i===currPathArr.length-1 ? ' last-selected' : '')); - buildPath += (buildPath ? SEPARATOR+key : key); - }); - - if(buildPath) { - $('.key[data-owner=' + buildPath + ']').removeClass('hidden'); - $('.style-guide-property').addClass('nav-hidden hidden'); - if(buildPath===DEFAULT_PATH) { - $('.style-guide-property.nav-hidden').removeClass('nav-hidden').not('.search-hidden').removeClass('hidden'); - } - else { - $('.style-guide-property[data-path^='+buildPath+']').removeClass('nav-hidden').not('.search-hidden').removeClass('hidden'); - } - } - }); -}); \ No newline at end of file diff --git a/lib/common/templates.js b/lib/common/templates.js index 432fc2a54..c8b881b30 100644 --- a/lib/common/templates.js +++ b/lib/common/templates.js @@ -212,15 +212,4 @@ module.exports = { */ 'css/fonts.css': _.template( fs.readFileSync(__dirname + '/templates/css/fonts.css.template')), - - // Web templates - - /** - * Creates a generic static html page - * - * @memberof Templates - * @todo Add example and usage - */ - 'static-style-guide/index.html': _.template( - fs.readFileSync(__dirname + '/templates/static-style-guide/index.html.template')) };