fix(11): repair broken color patterns from CSS variable migration

- ChannelSidebar: replace inline color-mix style with Tailwind classes for task discussion icons
- MessageItem: replace broken priority config (color-mix inline) with Tailwind utility classes
- MessageItem: replace broken department badge hex-alpha pattern with Tailwind classes
- automation-config: restore ACCENT/LINE as hex values (used in template literal alpha suffixes)
- desktop-shell-service: set nativeTheme.themeSource to sync Windows title bar with app theme
This commit is contained in:
ZacharyZhang-NY committed 2026-03-27 22:44:14 -04:00
1 parent 3b756fd30d
commit 6480b7f49f
4 files changed
+18 -16

No files matched your search

@@ -2,8 +2,11 @@ import type { AutomationAction, AutomationStatus, AutomationTrigger, WorkflowSta
import { ArrowsClockwise, Eye, Funnel, Lightning, Pause, Play, Plus, Robot, Timer, Trash } from "@phosphor-icons/react"
import { DEPARTMENT_OPTIONS } from "@shared/constants"
export const ACCENT = "var(--primary)"
export const LINE = "var(--border)"
// ACCENT/LINE used in template literals for opacity suffixes like `${ACCENT}15`
// Must be hex values (not CSS vars) so hex alpha notation works.
// These are the primary/border colors from the OKLCH design tokens converted to hex.
export const ACCENT = "#343434"
export const LINE = "#ebebeb"
export const triggerConfig: Record<AutomationTrigger, { label: string; description: string; icon: typeof Lightning }> = {
task_status_changed: { label: "Task Status Changed", description: "When a task transitions to a new status", icon: ArrowsClockwise },