Skip to content

Conversation

hestro
Copy link
Member

@hestro hestro commented Oct 2, 2026

This PR adds Tailwind and replaces all CSS modules with Tailwind utility classes.

In index.css, design tokens have moved from :root to @theme, and all colors are now tokens (e.g. --color-surface). This makes future changes easier (e.g. adding dark mode).

No visual changes are intended. If you spot any, please let me know.

Note: Merge after #12.

@hestro hestro self-assigned this Oct 2, 2026
@hestro hestro requested a review from a team as a code owner October 2, 2026 00:42
@hestro hestro linked an issue Oct 2, 2026 that may be closed by this pull request
@martakam martakam added the enhancement New feature or request label Oct 2, 2026
@martakam martakam added this to the Deliverable 1 milestone Oct 2, 2026
Copy link
Member

@martakam martakam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! The design is the same as earlier.

@martakam
Copy link
Member

martakam commented Oct 2, 2026

At the same time as shadcn will be added, we will get a utility function for classnames, which will make it easier to combine multiple classnames when the styling depends on variables like what book you're looking at.

@martakam martakam merged commit 3413d19 into main Oct 2, 2026
@martakam martakam deleted the refactor/tailwind-migration branch October 7, 2026 18:45
@martakam martakam added refactor Restructuring of existing code in order to easy maintenance, readability or otherwise improve it. and removed enhancement New feature or request labels Oct 7, 2026
Sign in to join this conversation on GitHub.
Labels
refactor Restructuring of existing code in order to easy maintenance, readability or otherwise improve it.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

refactor: convert CSS modules to Tailwind CSS
2 participants