mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 18:10:06 -05:00
The theme follows Apple's Liquid Glass: the two header bars, swimlane headers, lists, minicards, the opened card, the sidebar and popups are frosted glass over the pastel mesh - a translucent fill, blur(24px) saturate(180%), a rim of light along the edges (inset highlights, brightest on top), a diagonal sheen and larger rounded corners. The header bars are glass now instead of solid blue, with dark text; blue is kept for the primary action, glossy, and for what is active. Reduce transparency, or a browser without backdrop-filter, gets near-opaque surfaces. A new UI test, theme-appleglasspastel-contrast.e2e.js, measures every text and icon against what is really painted behind it - it hides the text, screenshots, and reads the pixels under each box - to WCAG AA (4.5:1 text, 3:1 large text and icons), on the board, the opened card, the sidebar, the board menu and All Boards, at laptop and phone size. It found and the theme now fixes: white header buttons, icons, username and the stock logo on the glass; the sidebar hamburger forced white by boardBody.js's accessibility style; grey #808080 sidebar headings (3.8:1); #a6a6a6 icons (2.4:1); faint Add Card; white text on the pale-blue hovered menu row; and the list headers list.css pins grey with !important. The header guards headerBars and themeAccents now compare a bar's whole background, so a glass gradient counts, and list appleglasspastel as a glass header whose accent is its primary blue. Thanks to xet7 !