Applies Trellis visual guidance for UI work, including color schemes and visual consistency. Use when modifying frontend UI, canvas views, annotations, badges, or any visual styling.
bg-green-100, text-green-700 (badges), text-green-600 (icons), icon lucide:listbg-blue-100, text-blue-700 (badges), text-blue-600 (icons), icon lucide:bar-chart-3Apply these rules to all UI changes in the app, especially:
The Trellis brand color is primary (Tailwind teal). Use primary-600 as the main action color, with primary-50/100/500/700 for states and emphasis:
bg-primary-600 text-white (hover: bg-primary-700)bg-primary-50 text-primary-700 border-primary-300focus:ring-primary-500 focus:border-primary-500
Keep the neutral scaffolding in slate grays (gray from Tailwind slate). Use danger (rose) and success (emerald) only for semantic status.Use the primary teal for selection and interactive emphasis:
bg-primary-50 border-primary-300 text-primary-700text-primary-600 (hover: text-primary-700)hover:bg-gray-50 for neutral surfaces; use hover:bg-primary-50 only when reinforcing selectionpeer-checked:bg-primary-600 with peer-focus:ring-primary-500Use simple, outline icons (lucide) to keep the UI lightweight and consistent:
lucide:list; fact icon: lucide:bar-chart-3text-green-600 (standalone icons, sidebar items)bg-green-100 text-green-700 border-green-300bg-green-100 text-green-800lucide:listtext-blue-600 (standalone icons, sidebar items)bg-blue-100 text-blue-700 border-blue-300bg-blue-100 text-blue-800lucide:bar-chart-3<!-- Sidebar/List Icon -->
<Icon icon="lucide:list" class="w-5 h-5 text-green-600" />
<Icon icon="lucide:bar-chart-3" class="w-5 h-5 text-blue-600" />
<!-- Type Badge -->
<span class="bg-green-100 text-green-700 border-green-300 px-2 py-1 rounded border">
Dimension
</span>
<span class="bg-blue-100 text-blue-700 border-blue-300 px-2 py-1 rounded border">
Fact
</span>
<!-- Entity Node Badge (canvas) -->
<button class="bg-green-100 text-green-800 px-2 py-0.5 rounded-full">
<Icon icon="lucide:list" class="w-3 h-3" />
</button>
Glass surfaces are used sparingly to separate overlays and focus areas:
DO NOT USE:
linear-gradient(90deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%))bg-primary-50, bg-gray-100)bg-primary-600 instead)USE INSTEAD:
from-gray-50 to-gray-100 for backgrounds)primary-600) for accent bars and primary actions<!-- ❌ BAD: Rainbow gradient header accent -->
<div style="background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);"></div>
<!-- ✅ GOOD: Solid primary accent -->
<div class="bg-primary-600"></div>
<!-- ❌ BAD: Multi-color gradient tag -->
<span class="bg-gradient-to-r from-blue-100 to-purple-100 text-gray-800 border-blue-200">
sales
</span>
<!-- ✅ GOOD: Solid primary tag -->
<span class="bg-primary-50 text-primary-700 border-primary-200">
sales
</span>
<!-- ❌ BAD: Gradient save button -->
<button style="background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);">
Save
</button>
<!-- ✅ GOOD: Solid primary button -->
<button class="bg-primary-600 hover:bg-primary-700 text-white">
Save
</button>