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

オープン 初心者向け
#66,446 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

  • #66456 @AaronFeledy による — マージされずにクローズ

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
68/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
design

調査の方向性

まず packages/ui/src/theme/themes/dracula.json を確認し、その構造を、issue が v2Overrides の例として挙げている oc-2.json と matrix.json と比較してください。要求された色について、リンクされたプラグインと公式 Dracula パレットを確認してください。完了条件は、組み込みのデスクトップ版 Dracula テーマが、パレット、UI 要素、ステータス、エージェント、構文、ライトモード全体でそれらの色を使うことです。issue では、チャットの Markdown スタイルは別のフォローアップにすることを提案しています。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
228k
フォーク
31k
平均マージ
5時間 19分
マージ済み PR(30日)
457

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

anomalyco/opencode のほかの issue

anomalyco/opencode の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。