Skip to content

Elements do not get their attribute colours from themes. #17

Description

@Smithor

Noticeable mostly within Menu items, but I'm sure there are a lot more spaces that I am unaware of. Most UI elements specify their own defaults, which is fine, but they should also have reference to the theme at a centralized level. Ideally this should be completed somewhere near the root view class for a particular type.

Recording showcasing the defaults re-asserting themselves within a menu bar item.

Screencast_20260602_093153.webm

This brings up a followup question of whether themes should only affect colouring, or if it should be able to affect UI size as well. There are advantages to both choices. To my knowledge, SnapKit so far only supports colouring changes. It would be useful to support font, and size changes as well.

While Swing's default themes are a little rough, the ability to slot in a theme like Lightlaf is game changing for helping a program find its own space.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions