Flavors
One of the core ideas behind mini.css is its flavor system. A flavor is the final compiled stylesheet a website or web app uses. When you start using mini.css, you usually try out the default flavor, using one of the following references inside your HTML page's <head>
tag:
<link rel="stylesheet" href="https://gitcdn.link/repo/Chalarangelo/mini.css/master/dist/mini-default.min.css">
<link rel="stylesheet" href="https://cdn.rawgit.com/Chalarangelo/mini.css/v2.1.1/dist/mini-default.min.css">
There are, however a handful of other flavors included with mini.css. Below, you can see a full list of them:
-
Default mini-default
<link rel="stylesheet" href="https://gitcdn.link/repo/Chalarangelo/mini.css/master/dist/mini-default.min.css">
The default flavor for mini.css uses a light gray background and gray-black foreground color. Certain containers, such as cards and tabs use white-gray backgrounds. The grid system has 12 columns and most of the components and modules use sharp corners with blurred shadows to give it a material-like design. All of the colors used in this flavor are based on Google's Material design color palette.
-
Lite View on Codepenmini-lite
<link rel="stylesheet" href="https://gitcdn.link/repo/Chalarangelo/mini.css/master/dist/mini-lite.min.css">
Lite is a light flavor that uses a the default palette (light gray background and gray-black foreground color). It uses the default naming conventions (
.primary
,.secondary
etc.). The grid system has 12 columns and most components use sharp corners without shadows. To make the flavor lighter, button groups, horizontal tables, certain card and progress styles, along with spinner donuts, tooltips, navigation bars and alerts are not included. -
Sucroa View on Codepenmini-sucroa
<link rel="stylesheet" href="https://gitcdn.link/repo/Chalarangelo/mini.css/master/dist/mini-sucroa.min.css">
Sucroa is a full flavor that uses a yellow-pink-lilac background color palette with dark purple-black foreground colors. It uses the default naming conventions (
.primary
,.secondary
etc.). The grid system has 12 columns and most components use soft shadows combined with rounded corners. The card module's.dark
and.darker
classes have been replaced by the.light
and.lighter
classes respectively. Finally,.animated
alerts and.horizontal
tables are not available. -
Nord View on Codepenmini-nord
<link rel="stylesheet" href="https://gitcdn.link/repo/Chalarangelo/mini.css/master/dist/mini-nord.min.css">
Nord is a full flavor that uses the Nord color palette (arctic, north-bluish color palette). It uses the default naming conventions (
.primary
,.secondary
etc.). The grid system has 12 columns and most components use soft shadows combined with rounded corners. All modules and components that are available in the default flavor are also available in Nord.
If you would rather modify one of the pre-defined flavors or create your own, check out our customization page for instructions.