Repository navigation
Conversation
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 11 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the Ramadan and Eid theme addition.
No open issues 🎉
What changed in this PR
Adds Ramadan and Eid to Spook’s seasonal Home Assistant themes, following Lunar New Year and Diwali.
Changes:
- Introduces emerald-and-gold light and dark palettes with matching SVG scenes.
- Extends theme validation and screenshot capture coverage.
- Adds English documentation and generated translations in eight languages.
| File | Description |
|---|---|
tests/test_themes.py |
Adds theme to existing validation checks. |
documentation/translations/output/zh-Hans/content/11.themes/31.ramadan-and-eid-theme.md |
Adds Simplified Chinese theme page. |
documentation/translations/output/zh-Hans/content/11.themes/31.ramadan-and-eid-theme.lock.json |
Records page translation metadata. |
documentation/translations/output/zh-Hans/content/11.themes/00.themes.md |
Adds seasonal theme card. |
documentation/translations/output/zh-Hans/content/11.themes/00.themes.lock.json |
Refreshes index translation metadata. |
documentation/translations/output/pt-BR/content/11.themes/31.ramadan-and-eid-theme.md |
Adds Brazilian Portuguese theme page. |
documentation/translations/output/pt-BR/content/11.themes/31.ramadan-and-eid-theme.lock.json |
Records page translation metadata. |
documentation/translations/output/pt-BR/content/11.themes/00.themes.md |
Adds seasonal theme card. |
documentation/translations/output/pt-BR/content/11.themes/00.themes.lock.json |
Refreshes index translation metadata. |
documentation/translations/output/nl/content/11.themes/31.ramadan-and-eid-theme.md |
Adds Dutch theme page. |
documentation/translations/output/nl/content/11.themes/31.ramadan-and-eid-theme.lock.json |
Records page translation metadata. |
documentation/translations/output/nl/content/11.themes/00.themes.md |
Adds seasonal theme card. |
documentation/translations/output/nl/content/11.themes/00.themes.lock.json |
Refreshes index translation metadata. |
documentation/translations/output/ja/content/11.themes/31.ramadan-and-eid-theme.md |
Adds Japanese theme page. |
documentation/translations/output/ja/content/11.themes/31.ramadan-and-eid-theme.lock.json |
Records page translation metadata. |
documentation/translations/output/ja/content/11.themes/00.themes.md |
Adds seasonal theme card. |
documentation/translations/output/ja/content/11.themes/00.themes.lock.json |
Refreshes index translation metadata. |
documentation/translations/output/it/content/11.themes/31.ramadan-and-eid-theme.md |
Adds Italian theme page. |
documentation/translations/output/it/content/11.themes/31.ramadan-and-eid-theme.lock.json |
Records page translation metadata. |
documentation/translations/output/it/content/11.themes/00.themes.md |
Adds seasonal theme card. |
documentation/translations/output/it/content/11.themes/00.themes.lock.json |
Refreshes index translation metadata. |
documentation/translations/output/fr/content/11.themes/31.ramadan-and-eid-theme.md |
Adds French theme page. |
documentation/translations/output/fr/content/11.themes/31.ramadan-and-eid-theme.lock.json |
Records page translation metadata. |
documentation/translations/output/fr/content/11.themes/00.themes.md |
Adds seasonal theme card. |
documentation/translations/output/fr/content/11.themes/00.themes.lock.json |
Refreshes index translation metadata. |
documentation/translations/output/es/content/11.themes/31.ramadan-and-eid-theme.md |
Adds Spanish theme page. |
documentation/translations/output/es/content/11.themes/31.ramadan-and-eid-theme.lock.json |
Records page translation metadata. |
documentation/translations/output/es/content/11.themes/00.themes.md |
Adds seasonal theme card. |
documentation/translations/output/es/content/11.themes/00.themes.lock.json |
Refreshes index translation metadata. |
documentation/translations/output/de/content/11.themes/31.ramadan-and-eid-theme.md |
Adds German theme page. |
documentation/translations/output/de/content/11.themes/31.ramadan-and-eid-theme.lock.json |
Records page translation metadata. |
documentation/translations/output/de/content/11.themes/00.themes.md |
Adds seasonal theme card. |
documentation/translations/output/de/content/11.themes/00.themes.lock.json |
Refreshes index translation metadata. |
documentation/screenshots/shots.spec.ts |
Registers theme screenshot capture. |
documentation/content/11.themes/31.ramadan-and-eid-theme.md |
Documents appearance and theme selection. |
documentation/content/11.themes/00.themes.md |
Adds theme to Seasons gallery. |
custom_components/spook/themes/ramadan_and_eid.yaml |
Defines palettes, styling and background references. |
custom_components/spook/themes/pictures/ramadan-and-eid-night.svg |
Adds nighttime dashboard scene. |
custom_components/spook/themes/pictures/ramadan-and-eid-day.svg |
Adds daytime dashboard scene. |
Review effort: Balanced
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds Ramadan and Eid 👻: emerald and lantern gold, and a scene behind the dashboard. A crescent moon and stars over the domes and minarets of a quiet town, palm trees, a low wall of eight-pointed stars, and lanterns hanging from the top with a string of pennants between them. Its colours are its own.
#036f58by day with white text,#06bc98at night with dark text. The accent and the focus ring are lantern gold (#915200/#c08302). Cards glow gold, like a lantern.#0e0d25, cards#181835), with the lanterns and the windows lit.No people and no figures in the scene: only buildings, light and colour. The pictures are solid colours only, and every colour in them keeps the page text at level AA. The town and the wall run edge to edge, so nothing hangs in the air.
The docs get a page of their own,
/ramadan-and-eid-theme, and a card under Seasons, with screenshots. Translated through the pipeline into all eight languages.Motivation and Context
The third holiday of round 4 of the themes, after Lunar New Year (#2559) and Diwali (#2560).
How has this been tested?
tests/test_themes.py: contrast, the pictures solid and readable under the text, code colours, status colours apart.tests/test_themes.pyandtests/test_documentation_translations.pypass.npm run translate -- verify(0 failed) andcheck-output-untouched.sh.npm run screenshots -- -g ramadan.Screenshots (if appropriate):
Types of changes
Checklist
documentation/translations/output/.