Repository navigation
feat: pick theme colors from the base and recent colors, and reset settings to the base theme - #726
Conversation
…ttings to the base theme
|
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 25 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. |
Before and after
|
| Before | After |
|---|---|
![]() |
![]() |
Difference, changed pixels in red:
site/create-theme-desktop
| Before | After |
|---|---|
![]() |
![]() |
Difference, changed pixels in red:
site/create-theme-phone-dark
The images show the first 1,600 rows of this change.
| Before | After |
|---|---|
![]() |
![]() |
Difference, changed pixels in red:
site/create-theme-phone
The images show the first 1,600 rows of this change.
| Before | After |
|---|---|
![]() |
![]() |
Difference, changed pixels in red:
16 unchanged screens
site/404-desktop-dark, site/404-desktop, site/404-phone-dark, site/404-phone, site/index-desktop-dark, site/index-desktop, site/index-phone-dark, site/index-phone, site/privacy-desktop-dark, site/privacy-desktop, site/privacy-phone-dark, site/privacy-phone, site/terms-desktop-dark, site/terms-desktop, site/terms-phone-dark, site/terms-phone
Visual review: 4 screens changed: a maintainer adds visual-ok after looking.
|
@coderabbitai review |
Action not completed
|
## [0.17.0](v0.16.0...v0.17.0) (2026-11-16) ### Features * add a Wi-Fi provider with the network name, signal and power by @Seb-GRAF ([41515b4](41515b4)) * build a theme on the website and download it for StableBar ([#682](#682)) by @M4n0x ([8d3088d](8d3088d)) * choose the audio output device from a popup by @Seb-GRAF ([f4be3f7](f4be3f7)) * draw a progress block as dots or segments by @Seb-GRAF ([27360e3](27360e3)) * leave a gap at the bottom of a ring by @Seb-GRAF ([f0bce8c](f0bce8c)) * link StableBar's Ko-fi page from GitHub, the README, the website and Help ([#717](#717)) by @Seb-GRAF ([c109e59](c109e59)), closes [#716](#716) * list connected Bluetooth devices with their battery by @Seb-GRAF ([9ab0161](9ab0161)) * list every widget by category in a Store tab, and open it from the bar ([#711](#711)) by @Seb-GRAF ([e3adeb1](e3adeb1)) * open a detail view inside a popup, with a back arrow by @Seb-GRAF ([135ac07](135ac07)) * pass merged providers' temporary output on, so a merge can flash the volume by @Seb-GRAF ([1a5ea5d](1a5ea5d)) * pass merged providers' text, icon and tooltip on as fields by @Seb-GRAF ([6b75b37](6b75b37)) * pick theme colors from the base and recent colors, and reset settings to the base theme ([#726](#726)) by @Seb-GRAF ([ba02ebe](ba02ebe)) * report the battery's cycle count, maximum capacity and Low Power Mode by @Seb-GRAF ([51b0aff](51b0aff)) * set the volume, mute and Wi-Fi power from popup controls by @Seb-GRAF ([69fed2e](69fed2e)) ### Bug Fixes * keep the bar above the menu bar strip when a full-screen window sits at the menu bar level by [@alexandrebucci](https://github.com/alexandrebucci) ([3f069d5](3f069d5)), closes [#728](#728) * stop a cancelled drag from leaving the end-stop slider editing by @Jonathanm10 ([c9cca2e](c9cca2e))
|
🎉 This PR is included in version 0.17.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |












Problem
The theme creator edits colors with the browser's own color input. It looks different in every browser, can't set opacity, and gives no way back to the base theme's value except choosing the base again, which drops every other edit. Fixes #725.
Changes
site/creator/page.mjs,creator.css). The swatch beside each hex field opens a popover with a saturation and brightness area, a hue slider and an opacity slider. It edits#RRGGBBAAdirectly, so the old rule that kept the previous alpha is gone. Swatches show opacity over a checkerboard. The area takes arrow keys (Shift for steps of 10%); Escape, a click outside or tabbing away closes it. On a phone, a popover that would leave the screen opens toward the left.localStorageunderrecent-colors.resetControlanddiffersFromBaseintheme.mjs).site/creator/color-field.mjsholds the hex and HSV conversion and the recent-colors list, likenumber-field.mjsdoes for numbers.docs/themes.mdmentions the picker and Reset.Testing
node --test .github/scripts/theme-creator*.test.mjs: 153 pass. New tests check that hex colors survive HSV conversion with their opacity, the order and limit of recent colors, and that resetting four kinds of settings gives back each bundled theme's exactconfig.json.app-release.test.mjsfails here onmaintoo.scripts/check.sh --quickpasses.#007aff. Escape returns focus to the swatch. Reset brings back the base color and hides itself; Nord's bar height resets to 30. A click outside closes the picker. On a phone, the right column's popover stays on screen with no horizontal scroll. In the Dark preview, the base swatch shows the dark value.Merging
One commit; any merge method works.
Claude Opus 5.5 via Claude Code