From 6d925ea23ae7bae6627e2e6575d34bc7e6f7a628 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Thu, 14 Mar 2024 16:05:54 -0300 Subject: remove most custom style (but leave large font) gtk default already looks amazing --- rosenrot | Bin 40176 -> 40176 bytes rosenrot.c | 2 +- style.css | 28 ------------- user-scripts/styles/style-nuno.css | 52 ------------------------ user-scripts/styles/style-original.css | 37 ----------------- user-scripts/styles/style-v1.css | 37 +++++++++++++++++ user-scripts/styles/style-v2.css | 52 ++++++++++++++++++++++++ user-scripts/styles/style-v3.css | 70 +++++++++++++++++++++++++++++++++ 8 files changed, 160 insertions(+), 118 deletions(-) delete mode 100644 user-scripts/styles/style-nuno.css delete mode 100644 user-scripts/styles/style-original.css create mode 100644 user-scripts/styles/style-v1.css create mode 100644 user-scripts/styles/style-v2.css create mode 100644 user-scripts/styles/style-v3.css diff --git a/rosenrot b/rosenrot index cb3f6a0..dfffdcd 100755 Binary files a/rosenrot and b/rosenrot 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); // g_object_set(gtk_settings_get_default(), GTK_SETTINGS_CONFIG_H, NULL); // 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-nuno.css b/user-scripts/styles/style-nuno.css deleted file mode 100644 index c7c07b6..0000000 --- a/user-scripts/styles/style-nuno.css +++ /dev/null @@ -1,52 +0,0 @@ -@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: 16px; - /*@Base; */ - /* border-bottom-color: @Base; */ -} - -window, notebook, headerbar { - background: @Base; -} - -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; - /*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-original.css deleted file mode 100644 index 45805d7..0000000 --- a/user-scripts/styles/style-original.css +++ /dev/null @@ -1,37 +0,0 @@ -@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-bottom-color: @Base; -} - -window, notebook, headerbar { - background: @Base; -} - -tabs { - background-color: @Base; - padding: 3px; -} - -tab { - background-color: @Base; - margin: 5px; -} - -entry { - background-color: @Surface0; - padding-left: 10px; -} - -entry:focus { - box-shadow: none; -} diff --git a/user-scripts/styles/style-v1.css b/user-scripts/styles/style-v1.css new file mode 100644 index 0000000..45805d7 --- /dev/null +++ b/user-scripts/styles/style-v1.css @@ -0,0 +1,37 @@ +@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-bottom-color: @Base; +} + +window, notebook, headerbar { + background: @Base; +} + +tabs { + background-color: @Base; + padding: 3px; +} + +tab { + background-color: @Base; + margin: 5px; +} + +entry { + background-color: @Surface0; + padding-left: 10px; +} + +entry:focus { + box-shadow: none; +} diff --git a/user-scripts/styles/style-v2.css b/user-scripts/styles/style-v2.css new file mode 100644 index 0000000..c7c07b6 --- /dev/null +++ b/user-scripts/styles/style-v2.css @@ -0,0 +1,52 @@ +@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: 16px; + /*@Base; */ + /* border-bottom-color: @Base; */ +} + +window, notebook, headerbar { + background: @Base; +} + +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; + /*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-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; + +} -- cgit v1.2.3