Commit Graph
10 Commits
Author SHA1 Message Date
Christopher Davis 844fa595fd window: Use AdwButtonContent for Today button
Text buttons in headerbars should come with an icon,
or an arrow if they're a dropdown. For this, we
have AdwButtonContent.

This commit makes use of AdwButtonContent for
the Today button, adding an icon and allowing
for the button to be flat in the headerbar.
2022-02-21 16:03:17 +00:00
Christopher Davis 83719270a4 window: Change button order, remove linked
* We shouldn't use `.linked` for header/toolbar buttons,
per https://blogs.gnome.org/alexm/2021/09/10/cleaning-up-header-bars/
* In other apps, back/forward buttons are at the very
beginning of the headerbar.
2022-02-21 16:03:17 +00:00
Christopher Davis c974500186 week-header: Don't dim selected labels
The contrast of .dim-label and .accent isn't optimal.
To preserve proper contrast of selected weeks,
remove .dim-label while .accent is applied.
2022-02-15 17:12:21 -08:00
Christopher Davis 9dbe64a925 css: Use @accent_* colors instead of @theme_selected*
The `@theme_selected_*` colors are now aliases
to the libadwaita accent colors variables. This commit
replaces all uses with the corresponding color,
except for the text colors.

`@theme_selected_bg_color` is not the appropriate color
to use for colored text. Instead, you should use
`@accent_color` which has been tested for proper contrast.
2022-02-15 17:10:57 -08:00
Christopher Davis 709cfb75fa gui: Use HdyViewSwitcher
For GNOME 40 apps should migrate to use HdyViewSwitcher.
For now, this does not mean full adaptivity.
2021-02-14 16:34:13 +00:00
Christopher Davis 18814e014d CI: Use development profile for CI builds
Adds the -Dprofile=development argument to meson args for
CI builds. Syncs CI with flatpak manifest.
2019-09-30 12:04:08 -03:00
Christopher Davis 0aa9e42016 flatpak: Add development styling to window
Adds .devel style class to the main window for development
builds of Calendar.

Related to https://gitlab.gnome.org/GNOME/gnome-calendar/issues/285
2019-09-30 12:04:08 -03:00
Christopher Davis 0d6b2327e0 flatpak: Allow dual installation of app bundles
Part of https://gitlab.gnome.org/GNOME/Initiatives/issues/1.
Allows for the installation of development bundles alongside
stable versions.

Related to https://gitlab.gnome.org/GNOME/gnome-calendar/issues/285
2019-09-30 12:04:08 -03:00
Christopher Davis ec9ffcde3b window.ui: remove Calendars from Primary Menu
The Calendars menu entry does not need to be in the new
primary menu. Thus, it can safely be removed.
2018-11-06 13:29:17 +00:00
Christopher Davis 5cffec4456 Retire app-menu
For https://gitlab.gnome.org/GNOME/Initiatives/issues/4,
the application menu is being retired, with it's contents
being moved into the in-window primary window.

When removing a menu, the shortcuts for it's actions (if defined
in the menu) are also removed. The "Quit" shortcut is now
defined in src/gcal-window.c.

Related to https://gitlab.gnome.org/GNOME/gnome-calendar/issues/319
2018-11-06 13:29:17 +00:00