All Projects → bjankord → Style Guide Boilerplate

bjankord / Style Guide Boilerplate

Licence: other
⚡️🎨 A starting point for crafting living style guides.

Programming Languages

HTML
75241 projects
PHP
23972 projects - #3 most used programming language
CSS
56736 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Style Guide Boilerplate

Angular 7 Registration Login Example
Angular 7 User Registration and Login Example
Stars: ✭ 147 (-92.26%)
Mutual labels:  boilerplate
Express Mongodb Rest Api Boilerplate
A boilerplate for Node.js apps / Rest API / Authentication from scratch - express, mongodb (mongoose).
Stars: ✭ 153 (-91.94%)
Mutual labels:  boilerplate
React Native Typescript Boilerplate
React Native Typescript starter kit / template (Redux Thunk + React Native Navigation v7 + TSLint)
Stars: ✭ 155 (-91.84%)
Mutual labels:  boilerplate
React Redux Styled Hot Universal
react boilerplate used best practices and focus on performance
Stars: ✭ 147 (-92.26%)
Mutual labels:  boilerplate
Skeleton Sass
Skeleton Sass is a highly modular version of Skeleton CSS
Stars: ✭ 151 (-92.05%)
Mutual labels:  boilerplate
Nodejs Website Boilerplate
A Node.js website boilerplate that satisfies some common website requirements.
Stars: ✭ 154 (-91.89%)
Mutual labels:  boilerplate
Koa Restful Boilerplate
Koa 2 RESTful API boilerplate
Stars: ✭ 146 (-92.31%)
Mutual labels:  boilerplate
Sfml Vscode Boilerplate
A cross-platform SFML 2.5.1 & C++17 build environment for Visual Studio Code
Stars: ✭ 156 (-91.79%)
Mutual labels:  boilerplate
Saas Boilerplate
SaaS boilerplate built in Laravel, Bootstrap 4 and VueJs.
Stars: ✭ 152 (-92%)
Mutual labels:  boilerplate
Bootstrap 4 Boilerplate
Bootstrap 4.3.1 boilerplate with Browsersync, Sass and Gulp.js
Stars: ✭ 155 (-91.84%)
Mutual labels:  boilerplate
Go Micro Boilerplate
The boilerplate of the GoLang application with a clear microservices architecture.
Stars: ✭ 147 (-92.26%)
Mutual labels:  boilerplate
Workflow Reactjs
My workflow with ReactJS + Webpack 3+
Stars: ✭ 150 (-92.1%)
Mutual labels:  boilerplate
React Webpack 5 Tailwind 2
React 17 Boilerplate with Webpack 5, Tailwind 2, using babel, SASS/PostCSS, HMR, dotenv and an optimized production build
Stars: ✭ 155 (-91.84%)
Mutual labels:  boilerplate
Vue Storybook
Custom <story> blocks for Vue single file components
Stars: ✭ 147 (-92.26%)
Mutual labels:  styleguide
Spring React Boilerplate
An example of an isomorphic application using Java + Spring with React, React Router and Redux
Stars: ✭ 156 (-91.79%)
Mutual labels:  boilerplate
Warp Api Starter Template
A boilerplate template for starting a web services using Warp + SQLx (PostgreSQL) + Redis + Juniper (GraphQL). ❤️
Stars: ✭ 145 (-92.36%)
Mutual labels:  boilerplate
Styled Bootstrap
💅🏻 A styled-component implementation of Bootstrap
Stars: ✭ 154 (-91.89%)
Mutual labels:  styleguide
Api Style Guide
Haufe API Style Guide
Stars: ✭ 157 (-91.73%)
Mutual labels:  styleguide
Cppbase
Boilerplate for a simple CMake-based C++ project
Stars: ✭ 156 (-91.79%)
Mutual labels:  boilerplate
Express Typescript Boilerplate
A delightful way to building a RESTful API with NodeJs & TypeScript by @w3tecch
Stars: ✭ 2,293 (+20.75%)
Mutual labels:  boilerplate

Style-Guide-Boilerplate v3.3.2

A starting point for crafting living style guides.

View Demo

Note: Sample patterns have been included in the demo. Your site will have its own unique patterns.

Screenshot

Getting Started With Style Guide Boilerplate

Download the Style Guide Boilerplate

You can clone, fork, or download the repo from GitHub. Once you have the files for Style Guide Boilerplate, you'll create a directory on your site for them.

Set up a directory on your site for the style guide

I recommend creating a directory named style-guide in your site's root directory.

Upload the Style Guide Boilerplate files

Style Guide Boilerplate is currently PHP based so you will need a server that supports PHP. Upload the files from the GitHub repo to your newly created directory.

Hook up your own CSS into the style guide

In the <head> of Style Guide Boilerplate are custom styles for the boilerplate itself. These have all been prefixed with sg- so they hopefully shouldn't cause any conflicts with your website's own styles.

Below the custom styles for the boilerplate, you will add in your own custom stylesheet(s) which you use on your live site.

<!-- Style Guide Boilerplate Styles -->
<link rel="stylesheet" href="css/sg-style.css">

<!-- Replace below stylesheet with your own stylesheet -->
<link rel="stylesheet" href="css/style.css">

Review your live site CSS

You should be able to go to yoursite.com/style-guide/ and see how your live site's CSS affects base elements. The last step is creating your site's custom patterns/modules.

Create custom patterns

To create custom patterns like buttons, breadcrumbs, alert messages, etc., create a new .html file and add your HTML markup into the file.

Save the file as pattern-name.html into the markup/patterns directory inside of your style-guide directory.

You should now be able to see the new patterns at yoursite.com/style-guide/

Create personalized documentation

You can use markdown or html to create personalized documentation for your examples. Create a new .md or .html file and name it whatever your markup snippet file is named.

Save the file as markup-name.md or markup-name.html into the doc/base or doc/patterns directory inside of your style-guide directory.

For example, if you want to create doc for markup/patterns/breadcrumbs.html, create a file called breadcrumbs.md or breadcrumbs.html and save it into doc/patterns.

You should now be able to see the new doc at yoursite.com/style-guide/

Running the app

You can run the application with PHP's built in web server. Run the following command:

php -S localhost:8000

Now, browse to http://localhost:8000 to see the website.

Generating static HTML style guide

You can generate a static index.html version of style guide boilerplate by running the following command:

php index.php > index.html

Browser Support

I've built Style Guide Boilerplate with progressive enhancement in mind to work on a wide range of browsers.

Known supported browsers include:

  • Chrome
  • Firefox
  • Safari
  • Opera
  • IE8+
  • Safari for iOS
  • Stock Android Browser (4.0+)

Tested with BrowserStack.

BrowserStack

If you come across any bugs, or have any other issues with the boilerplate, please open an issue here on GitHub.

Additional Resources

Styleguides.io

Front-end Style Guides

Front-end Style Guide Roundup

Future-Friendly Style Guides

HTML KickStart

Oli.jp Style Guide

Jeremy Keith's Pattern Primer

Paul Robert Llyod's Style Guide

Pears

Starbucks Style Guide

Credit

Thanks to:

Jeremy Keith for letting me build on top of Pattern Primer.

Ports

Contributing to this project

Please take a moment to review the guidelines for contributing.

Licensing

Style Guide Boilerplate is licensed under the MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].