zyn-rgb 1.0.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/README.md ADDED
@@ -0,0 +1,34 @@
1
+ # Theme RGB for Zyn Agent
2
+
3
+ ## What it provides
4
+ - A new `rgb` theme
5
+ - High-contrast neon palette
6
+ - Theme metadata compatible with Zyn's plugin format
7
+
8
+ ## Files
9
+ - `manifest.json` — Zyn plugin metadata
10
+ - `rgb-theme.json` — theme definition
11
+ - `index.js` — plugin entrypoint
12
+
13
+ ## Install
14
+ From the Zyn plugin manager:
15
+
16
+ ```bash
17
+ /plugins install ./path/to/zyn-theme-rgb-plugin
18
+ ```
19
+
20
+ Or publish it to npm and install it by name:
21
+
22
+ ```bash
23
+ /plugins install zyn-theme-rgb
24
+ ```
25
+
26
+ ## Theme colors
27
+ The theme is designed around:
28
+ - bright red accent
29
+ - cyan secondary accent
30
+ - neon green success color
31
+ - dark background for terminal readability
32
+
33
+ ## Notes
34
+ Zyn's current theme list is still mostly built-in, so this plugin exposes the theme data in a plugin-friendly format. If your Zyn build supports dynamic theme registration, it can register automatically through `registerTheme(api)`.
package/manifest.json ADDED
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "zyn-rgb",
3
+ "version": "1.0.0",
4
+ "type": "theme",
5
+ "description": "A vibrant RGB neon theme for Zyn Agent.",
6
+ "author": "SoyMaycol",
7
+ "entry": "src/index.js",
8
+ "theme": "rgb"
9
+ }
package/package.json ADDED
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "zyn-rgb",
3
+ "version": "1.0.0",
4
+ "description": "RGB neon theme plugin for Zyn Agent",
5
+ "author": "SoyMaycol",
6
+ "license": "MIT",
7
+ "main": "src/index.js",
8
+ "keywords": [
9
+ "zyn",
10
+ "plugin",
11
+ "theme",
12
+ "zyn-ai",
13
+ "zyn-agent",
14
+ "rgb",
15
+ "neon",
16
+ "terminal"
17
+ ],
18
+ "files": [
19
+ "src/index.js",
20
+ "manifest.json",
21
+ "src/rgb-theme.json",
22
+ "README.md"
23
+ ],
24
+ "zyn": {
25
+ "type": "theme",
26
+ "name": "rgb",
27
+ "themeFile": "src/rgb-theme.json"
28
+ }
29
+ }
package/src/index.js ADDED
@@ -0,0 +1,29 @@
1
+ const manifest = require('../manifest.json');
2
+ const themeData = require('./rgb-theme.json');
3
+
4
+ function registerTheme(api) {
5
+ if (!api || typeof api !== 'object') {
6
+ return themeData;
7
+ }
8
+
9
+ if (typeof api.registerTheme === 'function') {
10
+ api.registerTheme(manifest.theme || 'rgb', themeData.palette || themeData);
11
+ }
12
+
13
+ if (typeof api.addTheme === 'function') {
14
+ api.addTheme({
15
+ name: manifest.theme || 'rgb',
16
+ label: themeData.label || 'RGB Neon',
17
+ ...themeData,
18
+ });
19
+ }
20
+
21
+ return themeData;
22
+ }
23
+
24
+ module.exports = {
25
+ manifest,
26
+ theme: themeData,
27
+ registerTheme,
28
+ default: themeData,
29
+ };
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "rgb",
3
+ "label": "RGB Neon",
4
+ "palette": {
5
+ "bg": "#05060a",
6
+ "surface": "#0b0f1a",
7
+ "surfaceHi": "#121827",
8
+ "text": "#f8fafc",
9
+ "textDim": "#d8e1ee",
10
+ "textMuted": "#94a3b8",
11
+ "textGhost": "#64748b",
12
+ "textInvis": "#334155",
13
+ "accent": "#ff004c",
14
+ "accentSoft": "#00e5ff",
15
+ "accentDim": "#7c3aed",
16
+ "green": "#00ff9d",
17
+ "greenDim": "#00b36b",
18
+ "red": "#ff335f",
19
+ "redDim": "#b91c1c",
20
+ "amber": "#ffd166",
21
+ "amberDim": "#b7791f",
22
+ "purple": "#c084fc",
23
+ "purpleDim": "#7c3aed",
24
+ "blue": "#4ea1ff",
25
+ "blueDim": "#1d4ed8",
26
+ "cyan": "#00e5ff",
27
+ "cyanDim": "#0891b2",
28
+ "border": "#1f2a44",
29
+ "borderLight": "#2b3b5e",
30
+ "codeBg": "#050814",
31
+ "borderStyle": "double",
32
+ "spinMs": 75
33
+ },
34
+ "preview": {
35
+ "primary": "#ff004c",
36
+ "secondary": "#00e5ff",
37
+ "tertiary": "#00ff9d"
38
+ }
39
+ }