feat: Implement Gogh Theme Engine with options page, theme parsing, and semantic theme derivation
We're cooked. <skull emoji> - Added options page for YAML palette editing, live color preview, and diagnostics. - Implemented theme engine to parse Gogh YAML palettes and derive semantic themes. - Configured TypeScript and Vite for building the extension. - Created new tab and popup HTML pages with corresponding scripts and styles. - Established storage management for user configurations in Chrome storage. - Added icons for the extension and updated manifest for MV3 compatibility.
This commit is contained in:
56
manifest.json
Normal file
56
manifest.json
Normal file
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"manifest_version": 3,
|
||||
"name": "Chrome Extension Template",
|
||||
"description": "A Chrome Extension created using a template",
|
||||
"version": "0.0.1",
|
||||
"author": "Clyde D'Souza",
|
||||
"icons": {
|
||||
"16": "icons/icon16.png",
|
||||
"48": "icons/icon48.png",
|
||||
"128": "icons/icon128.png"
|
||||
},
|
||||
"omnibox": {
|
||||
"keyword" : "@@"
|
||||
},
|
||||
"permissions": [
|
||||
"storage"
|
||||
],
|
||||
"chrome_url_overrides" : {
|
||||
"newtab": "newtab.html"
|
||||
},
|
||||
"options_ui": {
|
||||
"page": "options.html",
|
||||
"open_in_tab": true
|
||||
},
|
||||
"background": {
|
||||
"service_worker": "background.js"
|
||||
},
|
||||
"content_scripts": [{
|
||||
"matches": ["*://github.com/*"],
|
||||
"js": ["content_scripts.js"]
|
||||
}],
|
||||
"action": {
|
||||
"default_popup": "popup.html",
|
||||
"default_title": "Open template popup"
|
||||
},
|
||||
"commands": {
|
||||
"turn-on": {
|
||||
"suggested_key": {
|
||||
"default": "Alt + Shift + M"
|
||||
},
|
||||
"description": "Adds an ON badge to the action icon."
|
||||
},
|
||||
"turn-off": {
|
||||
"suggested_key": {
|
||||
"default": "Alt + Shift + N"
|
||||
},
|
||||
"description": "Adds an OFF badge to the action icon."
|
||||
},
|
||||
"_execute_action": {
|
||||
"suggested_key": {
|
||||
"default": "Alt + Shift + L"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user