Questions tagged [knyle-style-sheet]

[No more maintained since around 2016] A documentation standard for writing more understandable CSS which auto generates a style guide. You start off by writing your CSS and then with some Ruby on Rails help, the CSS file can be automatically turned into a guide.

A documentation standard for writing more understandable CSS which auto generates a style guide. You start off by writing your CSS and then with some Ruby on Rails help, the CSS file can be automatically turned into a guide.

The project is currently not maintained anymore.

See https://github.com/kneath/kss/#readme

7 questions
5
votes
0 answers

KSS styleguide generator in PHP?

I like KSS (Knyle Style Sheets). I'm aware of the original styleguide generator written in Ruby and I've seen a port to Node and a Rails engine. I could not find any other implementations but I would like to know, is there an implementation of the…
Potherca
  • 13,207
  • 5
  • 76
  • 94
2
votes
1 answer

KSS Knyle Style Sheet - Creating Sub nav for Table of Contents

So I took the KSS template and modified it to work with what we need. But now I have a small issue. Each section is generating and I have it building the Table of Contents for me. But if I have a section such as "Inputs" that contain 6 variations of…
1
vote
1 answer

KSS Styleguide with Angular 4

I have an Angular 4 app that we use SCSS with and we would like to use KSS Styleguide to automatically create a styleguide. The issue is that KSS needs to be pointed at a compiled CSS file so it can show previews of the styles. However, because…
BlueCaret
  • 4,719
  • 7
  • 30
  • 48
1
vote
1 answer

How can I use different markup with kss-node generated html?

I'm grunting up a styleguide using kss-node but I want to use different markup for different section pages (i.e. different modifiers), how can I accomplish this? My index.html template does this: {{#eachSection rootName}} {{#ifDepth 1}} …
Astirian
  • 63
  • 1
  • 10
0
votes
2 answers

How to use KSS effectively with a CSS designed for dark mode?

Suppose I intend to create a web page emplying dark mode. A very minimal page could look like this: :root { --fg-color: white; --bg-color: black; } body { color: var(--fg-color); background-color: var(--bg-color); } .simple { border:…
Enlico
  • 23,259
  • 6
  • 48
  • 102
0
votes
1 answer

How to get rid of "WARNING: no homepage content found in homepage.md"?

I'm getting started with KSS using CSS in Depth by Keith Grant as a reference. At 10.1.4, the author writes Inside the css directory, create a new file at css/homepage.md. This will be a file in markdown that serves as an introduction to the…
Enlico
  • 23,259
  • 6
  • 48
  • 102
0
votes
1 answer

Issue with image referencing when generating a styleguide using kss-node

I'm using the NodeJS implementation of KSS. I have the following file structure: sass (.scss files) css (compiled .css files) images (images & sprites) styleguide (auto-generated styleguide html) |- public …
Craig Myles
  • 5,206
  • 3
  • 40
  • 37