lightweight, simple, classless CSS framework inspired by new.css
devcss.devins.page
framework
lightweight
css
classless
stylesheet
1/* ==userstyle==
2@name boilerplate-auto for dev.css
3@description a template that you can modify, but with two color schemes for light/dark mode. copied from dev.css defaults. you can remove lines that you want to keep as the dev.css default, such as the font lines
4@namespace author
5@version 1.0.0
6@author author <author@example.com> (https://example.com)
7@homepageURL https://example.com
8@supportURL https://example.com/issues
9@license MIT
10==/userstyle== */
11
12:root {
13 /* font families */
14 --dc-font: "Geist", "Inter", system-ui, "Segoe UI", Roboto, Helvetica,
15 Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
16 --dc-font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Consolas,
17 "Liberation Mono", Menlo, monospace;
18
19 /* light colors */
20 --dc-cs: light; /* light/dark for scrollbars, inputs, etc */
21 --dc-tx-1: #171717; /* primary text */
22 --dc-tx-2: #666; /* secondary text */
23 --dc-bg-1: #fff; /* primary background */
24 --dc-bg-2: #fafafa; /* secondary background */
25 --dc-bg-3: #ebebeb; /* border */
26 --dc-lk-1: #005ff2; /* link text */
27 --dc-lkb-1: #006bff; /* link button */
28 --dc-lkb-2: #0059ec; /* link button hover */
29 --dc-lkb-tx: #fff; /* text over link button */
30 --dc-ac-1: #a000f8; /* accent color */
31 --dc-ac-tx: #fff; /* text over accent color */
32
33 /* dark colors */
34 --dc-d-cs: dark;
35 --dc-d-tx-1: #ededed;
36 --dc-d-tx-2: #a1a1a1;
37 --dc-d-bg-1: #0a0a0a;
38 --dc-d-bg-2: #000;
39 --dc-d-bg-3: #2e2e2e;
40 --dc-d-lk-1: #47a8ff;
41 --dc-d-lkb-1: #006efe;
42 --dc-d-lkb-2: #005be7;
43 --dc-d-lkb-tx: #fff;
44 --dc-d-ac-1: #9440d5;
45 --dc-d-ac-tx: #fff;
46}
47
48@media (prefers-color-scheme: dark) {
49 :root {
50 --dc-cs: var(--dc-d-cs);
51 --dc-tx-1: var(--dc-d-tx-1);
52 --dc-tx-2: var(--dc-d-tx-2);
53 --dc-bg-1: var(--dc-d-bg-1);
54 --dc-bg-2: var(--dc-d-bg-2);
55 --dc-bg-3: var(--dc-d-bg-3);
56 --dc-lk-1: var(--dc-d-lk-1);
57 --dc-lkb-1: var(--dc-d-lkb-1);
58 --dc-lkb-2: var(--dc-d-lkb-2);
59 --dc-lkb-tx: var(--dc-d-lkb-tx);
60 --dc-ac-1: var(--dc-d-ac-1);
61 --dc-ac-tx: var(--dc-d-ac-tx);
62 }
63}