aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNunoSempere <nuno.semperelh@protonmail.com>2024-03-14 16:05:54 -0300
committerNunoSempere <nuno.semperelh@protonmail.com>2024-03-14 16:05:54 -0300
commit6d925ea23ae7bae6627e2e6575d34bc7e6f7a628 (patch)
treef91cd23ddd3cfadb84f99ecf1e898f064ddf8725
parent0f2ca9b9f7790a664a548bc6034711a17101519d (diff)
remove most custom style (but leave large font)
gtk default already looks amazing
-rwxr-xr-xrosenrotbin40176 -> 40176 bytes
-rw-r--r--rosenrot.c2
-rw-r--r--style.css28
-rw-r--r--user-scripts/styles/style-v1.css (renamed from user-scripts/styles/style-original.css)0
-rw-r--r--user-scripts/styles/style-v2.css (renamed from user-scripts/styles/style-nuno.css)0
-rw-r--r--user-scripts/styles/style-v3.css70
6 files changed, 71 insertions, 29 deletions
diff --git a/rosenrot b/rosenrot
index cb3f6a0..dfffdcd 100755
--- a/rosenrot
+++ b/rosenrot
Binary files differ
diff --git a/rosenrot.c b/rosenrot.c
index 34a74ad..a932133 100644
--- a/rosenrot.c
+++ b/rosenrot.c
@@ -407,7 +407,7 @@ int main(int argc, char** argv)
gtk_init(NULL, NULL); // <https://docs.gtk.org/gtk3/func.init.html>
g_object_set(gtk_settings_get_default(), GTK_SETTINGS_CONFIG_H, NULL); // <https://docs.gtk.org/gobject/method.Object.set.html>
GtkCssProvider* css = gtk_css_provider_new();
- gtk_css_provider_load_from_path(css, "/usr/share/themes/rose/style.css", NULL);
+ gtk_css_provider_load_from_path(css, "/usr/share/themes/rosenrot/style.css", NULL);
gtk_style_context_add_provider_for_screen(gdk_screen_get_default(), GTK_STYLE_PROVIDER(css), 800);
/* Initialize GTK objects. These are declared as static globals at the top of this file */
diff --git a/style.css b/style.css
index 64333b5..b0dee59 100644
--- a/style.css
+++ b/style.css
@@ -1,25 +1,9 @@
-@define-color Surface0 #313244;
-@define-color Surface1 #45475a;
-@define-color Base #1e1e2e;
-@define-color Mantle #181825;
-@define-color Lavender #b4befe;
-@define-color Text #cdd6f4;
-
* {
- padding: 0px;
- margin: 0px;
- outline-color: @Lavender;
- color: @Text;
- border-color: white;
font-size: 25px;
/*@Base; */
/* border-bottom-color: @Base; */
}
-window, notebook, headerbar {
- background: @Base;
-}
-
/* Make titlebar pretty gigantic. I'm pretty myopic. */
.titlebar {
padding: 10px;
@@ -38,33 +22,21 @@ header * {
}
tabs {
- background-color: @Base;
padding: 3px;
- outline-color: white;
- border-color: @Base;
}
tab {
- background-color: @Base;
margin: 2px 5px 2px 0px;
padding: 5px;
border-style: solid;
font-size: 27px;
- /*border-color: white;
- border-bottom-color: white;
- outline-color: white;
- margin: 5px;
- padding-left: 10px;
- padding-right: 10px; */
}
entry {
- background-color: @Surface0;
padding-left: 10px;
}
entry:focus {
- background-color: @Surface0;
padding-left: 10px;
}
diff --git a/user-scripts/styles/style-original.css b/user-scripts/styles/style-v1.css
index 45805d7..45805d7 100644
--- a/user-scripts/styles/style-original.css
+++ b/user-scripts/styles/style-v1.css
diff --git a/user-scripts/styles/style-nuno.css b/user-scripts/styles/style-v2.css
index c7c07b6..c7c07b6 100644
--- a/user-scripts/styles/style-nuno.css
+++ b/user-scripts/styles/style-v2.css
diff --git a/user-scripts/styles/style-v3.css b/user-scripts/styles/style-v3.css
new file mode 100644
index 0000000..64333b5
--- /dev/null
+++ b/user-scripts/styles/style-v3.css
@@ -0,0 +1,70 @@
+@define-color Surface0 #313244;
+@define-color Surface1 #45475a;
+@define-color Base #1e1e2e;
+@define-color Mantle #181825;
+@define-color Lavender #b4befe;
+@define-color Text #cdd6f4;
+
+* {
+ padding: 0px;
+ margin: 0px;
+ outline-color: @Lavender;
+ color: @Text;
+ border-color: white;
+ font-size: 25px;
+ /*@Base; */
+ /* border-bottom-color: @Base; */
+}
+
+window, notebook, headerbar {
+ background: @Base;
+}
+
+/* Make titlebar pretty gigantic. I'm pretty myopic. */
+.titlebar {
+ padding: 10px;
+ font-size: 30px;
+}
+
+
+.titlebar * {
+ padding: 10px;
+ font-size: 27px;
+}
+
+header * {
+ font-size: 20px;
+ padding: 5px;
+}
+
+tabs {
+ background-color: @Base;
+ padding: 3px;
+ outline-color: white;
+ border-color: @Base;
+}
+
+tab {
+ background-color: @Base;
+ margin: 2px 5px 2px 0px;
+ padding: 5px;
+ border-style: solid;
+ font-size: 27px;
+ /*border-color: white;
+ border-bottom-color: white;
+ outline-color: white;
+ margin: 5px;
+ padding-left: 10px;
+ padding-right: 10px; */
+}
+
+entry {
+ background-color: @Surface0;
+ padding-left: 10px;
+}
+
+entry:focus {
+ background-color: @Surface0;
+ padding-left: 10px;
+
+}