mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 20:45:00 -05:00
clearblue was the only theme in the "clear" category. Five more join it, each a slide from a light tint down to an existing FLAT theme's own colour, so the two categories now cover the same colour families: cleargreen from limegreen, clearorange from pumpkin, clearpink from moderatepink, clearpurple from wisteria, clearred from pomegranate. A reader who picks either version of a colour gets the colour they expected. The rest of each palette is arithmetic on the base, and it is clearblue's OWN arithmetic - its numbers turn out to be exact. The border under the bar is base x 0.8, the one above it base x 0.6, the current tab base x 1.15, a selected minicard the base mixed toward white. Derived rather than guessed, so no theme can be half-done and a seventh slide is one line rather than a page of hexes. Each block was generated from clearblue's with one deliberate exception: its COMMENTS were dropped. They explain clearblue's own history - the flat bar that looked like strongcyan, the half-white username - and copied into a green theme those sentences are simply false. Each block carries a header saying what it is and what it was derived from instead. Every hex clearblue names was mapped, and the generator refused to run if one was not: an unmapped colour would have stayed blue inside a green theme. Board Settings, Member Settings and Admin Panel / Settings / Visibility are one picker with a scope, grouping by THEME_CATEGORIES - so adding each theme to the category and to ALLOWED_BOARD_COLORS puts it in all three at once, gives it the category's two custom colours (a slide has two ends), and validates it on the server through the same list. And a bug of my own, from making Boards in Archive a section of All Boards: clicking it highlighted Remaining. The workspaces-tree autorun treats anything that is not a section as a workspace id, and a workspace missing from the tree was deleted, so it resets to Remaining - but the section names were written out by hand there, and `archive` was not among them. It reads ALL_BOARDS_SECTIONS now, the same list the router and the URLs use, so a sixth section cannot go missing from it. Guards: every theme in "clear" must be a gradient with two DIFFERENT ends whose solid end is the accent everything outside a board reads - a slide theme with a flat bar is a flat theme filed in the wrong drawer, which is exactly what clearblue's own first bar was until it was fixed. Each must paint the picker swatch, the board canvas, and both selected menu rows. And the archive-highlight fix is pinned including its import, because a missing import there is a ReferenceError at runtime that no unit test would see - which is how it first showed up. Thanks to xet7 !