Theme / styling with settings()
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- css, typescript
Research direction
Start by reviewing the unchecked items in this issue and the referenced Svelte UX issue about design tokens. Identify the component entry points affected by classes, createTheme(), and settings() usage; the work is done when the remaining checklist items are implemented consistently and the existing color and design-token behavior remains supported.
Written by the indexing model from the issue text.
Description
- Use
classeslike Svelte UX to pass class to underlying components - Add
createTheme()support - Add
.ComponentNameclasses - Use
const { format } = settings()/$formatinstead offormatNumber()/formatDate()directly - Remove
colorprop (userScaleandfill/stroke/class/style?- Bars
- Points
- Pie
- Link
- Highlight
- Support design tokens (css variables) (see Svelte UX issue)
- Should wait till the Svelte UX issue is resolved
- Remove all use of
var(--color-xxx-xxx). Default tofill-accent-500when possible (or possiblyclass="[--color:theme(colors.blue.500)]"
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 41
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 14
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.
More from techniq/layerchart
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
techniq/layerchart#919 ·
-
tab freezes when an awaited value feeding a chart changes (async svelte + kit remote functions) Open
Difficulty 5/5 Over a week Newbie friendliness 35/100
techniq/layerchart#895 · 4 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 38/100
techniq/layerchart#876 · 3 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
techniq/layerchart#852 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
techniq/layerchart#830 · 1 comment ·
All issues in techniq/layerchart
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
copse-dev/agent-pane#2953 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·