···45Extremely simple, small, classless CSS framework in the style of Vercel's Geist. Inspired by [xz/new.css](https://github.com/xz/new.css).
67-The minified stylesheet weighs only **~5kb** and can make any plain HTML file look clean and modern.
89It has a light and dark theme, and the header turns into a sidebar on wider displays so that you get more vertical space.
10···5758```html
59<a href="https://example.com">
60- <button>Click me!</button>
61</a>
62```
63···6768```html
69<details>
70- <summary>Click me!</summary>
71- <p>Lorem ipsum dolor sit amet.</p>
72</details>
73```
74···79## Themes
8081You 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:
082```html
83<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@intergrav/dev.css@2/theme/terminal.min.css">
84```
···45Extremely simple, small, classless CSS framework in the style of Vercel's Geist. Inspired by [xz/new.css](https://github.com/xz/new.css).
67+The minified stylesheet weighs only **~5kb** and can make any plain HTML file look clean and modern.
89It has a light and dark theme, and the header turns into a sidebar on wider displays so that you get more vertical space.
10···5758```html
59<a href="https://example.com">
60+ <button>Click me!</button>
61</a>
62```
63···6768```html
69<details>
70+ <summary>Click me!</summary>
71+ <p>Lorem ipsum dolor sit amet.</p>
72</details>
73```
74···79## Themes
8081You 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:
82+83```html
84<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@intergrav/dev.css@2/theme/terminal.min.css">
85```
+15-15
theme/boilerplate.css
···1/* This theme is a template that you can modify */
23:root {
4- /* Fonts */
5- --dc-font-sans: sans-serif; /* Sans Serif */
6- --dc-font-mono: monospace; /* Monospace */
7- /* Colors */
8- --dc-tx-1: #000000; /* Primary text */
9- --dc-tx-2: #1a1a1a; /* Secondary text */
10- --dc-bg-1: #fafafa; /* Main background */
11- --dc-bg-2: #fff; /* Secondary background */
12- --dc-bg-3: #ebebeb; /* Outlines */
13- --dc-lk-1: #0068d6; /* Link text */
14- --dc-lkb-1: #0072f5; /* Link button background */
15- --dc-lkb-2: #0062d1; /* Link button background (hover) */
16- --dc-lkb-tx: #ededed; /* Link button text */
17- --dc-ac-1: #8e4ec6; /* Accent color */
18- --dc-ac-tx: #ededed; /* Accent color text */
19}
···1/* This theme is a template that you can modify */
23:root {
4+ /* Fonts */
5+ --dc-font-sans: sans-serif; /* Sans Serif */
6+ --dc-font-mono: monospace; /* Monospace */
7+ /* Colors */
8+ --dc-tx-1: #000000; /* Primary text */
9+ --dc-tx-2: #1a1a1a; /* Secondary text */
10+ --dc-bg-1: #fafafa; /* Main background */
11+ --dc-bg-2: #fff; /* Secondary background */
12+ --dc-bg-3: #ebebeb; /* Outlines */
13+ --dc-lk-1: #0068d6; /* Link text */
14+ --dc-lkb-1: #0072f5; /* Link button background */
15+ --dc-lkb-2: #0062d1; /* Link button background (hover) */
16+ --dc-lkb-tx: #ededed; /* Link button text */
17+ --dc-ac-1: #8e4ec6; /* Accent color */
18+ --dc-ac-tx: #ededed; /* Accent color text */
19}