Skip to content

Add the Ramadan and Eid theme - #2601

Open
frenck wants to merge 1 commit into
mainfrom
frenck/theme-ramadan-eid
Open

frenck wants to merge 1 commit into
mainfrom
frenck/theme-ramadan-eid

Conversation

@frenck

@frenck frenck commented Dec 4, 2026

Copy link
Copy Markdown
Owner

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.

  • Buttons and links are emerald: #036f58 by day with white text, #06bc98 at night with dark text. The accent and the focus ring are lantern gold (#915200 / #c08302). Cards glow gold, like a lantern.
  • Errors are red. Warnings are orange, so they never look like the gold. Success is a leafy green, apart from the emerald, information sky blue.
  • Light mode is the morning of Eid, in sand and cream. Dark mode is a night of Ramadan in deep indigo (#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?

  • Ramadan and Eid added to every list in tests/test_themes.py: contrast, the pictures solid and readable under the text, code colours, status colours apart. tests/test_themes.py and tests/test_documentation_translations.py pass.
  • npm run translate -- verify (0 failed) and check-output-untouched.sh.
  • Screenshots from a real Home Assistant with npm run screenshots -- -g ramadan.

Screenshots (if appropriate):

Ramadan and Eid, light

Ramadan and Eid, dark

Ramadan and Eid, template editor, dark

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Other

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I did not edit machine-translated files in documentation/translations/output/.

Copilot AI balanced review requested due to automatic review settings December 4, 2026 07:46
@frenck frenck added the new-feature New features or options. label Dec 4, 2026
@coderabbitai

coderabbitai Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You'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.

Check out review usage here.

View limit details

Limit details: You’ve used all 8 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8fd63326-df23-444e-98d3-555acd1ccf91
Commits

Reviewing files that changed from the base of the PR and between 77df683 and c05d37f.

Files ignored due to path filters: 2

  • custom_components/spook/themes/pictures/ramadan-and-eid-day.svg is excluded by !**/*.svg
  • custom_components/spook/themes/pictures/ramadan-and-eid-night.svg is excluded by !**/*.svg
Files selected for processing: 41

  • custom_components/spook/themes/ramadan_and_eid.yaml
  • documentation/content/11.themes/00.themes.md
  • documentation/content/11.themes/31.ramadan-and-eid-theme.md
  • documentation/public/images/screenshots/en/dark/theme-ramadan-and-eid-dashboard.webp
  • documentation/public/images/screenshots/en/dark/theme-ramadan-and-eid-template.webp
  • documentation/public/images/screenshots/en/light/theme-ramadan-and-eid-dashboard.webp
  • documentation/public/images/screenshots/en/light/theme-ramadan-and-eid-template.webp
  • documentation/screenshots/shots.spec.ts
  • documentation/translations/output/de/content/11.themes/00.themes.lock.json
  • documentation/translations/output/de/content/11.themes/00.themes.md
  • documentation/translations/output/de/content/11.themes/31.ramadan-and-eid-theme.lock.json
  • documentation/translations/output/de/content/11.themes/31.ramadan-and-eid-theme.md
  • documentation/translations/output/es/content/11.themes/00.themes.lock.json
  • documentation/translations/output/es/content/11.themes/00.themes.md
  • documentation/translations/output/es/content/11.themes/31.ramadan-and-eid-theme.lock.json
  • documentation/translations/output/es/content/11.themes/31.ramadan-and-eid-theme.md
  • documentation/translations/output/fr/content/11.themes/00.themes.lock.json
  • documentation/translations/output/fr/content/11.themes/00.themes.md
  • documentation/translations/output/fr/content/11.themes/31.ramadan-and-eid-theme.lock.json
  • documentation/translations/output/fr/content/11.themes/31.ramadan-and-eid-theme.md
  • documentation/translations/output/it/content/11.themes/00.themes.lock.json
  • documentation/translations/output/it/content/11.themes/00.themes.md
  • documentation/translations/output/it/content/11.themes/31.ramadan-and-eid-theme.lock.json
  • documentation/translations/output/it/content/11.themes/31.ramadan-and-eid-theme.md
  • documentation/translations/output/ja/content/11.themes/00.themes.lock.json
  • documentation/translations/output/ja/content/11.themes/00.themes.md
  • documentation/translations/output/ja/content/11.themes/31.ramadan-and-eid-theme.lock.json
  • documentation/translations/output/ja/content/11.themes/31.ramadan-and-eid-theme.md
  • documentation/translations/output/nl/content/11.themes/00.themes.lock.json
  • documentation/translations/output/nl/content/11.themes/00.themes.md
  • documentation/translations/output/nl/content/11.themes/31.ramadan-and-eid-theme.lock.json
  • documentation/translations/output/nl/content/11.themes/31.ramadan-and-eid-theme.md
  • documentation/translations/output/pt-BR/content/11.themes/00.themes.lock.json
  • documentation/translations/output/pt-BR/content/11.themes/00.themes.md
  • documentation/translations/output/pt-BR/content/11.themes/31.ramadan-and-eid-theme.lock.json
  • documentation/translations/output/pt-BR/content/11.themes/31.ramadan-and-eid-theme.md
  • documentation/translations/output/zh-Hans/content/11.themes/00.themes.lock.json
  • documentation/translations/output/zh-Hans/content/11.themes/00.themes.md
  • documentation/translations/output/zh-Hans/content/11.themes/31.ramadan-and-eid-theme.lock.json
  • documentation/translations/output/zh-Hans/content/11.themes/31.ramadan-and-eid-theme.md
  • tests/test_themes.py
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-feature New features or options.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants