Skip to content

Harbor's pages look finished in a site with no stylesheet of its own - #33

Merged
adamfortuna merged 1 commit into
mainfrom
default-theme
Nov 15, 2026
Merged

adamfortuna merged 1 commit into
mainfrom
default-theme

Conversation

@adamfortuna

Copy link
Copy Markdown
Contributor

Harbor's pages are drawn with colours and component classes (card, pill, meta, display, field, btn-primary, btn-quiet, chip, log-pre; ink, soft, hairline and the pale status colours) that only the first host defined. In a blank Rails app every page worked and none had cards, buttons or spacing.

Harbor's entry stylesheet now defines them (harbor/theme.css) and gives the page beside the side nav room around it. The components are in the base layer and the colours are tokens, so a host's own definitions win. It sets no font and nothing on body.

The README's setup steps are brought up to date: pages are under /factory.

Checked two ways: a blank Rails 8.1 app following the README, where all 48 pages load and now look finished; and the first host, where screenshots of eight pages at two widths are byte-identical before and after apart from a relative timestamp.

0.27.0.

Harbor's pages are drawn with a set of colours and component classes (card,
pill, meta, display, field, btn-primary, btn-quiet, chip, log-pre; ink, soft,
hairline and the pale status colours) that only the first host defined. In a
blank Rails app every page worked and none had cards, buttons or spacing.

Harbor's entry stylesheet now defines them (harbor/theme.css) and gives the
page beside the side nav room around it. The components are in the base
layer and the colours are tokens, so a host's own definitions win; it sets
no font and nothing on body.

The README's setup steps are brought up to date: pages are under /factory.
Found by setting Harbor up in a blank app and opening every page. 0.27.0.
@adamfortuna
adamfortuna merged commit c41f2d7 into main Nov 15, 2026
2 checks passed
@adamfortuna
adamfortuna deleted the default-theme branch November 15, 2026 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant