summaryrefslogtreecommitdiffhomepage
path: root/packages/web/public
diff options
context:
space:
mode:
authorAdam <[email protected]>2025-06-26 10:16:07 -0500
committerJay V <[email protected]>2025-06-26 17:21:53 -0400
commit2e26b58d160cc7cfc5c403cd63cbb30fad9fe8d0 (patch)
tree8adf56cd142dd6426bfa93aa8ed891d326f69231 /packages/web/public
parent31b56e5a05313fea9232bea4c9e90db00a2d23e7 (diff)
downloadopencode-2e26b58d160cc7cfc5c403cd63cbb30fad9fe8d0.tar.gz
opencode-2e26b58d160cc7cfc5c403cd63cbb30fad9fe8d0.zip
feat: default system theme (#419)
Co-authored-by: adamdottv <[email protected]>
Diffstat (limited to 'packages/web/public')
-rw-r--r--packages/web/public/theme.json20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/web/public/theme.json b/packages/web/public/theme.json
index e8e939ea8..0b1b95f02 100644
--- a/packages/web/public/theme.json
+++ b/packages/web/public/theme.json
@@ -22,6 +22,11 @@
"minimum": 0,
"maximum": 255,
"description": "ANSI color code (0-255)"
+ },
+ {
+ "type": "string",
+ "enum": ["none"],
+ "description": "No color (uses terminal default)"
}
]
}
@@ -112,6 +117,11 @@
},
{
"type": "string",
+ "enum": ["none"],
+ "description": "No color (uses terminal default)"
+ },
+ {
+ "type": "string",
"pattern": "^[a-zA-Z][a-zA-Z0-9_]*$",
"description": "Reference to another color in the theme or defs"
},
@@ -133,6 +143,11 @@
},
{
"type": "string",
+ "enum": ["none"],
+ "description": "No color (uses terminal default)"
+ },
+ {
+ "type": "string",
"pattern": "^[a-zA-Z][a-zA-Z0-9_]*$",
"description": "Reference to another color for dark mode"
}
@@ -153,6 +168,11 @@
},
{
"type": "string",
+ "enum": ["none"],
+ "description": "No color (uses terminal default)"
+ },
+ {
+ "type": "string",
"pattern": "^[a-zA-Z][a-zA-Z0-9_]*$",
"description": "Reference to another color for light mode"
}