docs: release v1.20.2 — theme switcher actually works

This commit is contained in:
Nicolas Varrot
2026-02-13 00:30:30 +00:00
parent b60c0ce3c4
commit ba92ce8825
4 changed files with 12 additions and 4 deletions

View File

@@ -4,6 +4,13 @@ All notable changes to PinchChat are documented here.
Format based on [Keep a Changelog](https://keepachangelog.com/), with [Conventional Commits](https://www.conventionalcommits.org/).
## [1.20.2] — 2026-02-13
### Fixed
- Theme switcher now actually works — migrated ~150 hardcoded Tailwind color classes across all 17 components to CSS custom properties
- All UI elements (backgrounds, text, borders, accents, hover states) now respond to Dark/Light/OLED theme changes in real-time
- Added theme-aware hover, separator, and scrollbar variables per theme mode
- Markdown styles (code, blockquotes, tables) now use theme variables instead of hardcoded colors
## [1.20.0] — 2026-02-12
### Added
- Theme switcher — Dark, Light, and OLED Black modes with 6 configurable accent colors (Cyan, Violet, Emerald, Amber, Rose, Blue)

View File

@@ -582,7 +582,8 @@
## Item #55
- **Date:** 2026-02-12
- **Priority:** high
- **Status:** pending
- **Status:** done
- **Completed:** 2026-02-13 — commit `b60c0ce`
- **Description:** Bug: Theme switcher (v1.20.0) doesn't work — clicking options closes the popup and nothing changes visually
- Root cause: the ThemeContext and CSS variables ARE being set correctly, but almost all components still use hardcoded Tailwind classes (bg-zinc-800, text-zinc-400, border-white/8, etc.) instead of the CSS variables
- The Tailwind classes override the CSS variables, so theme changes have zero visual effect

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "pinchchat",
"version": "1.20.0",
"version": "1.20.2",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "pinchchat",
"version": "1.20.0",
"version": "1.20.2",
"license": "MIT",
"dependencies": {
"@radix-ui/react-collapsible": "^1.1.12",

View File

@@ -1,6 +1,6 @@
{
"name": "pinchchat",
"version": "1.20.1",
"version": "1.20.2",
"description": "A sleek, dark-themed webchat UI for OpenClaw — monitor sessions, stream responses, and inspect tool calls in real-time.",
"type": "module",
"repository": {