library kss-php-template
A template ready to use for generate style guide.
keverage/kss-php-template
A template ready to use for generate style guide.
- Tuesday, August 29, 2017
- by Keverage
- Repository
- 1 Watchers
- 0 Stars
- 0 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
KSS PHP Template
A template ready to use for generate style guide from Knyle Style Sheets PHP (KSS)., (*1)
Install
- Move the folder in your styles directory and rename it styleguide
- Run composer
- Configure config.json file
- Access to styleguide directory in your navigator
Config
The template does not work by default. You must do edit config.json file:, (*2)
{
"name": "Project name",
"version": "1.0.0",
"date": "",
"author": "Styleguide author",
"kss": {
"source": [
// Add relative path to your styles directory, e.g. "../styles/modules"
],
"options": {
"title": "Style guide",
"css": [
// Add css from your theme, e.g. "../styles/dist/theme.css"
"template/assets/css/override.css"
]
},
"kssphpmarkup": {
"urlPrefix": "",
"cache": false
}
}
}
dev-master
9999999-dev
A template ready to use for generate style guide.
Sources
Download
MIT
The Requires
by
Kévin Baubet
styleguide
kss
css documentation
kss php
kss template