classless framework for fast prototyping
0
classes0
dependencies- use plain HTML tags to get pleasant look
- combine tags to get more complex components
- customize colors and decorations easily
- auto enabling dark
||
light theme based on system preferences
- Main with docs by inspecting source code
🗿
For last version:
<link href="https://clsls.github.io/framework/src/index.css" rel="stylesheet" />
To create your own theme just rewrite following variables in your CSS file:
{
/* colors */
--clsls-color-main: ;
--clsls-color-opposite: ;
--clsls-color-background: ;
--clsls-color-text: ;
--clsls-color-link-hover: ;
--clsls-color-button: ;
--clsls-color-border: ;
--clsls-color-code: ;
/* fonts */
--clsls-font-heading: ;
--clsls-font-text: ;
/* other */
--clsls-line-thickness: ;
--clsls-radius: ;
--clsls-zoom-main: ;
--clsls-icon-chevron: ;
}
- code block
- seprate font for headline
- inline code
- card component
- dotted link
- sizes for buttons
- more demos
- checkboxes
-
npm install
support - better docs page with code to copy
- match variable name with CSS properties and HTML tags
-
--clsls-color-link-hover
→--clsls-color-a-hover
-
--clsls-radius
→--clsls-border-radius
-
--clsls-line-thickness
→--clsls-border-width
-
--clsls-color-code
→--clsls-color-code-background
-
- deletion of
--clsls-zoom-main
?