Permalink
Browse files

First commit.

  • Loading branch information...
frjo committed Mar 9, 2017
0 parents commit b7977e1c283e5d3658cef726121d64d5be401a77
Showing with 28,081 additions and 0 deletions.
  1. +87 −0 .eslintrc
  2. +1 −0 .gitignore
  3. +127 −0 .sass-lint.yml
  4. +339 −0 LICENSE.txt
  5. +113 −0 README.md
  6. +8 −0 archetypes/default.md
  7. +242 −0 gulpfile.js
  8. +33 −0 layouts/_default/baseof.html
  9. +20 −0 layouts/_default/list.html
  10. +22 −0 layouts/_default/single.html
  11. +14 −0 layouts/index.html
  12. +19 −0 layouts/partials/menu.html
  13. +9 −0 layouts/partials/meta.html
  14. +11 −0 layouts/partials/pagination.html
  15. +14 −0 layouts/partials/sidebar.html
  16. +34 −0 layouts/partials/single_json_ld.html
  17. +8 −0 layouts/partials/single_meta.html
  18. +1 −0 layouts/shortcodes/clear.html
  19. +39 −0 package.json
  20. +88 −0 sass/README.txt
  21. +69 −0 sass/_init.scss
  22. +154 −0 sass/_slicknav.scss
  23. +208 −0 sass/_zen.scss
  24. +33 −0 sass/base/_fonts.scss
  25. +45 −0 sass/base/_html5.scss
  26. +23 −0 sass/base/_normalize.scss
  27. +37 −0 sass/base/_root.scss
  28. +46 −0 sass/base/embedded/_embedded.scss
  29. +6 −0 sass/base/embedded/embedded-img.twig
  30. +8 −0 sass/base/embedded/embedded-svg.twig
  31. +184 −0 sass/base/grouping/_grouping.scss
  32. +11 −0 sass/base/grouping/grouping-blockquote.twig
  33. +9 −0 sass/base/grouping/grouping-dl.twig
  34. +8 −0 sass/base/grouping/grouping-figure.twig
  35. +8 −0 sass/base/grouping/grouping-hr.twig
  36. +17 −0 sass/base/grouping/grouping-ol.twig
  37. +12 −0 sass/base/grouping/grouping-p.twig
  38. +4 −0 sass/base/grouping/grouping-pre.twig
  39. +17 −0 sass/base/grouping/grouping-ul.twig
  40. +103 −0 sass/base/headings/_headings.scss
  41. +25 −0 sass/base/headings/headings-h.twig
  42. +73 −0 sass/base/links/_links.scss
  43. +1 −0 sass/base/links/links-a.twig
  44. +25 −0 sass/base/tables/_tables.scss
  45. +39 −0 sass/base/tables/tables-table.twig
  46. +245 −0 sass/base/text/_text.scss
  47. +2 −0 sass/base/text/text-abbr.twig
  48. +3 −0 sass/base/text/text-b.twig
  49. +3 −0 sass/base/text/text-cite.twig
  50. +8 −0 sass/base/text/text-code.twig
  51. +1 −0 sass/base/text/text-del.twig
  52. +5 −0 sass/base/text/text-dfn.twig
  53. +3 −0 sass/base/text/text-i.twig
  54. +2 −0 sass/base/text/text-ins.twig
  55. +2 −0 sass/base/text/text-mark.twig
  56. +3 −0 sass/base/text/text-q.twig
  57. +1 −0 sass/base/text/text-s.twig
  58. +1 −0 sass/base/text/text-small.twig
  59. +1 −0 sass/base/text/text-sub.twig
  60. +1 −0 sass/base/text/text-u.twig
  61. +86 −0 sass/components/box/_box.scss
  62. +4 −0 sass/components/box/box.json
  63. +6 −0 sass/components/box/box.twig
  64. +13 −0 sass/components/clearfix/_clearfix.scss
  65. +3 −0 sass/components/clearfix/clearfix.twig
  66. +19 −0 sass/components/divider/_divider.scss
  67. +3 −0 sass/components/divider/divider.json
  68. +11 −0 sass/components/divider/divider.twig
  69. +76 −0 sass/components/header/_header.scss
  70. +24 −0 sass/components/header/header.twig
  71. +38 −0 sass/components/hidden/_hidden.scss
  72. +3 −0 sass/components/hidden/hidden.twig
  73. +25 −0 sass/components/highlight-mark/_highlight-mark.scss
  74. +1 −0 sass/components/highlight-mark/highlight-mark.twig
  75. +36 −0 sass/components/inline-links/_inline-links.scss
  76. +4 −0 sass/components/inline-links/inline-links.twig
  77. +55 −0 sass/components/inline-sibling/_inline-sibling.scss
  78. +2 −0 sass/components/inline-sibling/inline-sibling.twig
  79. +32 −0 sass/components/print-none/_print-none.scss
  80. +3 −0 sass/components/print-none/print-none.twig
  81. +45 −0 sass/components/responsive-video/_responsive-video.scss
  82. +3 −0 sass/components/responsive-video/responsive-video.twig
  83. +41 −0 sass/components/visually-hidden/_visually-hidden.scss
  84. +3 −0 sass/components/visually-hidden/visually-hidden.json
  85. +3 −0 sass/components/visually-hidden/visually-hidden.twig
  86. +24 −0 sass/components/watermark/_watermark.scss
  87. +4 −0 sass/components/watermark/watermark.json
  88. +7 −0 sass/components/watermark/watermark.twig
  89. +33 −0 sass/components/wireframe/_wireframe.scss
  90. +3 −0 sass/components/wireframe/wireframe.json
  91. +3 −0 sass/components/wireframe/wireframe.twig
  92. +26 −0 sass/custom/inverted-box/_inverted-box.scss
  93. +55 −0 sass/custom/list-straight-left/_list-straight-left.scss
  94. +107 −0 sass/init/_colors.scss
  95. +215 −0 sass/init/_variables.scss
  96. +21 −0 sass/init/clearfix/_clearfix.scss
  97. +49 −0 sass/init/image-url/_image-url.scss
  98. +28 −0 sass/init/rtl/_rtl.scss
  99. +44 −0 sass/init/visually-hidden/_visually-hidden.scss
  100. +162 −0 sass/layouts/layout-3col/_layout-3col.scss
  101. +58 −0 sass/layouts/layout-3col/layout-3col.twig
  102. +64 −0 sass/layouts/layout-center/_layout-center.scss
  103. +3 −0 sass/layouts/layout-center/layout-center.twig
  104. +31 −0 sass/layouts/layout-swap/_layout-swap.scss
  105. +4 −0 sass/layouts/layout-swap/layout-swap.twig
  106. +33 −0 sass/navigation/breadcrumb/_breadcrumb.scss
  107. +10 −0 sass/navigation/breadcrumb/breadcrumb.twig
  108. +40 −0 sass/navigation/more-link/_more-link.scss
  109. +7 −0 sass/navigation/more-link/more-link.twig
  110. +1 −0 sass/navigation/more-link/more-link__help-icon.svg
  111. +61 −0 sass/navigation/nav-menu/_nav-menu.scss
  112. +1 −0 sass/navigation/nav-menu/collapsed-rtl.svg
  113. +1 −0 sass/navigation/nav-menu/collapsed.svg
  114. +1 −0 sass/navigation/nav-menu/expanded.svg
  115. +1 −0 sass/navigation/nav-menu/leaf.svg
  116. +28 −0 sass/navigation/nav-menu/nav-menu.twig
  117. +52 −0 sass/navigation/navbar/_navbar.scss
  118. +9 −0 sass/navigation/navbar/navbar.twig
  119. +57 −0 sass/navigation/pager/_pager.scss
  120. +27 −0 sass/navigation/pager/pager.twig
  121. +31 −0 sass/navigation/skip-link/_skip-link.scss
  122. +3 −0 sass/navigation/skip-link/skip-link.json
  123. +3 −0 sass/navigation/skip-link/skip-link.twig
  124. +4 −0 sass/style-guide/chroma-kss-styles.scss
  125. +29 −0 sass/style-guide/homepage.md
  126. +8 −0 sass/style-guide/kss-example-chroma.scss
  127. +22 −0 sass/style-guide/kss-only.scss
  128. +87 −0 sass/styles.scss
  129. +1 −0 static/css/style-guide/chroma-kss-styles.css
  130. +1 −0 static/css/style-guide/kss-example-chroma.twig
  131. +1 −0 static/css/style-guide/kss-only.css
  132. +1 −0 static/css/styles.css
  133. BIN static/images/logo.png
  134. +4 −0 static/js/jquery.min.js
  135. +6 −0 static/js/jquery.slicknav.min.js
  136. +13 −0 static/js/script.js
  137. +18 −0 static/robots.txt
  138. +121 −0 styleguide/index.html
  139. +182 −0 styleguide/item-base-embedded-img.html
  140. +186 −0 styleguide/item-base-embedded-svg.html
  141. +119 −0 styleguide/item-base-embedded.html
  142. +197 −0 styleguide/item-base-grouping-blockquote.html
  143. +189 −0 styleguide/item-base-grouping-figure.html
  144. +188 −0 styleguide/item-base-grouping-hr.html
  145. +188 −0 styleguide/item-base-grouping-lists-dl.html
  146. +205 −0 styleguide/item-base-grouping-lists-ol.html
  147. +205 −0 styleguide/item-base-grouping-lists-ul.html
  148. +119 −0 styleguide/item-base-grouping-lists.html
  149. +196 −0 styleguide/item-base-grouping-p.html
  150. +179 −0 styleguide/item-base-grouping-pre.html
  151. +119 −0 styleguide/item-base-grouping.html
  152. +222 −0 styleguide/item-base-headings.html
  153. +222 −0 styleguide/item-base-link.html
  154. +248 −0 styleguide/item-base-table.html
  155. +175 −0 styleguide/item-base-text-abbr.html
  156. +179 −0 styleguide/item-base-text-b.html
  157. +176 −0 styleguide/item-base-text-cite.html
  158. +189 −0 styleguide/item-base-text-code.html
  159. +172 −0 styleguide/item-base-text-del.html
  160. +180 −0 styleguide/item-base-text-dfn.html
  161. +179 −0 styleguide/item-base-text-i.html
  162. +174 −0 styleguide/item-base-text-ins.html
  163. +175 −0 styleguide/item-base-text-mark.html
  164. +177 −0 styleguide/item-base-text-q.html
  165. +172 −0 styleguide/item-base-text-s.html
  166. +173 −0 styleguide/item-base-text-small.html
  167. +173 −0 styleguide/item-base-text-sub.html
  168. +173 −0 styleguide/item-base-text-u.html
  169. +123 −0 styleguide/item-base-text.html
  170. +295 −0 styleguide/item-base.html
  171. +226 −0 styleguide/item-components-box.html
  172. +177 −0 styleguide/item-components-clearfix.html
  173. +192 −0 styleguide/item-components-divider.html
  174. +214 −0 styleguide/item-components-header.html
  175. +181 −0 styleguide/item-components-hidden.html
  176. +174 −0 styleguide/item-components-highlight-mark.html
  177. +178 −0 styleguide/item-components-inline-links.html
  178. +174 −0 styleguide/item-components-inline-sibling.html
  179. +179 −0 styleguide/item-components-print-none.html
  180. +194 −0 styleguide/item-components-responsive-video.html
  181. +218 −0 styleguide/item-components-visually-hidden.html
  182. +182 −0 styleguide/item-components-watermark.html
  183. +179 −0 styleguide/item-components-wireframe.html
  184. +204 −0 styleguide/item-components.html
  185. +330 −0 styleguide/item-layouts-layout-3col.html
  186. +198 −0 styleguide/item-layouts-layout-center.html
  187. +180 −0 styleguide/item-layouts-layout-swap.html
  188. +145 −0 styleguide/item-layouts.html
  189. +190 −0 styleguide/item-navigation-breadcrumb.html
  190. +184 −0 styleguide/item-navigation-more-link.html
  191. +227 −0 styleguide/item-navigation-nav-menu.html
  192. +188 −0 styleguide/item-navigation-navbar.html
  193. +225 −0 styleguide/item-navigation-pager.html
  194. +193 −0 styleguide/item-navigation-skip-link.html
  195. +162 −0 styleguide/item-navigation.html
  196. +166 −0 styleguide/item-sass-colors.html
  197. +123 −0 styleguide/item-sass-functions.html
  198. +132 −0 styleguide/item-sass-init.html
  199. +126 −0 styleguide/item-sass-mixins-clearfix.html
  200. +164 −0 styleguide/item-sass-mixins-image-url.html
  201. +139 −0 styleguide/item-sass-mixins-rtl.html
  202. +124 −0 styleguide/item-sass-mixins-visually-hidden--focusable.html
  203. +123 −0 styleguide/item-sass-mixins-visually-hidden--off.html
  204. +124 −0 styleguide/item-sass-mixins-visually-hidden.html
  205. +123 −0 styleguide/item-sass-mixins.html
  206. +131 −0 styleguide/item-sass-modules.html
  207. +125 −0 styleguide/item-sass-variables-breakpoints.html
  208. +124 −0 styleguide/item-sass-variables-misc.html
  209. +126 −0 styleguide/item-sass-variables-support-for.html
  210. +126 −0 styleguide/item-sass-variables-typey.html
  211. +126 −0 styleguide/item-sass-variables-zen-grids.html
  212. +123 −0 styleguide/item-sass-variables.html
  213. +227 −0 styleguide/item-sass.html
  214. +2 −0 styleguide/kss-assets/WARNING.txt
  215. BIN styleguide/kss-assets/github-fork--black.png
  216. +59 −0 styleguide/kss-assets/kss-fullscreen.js
  217. +26 −0 styleguide/kss-assets/kss-guides.js
  218. +40 −0 styleguide/kss-assets/kss-markup.js
  219. +1 −0 styleguide/kss-assets/kss.css
  220. +53 −0 styleguide/kss-assets/kss.js
  221. +745 −0 styleguide/kss-assets/kss.scss
  222. BIN styleguide/kss-assets/noise-low.png
  223. +1,477 −0 styleguide/kss-assets/prettify.js
  224. BIN styleguide/kss-assets/sample-inline.png
  225. +3 −0 styleguide/kss-assets/sample-inline.svg
  226. BIN styleguide/kss-assets/sample.png
  227. +3 −0 styleguide/kss-assets/sample.svg
  228. +147 −0 styleguide/kss-assets/scrollspy.js
  229. +3,413 −0 styleguide/section-base.html
  230. +1,684 −0 styleguide/section-components.html
  231. +625 −0 styleguide/section-layouts.html
  232. +913 −0 styleguide/section-navigation.html
  233. +840 −0 styleguide/section-sass.html
  234. +18 −0 theme.toml
@@ -0,0 +1,87 @@
{
"extends": "eslint:recommended",
"env": {
"browser": true
},
"globals": {
"Drupal": true,
"jQuery": true
},
"rules": {
// Errors.
"array-bracket-spacing": [2, "never"],
"block-scoped-var": 2,
"brace-style": [2, "stroustrup", {"allowSingleLine": true}],
"comma-dangle": [2, "never"],
"comma-spacing": 2,
"comma-style": [2, "last"],
"computed-property-spacing": [2, "never"],
"curly": [2, "all"],
"eol-last": 2,
"eqeqeq": [2, "smart"],
"guard-for-in": 2,
"indent": [2, 2, {"SwitchCase": 1}],
"key-spacing": [2, {"beforeColon": false, "afterColon": true}],
"keyword-spacing": [2, {"before": true, "after": true}],
"linebreak-style": [2, "unix"],
"lines-around-comment": [2, {"beforeBlockComment": true, "afterBlockComment": false}],
"new-parens": 2,
"no-array-constructor": 2,
"no-caller": 2,
"no-catch-shadow": 2,
"no-eval": 2,
"no-extend-native": 2,
"no-extra-bind": 2,
"no-extra-parens": [2, "functions"],
"no-implied-eval": 2,
"no-iterator": 2,
"no-label-var": 2,
"no-labels": 2,
"no-lone-blocks": 2,
"no-loop-func": 2,
"no-multi-spaces": 2,
"no-multi-str": 2,
"no-native-reassign": 2,
"no-nested-ternary": 2,
"no-new-func": 2,
"no-new-object": 2,
"no-new-wrappers": 2,
"no-octal-escape": 2,
"no-process-exit": 2,
"no-proto": 2,
"no-return-assign": 2,
"no-script-url": 2,
"no-sequences": 2,
"no-shadow-restricted-names": 2,
"no-spaced-func": 2,
"no-trailing-spaces": 2,
"no-undef-init": 2,
"no-undefined": 2,
"no-unused-expressions": 2,
"no-unused-vars": [2, {"vars": "all", "args": "none"}],
"no-with": 2,
"object-curly-spacing": [2, "never"],
"one-var": [2, "never"],
"quote-props": [2, "consistent-as-needed"],
"quotes": [2, "single", "avoid-escape"],
"semi": [2, "always"],
"semi-spacing": [2, {"before": false, "after": true}],
"space-before-blocks": [2, "always"],
"space-before-function-paren": [2, {"anonymous": "always", "named": "never"}],
"space-in-parens": [2, "never"],
"space-infix-ops": 2,
"space-unary-ops": [2, { "words": true, "nonwords": false }],
"spaced-comment": [2, "always"],
"strict": 2,
"yoda": [2, "never"],
// Warnings.
"max-nested-callbacks": [1, 3],
"valid-jsdoc": [1, {
"prefer": {
"returns": "return",
"property": "prop"
},
"requireReturn": false
}]
}
}
@@ -0,0 +1 @@
node_modules/
@@ -0,0 +1,127 @@
# Documentation for the sass-lint Linters is available at:
# https://github.com/sasstools/sass-lint/tree/master/docs/rules
options:
formatter: stylish
merge-default-rules: true
rules:
# Extends
extends-before-mixins: 2
extends-before-declarations: 2
placeholder-in-extend: 2
# Mixins
mixins-before-declarations:
- 2
- exclude:
- 'breakpoint'
- 'mq'
- 'respond-to'
- 'rtl'
- 'zen-breakpoint'
- 'zen-layout'
- 'zen-mq'
- 'zen-respond-to'
# Line Spacing
one-declaration-per-line: 2
empty-line-between-blocks:
- 2
- ignore-single-line-rulesets: false
single-line-per-selector: 2
# Disallows
# no-color-keywords: 2
# no-color-literals: 2
# no-css-comments: 2
no-debug: 2
# no-duplicate-properties: 2
no-empty-rulesets: 2
no-extends: 0
# no-ids: 2
# no-important: 2
no-invalid-hex: 2
no-mergeable-selectors: 2
no-misspelled-properties:
- 2
- extra-properties:
- '*font-family'
- '*height'
- 'interpolation-mode'
- '*margin-left'
- '*vertical-align'
- '*width'
no-qualifying-elements: 0
no-trailing-zero: 2
no-transition-all: 2
no-url-protocols: 2
# no-vendor-prefixes: 2
no-warn: 2
property-units: 0
# Nesting
force-attribute-nesting: 0
force-element-nesting: 0
force-pseudo-nesting: 0
# Name Formats
class-name-format:
- 2
- convention: hyphenatedbem
function-name-format: 2
id-name-format: 2
mixin-name-format:
- 2
- convention: hyphenatedbem
placeholder-name-format:
- 2
- convention: hyphenatedbem
variable-name-format: 2
# Style Guide
bem-depth: 0
border-zero: 2
brace-style:
- 2
- style: stroustrup
- allow-single-line: false
clean-import-paths: 2
empty-args: 0
hex-length: 2
hex-notation: 2
# indentation: 2
leading-zero: 2
nesting-depth:
- 2
- max-depth: 4
property-sort-order: 0
quotes: 2
shorthand-values: 2
url-quotes: 2
variable-for-property: 2
zero-unit: 2
# Inner Spacing
space-after-comma: 2
space-before-colon: 2
space-after-colon: 2
space-before-brace: 2
space-before-bang: 2
space-after-bang: 2
space-between-parens: 0
space-around-operator: 0
# Final Items
trailing-semicolon: 2
final-newline: 2
# Work-around for sass-lint not having per-file/block/line rule config.
# @TODO: Re-enable these disabled rules. See https://www.drupal.org/node/2717117
indentation: 0
no-color-keywords: 0
no-color-literals: 0
no-css-comments: 0
no-duplicate-properties: 0
no-ids: 0
no-important: 0
no-vendor-prefixes: 0
Oops, something went wrong.

0 comments on commit b7977e1

Please sign in to comment.