···4455Extremely simple, small, classless CSS framework in the style of Vercel's Geist. Inspired by [xz/new.css](https://github.com/xz/new.css).
6677-The minified stylesheet weighs only **~5kb** and can make any plain HTML file look clean and modern.
77+The minified stylesheet weighs only **~5kb** and can make any plain HTML file look clean and modern.
8899It has a light and dark theme, and the header turns into a sidebar on wider displays so that you get more vertical space.
1010···57575858```html
5959<a href="https://example.com">
6060- <button>Click me!</button>
6060+ <button>Click me!</button>
6161</a>
6262```
6363···67676868```html
6969<details>
7070- <summary>Click me!</summary>
7171- <p>Lorem ipsum dolor sit amet.</p>
7070+ <summary>Click me!</summary>
7171+ <p>Lorem ipsum dolor sit amet.</p>
7272</details>
7373```
7474···7979## Themes
80808181You can use custom colors and custom fonts in dev.css through themes. See the `/theme` folder to view some premade ones. You can also copy the `boilerplate.css` and make a theme yourself. Simply apply it after the dev.css stylesheet. For example, to apply the terminal theme, put this after your main stylesheet:
8282+8283```html
8384<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@intergrav/dev.css@2/theme/terminal.min.css">
8485```
+15-15
theme/boilerplate.css
···11/* This theme is a template that you can modify */
2233:root {
44- /* Fonts */
55- --dc-font-sans: sans-serif; /* Sans Serif */
66- --dc-font-mono: monospace; /* Monospace */
77- /* Colors */
88- --dc-tx-1: #000000; /* Primary text */
99- --dc-tx-2: #1a1a1a; /* Secondary text */
1010- --dc-bg-1: #fafafa; /* Main background */
1111- --dc-bg-2: #fff; /* Secondary background */
1212- --dc-bg-3: #ebebeb; /* Outlines */
1313- --dc-lk-1: #0068d6; /* Link text */
1414- --dc-lkb-1: #0072f5; /* Link button background */
1515- --dc-lkb-2: #0062d1; /* Link button background (hover) */
1616- --dc-lkb-tx: #ededed; /* Link button text */
1717- --dc-ac-1: #8e4ec6; /* Accent color */
1818- --dc-ac-tx: #ededed; /* Accent color text */
44+ /* Fonts */
55+ --dc-font-sans: sans-serif; /* Sans Serif */
66+ --dc-font-mono: monospace; /* Monospace */
77+ /* Colors */
88+ --dc-tx-1: #000000; /* Primary text */
99+ --dc-tx-2: #1a1a1a; /* Secondary text */
1010+ --dc-bg-1: #fafafa; /* Main background */
1111+ --dc-bg-2: #fff; /* Secondary background */
1212+ --dc-bg-3: #ebebeb; /* Outlines */
1313+ --dc-lk-1: #0068d6; /* Link text */
1414+ --dc-lkb-1: #0072f5; /* Link button background */
1515+ --dc-lkb-2: #0062d1; /* Link button background (hover) */
1616+ --dc-lkb-tx: #ededed; /* Link button text */
1717+ --dc-ac-1: #8e4ec6; /* Accent color */
1818+ --dc-ac-tx: #ededed; /* Accent color text */
1919}