@intergrav/dev.css 3.1.0 → 3.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intergrav/dev.css",
3
- "version": "3.1.0",
3
+ "version": "3.1.2",
4
4
  "description": "Tiny, simple, classless CSS framework in the style of Vercel's Geist design system",
5
5
  "author": "intergrav <intergrav@proton.me> (https://intergrav.xyz)",
6
6
  "license": "MIT",
@@ -0,0 +1,51 @@
1
+ /* theme for dev.css v3, a classless CSS framework - https://github.com/intergrav/dev.css */
2
+ /* about: a template that you can modify, but with an automatic light/dark mode */
3
+ /* note: you can remove lines that you want to keep as the dev.css default, such as the font lines */
4
+
5
+ :root {
6
+ /* font families */
7
+ --dc-font-sans: sans-serif; /* sans serif */
8
+ --dc-font-mono: monospace; /* monospace */
9
+
10
+ /* light colors */
11
+ --dc-tx-1: #000000; /* primary text */
12
+ --dc-tx-2: #1a1a1a; /* secondary text */
13
+ --dc-bg-1: #fafafa; /* main background */
14
+ --dc-bg-2: #fff; /* secondary background */
15
+ --dc-bg-3: #ebebeb; /* outlines */
16
+ --dc-lk-1: #0068d6; /* link text */
17
+ --dc-lkb-1: #0072f5; /* link button background */
18
+ --dc-lkb-2: #0062d1; /* link button background (hover) */
19
+ --dc-lkb-tx: #ededed; /* link button text */
20
+ --dc-ac-1: #8e4ec6; /* accent color */
21
+ --dc-ac-tx: #ededed; /* accent color text */
22
+
23
+ /* dark colors */
24
+ --dc-d-tx-1: #ededed;
25
+ --dc-d-tx-2: #a1a1a1;
26
+ --dc-d-bg-1: #000;
27
+ --dc-d-bg-2: #0a0a0a;
28
+ --dc-d-bg-3: #2e2e2e;
29
+ --dc-d-lk-1: #52a8ff;
30
+ --dc-d-lkb-1: #0072f5;
31
+ --dc-d-lkb-2: #0062d1;
32
+ --dc-d-lkb-tx: #ededed;
33
+ --dc-d-ac-1: #8e4ec6;
34
+ --dc-d-ac-tx: #ededed;
35
+ }
36
+
37
+ @media (prefers-color-scheme: dark) {
38
+ :root {
39
+ --dc-tx-1: var(--dc-d-tx-1);
40
+ --dc-tx-2: var(--dc-d-tx-2);
41
+ --dc-bg-1: var(--dc-d-bg-1);
42
+ --dc-bg-2: var(--dc-d-bg-2);
43
+ --dc-bg-3: var(--dc-d-bg-3);
44
+ --dc-lk-1: var(--dc-d-lk-1);
45
+ --dc-lkb-1: var(--dc-d-lkb-1);
46
+ --dc-lkb-2: var(--dc-d-lkb-2);
47
+ --dc-lkb-tx: var(--dc-d-lkb-tx);
48
+ --dc-ac-1: var(--dc-d-ac-1);
49
+ --dc-ac-tx: var(--dc-d-ac-tx);
50
+ }
51
+ }
@@ -1,19 +1,22 @@
1
- /* This theme is a template that you can modify */
1
+ /* theme for dev.css v3, a classless CSS framework - https://github.com/intergrav/dev.css */
2
+ /* about: a template that you can modify */
3
+ /* note: you can remove lines that you want to keep as the dev.css default, such as the font lines */
2
4
 
3
5
  :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 */
6
+ /* font families */
7
+ --dc-font-sans: sans-serif; /* sans serif */
8
+ --dc-font-mono: monospace; /* monospace */
9
+
10
+ /* colors */
11
+ --dc-tx-1: #000000; /* primary text */
12
+ --dc-tx-2: #1a1a1a; /* secondary text */
13
+ --dc-bg-1: #fafafa; /* main background */
14
+ --dc-bg-2: #fff; /* secondary background */
15
+ --dc-bg-3: #ebebeb; /* outlines */
16
+ --dc-lk-1: #0068d6; /* link text */
17
+ --dc-lkb-1: #0072f5; /* link button background */
18
+ --dc-lkb-2: #0062d1; /* link button background (hover) */
19
+ --dc-lkb-tx: #ededed; /* link button text */
20
+ --dc-ac-1: #8e4ec6; /* accent color */
21
+ --dc-ac-tx: #ededed; /* accent color text */
19
22
  }
@@ -0,0 +1,47 @@
1
+ /* theme for dev.css v3, a classless CSS framework - https://github.com/intergrav/dev.css */
2
+ /* about: catppuccin's frappé color scheme - https://github.com/catppuccin */
3
+ /* note: this will use catppuccin latte if the user's device prefers light mode for accessibility and consistency */
4
+
5
+ :root {
6
+ /* light colors - latte */
7
+ --dc-tx-1: #4c4f69; /* primary text | Text */
8
+ --dc-tx-2: #4c4f69; /* secondary text | Text */
9
+ --dc-bg-1: #e6e9ef; /* main background | Mantle */
10
+ --dc-bg-2: #eff1f5; /* secondary background | Base */
11
+ --dc-bg-3: #ccd0da; /* outlines | Surface0 */
12
+ --dc-lk-1: #1e66f5; /* link text | Blue */
13
+ --dc-lkb-1: #bcc0cc; /* link button background | Surface1 */
14
+ --dc-lkb-2: #ccd0da; /* link button background (hover) | Surface0 */
15
+ --dc-lkb-tx: #4c4f69; /* link button text | Text */
16
+ --dc-ac-1: #7c7f931e; /* accent/selection color | Overlay2 + 1e */
17
+ --dc-ac-tx: #4c4f69; /* accent/selection color text | Text */
18
+
19
+ /* dark colors */
20
+ --dc-d-tx-1: #c6d0f5; /* primary text | Text */
21
+ --dc-d-tx-2: #c6d0f5; /* secondary text | Text */
22
+ --dc-d-bg-1: #292c3c; /* main background | Mantle */
23
+ --dc-d-bg-2: #303446; /* secondary background | Base */
24
+ --dc-d-bg-3: #414559; /* outlines | Surface0 */
25
+ --dc-d-lk-1: #8caaee; /* link text | Blue */
26
+ --dc-d-lkb-1: #51576d; /* link button background | Surface1 */
27
+ --dc-d-lkb-2: #414559; /* link button background (hover) | Surface0 */
28
+ --dc-d-lkb-tx: #c6d0f5; /* link button text | Text */
29
+ --dc-d-ac-1: #949cbb1e; /* accent/selection color | Overlay2 + 1e */
30
+ --dc-d-ac-tx: #c6d0f5; /* accent/selection color text | Text */
31
+ }
32
+
33
+ @media (prefers-color-scheme: dark) {
34
+ :root {
35
+ --dc-tx-1: var(--dc-d-tx-1);
36
+ --dc-tx-2: var(--dc-d-tx-2);
37
+ --dc-bg-1: var(--dc-d-bg-1);
38
+ --dc-bg-2: var(--dc-d-bg-2);
39
+ --dc-bg-3: var(--dc-d-bg-3);
40
+ --dc-lk-1: var(--dc-d-lk-1);
41
+ --dc-lkb-1: var(--dc-d-lkb-1);
42
+ --dc-lkb-2: var(--dc-d-lkb-2);
43
+ --dc-lkb-tx: var(--dc-d-lkb-tx);
44
+ --dc-ac-1: var(--dc-d-ac-1);
45
+ --dc-ac-tx: var(--dc-d-ac-tx);
46
+ }
47
+ }
@@ -0,0 +1,47 @@
1
+ /* theme for dev.css v3, a classless CSS framework - https://github.com/intergrav/dev.css */
2
+ /* about: catppuccin's macchiato color scheme - https://github.com/catppuccin */
3
+ /* note: this will use catppuccin latte if the user's device prefers light mode for accessibility and consistency */
4
+
5
+ :root {
6
+ /* light colors - latte */
7
+ --dc-tx-1: #4c4f69; /* primary text | Text */
8
+ --dc-tx-2: #4c4f69; /* secondary text | Text */
9
+ --dc-bg-1: #e6e9ef; /* main background | Mantle */
10
+ --dc-bg-2: #eff1f5; /* secondary background | Base */
11
+ --dc-bg-3: #ccd0da; /* outlines | Surface0 */
12
+ --dc-lk-1: #1e66f5; /* link text | Blue */
13
+ --dc-lkb-1: #bcc0cc; /* link button background | Surface1 */
14
+ --dc-lkb-2: #ccd0da; /* link button background (hover) | Surface0 */
15
+ --dc-lkb-tx: #4c4f69; /* link button text | Text */
16
+ --dc-ac-1: #7c7f931e; /* accent/selection color | Overlay2 + 1e */
17
+ --dc-ac-tx: #4c4f69; /* accent/selection color text | Text */
18
+
19
+ /* dark colors */
20
+ --dc-d-tx-1: #cad3f5; /* primary text | Text */
21
+ --dc-d-tx-2: #cad3f5; /* secondary text | Text */
22
+ --dc-d-bg-1: #1e2030; /* main background | Mantle */
23
+ --dc-d-bg-2: #24273a; /* secondary background | Base */
24
+ --dc-d-bg-3: #363a4f; /* outlines | Surface0 */
25
+ --dc-d-lk-1: #8aadf4; /* link text | Blue */
26
+ --dc-d-lkb-1: #494d64; /* link button background | Surface1 */
27
+ --dc-d-lkb-2: #363a4f; /* link button background (hover) | Surface0 */
28
+ --dc-d-lkb-tx: #cad3f5; /* link button text | Text */
29
+ --dc-d-ac-1: #939ab71e; /* accent/selection color | Overlay2 + 1e */
30
+ --dc-d-ac-tx: #cad3f5; /* accent/selection color text | Text */
31
+ }
32
+
33
+ @media (prefers-color-scheme: dark) {
34
+ :root {
35
+ --dc-tx-1: var(--dc-d-tx-1);
36
+ --dc-tx-2: var(--dc-d-tx-2);
37
+ --dc-bg-1: var(--dc-d-bg-1);
38
+ --dc-bg-2: var(--dc-d-bg-2);
39
+ --dc-bg-3: var(--dc-d-bg-3);
40
+ --dc-lk-1: var(--dc-d-lk-1);
41
+ --dc-lkb-1: var(--dc-d-lkb-1);
42
+ --dc-lkb-2: var(--dc-d-lkb-2);
43
+ --dc-lkb-tx: var(--dc-d-lkb-tx);
44
+ --dc-ac-1: var(--dc-d-ac-1);
45
+ --dc-ac-tx: var(--dc-d-ac-tx);
46
+ }
47
+ }
@@ -0,0 +1,47 @@
1
+ /* theme for dev.css v3, a classless CSS framework - https://github.com/intergrav/dev.css */
2
+ /* about: catppuccin's mocha color scheme - https://github.com/catppuccin */
3
+ /* note: this will use catppuccin latte if the user's device prefers light mode for accessibility and consistency */
4
+
5
+ :root {
6
+ /* light colors - latte */
7
+ --dc-tx-1: #4c4f69; /* primary text | Text */
8
+ --dc-tx-2: #4c4f69; /* secondary text | Text */
9
+ --dc-bg-1: #e6e9ef; /* main background | Mantle */
10
+ --dc-bg-2: #eff1f5; /* secondary background | Base */
11
+ --dc-bg-3: #ccd0da; /* outlines | Surface0 */
12
+ --dc-lk-1: #1e66f5; /* link text | Blue */
13
+ --dc-lkb-1: #bcc0cc; /* link button background | Surface1 */
14
+ --dc-lkb-2: #ccd0da; /* link button background (hover) | Surface0 */
15
+ --dc-lkb-tx: #4c4f69; /* link button text | Text */
16
+ --dc-ac-1: #7c7f931e; /* accent/selection color | Overlay2 + 1e */
17
+ --dc-ac-tx: #4c4f69; /* accent/selection color text | Text */
18
+
19
+ /* dark colors */
20
+ --dc-d-tx-1: #cdd6f4; /* primary text | Text */
21
+ --dc-d-tx-2: #cdd6f4; /* secondary text | Text */
22
+ --dc-d-bg-1: #181825; /* main background | Mantle */
23
+ --dc-d-bg-2: #1e1e2e; /* secondary background | Base */
24
+ --dc-d-bg-3: #313244; /* outlines | Surface0 */
25
+ --dc-d-lk-1: #89b4fa; /* link text | Blue */
26
+ --dc-d-lkb-1: #45475a; /* link button background | Surface1 */
27
+ --dc-d-lkb-2: #313244; /* link button background (hover) | Surface0 */
28
+ --dc-d-lkb-tx: #cdd6f4; /* link button text | Text */
29
+ --dc-d-ac-1: #9399b21e; /* accent/selection color | Overlay2 + 1e */
30
+ --dc-d-ac-tx: #cdd6f4; /* accent/selection color text | Text */
31
+ }
32
+
33
+ @media (prefers-color-scheme: dark) {
34
+ :root {
35
+ --dc-tx-1: var(--dc-d-tx-1);
36
+ --dc-tx-2: var(--dc-d-tx-2);
37
+ --dc-bg-1: var(--dc-d-bg-1);
38
+ --dc-bg-2: var(--dc-d-bg-2);
39
+ --dc-bg-3: var(--dc-d-bg-3);
40
+ --dc-lk-1: var(--dc-d-lk-1);
41
+ --dc-lkb-1: var(--dc-d-lkb-1);
42
+ --dc-lkb-2: var(--dc-d-lkb-2);
43
+ --dc-lkb-tx: var(--dc-d-lkb-tx);
44
+ --dc-ac-1: var(--dc-d-ac-1);
45
+ --dc-ac-tx: var(--dc-d-ac-tx);
46
+ }
47
+ }
package/theme/day.css ADDED
@@ -0,0 +1,17 @@
1
+ /* theme for dev.css v3, a classless CSS framework - https://github.com/intergrav/dev.css */
2
+ /* about: makes it always light, regardless of device setting */
3
+
4
+ :root {
5
+ /* colors */
6
+ --dc-tx-1: #000000;
7
+ --dc-tx-2: #1a1a1a;
8
+ --dc-bg-1: #fafafa;
9
+ --dc-bg-2: #fff;
10
+ --dc-bg-3: #ebebeb;
11
+ --dc-lk-1: #0068d6;
12
+ --dc-lkb-1: #0072f5;
13
+ --dc-lkb-2: #0062d1;
14
+ --dc-lkb-tx: #ededed;
15
+ --dc-ac-1: #8e4ec6;
16
+ --dc-ac-tx: #ededed;
17
+ }
package/theme/night.css CHANGED
@@ -1,7 +1,8 @@
1
- /* This theme will make it always dark, regardless of device setting */
1
+ /* theme for dev.css v3, a classless CSS framework - https://github.com/intergrav/dev.css */
2
+ /* about: makes it always dark, regardless of device setting */
2
3
 
3
4
  :root {
4
- /* Colors */
5
+ /* colors */
5
6
  --dc-tx-1: #ededed;
6
7
  --dc-tx-2: #a1a1a1;
7
8
  --dc-bg-1: #000;
@@ -1,12 +1,14 @@
1
- /* This theme has a similar look to a computer terminal */
1
+ /* theme for dev.css v3, a classless CSS framework - https://github.com/intergrav/dev.css */
2
+ /* about: has a similar look to a computer terminal */
2
3
 
3
4
  @import url("https://cdn.jsdelivr.net/npm/@intergrav/fonts@1/serve/geist-mono.min.css");
4
5
 
5
6
  :root {
6
- /* Fonts */
7
+ /* font families */
7
8
  --dc-font-sans: "Geist Mono", monospace;
8
9
  --dc-font-mono: "Geist Mono", monospace;
9
- /* Colors */
10
+
11
+ /* colors */
10
12
  --dc-tx-1: #ffffff;
11
13
  --dc-tx-2: #eeeeee;
12
14
  --dc-bg-1: #000000;