Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Commit

Permalink
Restyle icon + add a rounded frame on the webview
Browse files Browse the repository at this point in the history
  • Loading branch information
lainsce committed Feb 6, 2024
1 parent 381ab24 commit 025d71e
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 121 deletions.
1 change: 1 addition & 0 deletions data/gresource.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<gresources>
<gresource prefix="@APP_PATH@">
<file compressed="true" preprocess="xml-stripblanks" alias="mainwindow.ui">ui/mainwindow.ui</file>
<file compressed="true" alias="style.css">style.css</file>
</gresource>
<gresource prefix="@APP_PATH@/icons">
<file compressed="true" preprocess="xml-stripblanks" alias="@[email protected]">icons/app.svg</file>
Expand Down
164 changes: 43 additions & 121 deletions data/icons/app.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions data/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.framed {
border: 1px solid @borders;
border-radius: 2px;
}
1 change: 1 addition & 0 deletions src/MainWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ public class SkiffDesktop.MainWindow : He.ApplicationWindow {
webview.create.connect (on_create);

webview.vexpand = true;
webview.add_css_class ("framed");
main_box.append (webview);

webview.load_uri (BASE_URL);
Expand Down

0 comments on commit 025d71e

Please sign in to comment.