Home

Awesome

#YSS : Yago Style Sheet

YSS is styleguide framework written in PHP and jQuery. It display nicely all your commented CSS to create a very usefull tool.

Check the demo

##Features

##Installation

  1. Just copy the repository wherever you want.
  2. Set the path to your CSS file(s) in the config file (/config.php)
  3. Install the dependencies with Composer
$ cd path/to/your/styleguide/dir/
$ composer install
$ sass --watch sass/yss.scss:css/yss.css
  1. Just open the url to the directory in your favorite browser/device. Ex: http://myapp.dev/styleguide/

##Usage YSS can read the full Markdown syntax, but to create a understandable styleguide, check the example below (be careful to use the right `) :

/*
#Font styles
## Titles
''''
<h1>My title number 1</h1>
<h2>My title number 2</h2>
<h3>My title number 3</h3>
<h4>My title number 4</h4>
<h5>My title number 5</h5>
<h6>My title number 6</h6>
''''
##Paragraphs
''''
<p>
  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ego vero volo in virtute vim esse quam maximam; Sed quid attinet de rebus tam apertis plura requirere?
</p>
''''
*/

h1, h2, h3, h4, h5, h6 {
  font-weight: 900;
  color: red;
}

p {
  font-size: 14px;
}

##Dependencies