@monowind/ascii 0.1.9 → 0.2.0
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/dist/cdn.js +1 -1
- package/dist/cdn.js.map +1 -1
- package/package.json +3 -3
- package/src/styles.css +4 -28
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monowind/ascii",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "FIGlet/TOIlet ascii-art banner text for monowind: the <mono-ascii> element and a font library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ascii-art",
|
|
@@ -45,13 +45,13 @@
|
|
|
45
45
|
"@types/node": "^26.4.0",
|
|
46
46
|
"figlet": "^1.11.4",
|
|
47
47
|
"happy-dom": "^20.12.0",
|
|
48
|
-
"monowind": "^0.
|
|
48
|
+
"monowind": "^0.2.0",
|
|
49
49
|
"typescript": "^7.0.2",
|
|
50
50
|
"vite": "^8.2.2",
|
|
51
51
|
"vitest": "^4.1.11"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"monowind": "^0.
|
|
54
|
+
"monowind": "^0.2.0"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
57
|
"build": "node scripts/generate-fonts.mjs && vite build && vite build -c vite.cdn.config.ts && tsc -p tsconfig.build.json && node -e \"fs.readdirSync('dist/fonts').filter(f=>f.endsWith('.map')).forEach(f=>fs.rmSync('dist/fonts/'+f))\"",
|
package/src/styles.css
CHANGED
|
@@ -6,35 +6,11 @@
|
|
|
6
6
|
* In `base` so themes and utilities override everything here. */
|
|
7
7
|
|
|
8
8
|
@layer base {
|
|
9
|
-
/* Custom elements default to inline
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
9
|
+
/* Custom elements default to inline. Replaced-element sizing (auto
|
|
10
|
+
* width = intrinsic, so `mx-auto` centers and `w-full` stretches)
|
|
11
|
+
* comes from the engine's leaf handling — a CSS `width: max-content`
|
|
12
|
+
* here would be invisible to Gecko's computed styles. */
|
|
13
13
|
mono-ascii {
|
|
14
14
|
display: block;
|
|
15
|
-
width: max-content;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
/* ANSI-16 theme tokens: what SGR-colored fonts and `effect` filters
|
|
19
|
-
* resolve against, so a font's "red" follows the theme. Defaults
|
|
20
|
-
* follow the VS Code terminal palette; the themes initiative (and
|
|
21
|
-
* any consumer) overrides them. */
|
|
22
|
-
mono-wind {
|
|
23
|
-
--mw-ansi-black: #000000;
|
|
24
|
-
--mw-ansi-red: #cd3131;
|
|
25
|
-
--mw-ansi-green: #0dbc79;
|
|
26
|
-
--mw-ansi-yellow: #e5e510;
|
|
27
|
-
--mw-ansi-blue: #2472c8;
|
|
28
|
-
--mw-ansi-magenta: #bc3fbc;
|
|
29
|
-
--mw-ansi-cyan: #11a8cd;
|
|
30
|
-
--mw-ansi-white: #e5e5e5;
|
|
31
|
-
--mw-ansi-bright-black: #666666;
|
|
32
|
-
--mw-ansi-bright-red: #f14c4c;
|
|
33
|
-
--mw-ansi-bright-green: #23d18b;
|
|
34
|
-
--mw-ansi-bright-yellow: #f5f543;
|
|
35
|
-
--mw-ansi-bright-blue: #3b8eea;
|
|
36
|
-
--mw-ansi-bright-magenta: #d670d6;
|
|
37
|
-
--mw-ansi-bright-cyan: #29b8db;
|
|
38
|
-
--mw-ansi-bright-white: #ffffff;
|
|
39
15
|
}
|
|
40
16
|
}
|