Elffuss BraidHub

kikocis/continue public

e8ee99375f3e · 1.2 KiBRawPermalink
1name: GUI
2version: 0.0.1
3schema: v1
4rules:
5 - name: Extension Color Themes
6 rule: |
7 When adding colors to components, use tailwind color classes.
8 Do NOT use explicit colors like text-gray-400. Instead, use theme colors.
9
10 The common available theme colors are:
11 - For normal text: foreground, description, description-muted
12 - For other text, icons, etc: success, warning, error, accent, link
13 - For general components background, border, border-focus
14 - For specific components:
15 - Button: primary, primary-foreground, primary-hover, secondary, secondary-foreground, secondary-hover
16 - Input: input, input-foreground, input-border, input-placeholder
17 - Badge: badge, badge-foreground
18 - List/Dropdown items: list-hover, list-active, list-active-foreground
19 - Code Editor: editor, editor-foreground
20
21 Any of these colors can be used in tailwind e.g. bg-primary, text-success, border-error, hover:bg-list-hover, etc.
22 globs: "gui/**/*.tsx"
23# Excluding the following less-used colors:
24# Command (only used by tip-tap): command, command-foreground, command-border, command-border-focus
25# Find widget colors: find-match, find-match-selected
26# table-oddRow
27