- 🇮🇹Italy apaderno Brescia, 🇮🇹
The Seven theme has been removed from Drupal core; it is now a contributed theme. As such, the task described here is no longer necessary.
This is a sibling issue to 🌱 [Meta] Create a visual style guide for the Seven theme Active . If we complete that task, we would need some drupal.org infrastructure to host the new files.
If Drupal core has KSS comments that document how each CSS component is to be used and how it looks, module developers and themers would need a simple way to view the style guide that can be generated from the KSS comments.
Having those people generate the style guide using free tools (a KSS parser and generator) is easy for technically proficient users, but burden-some for others.
We should have drupal.org parse the KSS comments inside Drupal core's CSS, generate a static HTML style guide from them, and host the style guide somewhere on api.drupal.org.
{
"name": "seven-style-guide",
"version": "8.0.0",
"description": "The style guide for the Seven theme.",
"devDependencies": {
"kss": "^2.0"
}
}
npm install
npm shrink-wrap --dev
and adding the "npm-shrinkwrap.json" to version control../node_modules/.bin/kss-node --config style-guide-seven.json
(where that json file includes the proper command line options.)
Will add a set of static HTML pages to api.drupal.org that shows off the seven style guide.
Closed: outdated
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
The Seven theme has been removed from Drupal core; it is now a contributed theme. As such, the task described here is no longer necessary.