commit 71586951b4a4eb72090a1d768fb46826441327a6 Author: user Date: Fri Feb 25 15:44:10 2022 +1000 add diff --git a/gruvbox-dark.css b/gruvbox-dark.css new file mode 100644 index 0000000..f47bc47 --- /dev/null +++ b/gruvbox-dark.css @@ -0,0 +1,165 @@ +// This file is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. + +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with this file. If not, see . + +// Copyright (C) Jussi Schultink 2009 +// Copyright (C) Alistair Michael 2022 + +QWidget { + color: #ebdbb2; +} + +// Custom ChatView Colors +Palette { + link-visited: #83a598; link: #458588; + + /* + window: #282828; window-text: #ebdbb2; text: #ebdbb2; + + light: #ebdbb2; midlight: #a89984; button: #282828; + mid: #665c54; dark: #282828; button-text: #ebdbb2; + */ + + /* marker-line: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop:0 #fb4934, stop: 0.1 transparent); */ + window: #282828; + background: #282828; + foreground: #ebdbb2; + + base: #282828; + alternate-base: #42403B; + + /* Just setting palette(tooltip-base) doesn't work as intended so we set it in + ** a QTooltip{} rule as well. + */ + tooltip-base: #282828; // palette(base) + tooltip-text: #ebdbb2; // palette(text) + + /* The following attributes should be done in a scale */ + light: #282828; // Tab Borders, Scrollbar handle grips, Titled Panel border (Settings) + midlight: #282828; // ? + button: #282828; // Menu BG, Scrollbar and Button base. + mid: #282828; // Titled Panel border (Settings) + dark: #282828; // TreeView [-] and ... color (Also various borders in Windows Client Style) + shadow: #282828; // ? + + /* Text colors */ + text: ebdbb2; + button-text: #ebdbb2; + + highlight: #83a598; + highlight-text: #282828; + border-color: #282828; + + /* Color of the marker line in the chat view. BG Node that is overlayed on the first new ChatLine. */ + // 0 -> 0.1 (sharp line) + marker-line: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ff0000, stop: 0.1 #ff0000, stop: 0.1 transparent); + +} + +ChatView { background: #282828; } + +ChatLine[label="highlight"] { + foreground: #282828; + background: #83a598; +} + +ChatLine::timestamp { foreground: #928374; } + +ChatLine#plain { foreground: #ebdbb2; } +ChatLine#notice { foreground: #fbf1c7; } +ChatLine#action { foreground: #8ec07c; font-weight: bold; font-style: italic; } +ChatLine#nick { foreground: #b8bb26; } +ChatLine#mode { foreground: #458588; font-weight: bold; } +ChatLine#join { foreground: #fabd2f; } +ChatLine#part { foreground: #458588; } +ChatLine#quit { foreground: #b16286; } +ChatLine#kick { foreground: #b16286; } +ChatLine#kill { foreground: #b16286; } +ChatLine#server { foreground: #fabd2f; } +ChatLine#info { foreground: #83a598; } +ChatLine#error { foreground: #fe8019; } +ChatLine#daychange { foreground: #928374; } +ChatLine#topic { foreground: #8ec07c; } + + +// Sender Colors +ChatLine::sender#plain[sender="self"] { foreground: #fbf1c7; } + +ChatLine::sender#plain[sender="00"] { foreground: #cc241d; } +ChatLine::sender#plain[sender="01"] { foreground: #d65d0e; } +ChatLine::sender#plain[sender="02"] { foreground: #98971a; } +ChatLine::sender#plain[sender="03"] { foreground: #d79921; } +ChatLine::sender#plain[sender="04"] { foreground: #458588; } +ChatLine::sender#plain[sender="05"] { foreground: #b16286; } +ChatLine::sender#plain[sender="06"] { foreground: #689d61; } +ChatLine::sender#plain[sender="07"] { foreground: #fb4934; } +ChatLine::sender#plain[sender="08"] { foreground: #b8bb26; } +ChatLine::sender#plain[sender="09"] { foreground: #fabd2f; } +ChatLine::sender#plain[sender="0a"] { foreground: #83a598; } +ChatLine::sender#plain[sender="0b"] { foreground: #d3869b; } +ChatLine::sender#plain[sender="0c"] { foreground: #8ec07c; } +ChatLine::sender#plain[sender="0d"] { foreground: #fe8019; } +ChatLine::sender#plain[sender="0e"] { foreground: #ebdbb2; } +ChatLine::sender#plain[sender="0f"] { foreground: #ebdbb2; } + +// BufferView Colors +ChatListItem { foreground: #ebdbb2; } +ChatListItem[state="inactive"] { foreground: #a89984; } +ChatListItem[state="channel-event"] { foreground: #b8bb26; } +ChatListItem[state="unread-message"] { foreground: #b8bb26; } +ChatListItem[state="highlighted"] { foreground: #83a598; background:#282828} +BufferView { background: #282828; } + +// NickView Colors +NickListItem[type="category"] { foreground: #ebdbb2; } +NickListItem[type="user"] { foreground: #ebdbb2; } +NickListItem[type="user", state="away"] { foreground: #a89984; } +NickView { background: #282828; } + +MultiLineEdit { background: #282828; color: #ebdbb2; } +StyledLabel#topicLabel { background: #282828; } +ChatLine#topic { foreground: #ebdbb2; } + +// Miscellaneous Colors +QTreeView::item:selected { color: #282828; } +ChatMonitorSettingsPage BufferView::item { color: #ebdbb2; }QTreeView#settingsTree { background: #282828; } +QTreeView::item#settingsTree { color: #ebdbb2; } +QLineEdit:enabled { background: #282828; color: #ebdbb2; } +QSpinBox:enabled { background: #282828; color: #ebdbb2; } +QTableWidget { background-color: #282828; color: #ebdbb2; } +QListWidget { background-color: #282828; color: #ebdbb2; } + +QTableView { + alternate-background-color: #282828; + background-color: #282828; + color: #ebdbb2; +} + + +/* Menu Bar / Context Menues */ +QMenu { + margin: 5px; // A bit of nice padding around menu items. +} + +/* ToolTip */ +/* Note: You cannot create transparent sections in the popup box without a mask set. + * Thus the black edges outside the rounded borders. */ +QToolTip { + border: 2px solid #282828; // palette(dark) + border-radius: 2px; + background: #282828; // palette(base) + color: #282828; // palette(text) +} + + +StyledLabel#topicLabel { background: #282828; } +MultiLineEdit { background: #282828; color: #ebdbb2; } +