[FEATURE]: More colorful built-in Dracula theme for the desktop app

Aperta Adatta ai principianti
#66,446 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

  • #66456 di @AaronFeledy — chiusa senza merge

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
68/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
design

Direzione di ricerca

Inizia da packages/ui/src/theme/themes/dracula.json e confrontane la struttura con oc-2.json e matrix.json, che l’issue indica come esempi di v2Overrides. Esamina il plugin collegato e la palette ufficiale di Dracula per i colori richiesti. Il lavoro è completo quando il tema Dracula integrato per desktop usa quei colori nella palette, negli elementi dell’interfaccia, nello stato, negli agenti, nella sintassi e nella modalità chiara; l’issue suggerisce di lasciare lo stile del markdown della chat a un’attività di follow-up separata.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area/desktop type/feature version/v2
Feature hasn't been suggested before.
  • I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request

The built-in Dracula theme in the desktop app is mostly gray. It only sets the palette and a few syntax colors, so backgrounds, buttons, borders, links and agent colors end up as generic grays and blues. It doesn't feel much like Dracula, and the TUI's Dracula theme is a lot more colorful.

I made a plugin theme that uses the official Dracula palette throughout: Dracula's darker background shades, purple and pink buttons and focus rings, cyan links, Dracula colors for status and agents, syntax colors per the spec, and Alucard for light mode. It also colors chat markdown per the spec, which takes a bit of CSS because the GUI doesn't use the theme's markdown-* tokens.

Plugin: https://github.com/AaronFeledy/opencode-dracula-vivid

Dracula Vivid

I'd like to update packages/ui/src/theme/themes/dracula.json with these colors, mostly through v2Overrides like oc-2.json and matrix.json already do. I have the change ready and can open a PR if this sounds good. The markdown colors could be a separate follow-up, since that would affect every theme.

Lingua principale
TypeScript
Stelle
228k
Fork
31k
Merge medio
5h 19m
PR unite (30g)
457

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di anomalyco/opencode

Tutte le issue di anomalyco/opencode

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.