leanprover-community / leanprover-community/lean4web
bug: white flash on loading
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 151
- Forks
- 62
- Avg merge
- 21h 12m
- Merged PRs (30d)
- 10
Description
When loading with any non-white theme, there is a white flash. In particular this is noticeable in dark mode.
Likely this is caused by the initialisation in lean4monaco (https://github.com/hhu-adam/lean4monaco/blob/main/src/leanmonaco.ts)
and might need to be addressed there.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the initialization in lean4monaco's src/leanmonaco.ts, linked from the issue, and trace how the editor loads its theme. Reproduce loading with a non-white theme, especially dark mode, and verify that the white flash no longer appears.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100