Skip to content

Commit

Permalink
Add preferences menu and nav icons
Browse files Browse the repository at this point in the history
  • Loading branch information
SubhadeepJasu committed Jan 5, 2025
1 parent c498f38 commit 79132b0
Show file tree
Hide file tree
Showing 20 changed files with 226 additions and 40 deletions.
11 changes: 10 additions & 1 deletion data/com.github.subhadeepjasu.pebbles.gresource.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,19 @@
<gresources>
<gresource prefix="/com/github/subhadeepjasu/pebbles">
<file alias="style.css" compressed="true">style.css</file>
<file compressed="true" preprocess="xml-stripblanks">ui/window.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/main_window.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/styled_button.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/popover_menu_item.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/display.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/scientific_view.ui</file>
<file compressed="true" preprocess="xml-stripblanks">ui/scientific_display.ui</file>
</gresource>

<gresource prefix="/com/github/subhadeepjasu/pebbles/icons">
<file alias="scalable/emblems/scientific-mode-symbolic.svg">icons/scalable/emblems/scientific-mode-symbolic.svg</file>
<file alias="scalable/emblems/calculus-mode-symbolic.svg">icons/scalable/emblems/calculus-mode-symbolic.svg</file>
<file alias="scalable/emblems/programmer-mode-symbolic.svg">icons/scalable/emblems/programmer-mode-symbolic.svg</file>
<file alias="scalable/emblems/statistics-mode-symbolic.svg">icons/scalable/emblems/statistics-mode-symbolic.svg</file>
<file alias="scalable/emblems/graphing-mode-symbolic.svg">icons/scalable/emblems/graphing-mode-symbolic.svg</file>
</gresource>
</gresources>
12 changes: 12 additions & 0 deletions data/icons/scalable/emblems/calculus-mode-symbolic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions data/icons/scalable/emblems/graphing-mode-symbolic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions data/icons/scalable/emblems/programmer-mode-symbolic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions data/icons/scalable/emblems/scientific-mode-symbolic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions data/icons/scalable/emblems/statistics-mode-symbolic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ stylesheet_deps = custom_target(
)

blueprint_files = [
'ui/window.blp',
'ui/main_window.blp',
'ui/styled_button.blp',
'ui/popover_menu_item.blp',
'ui/display.blp',
'ui/scientific_display.blp',
'ui/scientific_view.blp'
Expand Down
9 changes: 9 additions & 0 deletions data/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@ $BANANA_500: #f9c440;
$BANANA_900: #ad5f00;
$LCD_FG_COLOR: #272863bb;

.headerbar {
&-left {
border-radius: 6px 0 0 0;
}

&-right {
border-radius: 0 6px 0 0;
}
}

.lcd {
background: linear-gradient(#d1ddd1, #bdc7bd);
Expand Down
Loading

0 comments on commit 79132b0

Please sign in to comment.