Styleguide generator is a handy little tool that helps you generate good looking styleguides from stylesheets using KSS notation

Related tags

CSS sc5-styleguide
Overview

SC5 style guide generator

Build Status dependencies npm version

Looking for a maintainer

If you would like to maintain the project, create an issue and tell a few words about yourself.

Style guide generator is a handy little tool that helps you generate good looking style guides from style sheets using KSS notation. It can be used as a command line utility, gulp task or Grunt task (needs grunt-gulp) with minimal effort.

Table of contents

Usage

You should familiarize yourself with both KSS and node-kss to get yourself started.

SC5 Style guide provides additions to KSS syntax which you can learn below.

Prerequisites

The tool should be installed onto:

  • Node 4.2.x
  • Node 6.9.x

With Gulp

Install plugin locally:

npm install sc5-styleguide --save-dev

The Gulp plugin contains two functions that requires different set of file streams:

generate(): All unprocessed styles containing the KSS markup and style variables. This will process the KSS markup and collects variable information.

applyStyles(): Pre-processed/compiled style sheets. This will create necessary pseudo styles and create the actual style sheet to be used in the styleguide.

The following code shows complete example how to use styleguide with gulp-sass and with gulp watch.

var gulp = require('gulp');
var styleguide = require('sc5-styleguide');
var sass = require('gulp-sass');
var outputPath = 'output';

gulp.task('styleguide:generate', function() {
  return gulp.src('*.scss')
    .pipe(styleguide.generate({
        title: 'My Styleguide',
        server: true,
        rootPath: outputPath,
        overviewPath: 'README.md'
      }))
    .pipe(gulp.dest(outputPath));
});

gulp.task('styleguide:applystyles', function() {
  return gulp.src('main.scss')
    .pipe(sass({
      errLogToConsole: true
    }))
    .pipe(styleguide.applyStyles())
    .pipe(gulp.dest(outputPath));
});

gulp.task('watch', ['styleguide'], function() {
  // Start watching changes and update styleguide whenever changes are detected
  // Styleguide automatically detects existing server instance
  gulp.watch(['*.scss'], ['styleguide']);
});

gulp.task('styleguide', ['styleguide:generate', 'styleguide:applystyles']);

This approach gives flexibility to use any preprocessor. For example, you can freely replace gulp-sass with gulp-ruby-sass. However, please notice that variable parsing works only for Sass, SCSS and Less files.

If you do not use preprocessor you can directly pipe CSS files to applyStyles().

See Build options section for complete documentation of different options.

With Grunt

For projects using Grunt, install the plugin, Gulp and the grunt-gulp bridge.

npm install sc5-styleguide gulp grunt-gulp --save-dev

Then you are able to use the same gulp task inside you Gruntfile:

var gulp = require('gulp'),
  styleguide = require('sc5-styleguide');

grunt.initConfig({
  pkg: grunt.file.readJSON('package.json'),
  gulp: {
    'styleguide-generate': function() {
      var outputPath = 'output';
      return gulp.src([''])
        .pipe(styleguide.generate({
            title: 'My Styleguide',
            server: true,
            rootPath: outputPath,
            overviewPath: 'README.md'
          }))
        .pipe(gulp.dest(outputPath));
    },
    'styleguide-applystyles': function() {
      return gulp.src('main.scss')
        .pipe(styleguide.applyStyles())
        .pipe(gulp.dest('output'));
    }
  },

  watch: {
    scss: {
      files: '**/*.scss',
      tasks: ['scss', 'gulp:styleguide-generate', 'gulp:styleguide-applystyles']
    }
  }
});

grunt.loadNpmTasks('grunt-gulp');

grunt.registerTask('default', ['gulp:styleguide-generate', 'gulp:styleguide-applystyles', 'watch']);

When using Grunt, we recommend processing styles in Grunt tasks as you do for your main application and pass the resultant CSS into styleguide's Gulp tasks.

For more specific documentation see the next section.

As a command line tool

This way of usage is not recommended, as it does not help as much with introduction of the styleguide into the day-to-day development process.

Install plugin globally:

npm install -g sc5-styleguide

Styleguide command line tool requires two sets of source files:

--kss-source: Unprocessed files containing the KSS markup and Less/Sass variables

--style-source Pre-processed/compiled style sheets to be used in the styleguide

Example usage:

styleguide --kss-source "sass/*.scss" --style-source "public/*.css" --output styleguide --watch --server

You need to either specify a single directory or you can specify one or more source directories with one or more --kss-source flags.

styleguide --kss-source "style/*.scss" --style-source "public/*.css" --output styleguide --watch --server

Other options parameters are defined in the Build options section.

Build options

CLI and gulp options accept identically named parameters

title (string, optional)

This string is used as a page title and in the page header

favIcon (string, optional)

This enables to replace the default SC5 favicon. It takes path as a string.

extraHead (array or string, optional)

These HTML elements are injected inside the style guide head tag.

sideNav (boolean, optional, default: false)

Enables side navigation. When this option parameter is enabled, styleguide will switch to side navbar.

showReferenceNumbers (boolean, optional, default: false)

When this option parameter is enabled, style guide will show reference numbers on navigation, headings and designer tool.

includeDefaultStyles (boolean, optional, default: true)

Include/exclude default styles.

showMarkupSection (boolean, optional, default: true)

Show/hide Markup section.

hideSubsectionsOnMainSection (boolean, optional, default: false)

This option enables to prevent loading of subsections.

beforeBody (array or string, optional)

These HTML elements are injected inside the style guide <body> tag, before any other content.

afterBody (array or string, optional)

These HTML elements are injected inside the style guide <body> tag, after any other content.

afterSections (array or string, optional)

These HTML elements are injected inside the style guide .sg-body section, after any other content.

commonClass (string or array of strings, optional)

The provided classes are added to all preview blocks in the generated style guide. This option is useful if you have some namespace classes that should to be added to every block, but you do not want to add it to every example section's markup.

server (boolean, optional)

Enable built-in web-server. To enable Designer tool the style guide must be served with the built-in web server. The server also has the ability to refresh changed styles or KSS markup without doing a full page reload.

port (number, optional)

Port of the server. Default is 3000.

disableServerLog (boolean, optional)

Disables embedded server log.

rootPath (string, optional)

Server root path. This must be defined if you run the built-in server via gulp or Grunt task. Point to the same path as the style guide output folder.

Note: This option is not needed when running styleguide via the CLI.

appRoot (string, optional)

Define the appRoot parameter if you are hosting the style guide from a directory other than the root directory of the HTTP server. If the style guide is hosted at http://example.com/styleguide the appRoot should be styleguide.

When using the build as a subdirectory of your application, tune your server to resolve all the paths to that subdirectory. This allows Angular to deal with the routing. However, the static files should be resolved as they are stored.

styleVariables (string, optional)

By default variable definitions are searched from every file passed in gulp.src. styleVariables parameter could be used to filter from which files variables are loaded.

disableEncapsulation (boolean, optional, default: false)

Disable Shadow DOM encapsulation. When this option parameter is enabled, all styles are defined in page head and markup examples are not encapsulated using Shadow DOM.

disableHtml5Mode (boolean, optional, default: false)

Disable HTML5 URL mode. When this option parameter is enabled, style guide will use hash bang URLs instead of HTML5 history API. This is useful when hosting static style guides.

basicAuth (object, optional, default: null)

Protect server with basic HTTP authentication.

basicAuth: {
  username: 'username',
  password: 'password'
}

readOnly (boolean, optional, default: false)

Disable variable saving from web interface.

customColors (string, optional)

Path to file that defines custom UI color overrides using PostCSS variables. See all possible variables here.

Internal styles could be overridden by defining new styles inside the styleguide_custom_styles mixin. This mixin is added to the end of the application style sheet.

You can define your own styles with

@define-mixin styleguide_custom_styles {
  /* Define your styles here */
}

PostCSS configuration supports mixins, nesting, variables, media queries.

parsers (object, optional)

default:

parsers: {
  sass: 'scss',
  scss: 'scss',
  less: 'less',
  postcss: 'postcss'
}

Styleguide tries to guess which parser to use when parsing variable information from style sheets. The object key defines the file extension to match and the value refers to the parser name. There are three parsers available: scss, less and postcss.

For example, to parse all .css files using postcss parser, following configuration could be used:

{
  css: 'postcss'
}

styleguideProcessors (object, optional)

default:

styleguideProcessors: {}

Styleguide has several processors that enrich or modify the data. For example the sg-wrapper replacement is done by a processor. You can add your own processor to enrich the styleguide data with your own content or modifications. You can also override existing functionality by overwriting the related processor. Currently these processors exist by default and should not be overwritten unless you know what you are doing:

styleguideProcessors: {
    10: replaceSectionReferences,
    20: generateSectionWrapperMarkup
}

You can define your own processors:

styleguideProcessors: {
  11: function(styleguide) {
    // this will run after replaceSectionReferences
    styleguide.sections[0].description = styleguide.sections[0].description + ' [Description from custom Processor]';
  },
  30: function(styleguide) {
    // this will run after generateSectionWrapperMarkup
  }
}

filesConfig (array, optional) (Experimental feature)

All HTML markup sections defined in the KSS block is dynamically compiled inside the styleguide thus it is possible to use Angular directive inside the markup. These external directives are lazy loaded in the styleguide Angular application. filesConfig configuration parameter could be used to define lazy loaded files. Files are only required, not copied automatically. You need to make sure that files are copied inside the styleguide output directory when generating the styleguide.

Configuration array containing paths to the dependencies of the hosted application

filesConfig: [
  {
    "name": "NameOfMainAppModule",
    "files": [
      "path/to/dependency-file.js",
      "path/to/application-file.js",
      "path/to/stylesheet.css",
    ],
    "template": "path/to/template-filename.html"
  }
]

Note: When using templateUrl in directives, the template path is relative to style guide index.html, not the hosted application root.

additionalNgDependencies (array or string, optional)

Some angular libraries (such as angular-material) can't be lazy loaded after bootstrapping. You can use the additionalNgDependencies property to inject additional angular dependencies to be bootstrapped by the style guide app.

You can pass either a string (if you only have one dependency to add) or an array of strings. The string(s) should be the same dependencies you would pass when bootstrapping dependencies in your own modules.

When using this property, you should also specify an afterBody or extraHead config in order to make sure the dependencies are loaded by the browser before they are bootstrapped.

Here's an example showing how to use angular-material:

additionalNgDependencies: ['ngMaterial']
extraHead: '
  <link rel="stylesheet" href="/angular-material/angular-material.css">
'
afterBody: '
  <script src="/angular-aria/angular-aria.js"></script>
  <script src="/angular-messages/angular-messages.js"></script>
  <script src="/angular-material/angular-material.js"></script>
'

Documenting syntax

Document your CSS components with KSS

Defining an Angular directive

If your components can be rendered with Angular directives, you can define them in KSS markup and so avoid copy-pasting in the markup field. This is how you can instruct the style guide to use Angular:

// Test directive
//
// markup:
// <div sg-test-directive>If you see this something is wrong</div>
//
// sg-angular-directive:
// name: NameOfMainAppModule
// template: path/to/template-filename.html
// file: path/to/application-file.js
//
// Styleguide 1.2.3

It is possible to define several files, so you can attach all the needed dependencies:

// sg-angular-directive:
// name: NameOfMainAppModule
// template: path/to/template-filename.html
// file: path/to/application-file.js
// file: path/to/dependency-file.js
// file: path/to/stylesheet.css

You can also write the same with comma-syntax

// sg-angular-directive:
// name: NameOfMainAppModule
// template: path/to/template-filename.html
// file: path/to/application-file.js, path/to/dependency-file.js, path/to/stylesheet.css

Ignore parts of the style sheet from being processed

You can ignore parts of the CSS or KSS from being processed using the following tags:

// styleguide:ignore:start
Ignored styles
// styleguide:ignore:end

Wrapper markup

Sometimes your component examples need a wrapper. For example:

  • you need to show how to use <li> element which works only with <ul> container;
  • your component is not visible with white background;
  • your component needs a container with a predefined height.

You can cover such cases by adding a wrapper to a component markup. The wrapper should be defined as a custom parameter in the KSS documentation block:

// markup:
// <li>
//   <a class="{$modifiers}">Item</a>
// </li>
//
// sg-wrapper:
// <nav class="sg side-nav">
//   <ul>
//     <sg-wrapper-content/>
//   </ul>
// </nav>

The <sg-wrapper-content/> inside shows where to place an example.

Wrappers can be used for fixes like this:

// markup:
// <div class="my-component">This is a white component</div>
//
// sg-wrapper:
// <div style="background-color: grey;">
//   <sg-wrapper-content/>
// </div>

The modifiers get the same wrapper as their parent section.

Wrappers are inheritable. A wrapper of a parent section is inherited by its children sections. This means that the following KSS markup

// Parent section
//
// markup:
// <div class="parent"></div>
//
// sg-wrapper:
// <div class="parent-wrapper">
//   <sg-wrapper-content/>
// </div>
//
// Styleguide 1.0

...

// Child section
//
// markup:
// <span class="child"></span>
//
// sg-wrapper:
// <div class="parent">
//   <sg-wrapper-content/>
// </div>
//
// Styleguide 1.1

would produce a Parent section:

<div class="parent-wrapper">
  <div class="parent"></div>
</div>

and a Child section:

<div class="parent-wrapper">
  <div class="parent">
    <span class="child"></span>
  </div>
</div>

Inserted markup

In the markup you can insert markup of the other sections by referring to its section number. The markup of the referred section will be inserted into the current one. You can also target specific modifiers or include all modifiers. All unknown {$modifiers} will be ignored. Nested insert also works.

// List
//
// markup:
// <ul>
//   <sg-insert>1.2.1</sg-insert>
//   <sg-insert>1.2.1-5</sg-insert> to insert the 5th modifier of 1.2.1
//   <sg-insert>1.2.1-all</sg-insert> to insert all modifiers of 1.2.1
// </ul>
//
// Styleguide 1.2

...

// List item
//
// markup:
// <li>Item</li>
//
// Styleguide 1.2.1

At the generated website the markup is shown expanded.

Pug (jade) markup

Set enablePug: true to enable Pug support with BEM (bemto). HTML supports with enabled Pug.

Gulpfile.js

gulp.task('styleguide:generate', function() {
  return gulp.src('*.css')
    .pipe(styleguide.generate({
        ...
        enablePug: true
        ...
      }))
    .pipe(gulp.dest(outputPath));
});
/*
Markup:
+b.block_modifier(class="{$modifiers}")
  +e.element
*/

Designer tool

Designer tool is a feature that allows editing style variable directly in the browser and saving the changes back to the source file. It is enabled when the styleVariables option is defined and the application is served with the built-in server.

The changed values are checked for syntax errors before saving, and if something is wrong, nothing is written to the source files and an error notification is shown on the client.

Images, fonts and other static assets

Images, fonts and other static assets should be copied to style guide output folder to make them accessible in the style guide. It is recommended to create a gulp or Grunt task to systematically do the copying when the style guide is generated.

If you modify your assets in gulp streams, you can add styleguide output directory as a second destination for your assets:

gulp.task('images', function() {
  gulp.src(['images/**'])
    // Do image sprites, optimizations etc.
    .pipe(gulp.dest(buildPath + '/images'))
    .pipe(gulp.dest(outputPath + '/images'));
});

Tips and pointers

<html> and <body> styles

Since each component's markup is isolated from the application styles with Shadow DOM, styles defined in <html> or <body> tags will not apply in the component previews. If you want for example to define a font that should also be used in the component previews, define a css class with the font definitions and add that class to the commonClass configuration option.

Providing additional CSS

Sometimes it is needed to apply additional CSS to the components. For example, make grid items of different colors so that they could be easily seen. But such CSS should not sit together with the basic CSS of the component because it is not supposed to be used in general. Obvious solution is to provide additional CSS which works in the styleguide only.

As the Styleguide shows the components isolated with Shadow DOM, any additional CSS provided with extraHead option will not affect the components. If you want to provide additional CSS which affects the components, this code should be added to the other styles when building:

var concat = require("gulp-concat");

...

gulp.task('styleguide:applystyles', function() {
  return gulp.src([
      'main.scss'
      'utils/additional.scss'
      ])
    .pipe(concat('all.scss'))
    .pipe(sass({
      errLogToConsole: true
    }))
    .pipe(styleguide.applyStyles())
    .pipe(gulp.dest(outputPath));
});

Providing additional JavaScript

To provide additional JavaScript for the StyleGuide pages, define its <script> tag in the extraHead parameter:

gulp.task('styleguide:generate', function() {
  return gulp.src('*.scss')
    .pipe(styleguide.generate({
        ...
        extraHead: [
          '<script src="/path/to/my-js-file.js"></script>'
        ],
        disableEncapsulation: true
        ...
      }))
    .pipe(gulp.dest(outputPath));
});

Include other needed scripts, such as libraries, into the same array:

extraHead: [
  '<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>',
  '<script src="/path/to/my-js-file.js"></script>'
]

This way you can enrich the documented components with JavaScript. Keep in mind that you need to use disableEncapsulation parameter to make the components visible for the parent page JavaScript (otherwise they are encapsulated with shadow DOM).

onRendered event

The components get visible onto the StyleGuide pages dynamically. This means that it takes some time to render them.

In your JavaScript you may need to operate components after they have been rendered. Catch styleguide:onRendered event on window for that:

$(window).bind("styleguide:onRendered", function(e) {
  // do anything here
  // use e.originalEvent.detail.elements to get elements
});

This is useful when you need to initialize your components. As this kind of initialization is only needed on the StyleGuide pages, you can provide it with an additional file:

extraHead: [
  '<script src="/path/to/my-js-file.js"></script>',
  '<script src="/js/init-styleguide.js"></script>'
]

Adding new section in between

You may use addSection helper in order to make it easier adding a new section (or subsection) in between of the existing. It shifts reference numbers of the following sections. To create a helping task, write this:

gulp.task("styleguide:addsection", function() {
  return gulp.src('path/to/components/**/*.less')
    .pipe(styleguide.addSection())
    .pipe(gulp.dest('path/to/components/'))
});

Use this task with the parameters:

gulp styleguide:new-section --name=NewSection --order=6.2.1

IMPORTANT: Check diff after doing this change!

NOTE: The tool also makes KSS comment block for a new section if it knows which file it should belong.

The addSection method is parametrized, you may tell which parser to use for the files with certain extension (by analogy to generate helper):

.pipe(styleguide.addSection({
  parsers: {
    scss: 'sass'
  }
}))

NOTE: Be careful with postcss parser. It may not preserve new lines and indents.

Demo

Build demo style guide and start a server on port 3000

npm run demo

Note: If you installed style guide by cloning repository directly instead of npm you need to run npm run build first

The demo generates style guide to demo-output directory.

Point your browser to http://localhost:3000

Additional Info

Articles, blog posts

Supplementary packages

Comments
  • Source files distributed across multiple directories

    Source files distributed across multiple directories

    Hi,

    I've been having an issue configuring the --kss-source for my SC5 styleguide. My SCSS source files are distributed across multiple directories in a structure similar to the example below:

    myapp
      - styles
          - *.scss
      - module1
          - styles
               - *.scss
      - module2
          - styles
               - *.scss
      - module3
          - styles
               - *.scss
          - submodule
              - styles
                   - *.scss
    

    I have have been using your command line tool to compile my styleguide, as described here in your README: https://github.com/SC5/sc5-styleguide#as-a-command-line-tool . It is working great, with one caveat. Perhaps I have been missing something obvious, but I have been unable to find a way to configure the --kss-source to point to multiple separate directories as outlined in the sample directory structure above.

    Is there currently support for this? If so, would you be able to give me any insight into how to correctly specify the --kss-source in this situation? If not, do you have any plans to add support for situations like this one?

    Thanks in advance for your help, and all your great work on SC5-styleguide,

    • Sarah
    question 
    opened by sarahquigley 13
  • Error: EACCES, mkdir '/sc5styleguide' Error: We need tree to translate

    Error: EACCES, mkdir '/sc5styleguide' Error: We need tree to translate

    What does this mean? It was working but stopped after a gulp update. Not sure if it's related to 3.6 or something else.

    Also, sass interpolation breaks gonzales-pe.

    bug 3rd-party 
    opened by alanontheweb 13
  • Variable names with -# or _# cause errors

    Variable names with -# or _# cause errors

    Hello,

    There seems to be a problem with variable names that have a hyphen or underscore followed by a number.

    Example: fontsize-1: 14px;

    Generates the following error:

    Parsing error: Please check the validity of the block starting from line #1
    
    1*| $fontsize-1: 14px;
    

    This seems to be incorrect, hyphens and underscores followed by a number are valid SASS variable names.

    bug 3rd-party 
    opened by wvankuipers 13
  • How do I build the styleguide without running a server?

    How do I build the styleguide without running a server?

    How I can I build a styleguide without running the build in server? I actually want a static version of the styleguide, so I can just open the index.html file in the browser and it just runs.

    opened by aschle 12
  • 'no socket connections' with socket.io v1.3.2

    'no socket connections' with socket.io v1.3.2

    When running the demo application I receive a no socket connections error in the browser. The package.json lists sockets.io as "^1.2.1 which when the packages are installed socket.io version is bumped to 1.3.2. If I explicity set the demo to use sockets.io v1.2.1 I do not receive this error.

    opened by adam-beck 10
  • Version 0.3.15 breaks media SASS variable interpolation

    Version 0.3.15 breaks media SASS variable interpolation

    With Foundation I can create a variable for my media queries and then use them accordingly:

    $medium-up: "#{$screen} and (min-width:#{lower-bound($medium-range)})";
    @media #{$medium-up} {
        .button.primary,
        .button.secondary {
            padding-top: rem-calc(6);
            padding-bottom: rem-calc(6);
        }
    }
    

    However, when I try to run sc5-styleguide with version 0.3.9 (which has the Gonzales PE v3.0.0-16), I receive the following error:

    [15:04:55] [gulp-sass] expected ':' after $medium-up in assignment statement on line 96 in ui/source/patterns/_buttons.scss
    [15:04:55] [gulp-sass] expected ':' after $medium-up in assignment statement on line 96 in ui/source/patterns/_buttons.scss
    [15:04:55] [gulp-sass] expected ':' after $medium-up in assignment statement on line 96 in ui/source/patterns/_buttons.scss
    Parsing error: Please check the validity of the block starting from line #96
    
    94 | }
    96*| @media {$medium-up} {
    97 |    .button.primary,
    98 |    .button.secondary {
    
    Gonzales PE version: 3.0.0-16
    Syntax: scss
    

    This error does NOT occur with v0.3.8

    bug 3rd-party 
    opened by tigerclaw-az 9
  • Getting TypeError when starting styleguide with gulp on Windows

    Getting TypeError when starting styleguide with gulp on Windows

    I'm using sc5-styleguide with gulp on Win8.1 64bit. When I start gulp in my project folder, I get the following error: TypeError: Cannot call method 'substr' of undefined The same error appears when I just go gulp styleguide:generate. When I empty the output-folder and try to generate the styleguide I only get a couple of css- and scss-files, but no html. I already reinstalled everything in node_modules (no errors, no warnings) and emptied node's cache. I also tried the same project on OSX without a problem.

    I tried to track the problem with my humble javascript-knowledge by inserting console.log("something") at strategic points in styleguide.js and taking note of when it prints and when it doesn't, and I think I was successfull on line 189:

    ... console.log("test1"); // prints Q.all([parseKSSPromise, parseVariablesPromise]).spread(function(sections, variables) { console.log("test2"); // doesn't print ...

    I guess either something broken gets passed into q or q itself is broken. Does somebody have a suggestion? Any help or insight would be greatly appreciated.

    bug 
    opened by mehtmehtsen 8
  • My list styles mess up the menu and modifiers lists

    My list styles mess up the menu and modifiers lists

    I have following styles defined:

    
    ul {
      padding-left: 0;
    
      li {
        list-style: none;
      }
    
      li:before {
        padding-right: 30px;
        content: "•";
        font-size: 13px;
        color: #888888;
      }
    
      ul &, ol & {
        margin: 18px 0 18px 30px;
        li:before {
          content: "◦";
        }
      }
    }
    

    This is what that does to the menu and modifier lists

    screen shot 2014-11-25 at 15 36 10 screen shot 2014-11-25 at 15 36 01

    opened by Janpot 8
  • After 2.1.0 update - ERROR: Unable to exclude default styles

    After 2.1.0 update - ERROR: Unable to exclude default styles

    I was getting the same default style bug on clean build as described here #1115

    I updated to 2.1.0 because it is suppose to have a fix for this issue, however once I update to 2.1.0 I receive the following error when I run gulp - ERROR: Unable to exclude default styles

    I thought it might be related to the includeDefaultStyles but I am not using this and adding it to my gulp file doesn't seem to effect the outcome. Any help would be greatly appreciated because I am having to revert back to version 1.7.0 to not have the default style bug issue.

    Also, I found that if you run gulp twice after a clean build the style bug seems to fix itself. Not sure why?

    opened by dlangston 7
  • Vertical navigation menu is not available anymore in the latest version

    Vertical navigation menu is not available anymore in the latest version

    Please forgive me if I'm missing a setting, configuration parameter or missing something else more obvious, but why does your public SC5 demo have a left vertical sidebar layout and then the demo for users that run locally have a top horizontal layout? I'm guessing everything configurable completely, but in a way it's kind of weird to see your demo and then get a slightly different demo after running. Personally, I think your public demo is much cleaner with the left vertical sidebar navigation and was hoping to see a clone of this after my first run. Now I'm suspecting I have to do extra templating and layout to get to where I expected to be based on your public demo. Not hard, but different than what I had expected as the initial output. Screen shots are attached to make it clear what i'm referring to.

    Thanks for your time and patience! Again, I'm sorry if this is obvious but I thought it was important enough to bring up as an issue.

    PUBLIC DEMO: public_sc5_demo_navigation

    LOCAL NPM DEMO: local_sc5_npm_demo_navigation

    feature 
    opened by milkshoes 7
  • Error when using .css source files

    Error when using .css source files

    I'm trying to generate a style guide only using .css files, but I'm getting the following error:

    TypeError: Cannot read property 'test' of undefined

    which results in the styleguide not building correctly.

    I've tried with a number of different setups, these being:

    • Using the sc5-styleguide demo and changing the demo-gulpfile.js source from source = 'lib/app/**/*.scss' to source = 'lib/app/**/*.css' - I placed a CSS stylesheet in this directory.
    • Running styleguide from the command line with the following options: styleguide --kss-source "style.css" --style-source "style.css" --output styleguide.
    • Implemented tasks within my own gulpfile.

    On each occasion, if I rename my css file to '.scss' the error goes away.

    Is there a way I can use vanilla CSS files to generate the style guide, and if so, is there anything obvious that I've missed?

    bug pending release 
    opened by SammyM 7
  • Bump express from 4.13.4 to 4.17.3

    Bump express from 4.13.4 to 4.17.3

    Bumps express from 4.13.4 to 4.17.3.

    Release notes

    Sourced from express's releases.

    4.17.3

    4.17.2

    4.17.1

    • Revert "Improve error message for null/undefined to res.status"

    4.17.0

    • Add express.raw to parse bodies into Buffer
    • Add express.text to parse bodies into string

    ... (truncated)

    Changelog

    Sourced from express's changelog.

    4.17.3 / 2022-02-16

    4.17.2 / 2021-12-16

    4.17.1 / 2019-05-25

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Bump karma from 0.13.22 to 6.3.16

    Bump karma from 0.13.22 to 6.3.16

    Bumps karma from 0.13.22 to 6.3.16.

    Release notes

    Sourced from karma's releases.

    v6.3.16

    6.3.16 (2022-02-10)

    Bug Fixes

    • security: mitigate the "Open Redirect Vulnerability" (ff7edbb)

    v6.3.15

    6.3.15 (2022-02-05)

    Bug Fixes

    v6.3.14

    6.3.14 (2022-02-05)

    Bug Fixes

    • remove string template from client code (91d5acd)
    • warn when singleRun and autoWatch are false (69cfc76)
    • security: remove XSS vulnerability in returnUrl query param (839578c)

    v6.3.13

    6.3.13 (2022-01-31)

    Bug Fixes

    • deps: bump log4js to resolve security issue (5bf2df3), closes #3751

    v6.3.12

    6.3.12 (2022-01-24)

    Bug Fixes

    • remove depreciation warning from log4js (41bed33)

    v6.3.11

    6.3.11 (2022-01-13)

    Bug Fixes

    • deps: pin colors package to 1.4.0 due to security vulnerability (a5219c5)

    ... (truncated)

    Changelog

    Sourced from karma's changelog.

    6.3.16 (2022-02-10)

    Bug Fixes

    • security: mitigate the "Open Redirect Vulnerability" (ff7edbb)

    6.3.15 (2022-02-05)

    Bug Fixes

    6.3.14 (2022-02-05)

    Bug Fixes

    • remove string template from client code (91d5acd)
    • warn when singleRun and autoWatch are false (69cfc76)
    • security: remove XSS vulnerability in returnUrl query param (839578c)

    6.3.13 (2022-01-31)

    Bug Fixes

    • deps: bump log4js to resolve security issue (5bf2df3), closes #3751

    6.3.12 (2022-01-24)

    Bug Fixes

    • remove depreciation warning from log4js (41bed33)

    6.3.11 (2022-01-13)

    Bug Fixes

    • deps: pin colors package to 1.4.0 due to security vulnerability (a5219c5)

    6.3.10 (2022-01-08)

    Bug Fixes

    • logger: create parent folders if they are missing (0d24bd9), closes #3734

    ... (truncated)

    Commits
    • ab4b328 chore(release): 6.3.16 [skip ci]
    • ff7edbb fix(security): mitigate the "Open Redirect Vulnerability"
    • c1befa0 chore(release): 6.3.15 [skip ci]
    • d9dade2 fix(helper): make mkdirIfNotExists helper resilient to concurrent calls
    • 653c762 ci: prevent duplicate CI tasks on creating a PR
    • c97e562 chore(release): 6.3.14 [skip ci]
    • 91d5acd fix: remove string template from client code
    • 69cfc76 fix: warn when singleRun and autoWatch are false
    • 839578c fix(security): remove XSS vulnerability in returnUrl query param
    • db53785 chore(release): 6.3.13 [skip ci]
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Bump markdown-it from 8.3.1 to 12.3.2

    Bump markdown-it from 8.3.1 to 12.3.2

    Bumps markdown-it from 8.3.1 to 12.3.2.

    Changelog

    Sourced from markdown-it's changelog.

    [12.3.2] - 2022-01-08

    Security

    [12.3.1] - 2022-01-07

    Fixed

    • Fix corner case when tab prevents paragraph continuation in lists, #830.

    [12.3.0] - 2021-12-09

    Changed

    • StateInline.delimiters[].jump is removed.

    Fixed

    • Fixed quadratic complexity in pathological ***<10k stars>***a***<10k stars>*** case.

    [12.2.0] - 2021-08-02

    Added

    • Ordered lists: add order value to token info.

    Fixed

    • Always suffix indented code block with a newline, #799.

    [12.1.0] - 2021-07-01

    Changed

    • Updated CM spec compatibility to 0.30.

    [12.0.6] - 2021-04-16

    Fixed

    • Newline in alt should be rendered, #775.

    [12.0.5] - 2021-04-15

    Fixed

    • HTML block tags with === inside are no longer incorrectly interpreted as headers, #772.
    • Fix table/list parsing ambiguity, #767.

    [12.0.4] - 2020-12-20

    Fixed

    • Fix crash introduced in 12.0.3 when processing strikethrough (~~) and similar plugins, #742.
    • Avoid fenced token mutation, #745.

    [12.0.3] - 2020-12-07

    Fixed

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Bump lodash from 3.10.1 to 4.17.21

    Bump lodash from 3.10.1 to 4.17.21

    Bumps lodash from 3.10.1 to 4.17.21.

    Release notes

    Sourced from lodash's releases.

    4.0.0

    lodash v4.0.0

    2015 was big year! Lodash became the most depended on npm package, passed 1 billion downloads, & its v3 release saw massive adoption!

    The year was also one of collaboration, as discussions began on merging Lodash & Underscore. Much of Lodash v4 is proofing out the ideas from those discussions. Lodash v4 would not be possible without the collaboration & contributions of the Underscore core team. In the spirit of merging our teams have blended with several members contributing to both libraries.

    For 2016 & lodash v4.0.0 we wanted to cut loose, push forward, & take things up a notch!

    Modern only

    With v4 we’re breaking free from old projects, old environments, & dropping old IE < 9 support!

    4 kB Core

    Lodash’s kitchen-sink size will continue to grow as new methods & functionality are added. However, we now offer a 4 kB (gzipped) core build that’s compatible with Backbone v1.2.4 for folks who want Lodash without lugging around the kitchen sink.

    More ES6

    We’ve continued to embrace ES6 with methods like _.isSymbol, added support for cloning & comparing array buffers, maps, sets, & symbols, converting iterators to arrays, & iterable _(…).

    In addition, we’ve published an es-build & pulled babel-plugin-lodash into core to make tree-shaking a breeze.

    More Modular

    Pop quiz! 📣

    What category path does the bindAll method belong to? Is it

    A) require('lodash/function/bindAll') B) require('lodash/utility/bindAll') C) require('lodash/util/bindAll')

    Don’t know? Well, with v4 it doesn’t matter because now module paths are as simple as

    var bindAll = require('lodash/bindAll');
    

    We’ve also reduced module complexity making it easier to create smaller bundles. This has helped Lodash adoption with libraries like Async & Redux!

    1st Class FP

    With v3 we introduced lodash-fp. We learned a lot & with v4 we decided to pull it into core.

    Now you can get immutable, auto-curried, iteratee-first, data-last methods as simply as

    var _ = require('lodash/fp');
    var object = { 'a': 1 };
    </tr></table> 
    

    ... (truncated)

    Commits
    • f299b52 Bump to v4.17.21
    • c4847eb Improve performance of toNumber, trim and trimEnd on large input strings
    • 3469357 Prevent command injection through _.template's variable option
    • ded9bc6 Bump to v4.17.20.
    • 63150ef Documentation fixes.
    • 00f0f62 test.js: Remove trailing comma.
    • 846e434 Temporarily use a custom fork of lodash-cli.
    • 5d046f3 Re-enable Travis tests on 4.17 branch.
    • aa816b3 Remove /npm-package.
    • d7fbc52 Bump to v4.17.19
    • Additional commits viewable in compare view
    Maintainer changes

    This version was pushed to npm by bnjmnt4n, a new releaser for lodash since your current version.


    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Bump socket.io from 1.4.8 to 2.4.0

    Bump socket.io from 1.4.8 to 2.4.0

    Bumps socket.io from 1.4.8 to 2.4.0.

    Release notes

    Sourced from socket.io's releases.

    2.4.0

    Related blog post: https://socket.io/blog/socket-io-2-4-0/

    Features (from Engine.IO)

    • add support for all cookie options (19cc582)
    • disable perMessageDeflate by default (5ad2736)

    Bug Fixes

    • security: do not allow all origins by default (f78a575)
    • properly overwrite the query sent in the handshake (d33a619)

    :warning: BREAKING CHANGE :warning:

    Previously, CORS was enabled by default, which meant that a Socket.IO server sent the necessary CORS headers (Access-Control-Allow-xxx) to any domain. This will not be the case anymore, and you now have to explicitly enable it.

    Please note that you are not impacted if:

    • you are using Socket.IO v2 and the origins option to restrict the list of allowed domains
    • you are using Socket.IO v3 (disabled by default)

    This commit also removes the support for '*' matchers and protocol-less URL:

    io.origins('https://example.com:443'); => io.origins(['https://example.com']);
    io.origins('localhost:3000');          => io.origins(['http://localhost:3000']);
    io.origins('http://localhost:*');      => io.origins(['http://localhost:3000']);
    io.origins('*:3000');                  => io.origins(['http://localhost:3000']);
    

    To restore the previous behavior (please use with caution):

    io.origins((_, callback) => {
      callback(null, true);
    });
    

    See also:

    Thanks a lot to @ni8walk3r for the security report.

    Links:

    ... (truncated)

    Changelog

    Sourced from socket.io's changelog.

    2.4.0 (2021-01-04)

    Bug Fixes

    • security: do not allow all origins by default (f78a575)
    • properly overwrite the query sent in the handshake (d33a619)
    Commits
    • 873fdc5 chore(release): 2.4.0
    • f78a575 fix(security): do not allow all origins by default
    • d33a619 fix: properly overwrite the query sent in the handshake
    • 3951a79 chore: bump engine.io version
    • 6fa026f ci: migrate to GitHub Actions
    • 47161a6 [chore] Release 2.3.0
    • cf39362 [chore] Bump socket.io-parser to version 3.4.0
    • 4d01b2c test: remove deprecated Buffer usage (#3481)
    • 8227192 [docs] Fix the default value of the 'origins' parameter (#3464)
    • 1150eb5 [chore] Bump engine.io to version 3.4.0
    • Additional commits viewable in compare view
    Maintainer changes

    This version was pushed to npm by darrachequesne, a new releaser for socket.io since your current version.


    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Replace Element.createShadowRoot with Element.attachShadow

    Replace Element.createShadowRoot with Element.attachShadow

    Description

    Get rid of Element.createShadowRoot since it will be deprecated soon.

    Please also see: https://developer.mozilla.org/en-US/docs/Web/API/Element/createShadowRoot https://developer.mozilla.org/en-US/docs/Web/API/Element/attachShadow

    opened by sei40kr 0
Releases(2.2.0)
  • 2.2.0(Jun 19, 2018)

  • 2.1.0(Sep 20, 2017)

  • 2.0.4(Aug 17, 2017)

  • 2.0.3(Aug 14, 2017)

  • 2.0.2(Aug 10, 2017)

  • 2.0.1(Jun 28, 2017)

  • 2.0.0(Jun 27, 2017)

    2.0.0 (2017-06-27)

    Breaking change Breaking change: Nodejs versions under 1 are no longer supported.

    • Replace smart quotes with straight quotes (#1096)
    • hamburger menu closed by default (#1100)

    Credits

    Thanks to Patrizio Sotgiu for contribution into this release.

    Source code(tar.gz)
    Source code(zip)
  • 1.9.0(Jun 2, 2017)

    1.9.0 (2017-06-02)

    Breaking change Breaking change: Option excludeDefaultStyles changed to includeDefaultStyles for better clarification. The default value of this option is true. (#for more details)

    • Fix #1088 customstyles missing on clean install (#1093) (#1094)

    • Added build option showReferenceNumbers (#1089)

    Source code(tar.gz)
    Source code(zip)
  • 1.8.1(May 8, 2017)

  • 1.8.0(May 5, 2017)

  • 1.7.0(May 4, 2017)

    • Update angular version (#1078)
    • escape hljs attributed div and markdown-it version update (#1075)
    • Output meaningful error message to the console; (#1074, closes #1054)

    Thanks to @DanielaValero for helping this release happen!

    Source code(tar.gz)
    Source code(zip)
  • 1.6.0(Apr 10, 2017)

    1.6.0 (2017-04-10)

    Feature

    • Deploy landing page from folder (#1062)

    Improvement

    • Update README.md Grunt Example (#1068)

    Fixes

    • change the order of styles so that styleguide styles can override app… (#1069)

    Credits

    Thanks to Dandy Umlauft for contribution into this release.

    Source code(tar.gz)
    Source code(zip)
  • 1.5.0(Jan 18, 2017)

    1.5.0 (2017-01-18)

    Updates

    • Switch from Jade to Pug. Fix #993 (#1060)

    Improvement

    • Only subsections are navigable if hideSectionsOnMainSection option is true (#1059)

    Fixes

    • Fixed sockets to reload styleguide pages on code changes. Fix #1045 (#1055)
    • docs: Removed duplicate command line arg (#1057)
    • Fix layout and mobile toggle for sidenav option (#1056)

    Credits

    Thanks to Jeremy AAsum for contribution into this release.

    Source code(tar.gz)
    Source code(zip)
  • 1.4.1(Jan 3, 2017)

  • 1.4.0(Dec 28, 2016)

    Updates

    • Update Gonzales parser to version 4. Fix #1038 (#1049)

    Fixes

    • Parse additional params correctly if many modifiers are in use. Fix #1037 (#1050)

    Internal

    • Updated README.md with svg badge (#1046)
    Source code(tar.gz)
    Source code(zip)
  • 1.3.3(Nov 28, 2016)

  • 1.3.2(Nov 17, 2016)

  • 1.3.1(Nov 11, 2016)

  • 1.3.0(Nov 4, 2016)

    Features

    • Allow to run multiple styleguide servers on different ports. Fix #1019 (#1021)
    • Build option to disable server log. Fix #1007 (#1022)

    Fixes

    • Fix#1017 Parse SCSS variable declarations without spaces (#1018)

    Internal

    • Unit test for not considering spaces in variable definitions (#1020)
    Source code(tar.gz)
    Source code(zip)
  • 1.2.0(Sep 16, 2016)

  • 1.1.3(Sep 2, 2016)

  • 1.1.2(Aug 23, 2016)

    1.1.2 (2016-08-23)

    Improvements

    • fix navbar loading hiccups (#994)

    Fixes

    • fix the huge delay during gulp dev task (#995)
    • fix Removed appRoot property from socket.io script src to stop 404 (#989)

    Credits

    Thanks to Jim Doyle for making this release happen.

    Source code(tar.gz)
    Source code(zip)
  • 1.1.1(Aug 4, 2016)

  • 1.1.0(Aug 3, 2016)

    1.1.0 (2016-08-03)

    Features

    • Configurable dependencies (#974)

    Improvements

    • Avoid nested paragraphs in description (#980)
    • #961 Tweak bemto.jade path dynamically (#962)
    • Test for $var: $var; declarations in SCSS Fix #496. (#954)
    • enhanced custom styles accessibility to navbar by adding class names … (#972)

    Fixes

    • Fix angular-mocks version (#973)
    • Scrolling from javascript not working when overflow: auto is set on body. (#956, closes #42)

    Documentation

    • Typos in readme.md (#971)
    • Link to a blog post about advanced adjustment (#952)

    Credits

    Thanks to Gambit3, Marc. Philippe Vayssière and Yutaro Miyazaki for making this release to happen.

    Source code(tar.gz)
    Source code(zip)
  • 1.0.0(May 24, 2016)

    Improvements

    • Use new version of Gonzales (#947)
      Thanks to this change, we should get rid of many parsing bugs.
    • Upgrade packages (#933)
    • Return server instance when calling styleguide.server() (#948)
    • Fix css for search field (#935)
    • Optimize filter setVariables (#946)

    Internal improvements

    • Test for !optional in SCSS. Fix #757 (#950)
    • Test for @supports in CSS. Fix #944 (#949)

    Credits

    Thanks to Sascha Egerer, Matti Suur-Askola and Marc for making this release to happen!

    Source code(tar.gz)
    Source code(zip)
  • 0.3.47(May 11, 2016)

    0.3.47 (2016-05-11)

    • Fix typo in README.md (#936)
    • Section page displays subsection details links (#938)
    • Additional links in the documentation (#930)
    • Upgrade to angular 1.5 and latest phantomjs (#924)
    Source code(tar.gz)
    Source code(zip)
  • 0.3.46(Apr 20, 2016)

    0.3.46 (2016-04-20)

    Features

    • Feature side navigation switch added (#920)
    • Third navigation level added in side navigation (##920)
    • Menu styles added for mobile view in side (##920)

    Improvements

    • Prevent to load sections on main navigation level (##920)
    Source code(tar.gz)
    Source code(zip)
  • 0.3.45(Mar 21, 2016)

  • 0.3.44(Mar 2, 2016)

    • Add abbility to register custom processors to modify the styleguide data (#899)
    • Helper for adding a new section. Fix #894 (#897)

    Fixes

    • Add missing jshint dependency (#900)
    • Fix #895 render overview code blocks using angular-highlightjs markup (#896)

    Thanks

    Thanks to Sascha Egerer and Matthew Shooks for helping this release happening!

    Source code(tar.gz)
    Source code(zip)
  • 0.3.43(Feb 17, 2016)

Owner
SC5
SC5 creates cloud native applications and digital services that allow businesses to serve their customers faster, better and more cost-efficiently.
SC5
Automatically generate a style guide from your stylesheets.

StyleDocco StyleDocco generates documentation and style guide documents from your stylesheets. Stylesheet comments will be parsed through Markdown and

Jacob Rask 1.1k Sep 24, 2022
:book: Opinionated CSS styleguide for scalable applications

css Opinionated CSS styleguide for scalable applications This guide was heavily inspired by experiments, awesome people like @fat and @necolas and awe

Guilherme Coelho 411 Nov 30, 2022
This project is for those who are new to open-source and looking for make their first contribution

First Contribution This project is for those who are new to open-source and looking for make their first contribution. Follow the steps below :- If yo

Heritage Institute of Technology 2025 122 Jan 4, 2023
A powerful little tool for managing CSS animations

NO LONGER BEING SUPPORTED Please consider https://github.com/ThrivingKings/animo instead animo.js A powerful little tool for managing CSS animations.

Daniel Raftery 2.1k Jan 2, 2023
implementing a hook to listen to system theme changes! it could be a good lib, who knows? 😏

This is a Next.js project bootstrapped with create-next-app. Getting Started First, run the development server: npm run dev # or yarn dev Open http://

José Tone 4 Jan 15, 2022
A starter CSS framework that actually looks good.

Mustard UI Mustard is a starter CSS framework that actually looks good. Getting Started Mustard UI is currently in release v1.0. Try it out today and

Kyle Logue 1k Dec 28, 2022
Automatic GatsbyJS App Landing Page - Automatically generate iOS app landing page using GatsbyJS

Automatic GatsbyJS App Landing Page Create and deploy an iOS app landing page on GitHub Pages and Netlify in a couple of minutes ?? Fork this repo ??

Imed Adel 173 Jan 1, 2023
A simple powerline like lines generator.

Powerline.css A quick way to create powerline like effect. It's super simple and super easy to use. Author: @vivekascoder How to Use?? Start with down

Vivek 4 Sep 27, 2022
JSS is an authoring tool for CSS which uses JavaScript as a host language.

JSS A lib for generating Style Sheets with JavaScript. For documentation see our docs. Backers Support us with a monthly donation and help us continue

JSS 6.9k Dec 31, 2022
A Lightweight Sass Tool Set

A Lightweight Sass Tool Set Bourbon is a library of Sass mixins and functions that are designed to make you a more efficient style sheet author. It is

thoughtbot, inc. 9.1k Dec 30, 2022
A simple build tool for Figma plugins based on webpack

Figpack EXPERIMENTAL / WORK IN PROGRESS A simple build tool for Figma plugins based on webpack. It's optimized for plugins that could get complex, mea

Roman Nurik 21 Oct 9, 2022
A set of small, responsive CSS modules that you can use in every web project.

Pure A set of small, responsive CSS modules that you can use in every web project. http://purecss.io/ This project is looking for maintainers to suppo

Pure CSS 22.7k Jan 3, 2023
A CSS bookmarklet that puts pink error boxes (with messages in comic sans) everywhere you write bad HTML.

REVENGE.CSS The premise of revenge.css is simple: A CSS bookmarklet that uses selectors to find bad markup, displaying ugly pink error messages in com

Heydon Pickering 724 Dec 31, 2022
🖼 A pure client-side landing page template that you can fork, customize and host freely. Relies on Mailchimp and Google Analytics.

landing-page-boilerplate A pure client-side landing page template that you can freely fork, customize, host and link to your own domain name (e.g. usi

Adrien Joly 129 Dec 24, 2022
a Plex landing page that redirects you to various sites.

PlexRedirect a Plex landing page that redirects you to various sites. Blank spaces are where your server name goes. If you don't have a server name yo

null 222 Dec 29, 2022
Chrome extension that creates a button on Lever job application pages which shows you how their api parses your resume.

EDIT I have helped make a website that provides the same functionality. Repo: https://github.com/KnlnKS/resume-parser Site: https://resume-parser.verc

Kunalan Kevin Subagaran 17 May 19, 2022
An easy-to-use linux app that lets you create Desktop Shortcuts hassle-free

DeskCut An easy to use app that lets you create Desktop Shortcuts (.desktop files) on Linux without requiring to mess with .desktop files! How to use

null 96 Dec 30, 2022
Etch-a-Sketch - Resizable grids that change color when you hover over it

Etch-a-sketch This repository contains a basic resizable grid which changes its

Abhishek Acharya 3 Feb 11, 2022
A Gnome extension to remind you to give a rest to your eyes every a specific period of time

A Gnome extension to remind you to give a rest to your eyes every a specific period of time

null 8 Jun 21, 2022