mirror of
https://github.com/Chalarangelo/mini.css.git
synced 2025-08-13 09:23:58 +02:00
Scaffolding for the flavors page
This commit is contained in:
29
docs/doc-fragments/buildYourOwnFlavor.js
Normal file
29
docs/doc-fragments/buildYourOwnFlavor.js
Normal file
@@ -0,0 +1,29 @@
|
||||
var version = require('../vinf').version;
|
||||
module.exports = {
|
||||
id: 'build-your-own-flavor',
|
||||
title: 'Build your own flavor',
|
||||
content: `<p></p>`,
|
||||
sections: [
|
||||
{id: 'textual-content', title: 'Textual content'},
|
||||
{id: 'color-palette', title: 'Color palette'},
|
||||
{id: 'universal-styles', title: 'Universal styles'},
|
||||
{id: 'grid', title: 'Grid'},
|
||||
{id: 'cards', title: 'Cards'},
|
||||
{id: 'forms-and-input', title: 'Forms & input'},
|
||||
{id: 'buttons', title: 'Buttons'},
|
||||
{id: 'header', title: 'Header'},
|
||||
{id: 'navbar', title: 'Navigation bar'},
|
||||
{id: 'footer', title: 'Footer'},
|
||||
{id: 'menu-drawer', title: 'Menu drawer'},
|
||||
{id: 'tables', title: 'Tables'},
|
||||
{id: 'text-highlighting', title: 'Text highlighting'},
|
||||
{id: 'toasts', title: 'Toasts'},
|
||||
{id: 'tooltips', title: 'Tooltips'},
|
||||
{id: 'modals', title: 'Modal dialogs'},
|
||||
{id: 'collapse', title: 'Spoilers & accordions'},
|
||||
{id: 'progress', title: 'Progress bars'},
|
||||
{id: 'donut-spinner', title: 'Donut spinners'},
|
||||
{id: 'icons', title: 'Icons'},
|
||||
{id: 'utility', title: 'Utilities'}
|
||||
]
|
||||
}
|
4
docs/doc-fragments/customizationFragments.js
Normal file
4
docs/doc-fragments/customizationFragments.js
Normal file
@@ -0,0 +1,4 @@
|
||||
var premadeFlavors = require('./premadeFlavors');
|
||||
var buildYourOwn = require('./buildYourOwnFlavor');
|
||||
|
||||
module.exports = [premadeFlavors, buildYourOwn]
|
@@ -2,10 +2,5 @@ var version = require('../vinf').version;
|
||||
module.exports = {
|
||||
id: 'prebuilt-flavors',
|
||||
title: 'Prebuilt flavors',
|
||||
content: `<div class="section"><p><strong>mini.css</strong> comes with a few prebuild flavors out of the box, so you can get started without having to finetune every little aspect of your CSS framework:</p>
|
||||
<ul>
|
||||
<li>Default: <a href="flavorFiles/mini-default.scss" download>SCSS file</a> - <a href="flavorFiles/mini-default.css" download>CSS file</a> - <a href="flavorFiles/mini-default.min.css" download>CSS file (minified)</a></li>
|
||||
<li>Dark: <a href="flavorFiles/mini-dark.scss" download>SCSS file</a> - <a href="flavorFiles/mini-dark.css" download>CSS file</a> - <a href="flavorFiles/mini-dark.min.css" download>CSS file (minified)</a></li>
|
||||
<li>Nord: <a href="flavorFiles/mini-nord.scss" download>SCSS file</a> - <a href="flavorFiles/mini-nord.css" download>CSS file</a> - <a href="flavorFiles/mini-nord.min.css" download>CSS file (minified)</a></li>
|
||||
</ul></div>`
|
||||
content: `<p>We have some prebuilt flavors:</p><ul><li>Default</li><li>Dark</li></ul>`
|
||||
}
|
||||
|
Reference in New Issue
Block a user