Skip to content

Feature: minimal layout#92

Open
DennisGaida wants to merge 2 commits into
teuchezh:devfrom
DennisGaida:feature/minimal-layout
Open

Feature: minimal layout#92
DennisGaida wants to merge 2 commits into
teuchezh:devfrom
DennisGaida:feature/minimal-layout

Conversation

@DennisGaida
Copy link
Copy Markdown
Contributor

Description

I'm tight on space on a 480x480 display and would love some more vertical space. This achieves that with a minimal mode:
image

  • New layout option (default | minimal) in config, editor, and all locale files
  • Minimal mode defaults to 56px height instead of 200px
  • Detail items (humidity, wind, sunrise/sunset) render as a compact inline row
  • Layout selector added to the visual editor and demo page

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation
  • Translation

Related Issues

Fixes #

Checklist

  • Code follows project style
  • Self-reviewed code
  • Tested locally
  • bun run lint passed
  • bun run typecheck passed
  • bun run build successful
  • Commits follow Conventional Commits

Introduces layout: 'minimal' config option that renders the card as a
single horizontal row (~56px default height), optimized for small screens
like 480x480 displays.

- Temperature displayed prominently on the left
- Condition label + detail items (humidity, wind, sunrise/sunset) in the middle
- Clock on the right (if enabled)
- Details component gains compact prop for single-row flex layout
- Fixes detail item order so sunrise/sunset always appear together
- Adds layout selector to the visual editor and demo page
@DennisGaida DennisGaida changed the base branch from main to dev May 15, 2026 20:37
@DennisGaida DennisGaida changed the title Feature/minimal layout Feature: minimal layout May 15, 2026
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