P1B: Refactor (packages/ui/src/theme/index.ts:39): Found 40 lines of similar code in 2 locations (mass = 80)
Open
@ttyangcmu is already working on this.
Since Sep 7, 2026.
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 126
- PR merge metrics
- No merged PRs in 30d
Description
Uniqueness check
- I have searched open issues and confirmed this file + smell is not already taken.
Full path to the Typescript file
packages/ui/src/theme/index.ts
Function(s)/scope targeted
Similar code at line 39
Relevant Qlty output
39 export {
40 DEFAULT_THEMES,
41 oc2Theme,
42 amoledTheme,
43 auraTheme,
44 ayuTheme,
[hid 34 additional lines]
also found at packages/core/src/v1/session.ts
Contributor guide
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.
Assessment
This issue has not been assessed yet.