New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YaruTitleBar: small styling changes #478
Conversation
- default size is now 47px (border adds on top, which ends up with 48 which is the height of gtk headerbars) - default light bg to #ebebeb, which is the gtk4 dark headerbar bg and dark bg to #303030
You did it before me :D |
haha :D |
My changes are only for the native headerbar provided by handy_window (css change so). |
oh ok 👍 😄 |
@jpnurmi any idea why the change to the height, border and bg here causes this fail in the goldens?: 00:14 +9 -4: /home/runner/work/yaru_widgets.dart/yaru_widgets.dart/test/pages/yaru_master_detail_page_test.dart: golden images (variant: portrait-dark: themeMode: ThemeMode.dark, value: Orientation.portrait) [E] |
Weird, when I ran the test locally there was nothing produced to commit frederik@carbon:~/Projects/yaru_widgets.dart$ flutter test --update-goldens |
We need to figure out why you get different results than others. :( |
Because I hate tests and tests hate me ;D no just kidding. Hmhm... maybe golden tests differ in the flutter version? I have frederik@carbon:~/Projects/yaru_widgets.dart$ flutter --version |
jpnurmi@xps-15:~/Projects/ubuntu/yaru_widgets.dart (small_title_bar_styling_changes)$ flutter test --update-goldens
...
00:09 +417: All tests passed! s
jpnurmi@xps-15:~/Projects/ubuntu/yaru_widgets.dart (small_title_bar_styling_changes)$ git status
On branch small_title_bar_styling_changes
Your branch is up to date with 'upstream/small_title_bar_styling_changes'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: test/pages/goldens/yaru_master_detail-page-landscape-dark.png
modified: test/pages/goldens/yaru_master_detail-page-portrait-dark.png
modified: test/pages/goldens/yaru_navigation_page-compact-dark.png
modified: test/pages/goldens/yaru_navigation_page-labelled-dark.png
modified: test/pages/goldens/yaru_navigation_page-labelled-extended-dark.png
modified: test/utilities/goldens/yaru_border_container-clip-dark.png
modified: test/utilities/goldens/yaru_border_container-default-dark.png
modified: test/utilities/goldens/yaru_border_container-margin-clip-dark.png
modified: test/utilities/goldens/yaru_border_container-margin-dark.png
modified: test/utilities/goldens/yaru_border_container-padding-clip-dark.png
modified: test/utilities/goldens/yaru_border_container-padding-dark.png
modified: test/utilities/goldens/yaru_border_container-padding-margin-clip-dark.png
modified: test/utilities/goldens/yaru_border_container-padding-margin-dark.png |
I have the latest stable too, likewise in the CI.
|
Your border lines were stronger. Perhaps you had outdated yaru.dart? What if you run |
aha yes that must be the reason! my dart cache had the old yaru widgets :) |
Pull request checklist
flutter test --update-goldens
and committed the changes if there were any, or