diff --git a/README.md b/README.md index 7a06cdb..1058c01 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ You'll need the following dependencies: * libgeoclue-2-dev * libgeocode-glib-dev (>= 3.26.3) * libglib2.0-dev (>= 2.74) -* libgranite-7-dev (>= 7.2.0) +* libgranite-7-dev (>= 7.3.0) * libgtk-4-dev * libshumate-dev * meson (>= 0.57.0) diff --git a/data/Application.css b/data/Application.css new file mode 100644 index 0000000..3121486 --- /dev/null +++ b/data/Application.css @@ -0,0 +1,21 @@ +/* Style for Shumate.Point */ +map-point { + border: 0.3rem solid @theme_bg_color; + background: @BLUEBERRY_500; + border-radius: 50%; + min-height: 1.25rem; + min-width: 1.25rem; + animation: zoom 5s linear infinite; +} + +@keyframes zoom { + 0% { + transform: scale(1); + } + 50% { + transform: scale(1.1); + } + 100% { + transform: scale(1); + } +} diff --git a/data/atlas.gresource.xml b/data/atlas.gresource.xml index 0feba55..81c7aba 100644 --- a/data/atlas.gresource.xml +++ b/data/atlas.gresource.xml @@ -1,5 +1,9 @@ + + Application.css + + icons/pointer.svg diff --git a/src/meson.build b/src/meson.build index d835ca6..831d6d6 100644 --- a/src/meson.build +++ b/src/meson.build @@ -14,8 +14,8 @@ dependencies = [ dependency('gio-2.0'), # Version limitation for GLib.ApplicationFlags.DEFAULT_FLAGS dependency('glib-2.0', version: '>= 2.74'), - # Version limitation for Granite.init() - dependency('granite-7', version: '>= 7.2.0'), + # Version limitation for automatic load of Application.css in Granite.init() + dependency('granite-7', version: '>= 7.3.0'), dependency('gtk4'), dependency('libadwaita-1'), dependency('libgeoclue-2.0'),