fix(frontend): make the note color override an arbitrary value

`text-inherit` is not generated: this config replaces the Tailwind color palette
outright and defines no `inherit` key, so `[&_*]:!text-inherit` compiled to
nothing and notes still rendered in the prose stack's `text-primary`. Verified in
the browser: a yellow note's list items now compute to `text-yellow-900`, matching
the wrapper and the edit-mode textarea, in both themes.

Also drop the `static/tailwind_full.css` regeneration. That file was generated with
tailwind 3.4.1 against a config predating the typography theme overrides; rebuilding
it today sweeps in 250KB of unrelated churn and would flip every raw app's `.prose`
palette from stock gray to Windmill tokens. Its staleness predates this PR and is
its own change.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S6G5gDXJnm6uqch4uCPkPE
This commit is contained in:
Diego Imbert
2026-09-04 16:57:42 +02:00
co-authored by Claude Opus 5
parent ee235507c7
commit e8a613ba4c
2 changed files with 4 additions and 4 deletions
@@ -109,8 +109,10 @@ export const NOTE_COLORS: Record<NoteColor, NoteColorConfig> = {
// strong colors directly on those elements — which would beat the note color the
// wrapper only passes down by inheritance, and leave the render mismatched against
// the textarea shown while editing. Pin every descendant back to the note color.
// Arbitrary value, not `text-inherit`: this config replaces the color palette outright and
// defines no `inherit` key, so the named utility would be silently generated as nothing.
// (Kept as a literal: Tailwind's scanner reads class names verbatim from this file.)
export const NOTE_TEXT_COLOR_OVERRIDE = '[&_*]:!text-inherit'
export const NOTE_TEXT_COLOR_OVERRIDE = '[&_*]:!text-[inherit]'
// Color swatch colors for the picker (solid colors for the palette dots)
export const NOTE_COLOR_SWATCHES: Record<NoteColor, string> = {
File diff suppressed because one or more lines are too long