Themes: Add black theme for AMOLED displays, fix theme selector background in dark theme

Deprecates / closes #671
paste-quickfix
Lorenz Hübschle-Schneider 10 years ago
parent d06219102c
commit 01d0891a2d
  1. 22
      css/themes/black.css
  2. 5
      css/themes/dark.css
  3. 2
      js/glowingbear.js

@ -0,0 +1,22 @@
@import "dark.css";
body, .modal-content {
background-color: #000;
}
#topbar, #sidebar, .panel, .dropdown-menu, #topbar .actions {
background: #080808;
}
.nav-pills li:nth-child(2n) {
background: #000;
}
.form-control option, input.form-control, select.form-control {
color: #ccc;
background: #080808;
}
.close, .close:hover, .close:focus {
color: #ddd;
}

@ -10,6 +10,11 @@ body {
border: 0px none; border: 0px none;
} }
.form-control option {
color: #eee;
background: #282828;
}
html { html {
background-color: inherit; background-color: inherit;
} }

@ -21,7 +21,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
}; };
$scope.command = ''; $scope.command = '';
$scope.themes = ['dark', 'light']; $scope.themes = ['dark', 'light', 'black'];
// Initialise all our settings, this needs to include all settings // Initialise all our settings, this needs to include all settings
// or else they won't be saved to the localStorage. // or else they won't be saved to the localStorage.

Loading…
Cancel
Save