diff --git a/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_body.scssc b/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_body.scssc deleted file mode 100644 index 7db96c4..0000000 Binary files a/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_body.scssc and /dev/null differ diff --git a/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_buttons.scssc b/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_buttons.scssc deleted file mode 100644 index 31ee5a6..0000000 Binary files a/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_buttons.scssc and /dev/null differ diff --git a/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_forms.scssc b/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_forms.scssc deleted file mode 100644 index e64a4bc..0000000 Binary files a/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_forms.scssc and /dev/null differ diff --git a/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_headings.scssc b/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_headings.scssc deleted file mode 100644 index f81a800..0000000 Binary files a/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_headings.scssc and /dev/null differ diff --git a/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_links.scssc b/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_links.scssc deleted file mode 100644 index ba3e56d..0000000 Binary files a/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_links.scssc and /dev/null differ diff --git a/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_lists.scssc b/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_lists.scssc deleted file mode 100644 index 3514715..0000000 Binary files a/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_lists.scssc and /dev/null differ diff --git a/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_main.scssc b/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_main.scssc deleted file mode 100644 index bfcb08f..0000000 Binary files a/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_main.scssc and /dev/null differ diff --git a/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_media.scssc b/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_media.scssc deleted file mode 100644 index 3cfc3a4..0000000 Binary files a/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_media.scssc and /dev/null differ diff --git a/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_reset.scssc b/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_reset.scssc deleted file mode 100644 index b78dd4a..0000000 Binary files a/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_reset.scssc and /dev/null differ diff --git a/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_tables.scssc b/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_tables.scssc deleted file mode 100644 index 7b7c64d..0000000 Binary files a/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_tables.scssc and /dev/null differ diff --git a/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_text.scssc b/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_text.scssc deleted file mode 100644 index c4fdc94..0000000 Binary files a/.sass-cache/07805aa16fee2498e1ad76f4cad48c2b7aa48e5e/_text.scssc and /dev/null differ diff --git a/.sass-cache/370d86d9a29dd1639c7dd95df92be3a6e8b6ec3e/_display.scssc b/.sass-cache/370d86d9a29dd1639c7dd95df92be3a6e8b6ec3e/_display.scssc deleted file mode 100644 index 29cde10..0000000 Binary files a/.sass-cache/370d86d9a29dd1639c7dd95df92be3a6e8b6ec3e/_display.scssc and /dev/null differ diff --git a/.sass-cache/370d86d9a29dd1639c7dd95df92be3a6e8b6ec3e/_visibility.scssc b/.sass-cache/370d86d9a29dd1639c7dd95df92be3a6e8b6ec3e/_visibility.scssc deleted file mode 100644 index a9a680f..0000000 Binary files a/.sass-cache/370d86d9a29dd1639c7dd95df92be3a6e8b6ec3e/_visibility.scssc and /dev/null differ diff --git a/.sass-cache/955ce89b60a58c1c6e720d6835d9f7a92de0d886/_mixins.scssc b/.sass-cache/955ce89b60a58c1c6e720d6835d9f7a92de0d886/_mixins.scssc deleted file mode 100644 index 36f4f79..0000000 Binary files a/.sass-cache/955ce89b60a58c1c6e720d6835d9f7a92de0d886/_mixins.scssc and /dev/null differ diff --git a/.sass-cache/955ce89b60a58c1c6e720d6835d9f7a92de0d886/_variables.scssc b/.sass-cache/955ce89b60a58c1c6e720d6835d9f7a92de0d886/_variables.scssc deleted file mode 100644 index be0bf8f..0000000 Binary files a/.sass-cache/955ce89b60a58c1c6e720d6835d9f7a92de0d886/_variables.scssc and /dev/null differ diff --git a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_breadcrumbs.scssc b/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_breadcrumbs.scssc deleted file mode 100644 index 6cd4eed..0000000 Binary files a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_breadcrumbs.scssc and /dev/null differ diff --git a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_button-group.scssc b/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_button-group.scssc deleted file mode 100644 index 2a5651f..0000000 Binary files a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_button-group.scssc and /dev/null differ diff --git a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_buttons.scssc b/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_buttons.scssc deleted file mode 100644 index 2a236bc..0000000 Binary files a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_buttons.scssc and /dev/null differ diff --git a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_card.scssc b/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_card.scssc deleted file mode 100644 index e96553b..0000000 Binary files a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_card.scssc and /dev/null differ diff --git a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_footer-nav.scssc b/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_footer-nav.scssc deleted file mode 100644 index 344f8bc..0000000 Binary files a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_footer-nav.scssc and /dev/null differ diff --git a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_footer.scssc b/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_footer.scssc deleted file mode 100644 index 80e3c7f..0000000 Binary files a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_footer.scssc and /dev/null differ diff --git a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_header.scssc b/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_header.scssc deleted file mode 100644 index 5c976f1..0000000 Binary files a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_header.scssc and /dev/null differ diff --git a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_hero.scssc b/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_hero.scssc deleted file mode 100644 index f2f6ff6..0000000 Binary files a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_hero.scssc and /dev/null differ diff --git a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_icon.scssc b/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_icon.scssc deleted file mode 100644 index 41bb8f6..0000000 Binary files a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_icon.scssc and /dev/null differ diff --git a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_logo.scssc b/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_logo.scssc deleted file mode 100644 index 6540fff..0000000 Binary files a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_logo.scssc and /dev/null differ diff --git a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_page-header.scssc b/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_page-header.scssc deleted file mode 100644 index cdd6d5b..0000000 Binary files a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_page-header.scssc and /dev/null differ diff --git a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_primary-nav.scssc b/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_primary-nav.scssc deleted file mode 100644 index 4de1e4e..0000000 Binary files a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_primary-nav.scssc and /dev/null differ diff --git a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_section.scssc b/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_section.scssc deleted file mode 100644 index 4887765..0000000 Binary files a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_section.scssc and /dev/null differ diff --git a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_table.scssc b/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_table.scssc deleted file mode 100644 index 489ab1a..0000000 Binary files a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_table.scssc and /dev/null differ diff --git a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_tabs.scssc b/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_tabs.scssc deleted file mode 100644 index 1a0c93e..0000000 Binary files a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_tabs.scssc and /dev/null differ diff --git a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_text-passage.scssc b/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_text-passage.scssc deleted file mode 100644 index 5e1f19d..0000000 Binary files a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_text-passage.scssc and /dev/null differ diff --git a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_tile.scssc b/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_tile.scssc deleted file mode 100644 index 9050cd6..0000000 Binary files a/.sass-cache/a5621b03605fe6dbaa65eaf4b484078b527fc5da/_tile.scssc and /dev/null differ diff --git a/.sass-cache/fd8fa3340b871bfd62156894601a99c8625c1160/_layout.scssc b/.sass-cache/fd8fa3340b871bfd62156894601a99c8625c1160/_layout.scssc deleted file mode 100644 index e58fe35..0000000 Binary files a/.sass-cache/fd8fa3340b871bfd62156894601a99c8625c1160/_layout.scssc and /dev/null differ diff --git a/Gruntfile.js b/Gruntfile.js new file mode 100644 index 0000000..88bc256 --- /dev/null +++ b/Gruntfile.js @@ -0,0 +1,98 @@ +module.exports = function(grunt) { + + // Show elapsed time after tasks run to measure performance. + require('time-grunt')(grunt); + + // Load all Grunt tasks that are listed in package.json. + require('load-grunt-tasks')(grunt); + + grunt.initConfig({ + pkg: grunt.file.readJSON('package.json'), + + // Shell commands for use in Grunt tasks. + shell: { + jekyllBuild: { + command: 'jekyll build' + }, + jekyllServe: { + command: 'jekyll serve' + } + }, + + // Configuration for sass (libsass). + sass: { + options: { + outputStyle: 'nested', + sourceMap: true, + sassDir: '_sass', + cssDir: '_site/css' + }, + dist: { + files: [{ + expand: true, + cwd: '_sass/', + src: ['**/*.scss'], + dest: '_site/css', + ext: '.css' + }] + } + }, + + // Add browser prefixes to css automatically. + autoprefixer: { + options: { + browsers: ['last 4 versions', 'ie 9'] + }, + dist: { + src: '_site/css/*.css' + } + }, + + // Watch for files to change and run tasks when they do. + watch: { + sass: { + files: ['_sass/**/*.scss'], + tasks: ['sass','autoprefixer'] + }, + jekyll: { + files: ['**/*.{md,html}'], + tasks: ['shell:jekyllBuild','sass','autoprefixer'] + } + }, + + // Update browser when files are changed. + browserSync: { + bsFiles: { + src : [ + '_site/css/*.css', + '_site/*.html' + ] + }, + options: { + watchTask: true, + server: { + baseDir: './_site' + } + } + } + + }); + + // Grunt serve task. + grunt.registerTask('serve', [ + 'browserSync', + 'shell:jekyllBuild', + 'sass', + 'watch' + ]); + + // Grunt build task. + grunt.registerTask('build', [ + 'shell:jekyllBuild', + 'sass', + 'autoprefixer' + ]); + + // Register build as the default task fallback. + grunt.registerTask('default', 'serve'); +}; diff --git a/_config.yml b/_config.yml index ac525c5..050c0d6 100755 --- a/_config.yml +++ b/_config.yml @@ -20,6 +20,8 @@ twitter_username: adventistchurch # Build settings highlighter: highlighter markdown: kramdown +exclude: [node_modules, ‘css’, ‘_scss’] +keep_files: ['_site/css'] -gems: +plugins: - jekyll-last-modified-at diff --git a/_includes/.DS_Store b/_includes/.DS_Store deleted file mode 100644 index 4186ed4..0000000 Binary files a/_includes/.DS_Store and /dev/null differ diff --git a/_includes/patterns/.DS_Store b/_includes/patterns/.DS_Store deleted file mode 100644 index 5966e77..0000000 Binary files a/_includes/patterns/.DS_Store and /dev/null differ diff --git a/_sass/.DS_Store b/_sass/.DS_Store deleted file mode 100755 index 68d1609..0000000 Binary files a/_sass/.DS_Store and /dev/null differ diff --git a/_sass/components/_buttons.scss b/_sass/components/_buttons.scss index ca004e6..391718b 100755 --- a/_sass/components/_buttons.scss +++ b/_sass/components/_buttons.scss @@ -8,7 +8,7 @@ */ .c-btn { display: inline-block; - background: $color-gray-73; + background: coral; border-radius: $border-radius; cursor: pointer; color: $color-white; diff --git a/css/main.scss b/_sass/main.scss similarity index 95% rename from css/main.scss rename to _sass/main.scss index cf4db1c..8e7ab67 100755 --- a/css/main.scss +++ b/_sass/main.scss @@ -1,6 +1,6 @@ ---- -# Only the main Sass file needs front matter (the dashes are enough) ---- +// --- +// # Only the main Sass file needs front matter (the dashes are enough) +// --- /*------------------------------------*\ #TABLE OF CONTENTS diff --git a/css/style-guide.scss b/_sass/style-guide.scss similarity index 99% rename from css/style-guide.scss rename to _sass/style-guide.scss index abe1975..34467dd 100755 --- a/css/style-guide.scss +++ b/_sass/style-guide.scss @@ -1,5 +1,5 @@ ---- ---- +// --- +// --- $color-white: #ffffff; $color-gray-dark: #333333; diff --git a/_site/LICENSE b/_site/LICENSE deleted file mode 100755 index 43b93f9..0000000 --- a/_site/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2013-14 Brad Frost, http://bradfrost.com & Dave Olsen, http://dmolsen.com - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/_site/README.md b/_site/README.md deleted file mode 100755 index 3017ec9..0000000 --- a/_site/README.md +++ /dev/null @@ -1,21 +0,0 @@ -# Style Guide Guide - -Style Guide Guide is a boilerplate for creating a custom style guide for your organization's design system. It provides just enough IA and hooks to get you going. As a bonus, I've provided links to helpful resources and inspiration to help you as you create your own custom style guide. - -## How it works -Style Guide Guide is built using [Jekyll](https://jekyllrb.com/), a static site generator which works quite well for managing the content of a style guide. - -The tool can consume and display components from anywhere, but in my own workflow we import patterns from [Pattern Lab](http://patternlab.io/) into Style Guide Guide for display. For more info, check out this blog post (coming soon for now). - -## Getting Started -1. Download or clone the files from the [repository on Github](https://github.com/bradfrost/style-guide-guide). -2. In the command line, navigate to the root of the project and run the `jekyll serve` command. This will build the static site and watch for changes. -3. Visit `http://127.0.0.1:4000/` in your browser to see the style guide. - -From here, obviously the point is to customize the style guide for your needs and populate it with your content and components. - -## Importing components and assets from Pattern Lab -Coming soon! - -## Feedback and Questions -If you have questions or issues with Style Guide Guide, please feel free to [open an issue](https://github.com/bradfrost/style-guide-guide/issues). If your organization is creating a design system and style guide and would like some help taking it to the next level, feel free to [get in touch!](http://bradfrost.com/contact/) diff --git a/_site/about.html b/_site/about.html index b1cb88e..912e757 100644 --- a/_site/about.html +++ b/_site/about.html @@ -15,7 +15,7 @@ - + @@ -192,7 +192,7 @@

ALPS Components

- - - - - - diff --git a/_site/components/view-all.html b/_site/components/view-all.html index 14863c5..e17f365 100644 --- a/_site/components/view-all.html +++ b/_site/components/view-all.html @@ -15,7 +15,7 @@ - + @@ -192,7 +192,7 @@
Default Carousel Block - -
- -
- -
    - - - -
- - -
- -
- - - - - - - -
  • - -
    - -
    - -
    - -
      - - - -
    - - -
    - -
    - -
    - -
  • - - - diff --git a/_site/contribute.html b/_site/contribute.html index 1adb243..780a628 100644 --- a/_site/contribute.html +++ b/_site/contribute.html @@ -15,7 +15,7 @@ - + @@ -192,7 +192,7 @@