Skip to content

Header: modernize h2 styles#834

Merged
wpkelso merged 4 commits intomainfrom
danirabbit/header-modernh2
Apr 9, 2025
Merged

Header: modernize h2 styles#834
wpkelso merged 4 commits intomainfrom
danirabbit/header-modernh2

Conversation

@danirabbit
Copy link
Copy Markdown
Member

Really thin header styles are out of fashion. We are currently carrying custom CSS for H2 headers in Icon Browser and Settings for example. So update to match those:

Screenshot from 2025-04-08 17 53 24

Add a title to demo page so we can use it in context

@danirabbit danirabbit requested a review from a team April 9, 2025 00:59
Copy link
Copy Markdown
Member

@wpkelso wpkelso left a comment

Choose a reason for hiding this comment

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

I like this styling more than the old version, but it seems like we're expecting developers to construct the window in a specific way to achieve this. Is that actually the case? And if it is, should we be thinking about a more ergonomic way to let developers use this?

@danirabbit
Copy link
Copy Markdown
Member Author

@wpkelso It's way more fucky in the demo because we don't have Adw.ToolbarView. Here's an example of what the diff looks like in practice: elementary/iconbrowser#64

Copy link
Copy Markdown
Member

@wpkelso wpkelso left a comment

Choose a reason for hiding this comment

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

I'm happy to merge this, then

@wpkelso wpkelso merged commit 7e5dd67 into main Apr 9, 2025
5 checks passed
@wpkelso wpkelso deleted the danirabbit/header-modernh2 branch April 9, 2025 15:04
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.

2 participants