-
Notifications
You must be signed in to change notification settings - Fork 16
Add Dracula/Alucard System Theme #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,106 @@ | ||||||||||||||||||||||||
| { | ||||||||||||||||||||||||
| "manifest_version": 2, | ||||||||||||||||||||||||
| "version": "1.0", | ||||||||||||||||||||||||
| "name": "Dracula/Alucard System Theme", | ||||||||||||||||||||||||
| "short_name": "Dracula/Alucard", | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| "browser_specific_settings": { | ||||||||||||||||||||||||
| "gecko": { | ||||||||||||||||||||||||
| "strict_min_version": "142.0.1" | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| "theme": { | ||||||||||||||||||||||||
| "colors": { | ||||||||||||||||||||||||
| "button_background_active": "rgb(210, 210, 210)", | ||||||||||||||||||||||||
| "button_background_hover": "rgb(230, 230, 230)", | ||||||||||||||||||||||||
| "frame": "rgb(230, 230, 230)", | ||||||||||||||||||||||||
| "icons": "rgb(40, 42, 54)", | ||||||||||||||||||||||||
| "icons_attention": "rgb(189, 147, 249)", | ||||||||||||||||||||||||
| "ntp_background": "rgb(230, 230, 230)", | ||||||||||||||||||||||||
| "ntp_text": "rgb(255, 42, 54)", | ||||||||||||||||||||||||
| "popup": "rgb(230, 230, 230)", | ||||||||||||||||||||||||
| "popup_text": "rgb(40, 42, 54)", | ||||||||||||||||||||||||
| "popup_border": "rgb(98, 114, 164)", | ||||||||||||||||||||||||
| "popup_highlight": "rgb(98, 114, 164)", | ||||||||||||||||||||||||
| "popup_highlight_text": "rgb(248, 248, 242)", | ||||||||||||||||||||||||
| "sidebar": "rgb(230, 230, 230)", | ||||||||||||||||||||||||
| "sidebar_border": "rgb(98, 114, 164)", | ||||||||||||||||||||||||
| "sidebar_highlight": "rgb(98, 114, 164)", | ||||||||||||||||||||||||
| "sidebar_highlight_text": "rgb(248, 248, 242)", | ||||||||||||||||||||||||
| "sidebar_text": "rgb(40, 42, 54)", | ||||||||||||||||||||||||
| "tab_background_separator": "rgb(98, 114, 164)", | ||||||||||||||||||||||||
| "tab_background_text": "rgb(68, 71, 90)", | ||||||||||||||||||||||||
| "tab_loading": "rgb(98, 114, 164)", | ||||||||||||||||||||||||
| "tab_selected": "rgb(248, 248, 242)", | ||||||||||||||||||||||||
| "tab_line": "rgb(255, 248, 242)", | ||||||||||||||||||||||||
| "tab_text": "rgb(40, 42, 54)", | ||||||||||||||||||||||||
| "toolbar": "rgb(248, 248, 242)", | ||||||||||||||||||||||||
| "toolbar_bottom_separator": "rgb(68, 71, 90)", | ||||||||||||||||||||||||
| "toolbar_field": "rgb(230, 230, 230)", | ||||||||||||||||||||||||
| "toolbar_field_border": "rgb(98, 114, 164)", | ||||||||||||||||||||||||
| "toolbar_field_border_focus": "rgb(98, 114, 164)", | ||||||||||||||||||||||||
| "toolbar_field_highlight": "rgb(98, 114, 164)", | ||||||||||||||||||||||||
| "toolbar_field_highlight_text": "rgb(248, 248, 242)", | ||||||||||||||||||||||||
| "toolbar_field_text": "rgb(40, 42, 54)", | ||||||||||||||||||||||||
| "toolbar_text": "rgb(40, 42, 54)", | ||||||||||||||||||||||||
| "toolbar_top_separator": "rgb(40, 42, 54)", | ||||||||||||||||||||||||
| "toolbar_vertical_separator": "rgb(98, 114, 164)" | ||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||
| "properties": { | ||||||||||||||||||||||||
| "color_scheme": "light", | ||||||||||||||||||||||||
| "panel_hover": "color-mix(in srgb, currentColor 9%, transparent)", | ||||||||||||||||||||||||
| "panel_active": "color-mix(in srgb, currentColor 14%, transparent)", | ||||||||||||||||||||||||
| "panel_active_darker": "color-mix(in srgb, currentColor 25%, transparent)", | ||||||||||||||||||||||||
| "toolbar_field_icon_opacity": "1", | ||||||||||||||||||||||||
| "zap_gradient": "linear-gradient(90deg, #9059FF 0%, #FF4AA2 52.08%, #FFBD4F 100%)" | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| "dark_theme": { | ||||||||||||||||||||||||
| "colors": { | ||||||||||||||||||||||||
| "button_background_active": "rgb(40, 42, 54)", | ||||||||||||||||||||||||
| "button_background_hover": "rgb(98, 114, 164)", | ||||||||||||||||||||||||
| "frame": "rgb(40, 42, 54)", | ||||||||||||||||||||||||
| "icons": "rgb(248, 248, 242)", | ||||||||||||||||||||||||
| "icons_attention": "rgb(189, 147, 249)", | ||||||||||||||||||||||||
| "ntp_background": "rgb(40, 42, 54)", | ||||||||||||||||||||||||
| "ntp_text": "rgb(248, 248, 242)", | ||||||||||||||||||||||||
| "popup": "rgb(40, 42, 54)", | ||||||||||||||||||||||||
| "popup_border": "rgb(98, 114, 164)", | ||||||||||||||||||||||||
| "popup_highlight": "rgb(98, 114, 164)", | ||||||||||||||||||||||||
| "popup_highlight_text": "rgb(248, 248, 242)", | ||||||||||||||||||||||||
| "popup_text": "rgb(255, 255, 255)", | ||||||||||||||||||||||||
| "sidebar": "rgb(40, 42, 54)", | ||||||||||||||||||||||||
| "sidebar_border": "rgb(98, 114, 164)", | ||||||||||||||||||||||||
| "sidebar_highlight": "rgb(98, 114, 164)", | ||||||||||||||||||||||||
| "sidebar_highlight_text": "rgb(248, 248, 242)", | ||||||||||||||||||||||||
| "sidebar_text": "rgb(248, 248, 242)", | ||||||||||||||||||||||||
| "tab_background_separator": "rgb(98, 114, 164)", | ||||||||||||||||||||||||
| "tab_background_text": "rgb(199, 202, 210)", | ||||||||||||||||||||||||
| "tab_loading": "rgb(98, 114, 164)", | ||||||||||||||||||||||||
| "tab_selected": "rgb(98, 114, 164)", | ||||||||||||||||||||||||
| "tab_line": "rgb(98, 114, 164)", | ||||||||||||||||||||||||
| "tab_text": "rgb(248, 248, 242)", | ||||||||||||||||||||||||
| "toolbar": "rgb(68, 71, 90)", | ||||||||||||||||||||||||
| "toolbar_bottom_separator": "rgb(68, 71, 90)", | ||||||||||||||||||||||||
| "toolbar_field": "rgb(40, 42, 54)", | ||||||||||||||||||||||||
| "toolbar_field_border": "rgb(98, 114, 164)", | ||||||||||||||||||||||||
| "toolbar_field_border_focus": "rgb(189, 147, 249)", | ||||||||||||||||||||||||
| "toolbar_field_highlight": "rgb(68, 71, 90)", | ||||||||||||||||||||||||
| "toolbar_field_highlight_text": "rgb(248, 248, 242)", | ||||||||||||||||||||||||
| "toolbar_field_text": "rgb(255, 255, 255)", | ||||||||||||||||||||||||
| "toolbar_text": "rgb(255, 255, 255)", | ||||||||||||||||||||||||
| "toolbar_top_separator": "rgb(40, 42, 54)", | ||||||||||||||||||||||||
| "toolbar_vertical_separator": "rgb(98, 114, 164)" | ||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||
| "properties": { | ||||||||||||||||||||||||
| "color_scheme": "dark", | ||||||||||||||||||||||||
| "panel_hover": "color-mix(in srgb, currentColor 9%, transparent)", | ||||||||||||||||||||||||
| "panel_active": "color-mix(in srgb, currentColor 14%, transparent)", | ||||||||||||||||||||||||
| "panel_active_darker": "color-mix(in srgb, currentColor 25%, transparent)", | ||||||||||||||||||||||||
| "toolbar_field_icon_opacity": "1", | ||||||||||||||||||||||||
| "zap_gradient": "linear-gradient(90deg, #9059FF 0%, #FF4AA2 52.08%, #FFBD4F 100%)" | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
|
Comment on lines
+97
to
+104
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Repeat: remove unsupported dark properties. Mirror the light-side change; keep only - "properties": {
- "color_scheme": "dark",
- "panel_hover": "color-mix(in srgb, currentColor 9%, transparent)",
- "panel_active": "color-mix(in srgb, currentColor 14%, transparent)",
- "panel_active_darker": "color-mix(in srgb, currentColor 25%, transparent)",
- "toolbar_field_icon_opacity": "1",
- "zap_gradient": "linear-gradient(90deg, #9059FF 0%, #FF4AA2 52.08%, #FFBD4F 100%)"
- }
+ "properties": {
+ "color_scheme": "dark"
+ }📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
| } | ||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
Non-standard theme properties will be ignored without a theme_experiment.
panel_hover,panel_active,panel_active_darker,toolbar_field_icon_opacity, andzap_gradientaren’t part of the public theme schema and will not apply unless you declare atheme_experiment(which AMO typically does not allow for public themes). Recommend removing.🌐 Web query:
💡 Result:
Short answer: No — only the standard theme keys documented by MDN are supported in regular static themes. Custom UI CSS via theme_experiment (which is how things like extra CSS-driven variables/gradients are exposed in Mozilla’s built‑in themes) is an experimental mechanism and not usable for third‑party themes on AMO. Themes that rely on theme_experiment cannot be signed/submitted for distribution on AMO (theme experiments are used for Mozilla‑vetted/built‑in experiments only).
Sources: MDN theme/theme_experiment docs [1][2], Firefox built‑in theme manifest showing zap_gradient used with theme_experiment [3], community/AMO notes that theme_experiment themes can’t be submitted/signed for AMO distribution [4].
References
Remove non-standard theme properties from manifest.json
Custom keys (
panel_hover,panel_active,panel_active_darker,toolbar_field_icon_opacity,zap_gradient) aren’t part of MDN’s static theme schema and require atheme_experiment, which third-party AMO themes cannot use—these entries will be ignored and must be removed.🤖 Prompt for AI Agents