@riebeckite/theme-terminal 0.0.35 → 0.0.36

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/README.md CHANGED
@@ -8,6 +8,16 @@
8
8
 
9
9
  `@riebeckite/theme-terminal` provides the official **Terminal** theme. Its theme identity is `terminal`. A terminal-inspired theme with configurable phosphor and frame details.
10
10
 
11
+ ## Rendered example
12
+
13
+ **Light**
14
+
15
+ ![theme-terminal-light.png](https://github.com/Rerurate514/riebeckite/blob/main/docs/assets/themes/theme-terminal-light.png)
16
+
17
+ **Dark**
18
+
19
+ ![theme-terminal-dark.png](https://github.com/Rerurate514/riebeckite/blob/main/docs/assets/themes/theme-terminal-dark.png)
20
+
11
21
  ## Installation
12
22
 
13
23
  ```sh
package/README_ja.md CHANGED
@@ -8,6 +8,16 @@
8
8
 
9
9
  `@riebeckite/theme-terminal` は公式テーマ **Terminal** を提供します。テーマ ID は `terminal` です。蛍光体色やフレームを設定できる、ターミナル風テーマです。
10
10
 
11
+ ## 実際の表示例
12
+
13
+ **ライト**
14
+
15
+ ![theme-terminal-light.png](https://github.com/Rerurate514/riebeckite/blob/main/docs/assets/themes/theme-terminal-light.png)
16
+
17
+ **ダーク**
18
+
19
+ ![theme-terminal-dark.png](https://github.com/Rerurate514/riebeckite/blob/main/docs/assets/themes/theme-terminal-dark.png)
20
+
11
21
  ## インストール
12
22
 
13
23
  ```sh
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/theme-terminal",
3
- "version": "0.0.35",
3
+ "version": "0.0.36",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./dist/src/index.js",
@@ -16,7 +16,7 @@
16
16
  "./styles/theme.css": "./styles/theme.css"
17
17
  },
18
18
  "dependencies": {
19
- "@riebeckite/core": "0.0.35"
19
+ "@riebeckite/core": "0.0.36"
20
20
  },
21
21
  "publishConfig": {
22
22
  "access": "public"
package/styles/theme.css CHANGED
@@ -10,37 +10,6 @@
10
10
  }
11
11
  @layer base {
12
12
  :is(:root, .rb-theme-root)[data-rb-theme="terminal"] {
13
- color-scheme: dark;
14
- --rb-color-paper: #07100a;
15
- --rb-color-surface: #0d1910;
16
- --rb-color-surface-hover: #15261a;
17
- --rb-color-ink: #b7ffc5;
18
- --rb-color-muted: #79a781;
19
- --rb-color-accent: #69ed85;
20
- --rb-color-link: #a2ffb4;
21
- --rb-color-focus: #d5ffdb;
22
- --rb-color-selected: #205b2c;
23
- --rb-color-border: #3a7545;
24
- --rb-color-border-strong: #66a872;
25
- --rb-color-danger: #ff9a8d;
26
- --rb-color-success: #9affac;
27
- --rb-color-code-background: #030804;
28
- --rb-color-code-ink: #b7ffc5;
29
- --rb-color-code-inline: #15351b;
30
- --rb-color-overlay: rgb(0 0 0 / 0.78);
31
- --rb-font-body:
32
- "Cascadia Mono", "Cascadia Code", "Lucida Console", "DejaVu Sans Mono",
33
- "Noto Sans Mono CJK JP", monospace;
34
- --rb-font-heading: var(--rb-font-body);
35
- --rb-font-mono: var(--rb-font-body);
36
- --rb-layout-page-max: 88rem;
37
- --rb-layout-article-max: 52rem;
38
- --rb-layout-sidebar: 16rem;
39
- --rb-layout-gap: 2rem;
40
- --rb-radius-sm: 0;
41
- --rb-radius-md: 0;
42
- }
43
- :is(:root, .rb-theme-root)[data-rb-theme="terminal"][data-rb-mode="light"] {
44
13
  color-scheme: light;
45
14
  --rb-color-paper: #ecf1e8;
46
15
  --rb-color-surface: #f7faf3;
@@ -59,27 +28,58 @@
59
28
  --rb-color-code-ink: #d9f7dc;
60
29
  --rb-color-code-inline: #dcebdc;
61
30
  --rb-color-overlay: rgb(4 15 6 / 0.64);
31
+ --rb-font-body:
32
+ "Cascadia Mono", "Cascadia Code", "Lucida Console", "DejaVu Sans Mono",
33
+ "Noto Sans Mono CJK JP", monospace;
34
+ --rb-font-heading: var(--rb-font-body);
35
+ --rb-font-mono: var(--rb-font-body);
36
+ --rb-layout-page-max: 88rem;
37
+ --rb-layout-article-max: 52rem;
38
+ --rb-layout-sidebar: 16rem;
39
+ --rb-layout-gap: 2rem;
40
+ --rb-radius-sm: 0;
41
+ --rb-radius-md: 0;
42
+ }
43
+ :is(:root, .rb-theme-root)[data-rb-theme="terminal"][data-rb-mode="dark"] {
44
+ color-scheme: dark;
45
+ --rb-color-paper: #07100a;
46
+ --rb-color-surface: #0d1910;
47
+ --rb-color-surface-hover: #15261a;
48
+ --rb-color-ink: #b7ffc5;
49
+ --rb-color-muted: #79a781;
50
+ --rb-color-accent: #69ed85;
51
+ --rb-color-link: #a2ffb4;
52
+ --rb-color-focus: #d5ffdb;
53
+ --rb-color-selected: #205b2c;
54
+ --rb-color-border: #3a7545;
55
+ --rb-color-border-strong: #66a872;
56
+ --rb-color-danger: #ff9a8d;
57
+ --rb-color-success: #9affac;
58
+ --rb-color-code-background: #030804;
59
+ --rb-color-code-ink: #b7ffc5;
60
+ --rb-color-code-inline: #15351b;
61
+ --rb-color-overlay: rgb(0 0 0 / 0.78);
62
62
  }
63
- @media (prefers-color-scheme: light) {
63
+ @media (prefers-color-scheme: dark) {
64
64
  :is(:root, .rb-theme-root)[data-rb-theme="terminal"]:not([data-rb-mode]) {
65
- color-scheme: light;
66
- --rb-color-paper: #ecf1e8;
67
- --rb-color-surface: #f7faf3;
68
- --rb-color-surface-hover: #dce6d7;
69
- --rb-color-ink: #183a21;
70
- --rb-color-muted: #4e7155;
71
- --rb-color-accent: #237e3d;
72
- --rb-color-link: #155d2a;
73
- --rb-color-focus: #175f2d;
74
- --rb-color-selected: #c5e6c9;
75
- --rb-color-border: #73a27a;
76
- --rb-color-border-strong: #376d41;
77
- --rb-color-danger: #aa4438;
78
- --rb-color-success: #28723b;
79
- --rb-color-code-background: #102416;
80
- --rb-color-code-ink: #d9f7dc;
81
- --rb-color-code-inline: #dcebdc;
82
- --rb-color-overlay: rgb(4 15 6 / 0.64);
65
+ color-scheme: dark;
66
+ --rb-color-paper: #07100a;
67
+ --rb-color-surface: #0d1910;
68
+ --rb-color-surface-hover: #15261a;
69
+ --rb-color-ink: #b7ffc5;
70
+ --rb-color-muted: #79a781;
71
+ --rb-color-accent: #69ed85;
72
+ --rb-color-link: #a2ffb4;
73
+ --rb-color-focus: #d5ffdb;
74
+ --rb-color-selected: #205b2c;
75
+ --rb-color-border: #3a7545;
76
+ --rb-color-border-strong: #66a872;
77
+ --rb-color-danger: #ff9a8d;
78
+ --rb-color-success: #9affac;
79
+ --rb-color-code-background: #030804;
80
+ --rb-color-code-ink: #b7ffc5;
81
+ --rb-color-code-inline: #15351b;
82
+ --rb-color-overlay: rgb(0 0 0 / 0.78);
83
83
  }
84
84
  }
85
85
  :is(:root, .rb-theme-root)[data-rb-theme="terminal"] {