lapce / lapce/lapce

Custom Theme Variables

Open
#601 2 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-ui C-feature
Dominant language
Rust
Stars
38.9k
Forks
1.3k
Avg merge
19m
Merged PRs (30d)
1

Description

The #600 PR changed how themes work, mostly for the better. However, it does lose the ability to declare a variable, ex background and then use that as the value for various parts of the UI. I think it would be likely useful to reintroduce this, and show it in the UI so that theme-authors can have variables that let the user customize a good portion of the UI (and if the user wants something other than the variable, they just change it).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing PR #600 to understand the current theme model and how the editor UI consumes theme values. Define how theme authors declare reusable variables and how users customize them in the UI; done means variables can be reused across UI parts without preventing individual overrides.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
design, desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.