Official
themes
The stock themes: presets of every colour, type size, corner, density token and background, chosen per light and dark mode and edited in Settings, beside the themes other plugins ship.
The app opens the listing; nothing installs until an agent in your Plugins workspace has read the files and you enable the plugin. In a terminal: dvg install divergence/themes@0.3.4
Permissions in 0.3.4
Files
plugin.json1.3 KB
{
"id": "divergence/themes",
"name": "themes",
"version": "0.3.4",
"description": "The stock themes: presets of every colour, type size, corner, density token and background, chosen per light and dark mode and edited in Settings, beside the themes other plugins ship.",
"pluginApi": ">=5 <6",
"main": "main.ts",
"permissions": {
"settings.write": {
"reason": "Apply the chosen theme to the window"
},
"fs.read": {
"scopes": ["data"],
"reason": "Find the pictures you chose for backgrounds in this plugin's data folder, to remove the ones no preset uses"
},
"fs.write": {
"scopes": ["data"],
"reason": "Keep a copy of each picture you choose for a background in this plugin's data folder, so it stays when the original moves"
}
},
"contributes": {
"settings": {
"title": "Themes",
"properties": {
"presets": {
"type": "object",
"default": {},
"title": "Your presets",
"description": "Presets by id: { name, mode, tokens }."
},
"active": {
"type": "object",
"default": {},
"title": "Chosen presets",
"description": "The preset id of each mode: { light, dark }."
}
},
"view": "settings.tsx"
}
}
}
No comments yet.