Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom color schemes #542

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions data/Application.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,13 @@ vte-terminal {
background-color: #fff;
color: #000;
}

.color-custom radio {
background-color: #fff;
color: #000;
sebastianlay marked this conversation as resolved.
Show resolved Hide resolved
-gtk-icon-source: -gtk-icontheme("list-add");
danirabbit marked this conversation as resolved.
Show resolved Hide resolved
}

.color-custom radio:checked {
-gtk-icon-source: -gtk-icontheme("check-active-symbolic");
}
2 changes: 2 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ executable(
'src/Application.vala',
'src/DBus.vala',
'src/MainWindow.vala',
'src/Themes.vala',
'src/Dialogs/ForegroundProcessDialog.vala',
'src/Dialogs/ColorPreferencesDialog.vala',
'src/Dialogs/UnsafePasteDialog.vala',
'src/Widgets/SearchToolbar.vala',
'src/Widgets/TerminalWidget.vala',
Expand Down
2 changes: 2 additions & 0 deletions src/Application.vala
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public class Terminal.Application : Gtk.Application {
public static GLib.Settings settings_sys;

private GLib.List <MainWindow> windows;
private static Themes themes;

public static string? working_directory = null;
[CCode (array_length = false, array_null_terminated = true)]
Expand All @@ -46,6 +47,7 @@ public class Terminal.Application : Gtk.Application {
saved_state = new GLib.Settings ("io.elementary.terminal.saved-state");
settings = new GLib.Settings ("io.elementary.terminal.settings");
settings_sys = new GLib.Settings ("org.gnome.desktop.interface");
themes = new Themes ();
}

construct {
Expand Down
Loading