Initial commit
This commit is contained in:
28
config/qutebrowser/autoconfig.yml
Normal file
28
config/qutebrowser/autoconfig.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
# If a config.py file exists, this file is ignored unless it's explicitly loaded
|
||||
# via config.load_autoconfig(). For more information, see:
|
||||
# https://github.com/qutebrowser/qutebrowser/blob/master/doc/help/configuring.asciidoc#loading-autoconfigyml
|
||||
# DO NOT edit this file by hand, qutebrowser will overwrite it.
|
||||
# Instead, create a config.py - see :help for details.
|
||||
|
||||
config_version: 2
|
||||
settings:
|
||||
content.autoplay:
|
||||
global: false
|
||||
fonts.debug_console:
|
||||
global: default_size default_family
|
||||
fonts.default_family:
|
||||
global: Ubuntu
|
||||
fonts.prompts:
|
||||
global: default_size sans-serif
|
||||
fonts.statusbar:
|
||||
global: default_size Ubuntu Mono
|
||||
fonts.web.family.fixed:
|
||||
global: Ubuntu Mono
|
||||
fonts.web.family.serif:
|
||||
global: Ubuntu
|
||||
fonts.web.family.standard:
|
||||
global: Ubuntu
|
||||
tabs.show:
|
||||
global: never
|
||||
tabs.tabs_are_windows:
|
||||
global: true
|
||||
305
config/qutebrowser/config.py
Normal file
305
config/qutebrowser/config.py
Normal file
@@ -0,0 +1,305 @@
|
||||
# Theme: https://github.com/alternateved/kaolin-inspired/blob/main/kaolin-dark/qutebrowser/default/base16-kaolin-dark.config.py
|
||||
|
||||
config.load_autoconfig()
|
||||
|
||||
# base16-qutebrowser (https://github.com/theova/base16-qutebrowser)
|
||||
# Base16 qutebrowser template by theova
|
||||
# Kaolin-dark scheme by alternateved (http://github.com/alternateved)
|
||||
# Inspired by (https://github.com/ogdenwebb/emacs-kaolin-themes)
|
||||
|
||||
base00 = "#18181B"
|
||||
base01 = "#222225"
|
||||
base02 = "#4B5254"
|
||||
base03 = "#545C5E"
|
||||
base04 = "#879193"
|
||||
base05 = "#9ba5a7"
|
||||
base06 = "#d0d0d4"
|
||||
base07 = "#E4E4E8"
|
||||
base08 = "#CD5C60"
|
||||
base09 = "#DBAC66"
|
||||
base0A = "#F2C866"
|
||||
base0B = "#6FB593"
|
||||
base0C = "#4D9391"
|
||||
base0D = "#91B9C7"
|
||||
base0E = "#845A84"
|
||||
base0F = "#E36D5B"
|
||||
|
||||
# set qutebrowser colors
|
||||
|
||||
# Text color of the completion widget. May be a single color to use for
|
||||
# all columns or a list of three colors, one for each column.
|
||||
c.colors.completion.fg = base05
|
||||
|
||||
# Background color of the completion widget for odd rows.
|
||||
c.colors.completion.odd.bg = base01
|
||||
|
||||
# Background color of the completion widget for even rows.
|
||||
c.colors.completion.even.bg = base00
|
||||
|
||||
# Foreground color of completion widget category headers.
|
||||
c.colors.completion.category.fg = base0A
|
||||
|
||||
# Background color of the completion widget category headers.
|
||||
c.colors.completion.category.bg = base00
|
||||
|
||||
# Top border color of the completion widget category headers.
|
||||
c.colors.completion.category.border.top = base00
|
||||
|
||||
# Bottom border color of the completion widget category headers.
|
||||
c.colors.completion.category.border.bottom = base00
|
||||
|
||||
# Foreground color of the selected completion item.
|
||||
c.colors.completion.item.selected.fg = base05
|
||||
|
||||
# Background color of the selected completion item.
|
||||
c.colors.completion.item.selected.bg = base02
|
||||
|
||||
# Top border color of the selected completion item.
|
||||
c.colors.completion.item.selected.border.top = base02
|
||||
|
||||
# Bottom border color of the selected completion item.
|
||||
c.colors.completion.item.selected.border.bottom = base02
|
||||
|
||||
# Foreground color of the matched text in the selected completion item.
|
||||
c.colors.completion.item.selected.match.fg = base0B
|
||||
|
||||
# Foreground color of the matched text in the completion.
|
||||
c.colors.completion.match.fg = base0B
|
||||
|
||||
# Color of the scrollbar handle in the completion view.
|
||||
c.colors.completion.scrollbar.fg = base05
|
||||
|
||||
# Color of the scrollbar in the completion view.
|
||||
c.colors.completion.scrollbar.bg = base00
|
||||
|
||||
# Background color of disabled items in the context menu.
|
||||
c.colors.contextmenu.disabled.bg = base01
|
||||
|
||||
# Foreground color of disabled items in the context menu.
|
||||
c.colors.contextmenu.disabled.fg = base04
|
||||
|
||||
# Background color of the context menu. If set to null, the Qt default is used.
|
||||
c.colors.contextmenu.menu.bg = base00
|
||||
|
||||
# Foreground color of the context menu. If set to null, the Qt default is used.
|
||||
c.colors.contextmenu.menu.fg = base05
|
||||
|
||||
# Background color of the context menu’s selected item. If set to null, the Qt default is used.
|
||||
c.colors.contextmenu.selected.bg = base02
|
||||
|
||||
#Foreground color of the context menu’s selected item. If set to null, the Qt default is used.
|
||||
c.colors.contextmenu.selected.fg = base05
|
||||
|
||||
# Background color for the download bar.
|
||||
c.colors.downloads.bar.bg = base00
|
||||
|
||||
# Color gradient start for download text.
|
||||
c.colors.downloads.start.fg = base00
|
||||
|
||||
# Color gradient start for download backgrounds.
|
||||
c.colors.downloads.start.bg = base0D
|
||||
|
||||
# Color gradient end for download text.
|
||||
c.colors.downloads.stop.fg = base00
|
||||
|
||||
# Color gradient stop for download backgrounds.
|
||||
c.colors.downloads.stop.bg = base0C
|
||||
|
||||
# Foreground color for downloads with errors.
|
||||
c.colors.downloads.error.fg = base08
|
||||
|
||||
# Font color for hints.
|
||||
c.colors.hints.fg = base00
|
||||
|
||||
# Background color for hints. Note that you can use a `rgba(...)` value
|
||||
# for transparency.
|
||||
c.colors.hints.bg = base0A
|
||||
|
||||
# Font color for the matched part of hints.
|
||||
c.colors.hints.match.fg = base05
|
||||
|
||||
# Text color for the keyhint widget.
|
||||
c.colors.keyhint.fg = base05
|
||||
|
||||
# Highlight color for keys to complete the current keychain.
|
||||
c.colors.keyhint.suffix.fg = base05
|
||||
|
||||
# Background color of the keyhint widget.
|
||||
c.colors.keyhint.bg = base00
|
||||
|
||||
# Foreground color of an error message.
|
||||
c.colors.messages.error.fg = base00
|
||||
|
||||
# Background color of an error message.
|
||||
c.colors.messages.error.bg = base08
|
||||
|
||||
# Border color of an error message.
|
||||
c.colors.messages.error.border = base08
|
||||
|
||||
# Foreground color of a warning message.
|
||||
c.colors.messages.warning.fg = base00
|
||||
|
||||
# Background color of a warning message.
|
||||
c.colors.messages.warning.bg = base0E
|
||||
|
||||
# Border color of a warning message.
|
||||
c.colors.messages.warning.border = base0E
|
||||
|
||||
# Foreground color of an info message.
|
||||
c.colors.messages.info.fg = base05
|
||||
|
||||
# Background color of an info message.
|
||||
c.colors.messages.info.bg = base00
|
||||
|
||||
# Border color of an info message.
|
||||
c.colors.messages.info.border = base00
|
||||
|
||||
# Foreground color for prompts.
|
||||
c.colors.prompts.fg = base05
|
||||
|
||||
# Border used around UI elements in prompts.
|
||||
c.colors.prompts.border = base00
|
||||
|
||||
# Background color for prompts.
|
||||
c.colors.prompts.bg = base00
|
||||
|
||||
# Background color for the selected item in filename prompts.
|
||||
c.colors.prompts.selected.bg = base02
|
||||
|
||||
# Foreground color for the selected item in filename prompts.
|
||||
c.colors.prompts.selected.fg = base05
|
||||
|
||||
# Foreground color of the statusbar.
|
||||
c.colors.statusbar.normal.fg = base0B
|
||||
|
||||
# Background color of the statusbar.
|
||||
c.colors.statusbar.normal.bg = base00
|
||||
|
||||
# Foreground color of the statusbar in insert mode.
|
||||
c.colors.statusbar.insert.fg = base00
|
||||
|
||||
# Background color of the statusbar in insert mode.
|
||||
c.colors.statusbar.insert.bg = base0D
|
||||
|
||||
# Foreground color of the statusbar in passthrough mode.
|
||||
c.colors.statusbar.passthrough.fg = base00
|
||||
|
||||
# Background color of the statusbar in passthrough mode.
|
||||
c.colors.statusbar.passthrough.bg = base0C
|
||||
|
||||
# Foreground color of the statusbar in private browsing mode.
|
||||
c.colors.statusbar.private.fg = base00
|
||||
|
||||
# Background color of the statusbar in private browsing mode.
|
||||
c.colors.statusbar.private.bg = base01
|
||||
|
||||
# Foreground color of the statusbar in command mode.
|
||||
c.colors.statusbar.command.fg = base05
|
||||
|
||||
# Background color of the statusbar in command mode.
|
||||
c.colors.statusbar.command.bg = base00
|
||||
|
||||
# Foreground color of the statusbar in private browsing + command mode.
|
||||
c.colors.statusbar.command.private.fg = base05
|
||||
|
||||
# Background color of the statusbar in private browsing + command mode.
|
||||
c.colors.statusbar.command.private.bg = base00
|
||||
|
||||
# Foreground color of the statusbar in caret mode.
|
||||
c.colors.statusbar.caret.fg = base00
|
||||
|
||||
# Background color of the statusbar in caret mode.
|
||||
c.colors.statusbar.caret.bg = base0E
|
||||
|
||||
# Foreground color of the statusbar in caret mode with a selection.
|
||||
c.colors.statusbar.caret.selection.fg = base00
|
||||
|
||||
# Background color of the statusbar in caret mode with a selection.
|
||||
c.colors.statusbar.caret.selection.bg = base0D
|
||||
|
||||
# Background color of the progress bar.
|
||||
c.colors.statusbar.progress.bg = base0D
|
||||
|
||||
# Default foreground color of the URL in the statusbar.
|
||||
c.colors.statusbar.url.fg = base05
|
||||
|
||||
# Foreground color of the URL in the statusbar on error.
|
||||
c.colors.statusbar.url.error.fg = base08
|
||||
|
||||
# Foreground color of the URL in the statusbar for hovered links.
|
||||
c.colors.statusbar.url.hover.fg = base05
|
||||
|
||||
# Foreground color of the URL in the statusbar on successful load
|
||||
# (http).
|
||||
c.colors.statusbar.url.success.http.fg = base0C
|
||||
|
||||
# Foreground color of the URL in the statusbar on successful load
|
||||
# (https).
|
||||
c.colors.statusbar.url.success.https.fg = base0B
|
||||
|
||||
# Foreground color of the URL in the statusbar when there's a warning.
|
||||
c.colors.statusbar.url.warn.fg = base0E
|
||||
|
||||
# Background color of the tab bar.
|
||||
c.colors.tabs.bar.bg = base00
|
||||
|
||||
# Color gradient start for the tab indicator.
|
||||
c.colors.tabs.indicator.start = base0D
|
||||
|
||||
# Color gradient end for the tab indicator.
|
||||
c.colors.tabs.indicator.stop = base0C
|
||||
|
||||
# Color for the tab indicator on errors.
|
||||
c.colors.tabs.indicator.error = base08
|
||||
|
||||
# Foreground color of unselected odd tabs.
|
||||
c.colors.tabs.odd.fg = base05
|
||||
|
||||
# Background color of unselected odd tabs.
|
||||
c.colors.tabs.odd.bg = base01
|
||||
|
||||
# Foreground color of unselected even tabs.
|
||||
c.colors.tabs.even.fg = base05
|
||||
|
||||
# Background color of unselected even tabs.
|
||||
c.colors.tabs.even.bg = base00
|
||||
|
||||
# Background color of pinned unselected even tabs.
|
||||
c.colors.tabs.pinned.even.bg = base0C
|
||||
|
||||
# Foreground color of pinned unselected even tabs.
|
||||
c.colors.tabs.pinned.even.fg = base07
|
||||
|
||||
# Background color of pinned unselected odd tabs.
|
||||
c.colors.tabs.pinned.odd.bg = base0B
|
||||
|
||||
# Foreground color of pinned unselected odd tabs.
|
||||
c.colors.tabs.pinned.odd.fg = base07
|
||||
|
||||
# Background color of pinned selected even tabs.
|
||||
c.colors.tabs.pinned.selected.even.bg = base02
|
||||
|
||||
# Foreground color of pinned selected even tabs.
|
||||
c.colors.tabs.pinned.selected.even.fg = base05
|
||||
|
||||
# Background color of pinned selected odd tabs.
|
||||
c.colors.tabs.pinned.selected.odd.bg = base02
|
||||
|
||||
# Foreground color of pinned selected odd tabs.
|
||||
c.colors.tabs.pinned.selected.odd.fg = base05
|
||||
|
||||
# Foreground color of selected odd tabs.
|
||||
c.colors.tabs.selected.odd.fg = base05
|
||||
|
||||
# Background color of selected odd tabs.
|
||||
c.colors.tabs.selected.odd.bg = base02
|
||||
|
||||
# Foreground color of selected even tabs.
|
||||
c.colors.tabs.selected.even.fg = base05
|
||||
|
||||
# Background color of selected even tabs.
|
||||
c.colors.tabs.selected.even.bg = base02
|
||||
|
||||
# Background color for webpages if unset (or empty to use the theme's
|
||||
# color).
|
||||
# c.colors.webpage.bg = base00
|
||||
57
config/qutebrowser/greasemonkey/cinny-theme.js
Normal file
57
config/qutebrowser/greasemonkey/cinny-theme.js
Normal file
@@ -0,0 +1,57 @@
|
||||
// ==UserScript==
|
||||
// @name Cinny Theme
|
||||
// @match *://app.cinny.in/*
|
||||
{let style = document.createElement('style');style.innerHTML = `body,
|
||||
.dark-theme,
|
||||
.butter-theme,
|
||||
.silver-theme {
|
||||
--bg-surface: #0f0f0f;
|
||||
--bg-surface-transparent: rgba(15, 15, 15, 0);
|
||||
--bg-surface-low: #1a1a1a;
|
||||
--bg-surface-low-transparent: rgba(26, 26, 26, 0);
|
||||
--bg-surface-extra-low: #242424;
|
||||
--bg-surface-extra-low-transparent: rgba(36, 36, 36, 0);
|
||||
--bg-surface-hover: #242424;
|
||||
--bg-surface-active: #333333;
|
||||
--bg-surface-border: #333333;
|
||||
--bg-primary: hsl(180, 42%, 70%);
|
||||
--bg-primary-hover: hsl(180, 42%, 70%);
|
||||
--bg-primary-active: hsl(180, 42%, 70%);
|
||||
--bg-primary-border: hsl(180, 42%, 70%);
|
||||
--bg-tooltip: #000;
|
||||
--bg-badge: hsl(180, 30%, 90%);
|
||||
--bg-ping: hsl(180, 30%, 90%);
|
||||
--bg-ping-hover: hsl(180, 30%, 90%);
|
||||
--bg-divider: #1a1a1a;
|
||||
--tc-surface-high: hsl(180, 30%, 90%);
|
||||
--tc-surface-normal: hsl(180, 16%, 83%);
|
||||
--tc-surface-normal-low: hsl(180, 10%, 77%);
|
||||
--tc-surface-low: hsl(180, 10%, 77%);
|
||||
--tc-primary-high: hsl(180, 30%, 90%);
|
||||
--tc-primary-normal: hsl(180, 16%, 83%);
|
||||
--tc-primary-low: hsl(180, 10%, 77%);
|
||||
--tc-code: #e565b1;
|
||||
--tc-link: hsl(180, 42%, 70%);
|
||||
--tc-badge: black;
|
||||
--ic-surface-high: hsl(180, 30%, 90%);
|
||||
--ic-surface-normal: hsl(180, 30%, 90%);
|
||||
--ic-surface-low: hsl(180, 30%, 90%);
|
||||
--ic-primary-normal: #ffffff;
|
||||
--bg-overlay: rgba(0, 0, 0, 0.6);
|
||||
--bg-overlay-low: rgba(0, 0, 0, 0.8);
|
||||
--bs-popup: 0 0 16px rgba(0, 0, 0, 0.25);
|
||||
--bs-surface-border: inset 0 0 0 1px var(--bg-surface-border);
|
||||
--bs-surface-outline: 0 0 0 2px var(--bg-surface-border);
|
||||
--bs-primary-border: inset 0 0 0 1px var(--bg-primary-border);
|
||||
--bs-primary-outline: 0 0 0 2px var(--bg-primary-border);
|
||||
--fs-h1: 35.6px;
|
||||
--fs-h2: 23.6px;
|
||||
--fs-s1: 17.6px;
|
||||
--fs-b1: 14.6px;
|
||||
--ls-b1: 0.14px;
|
||||
--fs-b2: 13.2px;
|
||||
--fs-b3: 11.2px;
|
||||
--fw-normal: 350;
|
||||
--font-primary: sans-serif;
|
||||
--font-secondary: sans-serif;
|
||||
}`; document.head.appendChild(style); }
|
||||
5
config/qutebrowser/qsettings/QtProject.conf
Normal file
5
config/qutebrowser/qsettings/QtProject.conf
Normal file
@@ -0,0 +1,5 @@
|
||||
[FileDialog]
|
||||
history=@Invalid()
|
||||
lastVisited=file:///home/dakedres/Downloads
|
||||
qtVersion=5.15.8
|
||||
viewMode=Detail
|
||||
14
config/qutebrowser/qsettings/lxqt/filedialog.conf
Normal file
14
config/qutebrowser/qsettings/lxqt/filedialog.conf
Normal file
@@ -0,0 +1,14 @@
|
||||
[Sizes]
|
||||
SplitterPos=200
|
||||
WindowSize=@Size(989 756)
|
||||
|
||||
[View]
|
||||
BigIconSize=48
|
||||
Mode=Detailed
|
||||
ScrollPerPixel=true
|
||||
ShowThumbnails=true
|
||||
SmallIconSize=24
|
||||
SortColumn=type
|
||||
SortFolderFirst=true
|
||||
SortOrder=ascending
|
||||
ThumbnailIconSize=128
|
||||
1
config/qutebrowser/quickmarks
Normal file
1
config/qutebrowser/quickmarks
Normal file
@@ -0,0 +1 @@
|
||||
Uxn tutorial d2 https://compudanzas.net/uxn_tutorial_day_2.html
|
||||
2
config/qutebrowser/theme/copy.sh
Executable file
2
config/qutebrowser/theme/copy.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
lessc $1 out.css
|
||||
echo -e "// ==UserScript==\n// @name Cinny Theme\n// @match *://app.cinny.in/*\n{let style = document.createElement('style');style.innerHTML = \`$(cat out.css)\`; document.head.appendChild(style); }" > ../greasemonkey/cinny-theme.js
|
||||
67
config/qutebrowser/theme/dark.less
Normal file
67
config/qutebrowser/theme/dark.less
Normal file
@@ -0,0 +1,67 @@
|
||||
|
||||
|
||||
@hue: 180;
|
||||
|
||||
@f_high: hsl(@hue, 30%, 90%);
|
||||
@f_med: hsl(@hue, 16%, 83%);
|
||||
@f_low: hsl(@hue, 10%, 77%);
|
||||
|
||||
|
||||
@b_high: #333333;
|
||||
@b_med: #242424;
|
||||
@b_low: #1a1a1a;
|
||||
@background: #0f0f0f;
|
||||
|
||||
@b_inv: hsl(@hue, 42%, 70%);
|
||||
|
||||
body, .dark-theme, .butter-theme, .silver-theme {
|
||||
--bg-surface: @background;
|
||||
--bg-surface-transparent: fade(@background, 0);
|
||||
--bg-surface-low: @b_low;
|
||||
--bg-surface-low-transparent: fade(@b_low, 0);
|
||||
--bg-surface-extra-low: @b_med;
|
||||
--bg-surface-extra-low-transparent: fade(@b_med, 0);
|
||||
--bg-surface-hover: @b_med;
|
||||
--bg-surface-active: @b_high;
|
||||
--bg-surface-border: @b_high;
|
||||
--bg-primary: @b_inv;
|
||||
--bg-primary-hover: @b_inv;
|
||||
--bg-primary-active: @b_inv;
|
||||
--bg-primary-border: @b_inv;
|
||||
--bg-tooltip: #000;
|
||||
--bg-badge: @f_high;
|
||||
--bg-ping: @f_high;
|
||||
--bg-ping-hover: @f_high;
|
||||
--bg-divider: @b_low;
|
||||
--tc-surface-high: @f_high;
|
||||
--tc-surface-normal: @f_med;
|
||||
--tc-surface-normal-low: @f_low;
|
||||
--tc-surface-low: @f_low;
|
||||
--tc-primary-high: @f_high;
|
||||
--tc-primary-normal: @f_med;
|
||||
--tc-primary-low: @f_low;
|
||||
--tc-code: #e565b1;
|
||||
--tc-link: @b_inv;
|
||||
--tc-badge: black;
|
||||
--ic-surface-high: @f_high;
|
||||
--ic-surface-normal: @f_high;
|
||||
--ic-surface-low: @f_high;
|
||||
--ic-primary-normal: #ffffff;
|
||||
--bg-overlay: rgba(0, 0, 0, 60%);
|
||||
--bg-overlay-low: rgba(0, 0, 0, 80%);
|
||||
--bs-popup: 0 0 16px rgba(0, 0, 0, 25%);
|
||||
--bs-surface-border: inset 0 0 0 1px var(--bg-surface-border);
|
||||
--bs-surface-outline: 0 0 0 2px var(--bg-surface-border);
|
||||
--bs-primary-border: inset 0 0 0 1px var(--bg-primary-border);
|
||||
--bs-primary-outline: 0 0 0 2px var(--bg-primary-border);
|
||||
--fs-h1: 35.6px;
|
||||
--fs-h2: 23.6px;
|
||||
--fs-s1: 17.6px;
|
||||
--fs-b1: 14.6px;
|
||||
--ls-b1: .14px;
|
||||
--fs-b2: 13.2px;
|
||||
--fs-b3: 11.2px;
|
||||
--fw-normal: 350;
|
||||
--font-primary: sans-serif;
|
||||
--font-secondary: sans-serif;
|
||||
}
|
||||
3
config/qutebrowser/theme/fromTheme.sh
Executable file
3
config/qutebrowser/theme/fromTheme.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
echo "$(node process.js $1)$(cat tea.less)" > temp.less
|
||||
lessc temp.less out.css
|
||||
echo "document.head.innerHTML += \`<style>$(cat out.css)</style>\`" | xclip -selection c
|
||||
400
config/qutebrowser/theme/light.less
Normal file
400
config/qutebrowser/theme/light.less
Normal file
@@ -0,0 +1,400 @@
|
||||
// @background: #eff;
|
||||
// @f_high: #100;
|
||||
// @f_med: #211;
|
||||
// @f_low: #322;
|
||||
// @b_high: #bcc;
|
||||
// @b_med: #cdd;
|
||||
// @b_low: #dee;
|
||||
// @b_inv: #0aa;
|
||||
|
||||
// @f_high: hsl(180, 100%, 95%);
|
||||
// @f_med: hsl(180, 90%, 90%);
|
||||
// @f_low: hsl(180, 75%, 85%);
|
||||
// @background: #111;
|
||||
// @b_high: #2f2f2f;
|
||||
// @b_med: #202020;
|
||||
// @b_low: #1f1f1f;
|
||||
// @b_high: #333;
|
||||
// @b_med: @b_low;
|
||||
// @b_low: #222;
|
||||
|
||||
@f_high: #220000;
|
||||
@f_med: #441100;
|
||||
@f_low: #662200;
|
||||
|
||||
// @b_high: hsl(0, 0%, 84%);
|
||||
// @b_med: hsl(0,0%,88%);
|
||||
// @b_low: hsl(0,0%,90%);
|
||||
// @background: hsl(0,0%,94%);
|
||||
@b_high: #d6d6d6;
|
||||
@b_med: #e0e0e0;
|
||||
@b_low: #e6e6e6;
|
||||
@background: #f0f0f0;
|
||||
|
||||
@b_inv: #b40;
|
||||
|
||||
@primary: @f_high; // primary color used in main texts
|
||||
@secondary: @f_med; // secondary color used in some texts and text based buttons
|
||||
@tertiary: @f_med; // tertiary color used in other colored texts
|
||||
@fg: @f_high;
|
||||
@bg0: @background;
|
||||
@bg1: @b_low;
|
||||
@bg2: @b_med;
|
||||
@bg3: @b_med;
|
||||
@bg4: @b_high;
|
||||
@red: hwb(357 45% 7%);
|
||||
@orange: hwb(39 45% 13%);
|
||||
@yellow: hwb(39 45% 13%);
|
||||
@green: hwb(94 51% 21%);
|
||||
@cyan: hwb(184 36% 24%);
|
||||
@blue: #6cb6eb;
|
||||
@purple: #d38aea;
|
||||
@grey: #758094;
|
||||
@red-bg: #55393d;
|
||||
@green-bg: #394634;
|
||||
@blue-bg: #354157;
|
||||
@yellow-bg: #4e432f;
|
||||
@button1: @b_inv;
|
||||
@button2: @b_inv;
|
||||
@button-red: @red;
|
||||
@key: @red;
|
||||
@operator: @purple;
|
||||
@string: @green;
|
||||
@value: @green;
|
||||
@type: @yellow;
|
||||
@function: @blue;
|
||||
@special: @cyan;
|
||||
|
||||
:root {
|
||||
--is-dark-theme: true;
|
||||
--color-primary: @primary;
|
||||
--color-primary-contrast: @bg0;
|
||||
--color-primary-dark-1: @primary;
|
||||
--color-primary-dark-2: mix(@fg, @primary, 16.7%);
|
||||
--color-primary-dark-3: mix(@fg, @primary, 33.3%);
|
||||
--color-primary-dark-4: mix(@fg, @primary, 50%);
|
||||
--color-primary-dark-5: mix(@fg, @primary, 66.6%);
|
||||
--color-primary-dark-6: mix(@fg, @primary, 83.3%);
|
||||
--color-primary-dark-7: @fg;
|
||||
--color-primary-light-1: @primary;
|
||||
--color-primary-light-2: mix(@bg2, @primary, 16.7%);
|
||||
--color-primary-light-3: mix(@bg2, @primary, 33.3%);
|
||||
--color-primary-light-4: mix(@bg2, @primary, 50%);
|
||||
--color-primary-light-5: mix(@bg2, @primary, 66.6%);
|
||||
--color-primary-light-6: mix(@bg2, @primary, 83.3%);
|
||||
--color-primary-light-7: @bg2;
|
||||
--color-primary-alpha-10: fade(@primary, 10%);
|
||||
--color-primary-alpha-20: fade(@primary, 20%);
|
||||
--color-primary-alpha-30: fade(@primary, 30%);
|
||||
--color-primary-alpha-40: fade(@primary, 40%);
|
||||
--color-primary-alpha-50: fade(@primary, 50%);
|
||||
--color-primary-alpha-60: fade(@primary, 60%);
|
||||
--color-primary-alpha-70: fade(@primary, 70%);
|
||||
--color-primary-alpha-80: fade(@primary, 80%);
|
||||
--color-primary-alpha-90: fade(@primary, 90%);
|
||||
--color-secondary: @bg4;
|
||||
--color-secondary-dark-1: @bg4;
|
||||
--color-secondary-dark-2: mix(@fg, @bg4, 8.3%);
|
||||
--color-secondary-dark-3: mix(@fg, @bg4, 16.7%);
|
||||
--color-secondary-dark-4: mix(@fg, @bg4, 25%);
|
||||
--color-secondary-dark-5: mix(@fg, @bg4, 33.3%);
|
||||
--color-secondary-dark-6: mix(@fg, @bg4, 41.7%);
|
||||
--color-secondary-dark-7: mix(@fg, @bg4, 50%);
|
||||
--color-secondary-dark-8: mix(@fg, @bg4, 58.3%);
|
||||
--color-secondary-dark-9: mix(@fg, @bg4, 66.7%);
|
||||
--color-secondary-dark-10: mix(@fg, @bg4, 75%);
|
||||
--color-secondary-dark-11: mix(@fg, @bg4, 83.3%);
|
||||
--color-secondary-dark-12: mix(@fg, @bg4, 91.7%);
|
||||
--color-secondary-dark-13: @fg;
|
||||
--color-secondary-light-1: @bg4;
|
||||
--color-secondary-light-2: @bg3;
|
||||
--color-secondary-light-3: @bg2;
|
||||
--color-secondary-light-4: @bg1;
|
||||
--color-secondary-alpha-10: fade(@bg4, 10%);
|
||||
--color-secondary-alpha-20: fade(@bg4, 20%);
|
||||
--color-secondary-alpha-30: fade(@bg4, 30%);
|
||||
--color-secondary-alpha-40: fade(@bg4, 40%);
|
||||
--color-secondary-alpha-50: fade(@bg4, 50%);
|
||||
--color-secondary-alpha-60: fade(@bg4, 60%);
|
||||
--color-secondary-alpha-70: fade(@bg4, 70%);
|
||||
--color-secondary-alpha-80: fade(@bg4, 80%);
|
||||
--color-secondary-alpha-90: fade(@bg4, 90%);
|
||||
/* colors */
|
||||
--color-red: @red;
|
||||
--color-orange: @orange;
|
||||
--color-yellow: @yellow;
|
||||
--color-olive: @green;
|
||||
--color-green: @green;
|
||||
--color-teal: @cyan;
|
||||
--color-blue: @blue;
|
||||
--color-violet: @purple;
|
||||
--color-purple: @purple;
|
||||
--color-pink: @purple;
|
||||
--color-brown: @orange;
|
||||
--color-grey: @grey;
|
||||
/* light variants */
|
||||
--color-red-light: @red;
|
||||
--color-orange-light: @orange;
|
||||
--color-yellow-light: @yellow;
|
||||
--color-olive-light: @green;
|
||||
--color-green-light: @green;
|
||||
--color-teal-light: @cyan;
|
||||
--color-blue-light: @blue;
|
||||
--color-violet-light: @purple;
|
||||
--color-purple-light: @purple;
|
||||
--color-pink-light: @purple;
|
||||
--color-brown-light: @orange;
|
||||
--color-grey-light: @grey;
|
||||
/* other colors */
|
||||
--color-black: @bg2;
|
||||
--color-gold: @orange;
|
||||
--color-white: @bg0;
|
||||
--color-diff-removed-word-bg: mix(@red-bg, @red, 70%);
|
||||
--color-diff-added-word-bg: mix(@green-bg, @green, 70%);
|
||||
--color-diff-removed-row-bg: @red-bg;
|
||||
--color-diff-moved-row-bg: @blue-bg;
|
||||
--color-diff-added-row-bg: @green-bg;
|
||||
--color-diff-removed-row-border: mix(@red-bg, @red, 50%);
|
||||
--color-diff-moved-row-border: mix(@blue-bg, @blue, 50%);
|
||||
--color-diff-added-row-border: mix(@green-bg, @green, 50%);
|
||||
--color-diff-inactive: @bg2;
|
||||
--color-error-border: mix(@red-bg, @red, 50%);
|
||||
--color-error-bg: @red-bg;
|
||||
--color-error-text: @red;
|
||||
--color-success-border: mix(@green-bg, @green, 50%);
|
||||
--color-success-bg: @green-bg;
|
||||
--color-success-text: @green;
|
||||
--color-warning-border: mix(@yellow-bg, @yellow, 50%);
|
||||
--color-warning-bg: @yellow-bg;
|
||||
--color-warning-text: @yellow;
|
||||
--color-info-border: mix(@blue-bg, @blue, 50%);
|
||||
--color-info-bg: @blue-bg;
|
||||
--color-info-text: @blue;
|
||||
/* target-based colors */
|
||||
--color-body: @bg0;
|
||||
--color-box-header: @bg3;
|
||||
// --color-box-header: @bg3;
|
||||
--color-box-body: @bg1;
|
||||
--color-box-body-highlight: @bg2;
|
||||
--color-text-dark: @secondary;
|
||||
--color-text: @fg;
|
||||
--color-text-hover: fade(@fg, 80%);
|
||||
--color-text-light: @tertiary;
|
||||
--color-text-light-1: @tertiary;
|
||||
--color-text-light-2: @secondary;
|
||||
--color-text-light-3: @secondary;
|
||||
--color-footer: @bg1;
|
||||
--color-timeline: @bg4;
|
||||
--color-input-text: @fg;
|
||||
--color-input-background: @bg0;
|
||||
--color-input-toggle-background: @bg1;
|
||||
--color-input-border: @bg4;
|
||||
--color-input-border-hover: mix(@bg4, @grey, 50%);
|
||||
--color-navbar: @bg1;
|
||||
--color-navbar-transparent: @bg1;
|
||||
--color-nav-bg: @bg1;
|
||||
--color-nav-hover-bg: @bg3;
|
||||
--color-light: @bg1;
|
||||
--color-light-mimic-enabled: rgba(0, 0, 0, calc(40 / 255 * 222 / 255 / var(--opacity-disabled)));
|
||||
--color-light-border: @bg4;
|
||||
--color-hover: fade(@bg4, 50%);
|
||||
--color-active: fade(@bg4, 50%);
|
||||
--color-menu: @bg1;
|
||||
--color-card: @bg1;
|
||||
--color-markup-table-row: @bg3;
|
||||
--color-markup-code-block: @bg0;
|
||||
--color-button: @bg3;
|
||||
--color-code-bg: @bg0;
|
||||
--color-code-sidebar-bg: @bg1;
|
||||
--color-shadow: #00000060;
|
||||
--color-secondary-bg: @bg1;
|
||||
--color-text-focus: #fff;
|
||||
--color-expand-button: @bg2;
|
||||
--color-placeholder-text: @tertiary;
|
||||
--color-editor-line-highlight: @bg1;
|
||||
--color-project-board-bg: @bg0;
|
||||
--color-project-board-light-label: @primary;
|
||||
--color-caret: var(--color-text); /* should ideally be --color-text-dark, see #15651 */
|
||||
--color-reaction-bg: #ffffff12;
|
||||
--color-reaction-active-bg: var(--color-primary-alpha-40);
|
||||
--color-header-bar: @bg1;
|
||||
--color-label-bg: @bg4;
|
||||
--color-label-text: @tertiary;
|
||||
--color-label-active-bg: @bg4;
|
||||
--color-accent: var(--color-primary-light-1);
|
||||
--color-small-accent: var(--color-primary-light-5);
|
||||
--color-active-line: @bg1;
|
||||
--color-header-wrapper: @bg2;
|
||||
|
||||
accent-color: var(--color-accent);
|
||||
color-scheme: light;
|
||||
}
|
||||
|
||||
.chroma .nx {
|
||||
color: @fg;
|
||||
}
|
||||
.chroma .c, .chroma .c1, .chroma .ch, .chroma .cm, .chroma .sd {
|
||||
color: @grey;
|
||||
}
|
||||
.chroma .k, .chroma .kc, .chroma .kd, .chroma .kn, .chroma .kp, .chroma .kr {
|
||||
color: @key;
|
||||
}
|
||||
.chroma .o, .chroma .ow {
|
||||
color: @operator;
|
||||
}
|
||||
.chroma .s, .chroma .s1, .chroma .s2, .chroma .sa, .chroma .sb, .chroma .sc, .chroma .sh, .chroma .si, .chroma .sr, .chroma .ss, .chroma .sx, .chroma .nt, .chroma .cpf {
|
||||
color: @string;
|
||||
}
|
||||
.chroma .m, .chroma .mb, .chroma .mf, .chroma .mh, .chroma .mi, .chroma .mo, .chroma .nl {
|
||||
color: @value;
|
||||
}
|
||||
.chroma .kt, .chroma .nc, .chroma .nn, .chroma .nv {
|
||||
color: @type;
|
||||
}
|
||||
.chroma .nf, .chroma .nb, .chroma .na {
|
||||
color: @function;
|
||||
}
|
||||
.chroma .bp, .chroma .cp, .chroma .ne, .chroma .nd, .chroma .se {
|
||||
color: @special;
|
||||
}
|
||||
|
||||
/* primary buttons */
|
||||
.ui.primary.button, .ui.primary.buttons .button {
|
||||
background: @button1;
|
||||
background-color: @button1 !important;
|
||||
color: @bg0;
|
||||
}
|
||||
|
||||
.ui.primary.button:hover, .ui.primary.buttons .button:hover {
|
||||
background: fade(@button1, 80%);
|
||||
background-color: fade(@button1, 80%) !important;
|
||||
color: @bg0;
|
||||
}
|
||||
|
||||
.ui.grey.labels .label, .ui.ui.ui.grey.label, .ui.grey.button, .ui.grey.buttons .button {
|
||||
color: @bg0;
|
||||
background-color: @button1;
|
||||
border-color: @button1;
|
||||
}
|
||||
|
||||
.ui.grey.labels .label:hover, .ui.ui.ui.grey.label:hover, .ui.grey.button:hover, .ui.grey.buttons .button:hover {
|
||||
color: @bg0;
|
||||
background-color: @button1;
|
||||
border-color: @button1;
|
||||
}
|
||||
|
||||
/* secondary buttons */
|
||||
.ui.green.buttons .button, .ui.green.button {
|
||||
background: @button2;
|
||||
background-color: @button2;
|
||||
color: @bg0;
|
||||
}
|
||||
|
||||
.ui.green.buttons .button:hover, .ui.green.button:hover {
|
||||
background: fade(@button2, 80%);
|
||||
background-color: fade(@button2, 80%);
|
||||
color: @bg0;
|
||||
}
|
||||
|
||||
/* text based buttons (purple) */
|
||||
.ui.labeled.button.disabled>.button, .ui.basic.buttons .button, .ui.basic.button {
|
||||
color: @secondary;
|
||||
}
|
||||
|
||||
.ui.labeled.button.disabled>.button:hover, .ui.basic.buttons .button:hover, .ui.basic.button:hover {
|
||||
color: @secondary;
|
||||
}
|
||||
|
||||
/* repo title && header */
|
||||
.repo-title {
|
||||
color: @secondary;
|
||||
}
|
||||
|
||||
/* star number && fork number */
|
||||
.repo-buttons button[disabled] ~ .label,
|
||||
.repo-buttons .ui.labeled.button.disabled > .label {
|
||||
color: @primary;
|
||||
}
|
||||
|
||||
.ui.basic.labels .label, .ui.basic.label {
|
||||
color: @primary;
|
||||
}
|
||||
|
||||
/* hover on commits, branch, tags in project home page */
|
||||
.repository .ui.segment.sub-menu .list .item a:hover,
|
||||
.ui.tabular.menu .item:hover {
|
||||
color: var(--color-text-hover);
|
||||
}
|
||||
|
||||
/* commit label */
|
||||
.ui.primary.labels .label, .ui.ui.ui.primary.label {
|
||||
color: @bg0;
|
||||
}
|
||||
|
||||
/* issue label */
|
||||
.ui.green.labels .label, .ui.ui.ui.green.label {
|
||||
color: @bg0;
|
||||
}
|
||||
|
||||
/* grey button (rss feed button in repository home page) */
|
||||
i.grey.icon.icon.icon.icon {
|
||||
color: @grey
|
||||
}
|
||||
|
||||
/* scroll bar */
|
||||
* {
|
||||
scrollbar-color: @secondary transparent !important;
|
||||
}
|
||||
::-webkit-scrollbar {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
}
|
||||
::-webkit-scrollbar-thumb {
|
||||
box-shadow: inset 0 0 0 6px @secondary !important;
|
||||
border: 2px solid transparent;
|
||||
border-radius: 5px !important;
|
||||
}
|
||||
::-webkit-scrollbar-thumb:window-inactive {
|
||||
box-shadow: inset 0 0 0 6px @secondary !important;
|
||||
}
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
box-shadow: inset 0 0 0 6px @secondary !important;
|
||||
}
|
||||
::-webkit-scrollbar-corner {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/* red buttons */
|
||||
.ui.red.labels .label, .ui.ui.ui.red.label, .ui.red.button, .ui.red.buttons .button {
|
||||
background: @button-red;
|
||||
background-color: @button-red;
|
||||
color: @bg0;
|
||||
}
|
||||
|
||||
.ui.red.labels .label:hover, .ui.ui.ui.red.label:hover, .ui.red.button:hover, .ui.red.buttons .button:hover {
|
||||
background: fade(@button-red, 80%);
|
||||
background-color: fade(@button-red, 80%);
|
||||
color: @bg0;
|
||||
}
|
||||
|
||||
/* grey buttons */
|
||||
.ui.labels a.label, a.ui.label {
|
||||
background-color: @bg1;
|
||||
}
|
||||
|
||||
.ui.labels a.label:hover, a.ui.label:hover {
|
||||
background-color: @bg0;
|
||||
}
|
||||
|
||||
/* orange buttons */
|
||||
.ui.orange.labels .label, .ui.ui.ui.orange.label, .ui.orange.button, .ui.orange.buttons .button {
|
||||
background: @orange;
|
||||
background-color: @orange;
|
||||
color: @bg0;
|
||||
}
|
||||
|
||||
.ui.orange.labels .label:hover, .ui.ui.ui.orange.label:hover, .ui.orange.button:hover, .ui.orange.buttons .button:hover {
|
||||
background: fade(@orange, 80%);
|
||||
background-color: fade(@orange, 80%);
|
||||
color: @bg0;
|
||||
}
|
||||
54
config/qutebrowser/theme/out.css
Normal file
54
config/qutebrowser/theme/out.css
Normal file
@@ -0,0 +1,54 @@
|
||||
body,
|
||||
.dark-theme,
|
||||
.butter-theme,
|
||||
.silver-theme {
|
||||
--bg-surface: #0f0f0f;
|
||||
--bg-surface-transparent: rgba(15, 15, 15, 0);
|
||||
--bg-surface-low: #1a1a1a;
|
||||
--bg-surface-low-transparent: rgba(26, 26, 26, 0);
|
||||
--bg-surface-extra-low: #242424;
|
||||
--bg-surface-extra-low-transparent: rgba(36, 36, 36, 0);
|
||||
--bg-surface-hover: #242424;
|
||||
--bg-surface-active: #333333;
|
||||
--bg-surface-border: #333333;
|
||||
--bg-primary: hsl(180, 42%, 70%);
|
||||
--bg-primary-hover: hsl(180, 42%, 70%);
|
||||
--bg-primary-active: hsl(180, 42%, 70%);
|
||||
--bg-primary-border: hsl(180, 42%, 70%);
|
||||
--bg-tooltip: #000;
|
||||
--bg-badge: hsl(180, 30%, 90%);
|
||||
--bg-ping: hsl(180, 30%, 90%);
|
||||
--bg-ping-hover: hsl(180, 30%, 90%);
|
||||
--bg-divider: #1a1a1a;
|
||||
--tc-surface-high: hsl(180, 30%, 90%);
|
||||
--tc-surface-normal: hsl(180, 16%, 83%);
|
||||
--tc-surface-normal-low: hsl(180, 10%, 77%);
|
||||
--tc-surface-low: hsl(180, 10%, 77%);
|
||||
--tc-primary-high: hsl(180, 30%, 90%);
|
||||
--tc-primary-normal: hsl(180, 16%, 83%);
|
||||
--tc-primary-low: hsl(180, 10%, 77%);
|
||||
--tc-code: #e565b1;
|
||||
--tc-link: hsl(180, 42%, 70%);
|
||||
--tc-badge: black;
|
||||
--ic-surface-high: hsl(180, 30%, 90%);
|
||||
--ic-surface-normal: hsl(180, 30%, 90%);
|
||||
--ic-surface-low: hsl(180, 30%, 90%);
|
||||
--ic-primary-normal: #ffffff;
|
||||
--bg-overlay: rgba(0, 0, 0, 0.6);
|
||||
--bg-overlay-low: rgba(0, 0, 0, 0.8);
|
||||
--bs-popup: 0 0 16px rgba(0, 0, 0, 0.25);
|
||||
--bs-surface-border: inset 0 0 0 1px var(--bg-surface-border);
|
||||
--bs-surface-outline: 0 0 0 2px var(--bg-surface-border);
|
||||
--bs-primary-border: inset 0 0 0 1px var(--bg-primary-border);
|
||||
--bs-primary-outline: 0 0 0 2px var(--bg-primary-border);
|
||||
--fs-h1: 35.6px;
|
||||
--fs-h2: 23.6px;
|
||||
--fs-s1: 17.6px;
|
||||
--fs-b1: 14.6px;
|
||||
--ls-b1: 0.14px;
|
||||
--fs-b2: 13.2px;
|
||||
--fs-b3: 11.2px;
|
||||
--fw-normal: 350;
|
||||
--font-primary: sans-serif;
|
||||
--font-secondary: sans-serif;
|
||||
}
|
||||
14
config/qutebrowser/theme/process.js
Normal file
14
config/qutebrowser/theme/process.js
Normal file
@@ -0,0 +1,14 @@
|
||||
const Path = require('path')
|
||||
const fs = require('fs')
|
||||
|
||||
let target = process.argv[2]
|
||||
|
||||
let path = Path.isAbsolute(target) ? target : Path.join(process.cwd(), target)
|
||||
|
||||
let out = fs.readFileSync(path).toString('utf-8').replaceAll(
|
||||
/ <\w+ .*? id='([a-z_]+)' fill='#([A-Za-z0-9]+)'><\/\w+>/g,
|
||||
'@$1: #$2;'
|
||||
)
|
||||
.split('\n').filter(line => line.startsWith('@')).join('\n')
|
||||
|
||||
console.log(out)
|
||||
389
config/qutebrowser/theme/tea.less
Normal file
389
config/qutebrowser/theme/tea.less
Normal file
@@ -0,0 +1,389 @@
|
||||
// <circle .*? id='([a-z_]+)' fill='#([A-Za-z0-9]+)'></circle>
|
||||
// to
|
||||
// @$1: #$2;
|
||||
|
||||
// @background: #0A0F14;
|
||||
// @f_high: #FFFFFF;
|
||||
// @f_med: #98D1CE;
|
||||
// @f_low: #EDB54B;
|
||||
// @f_inv: #C33027;
|
||||
// @b_high: #093748;
|
||||
// @b_med: #081F2D;
|
||||
// @b_low: #10151B;
|
||||
// @b_inv: #8FAF9F;
|
||||
|
||||
// @background: #E0B1CB;
|
||||
// @f_high: #231942;
|
||||
// @f_med: #48416d;
|
||||
// @f_low: #917296;
|
||||
// @f_inv: #E0B1CB;
|
||||
// @b_high: #5E548E;
|
||||
// @b_med: #FFFFFF;
|
||||
// @b_low: #BE95C4;
|
||||
// @b_inv: #9F86C0;
|
||||
|
||||
@primary: @f_high; // primary color used in main texts
|
||||
@secondary: @f_med; // secondary color used in some texts and text based buttons
|
||||
@tertiary: @f_med; // tertiary color used in other colored texts
|
||||
@fg: @f_high;
|
||||
@bg0: @background;
|
||||
@bg1: @b_low;
|
||||
@bg2: @b_med;
|
||||
@bg3: @b_high;
|
||||
@bg4: @b_high;
|
||||
@red: #ec7279;
|
||||
@orange: #deb974;
|
||||
@yellow: #deb974;
|
||||
@green: #a0c980;
|
||||
@cyan: #5dbbc1;
|
||||
@blue: #6cb6eb;
|
||||
@purple: #d38aea;
|
||||
@grey: #758094;
|
||||
@red-bg: #55393d;
|
||||
@green-bg: #394634;
|
||||
@blue-bg: #354157;
|
||||
@yellow-bg: #4e432f;
|
||||
@button1: @b_inv;
|
||||
@button2: @b_inv;
|
||||
@button-red: @red;
|
||||
@key: @red;
|
||||
@operator: @purple;
|
||||
@string: @green;
|
||||
@value: @green;
|
||||
@type: @yellow;
|
||||
@function: @blue;
|
||||
@special: @cyan;
|
||||
|
||||
:root {
|
||||
--is-dark-theme: true;
|
||||
--color-primary: @primary;
|
||||
--color-primary-contrast: @bg0;
|
||||
--color-primary-dark-1: @primary;
|
||||
--color-primary-dark-2: mix(@fg, @primary, 16.7%);
|
||||
--color-primary-dark-3: mix(@fg, @primary, 33.3%);
|
||||
--color-primary-dark-4: mix(@fg, @primary, 50%);
|
||||
--color-primary-dark-5: mix(@fg, @primary, 66.6%);
|
||||
--color-primary-dark-6: mix(@fg, @primary, 83.3%);
|
||||
--color-primary-dark-7: @fg;
|
||||
--color-primary-light-1: @primary;
|
||||
--color-primary-light-2: mix(@bg2, @primary, 16.7%);
|
||||
--color-primary-light-3: mix(@bg2, @primary, 33.3%);
|
||||
--color-primary-light-4: mix(@bg2, @primary, 50%);
|
||||
--color-primary-light-5: mix(@bg2, @primary, 66.6%);
|
||||
--color-primary-light-6: mix(@bg2, @primary, 83.3%);
|
||||
--color-primary-light-7: @bg2;
|
||||
--color-primary-alpha-10: fade(@primary, 10%);
|
||||
--color-primary-alpha-20: fade(@primary, 20%);
|
||||
--color-primary-alpha-30: fade(@primary, 30%);
|
||||
--color-primary-alpha-40: fade(@primary, 40%);
|
||||
--color-primary-alpha-50: fade(@primary, 50%);
|
||||
--color-primary-alpha-60: fade(@primary, 60%);
|
||||
--color-primary-alpha-70: fade(@primary, 70%);
|
||||
--color-primary-alpha-80: fade(@primary, 80%);
|
||||
--color-primary-alpha-90: fade(@primary, 90%);
|
||||
--color-secondary: @bg4;
|
||||
--color-secondary-dark-1: @bg4;
|
||||
--color-secondary-dark-2: mix(@fg, @bg4, 8.3%);
|
||||
--color-secondary-dark-3: mix(@fg, @bg4, 16.7%);
|
||||
--color-secondary-dark-4: mix(@fg, @bg4, 25%);
|
||||
--color-secondary-dark-5: mix(@fg, @bg4, 33.3%);
|
||||
--color-secondary-dark-6: mix(@fg, @bg4, 41.7%);
|
||||
--color-secondary-dark-7: mix(@fg, @bg4, 50%);
|
||||
--color-secondary-dark-8: mix(@fg, @bg4, 58.3%);
|
||||
--color-secondary-dark-9: mix(@fg, @bg4, 66.7%);
|
||||
--color-secondary-dark-10: mix(@fg, @bg4, 75%);
|
||||
--color-secondary-dark-11: mix(@fg, @bg4, 83.3%);
|
||||
--color-secondary-dark-12: mix(@fg, @bg4, 91.7%);
|
||||
--color-secondary-dark-13: @fg;
|
||||
--color-secondary-light-1: @bg4;
|
||||
--color-secondary-light-2: @bg3;
|
||||
--color-secondary-light-3: @bg2;
|
||||
--color-secondary-light-4: @bg1;
|
||||
--color-secondary-alpha-10: fade(@bg4, 10%);
|
||||
--color-secondary-alpha-20: fade(@bg4, 20%);
|
||||
--color-secondary-alpha-30: fade(@bg4, 30%);
|
||||
--color-secondary-alpha-40: fade(@bg4, 40%);
|
||||
--color-secondary-alpha-50: fade(@bg4, 50%);
|
||||
--color-secondary-alpha-60: fade(@bg4, 60%);
|
||||
--color-secondary-alpha-70: fade(@bg4, 70%);
|
||||
--color-secondary-alpha-80: fade(@bg4, 80%);
|
||||
--color-secondary-alpha-90: fade(@bg4, 90%);
|
||||
/* colors */
|
||||
--color-red: @red;
|
||||
--color-orange: @orange;
|
||||
--color-yellow: @yellow;
|
||||
--color-olive: @green;
|
||||
--color-green: @green;
|
||||
--color-teal: @cyan;
|
||||
--color-blue: @blue;
|
||||
--color-violet: @purple;
|
||||
--color-purple: @purple;
|
||||
--color-pink: @purple;
|
||||
--color-brown: @orange;
|
||||
--color-grey: @grey;
|
||||
/* light variants */
|
||||
--color-red-light: @red;
|
||||
--color-orange-light: @orange;
|
||||
--color-yellow-light: @yellow;
|
||||
--color-olive-light: @green;
|
||||
--color-green-light: @green;
|
||||
--color-teal-light: @cyan;
|
||||
--color-blue-light: @blue;
|
||||
--color-violet-light: @purple;
|
||||
--color-purple-light: @purple;
|
||||
--color-pink-light: @purple;
|
||||
--color-brown-light: @orange;
|
||||
--color-grey-light: @grey;
|
||||
/* other colors */
|
||||
--color-black: @bg2;
|
||||
--color-gold: @orange;
|
||||
--color-white: @bg0;
|
||||
--color-diff-removed-word-bg: mix(@red-bg, @red, 70%);
|
||||
--color-diff-added-word-bg: mix(@green-bg, @green, 70%);
|
||||
--color-diff-removed-row-bg: @red-bg;
|
||||
--color-diff-moved-row-bg: @blue-bg;
|
||||
--color-diff-added-row-bg: @green-bg;
|
||||
--color-diff-removed-row-border: mix(@red-bg, @red, 50%);
|
||||
--color-diff-moved-row-border: mix(@blue-bg, @blue, 50%);
|
||||
--color-diff-added-row-border: mix(@green-bg, @green, 50%);
|
||||
--color-diff-inactive: @bg2;
|
||||
--color-error-border: mix(@red-bg, @red, 50%);
|
||||
--color-error-bg: @red-bg;
|
||||
--color-error-text: @red;
|
||||
--color-success-border: mix(@green-bg, @green, 50%);
|
||||
--color-success-bg: @green-bg;
|
||||
--color-success-text: @green;
|
||||
--color-warning-border: mix(@yellow-bg, @yellow, 50%);
|
||||
--color-warning-bg: @yellow-bg;
|
||||
--color-warning-text: @yellow;
|
||||
--color-info-border: mix(@blue-bg, @blue, 50%);
|
||||
--color-info-bg: @blue-bg;
|
||||
--color-info-text: @blue;
|
||||
/* target-based colors */
|
||||
--color-body: @bg0;
|
||||
--color-box-header: @bg3;
|
||||
// --color-box-header: @bg3;
|
||||
--color-box-body: @bg1;
|
||||
--color-box-body-highlight: @bg2;
|
||||
--color-text-dark: @secondary;
|
||||
--color-text: @fg;
|
||||
--color-text-hover: fade(@fg, 80%);
|
||||
--color-text-light: @tertiary;
|
||||
--color-text-light-1: @tertiary;
|
||||
--color-text-light-2: @secondary;
|
||||
--color-text-light-3: @secondary;
|
||||
--color-footer: @bg1;
|
||||
--color-timeline: @bg4;
|
||||
--color-input-text: @fg;
|
||||
--color-input-background: @bg0;
|
||||
--color-input-toggle-background: @bg1;
|
||||
--color-input-border: @bg4;
|
||||
--color-input-border-hover: mix(@bg4, @grey, 50%);
|
||||
--color-navbar: @bg1;
|
||||
--color-navbar-transparent: @bg1;
|
||||
--color-nav-bg: @bg1;
|
||||
--color-nav-hover-bg: @bg3;
|
||||
--color-light: @bg1;
|
||||
--color-light-mimic-enabled: rgba(0, 0, 0, calc(40 / 255 * 222 / 255 / var(--opacity-disabled)));
|
||||
--color-light-border: @bg4;
|
||||
--color-hover: fade(@bg4, 50%);
|
||||
--color-active: fade(@bg4, 50%);
|
||||
--color-menu: @bg1;
|
||||
--color-card: @bg1;
|
||||
--color-markup-table-row: @bg3;
|
||||
--color-markup-code-block: @bg0;
|
||||
--color-button: @bg3;
|
||||
--color-code-bg: @bg0;
|
||||
--color-code-sidebar-bg: @bg1;
|
||||
--color-shadow: #00000060;
|
||||
--color-secondary-bg: @bg1;
|
||||
--color-text-focus: #fff;
|
||||
--color-expand-button: @bg2;
|
||||
--color-placeholder-text: @tertiary;
|
||||
--color-editor-line-highlight: @bg1;
|
||||
--color-project-board-bg: @bg0;
|
||||
--color-project-board-light-label: @primary;
|
||||
--color-caret: var(--color-text); /* should ideally be --color-text-dark, see #15651 */
|
||||
--color-reaction-bg: #ffffff12;
|
||||
--color-reaction-active-bg: var(--color-primary-alpha-40);
|
||||
--color-header-bar: @bg1;
|
||||
--color-label-bg: @bg4;
|
||||
--color-label-text: @tertiary;
|
||||
--color-label-active-bg: @bg4;
|
||||
--color-accent: var(--color-primary-light-1);
|
||||
--color-small-accent: var(--color-primary-light-5);
|
||||
--color-active-line: @bg1;
|
||||
--color-header-wrapper: @bg2;
|
||||
|
||||
accent-color: var(--color-accent);
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
.chroma .nx {
|
||||
color: @fg;
|
||||
}
|
||||
.chroma .c, .chroma .c1, .chroma .ch, .chroma .cm, .chroma .sd {
|
||||
color: @grey;
|
||||
}
|
||||
.chroma .k, .chroma .kc, .chroma .kd, .chroma .kn, .chroma .kp, .chroma .kr {
|
||||
color: @key;
|
||||
}
|
||||
.chroma .o, .chroma .ow {
|
||||
color: @operator;
|
||||
}
|
||||
.chroma .s, .chroma .s1, .chroma .s2, .chroma .sa, .chroma .sb, .chroma .sc, .chroma .sh, .chroma .si, .chroma .sr, .chroma .ss, .chroma .sx, .chroma .nt, .chroma .cpf {
|
||||
color: @string;
|
||||
}
|
||||
.chroma .m, .chroma .mb, .chroma .mf, .chroma .mh, .chroma .mi, .chroma .mo, .chroma .nl {
|
||||
color: @value;
|
||||
}
|
||||
.chroma .kt, .chroma .nc, .chroma .nn, .chroma .nv {
|
||||
color: @type;
|
||||
}
|
||||
.chroma .nf, .chroma .nb, .chroma .na {
|
||||
color: @function;
|
||||
}
|
||||
.chroma .bp, .chroma .cp, .chroma .ne, .chroma .nd, .chroma .se {
|
||||
color: @special;
|
||||
}
|
||||
|
||||
/* primary buttons */
|
||||
.ui.primary.button, .ui.primary.buttons .button {
|
||||
background: @button1;
|
||||
background-color: @button1 !important;
|
||||
color: @bg0;
|
||||
}
|
||||
|
||||
.ui.primary.button:hover, .ui.primary.buttons .button:hover {
|
||||
background: fade(@button1, 80%);
|
||||
background-color: fade(@button1, 80%) !important;
|
||||
color: @bg0;
|
||||
}
|
||||
|
||||
.ui.grey.labels .label, .ui.ui.ui.grey.label, .ui.grey.button, .ui.grey.buttons .button {
|
||||
color: @bg0;
|
||||
background-color: @button1;
|
||||
border-color: @button1;
|
||||
}
|
||||
|
||||
.ui.grey.labels .label:hover, .ui.ui.ui.grey.label:hover, .ui.grey.button:hover, .ui.grey.buttons .button:hover {
|
||||
color: @bg0;
|
||||
background-color: @button1;
|
||||
border-color: @button1;
|
||||
}
|
||||
|
||||
/* secondary buttons */
|
||||
.ui.green.buttons .button, .ui.green.button {
|
||||
background: @button2;
|
||||
background-color: @button2;
|
||||
color: @bg0;
|
||||
}
|
||||
|
||||
.ui.green.buttons .button:hover, .ui.green.button:hover {
|
||||
background: fade(@button2, 80%);
|
||||
background-color: fade(@button2, 80%);
|
||||
color: @bg0;
|
||||
}
|
||||
|
||||
/* text based buttons (purple) */
|
||||
.ui.labeled.button.disabled>.button, .ui.basic.buttons .button, .ui.basic.button {
|
||||
color: @secondary;
|
||||
}
|
||||
|
||||
.ui.labeled.button.disabled>.button:hover, .ui.basic.buttons .button:hover, .ui.basic.button:hover {
|
||||
color: @secondary;
|
||||
}
|
||||
|
||||
/* repo title && header */
|
||||
.repo-title {
|
||||
color: @secondary;
|
||||
}
|
||||
|
||||
/* star number && fork number */
|
||||
.repo-buttons button[disabled] ~ .label,
|
||||
.repo-buttons .ui.labeled.button.disabled > .label {
|
||||
color: @primary;
|
||||
}
|
||||
|
||||
.ui.basic.labels .label, .ui.basic.label {
|
||||
color: @primary;
|
||||
}
|
||||
|
||||
/* hover on commits, branch, tags in project home page */
|
||||
.repository .ui.segment.sub-menu .list .item a:hover,
|
||||
.ui.tabular.menu .item:hover {
|
||||
color: var(--color-text-hover);
|
||||
}
|
||||
|
||||
/* commit label */
|
||||
.ui.primary.labels .label, .ui.ui.ui.primary.label {
|
||||
color: @bg0;
|
||||
}
|
||||
|
||||
/* issue label */
|
||||
.ui.green.labels .label, .ui.ui.ui.green.label {
|
||||
color: @bg0;
|
||||
}
|
||||
|
||||
/* grey button (rss feed button in repository home page) */
|
||||
i.grey.icon.icon.icon.icon {
|
||||
color: @grey
|
||||
}
|
||||
|
||||
/* scroll bar */
|
||||
* {
|
||||
scrollbar-color: @secondary transparent !important;
|
||||
}
|
||||
::-webkit-scrollbar {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
}
|
||||
::-webkit-scrollbar-thumb {
|
||||
box-shadow: inset 0 0 0 6px @secondary !important;
|
||||
border: 2px solid transparent;
|
||||
border-radius: 5px !important;
|
||||
}
|
||||
::-webkit-scrollbar-thumb:window-inactive {
|
||||
box-shadow: inset 0 0 0 6px @secondary !important;
|
||||
}
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
box-shadow: inset 0 0 0 6px @secondary !important;
|
||||
}
|
||||
::-webkit-scrollbar-corner {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/* red buttons */
|
||||
.ui.red.labels .label, .ui.ui.ui.red.label, .ui.red.button, .ui.red.buttons .button {
|
||||
background: @button-red;
|
||||
background-color: @button-red;
|
||||
color: @bg0;
|
||||
}
|
||||
|
||||
.ui.red.labels .label:hover, .ui.ui.ui.red.label:hover, .ui.red.button:hover, .ui.red.buttons .button:hover {
|
||||
background: fade(@button-red, 80%);
|
||||
background-color: fade(@button-red, 80%);
|
||||
color: @bg0;
|
||||
}
|
||||
|
||||
/* grey buttons */
|
||||
.ui.labels a.label, a.ui.label {
|
||||
background-color: @bg1;
|
||||
}
|
||||
|
||||
.ui.labels a.label:hover, a.ui.label:hover {
|
||||
background-color: @bg0;
|
||||
}
|
||||
|
||||
/* orange buttons */
|
||||
.ui.orange.labels .label, .ui.ui.ui.orange.label, .ui.orange.button, .ui.orange.buttons .button {
|
||||
background: @orange;
|
||||
background-color: @orange;
|
||||
color: @bg0;
|
||||
}
|
||||
|
||||
.ui.orange.labels .label:hover, .ui.ui.ui.orange.label:hover, .ui.orange.button:hover, .ui.orange.buttons .button:hover {
|
||||
background: fade(@orange, 80%);
|
||||
background-color: fade(@orange, 80%);
|
||||
color: @bg0;
|
||||
}
|
||||
397
config/qutebrowser/theme/temp.less
Normal file
397
config/qutebrowser/theme/temp.less
Normal file
@@ -0,0 +1,397 @@
|
||||
@background: #d09090;
|
||||
@f_high: #000000;
|
||||
@f_med: #fffafa;
|
||||
@f_low: #6ea2a1;
|
||||
@f_inv: #ff1493;
|
||||
@b_high: #7fffd4;
|
||||
@b_med: #6ADEDC;
|
||||
@b_low: #b08686;
|
||||
@b_inv: #7fffd4;// <circle .*? id='([a-z_]+)' fill='#([A-Za-z0-9]+)'></circle>
|
||||
// to
|
||||
// @$1: #$2;
|
||||
|
||||
// @background: #0A0F14;
|
||||
// @f_high: #FFFFFF;
|
||||
// @f_med: #98D1CE;
|
||||
// @f_low: #EDB54B;
|
||||
// @f_inv: #C33027;
|
||||
// @b_high: #093748;
|
||||
// @b_med: #081F2D;
|
||||
// @b_low: #10151B;
|
||||
// @b_inv: #8FAF9F;
|
||||
|
||||
// @background: #E0B1CB;
|
||||
// @f_high: #231942;
|
||||
// @f_med: #48416d;
|
||||
// @f_low: #917296;
|
||||
// @f_inv: #E0B1CB;
|
||||
// @b_high: #5E548E;
|
||||
// @b_med: #FFFFFF;
|
||||
// @b_low: #BE95C4;
|
||||
// @b_inv: #9F86C0;
|
||||
|
||||
@primary: @f_high; // primary color used in main texts
|
||||
@secondary: @f_med; // secondary color used in some texts and text based buttons
|
||||
@tertiary: @f_med; // tertiary color used in other colored texts
|
||||
@fg: @f_high;
|
||||
@bg0: @background;
|
||||
@bg1: @b_low;
|
||||
@bg2: @b_med;
|
||||
@bg3: @b_high;
|
||||
@bg4: @b_high;
|
||||
@red: #ec7279;
|
||||
@orange: #deb974;
|
||||
@yellow: #deb974;
|
||||
@green: #a0c980;
|
||||
@cyan: #5dbbc1;
|
||||
@blue: #6cb6eb;
|
||||
@purple: #d38aea;
|
||||
@grey: #758094;
|
||||
@red-bg: #55393d;
|
||||
@green-bg: #394634;
|
||||
@blue-bg: #354157;
|
||||
@yellow-bg: #4e432f;
|
||||
@button1: @b_inv;
|
||||
@button2: @b_inv;
|
||||
@button-red: @red;
|
||||
@key: @red;
|
||||
@operator: @purple;
|
||||
@string: @green;
|
||||
@value: @green;
|
||||
@type: @yellow;
|
||||
@function: @blue;
|
||||
@special: @cyan;
|
||||
|
||||
:root {
|
||||
--is-dark-theme: true;
|
||||
--color-primary: @primary;
|
||||
--color-primary-contrast: @bg0;
|
||||
--color-primary-dark-1: @primary;
|
||||
--color-primary-dark-2: mix(@fg, @primary, 16.7%);
|
||||
--color-primary-dark-3: mix(@fg, @primary, 33.3%);
|
||||
--color-primary-dark-4: mix(@fg, @primary, 50%);
|
||||
--color-primary-dark-5: mix(@fg, @primary, 66.6%);
|
||||
--color-primary-dark-6: mix(@fg, @primary, 83.3%);
|
||||
--color-primary-dark-7: @fg;
|
||||
--color-primary-light-1: @primary;
|
||||
--color-primary-light-2: mix(@bg2, @primary, 16.7%);
|
||||
--color-primary-light-3: mix(@bg2, @primary, 33.3%);
|
||||
--color-primary-light-4: mix(@bg2, @primary, 50%);
|
||||
--color-primary-light-5: mix(@bg2, @primary, 66.6%);
|
||||
--color-primary-light-6: mix(@bg2, @primary, 83.3%);
|
||||
--color-primary-light-7: @bg2;
|
||||
--color-primary-alpha-10: fade(@primary, 10%);
|
||||
--color-primary-alpha-20: fade(@primary, 20%);
|
||||
--color-primary-alpha-30: fade(@primary, 30%);
|
||||
--color-primary-alpha-40: fade(@primary, 40%);
|
||||
--color-primary-alpha-50: fade(@primary, 50%);
|
||||
--color-primary-alpha-60: fade(@primary, 60%);
|
||||
--color-primary-alpha-70: fade(@primary, 70%);
|
||||
--color-primary-alpha-80: fade(@primary, 80%);
|
||||
--color-primary-alpha-90: fade(@primary, 90%);
|
||||
--color-secondary: @bg4;
|
||||
--color-secondary-dark-1: @bg4;
|
||||
--color-secondary-dark-2: mix(@fg, @bg4, 8.3%);
|
||||
--color-secondary-dark-3: mix(@fg, @bg4, 16.7%);
|
||||
--color-secondary-dark-4: mix(@fg, @bg4, 25%);
|
||||
--color-secondary-dark-5: mix(@fg, @bg4, 33.3%);
|
||||
--color-secondary-dark-6: mix(@fg, @bg4, 41.7%);
|
||||
--color-secondary-dark-7: mix(@fg, @bg4, 50%);
|
||||
--color-secondary-dark-8: mix(@fg, @bg4, 58.3%);
|
||||
--color-secondary-dark-9: mix(@fg, @bg4, 66.7%);
|
||||
--color-secondary-dark-10: mix(@fg, @bg4, 75%);
|
||||
--color-secondary-dark-11: mix(@fg, @bg4, 83.3%);
|
||||
--color-secondary-dark-12: mix(@fg, @bg4, 91.7%);
|
||||
--color-secondary-dark-13: @fg;
|
||||
--color-secondary-light-1: @bg4;
|
||||
--color-secondary-light-2: @bg3;
|
||||
--color-secondary-light-3: @bg2;
|
||||
--color-secondary-light-4: @bg1;
|
||||
--color-secondary-alpha-10: fade(@bg4, 10%);
|
||||
--color-secondary-alpha-20: fade(@bg4, 20%);
|
||||
--color-secondary-alpha-30: fade(@bg4, 30%);
|
||||
--color-secondary-alpha-40: fade(@bg4, 40%);
|
||||
--color-secondary-alpha-50: fade(@bg4, 50%);
|
||||
--color-secondary-alpha-60: fade(@bg4, 60%);
|
||||
--color-secondary-alpha-70: fade(@bg4, 70%);
|
||||
--color-secondary-alpha-80: fade(@bg4, 80%);
|
||||
--color-secondary-alpha-90: fade(@bg4, 90%);
|
||||
/* colors */
|
||||
--color-red: @red;
|
||||
--color-orange: @orange;
|
||||
--color-yellow: @yellow;
|
||||
--color-olive: @green;
|
||||
--color-green: @green;
|
||||
--color-teal: @cyan;
|
||||
--color-blue: @blue;
|
||||
--color-violet: @purple;
|
||||
--color-purple: @purple;
|
||||
--color-pink: @purple;
|
||||
--color-brown: @orange;
|
||||
--color-grey: @grey;
|
||||
/* light variants */
|
||||
--color-red-light: @red;
|
||||
--color-orange-light: @orange;
|
||||
--color-yellow-light: @yellow;
|
||||
--color-olive-light: @green;
|
||||
--color-green-light: @green;
|
||||
--color-teal-light: @cyan;
|
||||
--color-blue-light: @blue;
|
||||
--color-violet-light: @purple;
|
||||
--color-purple-light: @purple;
|
||||
--color-pink-light: @purple;
|
||||
--color-brown-light: @orange;
|
||||
--color-grey-light: @grey;
|
||||
/* other colors */
|
||||
--color-black: @bg2;
|
||||
--color-gold: @orange;
|
||||
--color-white: @bg0;
|
||||
--color-diff-removed-word-bg: mix(@red-bg, @red, 70%);
|
||||
--color-diff-added-word-bg: mix(@green-bg, @green, 70%);
|
||||
--color-diff-removed-row-bg: @red-bg;
|
||||
--color-diff-moved-row-bg: @blue-bg;
|
||||
--color-diff-added-row-bg: @green-bg;
|
||||
--color-diff-removed-row-border: mix(@red-bg, @red, 50%);
|
||||
--color-diff-moved-row-border: mix(@blue-bg, @blue, 50%);
|
||||
--color-diff-added-row-border: mix(@green-bg, @green, 50%);
|
||||
--color-diff-inactive: @bg2;
|
||||
--color-error-border: mix(@red-bg, @red, 50%);
|
||||
--color-error-bg: @red-bg;
|
||||
--color-error-text: @red;
|
||||
--color-success-border: mix(@green-bg, @green, 50%);
|
||||
--color-success-bg: @green-bg;
|
||||
--color-success-text: @green;
|
||||
--color-warning-border: mix(@yellow-bg, @yellow, 50%);
|
||||
--color-warning-bg: @yellow-bg;
|
||||
--color-warning-text: @yellow;
|
||||
--color-info-border: mix(@blue-bg, @blue, 50%);
|
||||
--color-info-bg: @blue-bg;
|
||||
--color-info-text: @blue;
|
||||
/* target-based colors */
|
||||
--color-body: @bg0;
|
||||
--color-box-header: @bg3;
|
||||
// --color-box-header: @bg3;
|
||||
--color-box-body: @bg1;
|
||||
--color-box-body-highlight: @bg2;
|
||||
--color-text-dark: @secondary;
|
||||
--color-text: @fg;
|
||||
--color-text-hover: fade(@fg, 80%);
|
||||
--color-text-light: @tertiary;
|
||||
--color-text-light-1: @tertiary;
|
||||
--color-text-light-2: @secondary;
|
||||
--color-text-light-3: @secondary;
|
||||
--color-footer: @bg1;
|
||||
--color-timeline: @bg4;
|
||||
--color-input-text: @fg;
|
||||
--color-input-background: @bg0;
|
||||
--color-input-toggle-background: @bg1;
|
||||
--color-input-border: @bg4;
|
||||
--color-input-border-hover: mix(@bg4, @grey, 50%);
|
||||
--color-navbar: @bg1;
|
||||
--color-navbar-transparent: @bg1;
|
||||
--color-nav-bg: @bg1;
|
||||
--color-nav-hover-bg: @bg3;
|
||||
--color-light: @bg1;
|
||||
--color-light-mimic-enabled: rgba(0, 0, 0, calc(40 / 255 * 222 / 255 / var(--opacity-disabled)));
|
||||
--color-light-border: @bg4;
|
||||
--color-hover: fade(@bg4, 50%);
|
||||
--color-active: fade(@bg4, 50%);
|
||||
--color-menu: @bg1;
|
||||
--color-card: @bg1;
|
||||
--color-markup-table-row: @bg3;
|
||||
--color-markup-code-block: @bg0;
|
||||
--color-button: @bg3;
|
||||
--color-code-bg: @bg0;
|
||||
--color-code-sidebar-bg: @bg1;
|
||||
--color-shadow: #00000060;
|
||||
--color-secondary-bg: @bg1;
|
||||
--color-text-focus: #fff;
|
||||
--color-expand-button: @bg2;
|
||||
--color-placeholder-text: @tertiary;
|
||||
--color-editor-line-highlight: @bg1;
|
||||
--color-project-board-bg: @bg0;
|
||||
--color-project-board-light-label: @primary;
|
||||
--color-caret: var(--color-text); /* should ideally be --color-text-dark, see #15651 */
|
||||
--color-reaction-bg: #ffffff12;
|
||||
--color-reaction-active-bg: var(--color-primary-alpha-40);
|
||||
--color-header-bar: @bg1;
|
||||
--color-label-bg: @bg4;
|
||||
--color-label-text: @tertiary;
|
||||
--color-label-active-bg: @bg4;
|
||||
--color-accent: var(--color-primary-light-1);
|
||||
--color-small-accent: var(--color-primary-light-5);
|
||||
--color-active-line: @bg1;
|
||||
--color-header-wrapper: @bg2;
|
||||
|
||||
accent-color: var(--color-accent);
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
.chroma .nx {
|
||||
color: @fg;
|
||||
}
|
||||
.chroma .c, .chroma .c1, .chroma .ch, .chroma .cm, .chroma .sd {
|
||||
color: @grey;
|
||||
}
|
||||
.chroma .k, .chroma .kc, .chroma .kd, .chroma .kn, .chroma .kp, .chroma .kr {
|
||||
color: @key;
|
||||
}
|
||||
.chroma .o, .chroma .ow {
|
||||
color: @operator;
|
||||
}
|
||||
.chroma .s, .chroma .s1, .chroma .s2, .chroma .sa, .chroma .sb, .chroma .sc, .chroma .sh, .chroma .si, .chroma .sr, .chroma .ss, .chroma .sx, .chroma .nt, .chroma .cpf {
|
||||
color: @string;
|
||||
}
|
||||
.chroma .m, .chroma .mb, .chroma .mf, .chroma .mh, .chroma .mi, .chroma .mo, .chroma .nl {
|
||||
color: @value;
|
||||
}
|
||||
.chroma .kt, .chroma .nc, .chroma .nn, .chroma .nv {
|
||||
color: @type;
|
||||
}
|
||||
.chroma .nf, .chroma .nb, .chroma .na {
|
||||
color: @function;
|
||||
}
|
||||
.chroma .bp, .chroma .cp, .chroma .ne, .chroma .nd, .chroma .se {
|
||||
color: @special;
|
||||
}
|
||||
|
||||
/* primary buttons */
|
||||
.ui.primary.button, .ui.primary.buttons .button {
|
||||
background: @button1;
|
||||
background-color: @button1 !important;
|
||||
color: @bg0;
|
||||
}
|
||||
|
||||
.ui.primary.button:hover, .ui.primary.buttons .button:hover {
|
||||
background: fade(@button1, 80%);
|
||||
background-color: fade(@button1, 80%) !important;
|
||||
color: @bg0;
|
||||
}
|
||||
|
||||
.ui.grey.labels .label, .ui.ui.ui.grey.label, .ui.grey.button, .ui.grey.buttons .button {
|
||||
color: @bg0;
|
||||
background-color: @button1;
|
||||
border-color: @button1;
|
||||
}
|
||||
|
||||
.ui.grey.labels .label:hover, .ui.ui.ui.grey.label:hover, .ui.grey.button:hover, .ui.grey.buttons .button:hover {
|
||||
color: @bg0;
|
||||
background-color: @button1;
|
||||
border-color: @button1;
|
||||
}
|
||||
|
||||
/* secondary buttons */
|
||||
.ui.green.buttons .button, .ui.green.button {
|
||||
background: @button2;
|
||||
background-color: @button2;
|
||||
color: @bg0;
|
||||
}
|
||||
|
||||
.ui.green.buttons .button:hover, .ui.green.button:hover {
|
||||
background: fade(@button2, 80%);
|
||||
background-color: fade(@button2, 80%);
|
||||
color: @bg0;
|
||||
}
|
||||
|
||||
/* text based buttons (purple) */
|
||||
.ui.labeled.button.disabled>.button, .ui.basic.buttons .button, .ui.basic.button {
|
||||
color: @secondary;
|
||||
}
|
||||
|
||||
.ui.labeled.button.disabled>.button:hover, .ui.basic.buttons .button:hover, .ui.basic.button:hover {
|
||||
color: @secondary;
|
||||
}
|
||||
|
||||
/* repo title && header */
|
||||
.repo-title {
|
||||
color: @secondary;
|
||||
}
|
||||
|
||||
/* star number && fork number */
|
||||
.repo-buttons button[disabled] ~ .label,
|
||||
.repo-buttons .ui.labeled.button.disabled > .label {
|
||||
color: @primary;
|
||||
}
|
||||
|
||||
.ui.basic.labels .label, .ui.basic.label {
|
||||
color: @primary;
|
||||
}
|
||||
|
||||
/* hover on commits, branch, tags in project home page */
|
||||
.repository .ui.segment.sub-menu .list .item a:hover,
|
||||
.ui.tabular.menu .item:hover {
|
||||
color: var(--color-text-hover);
|
||||
}
|
||||
|
||||
/* commit label */
|
||||
.ui.primary.labels .label, .ui.ui.ui.primary.label {
|
||||
color: @bg0;
|
||||
}
|
||||
|
||||
/* issue label */
|
||||
.ui.green.labels .label, .ui.ui.ui.green.label {
|
||||
color: @bg0;
|
||||
}
|
||||
|
||||
/* grey button (rss feed button in repository home page) */
|
||||
i.grey.icon.icon.icon.icon {
|
||||
color: @grey
|
||||
}
|
||||
|
||||
/* scroll bar */
|
||||
* {
|
||||
scrollbar-color: @secondary transparent !important;
|
||||
}
|
||||
::-webkit-scrollbar {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
}
|
||||
::-webkit-scrollbar-thumb {
|
||||
box-shadow: inset 0 0 0 6px @secondary !important;
|
||||
border: 2px solid transparent;
|
||||
border-radius: 5px !important;
|
||||
}
|
||||
::-webkit-scrollbar-thumb:window-inactive {
|
||||
box-shadow: inset 0 0 0 6px @secondary !important;
|
||||
}
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
box-shadow: inset 0 0 0 6px @secondary !important;
|
||||
}
|
||||
::-webkit-scrollbar-corner {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/* red buttons */
|
||||
.ui.red.labels .label, .ui.ui.ui.red.label, .ui.red.button, .ui.red.buttons .button {
|
||||
background: @button-red;
|
||||
background-color: @button-red;
|
||||
color: @bg0;
|
||||
}
|
||||
|
||||
.ui.red.labels .label:hover, .ui.ui.ui.red.label:hover, .ui.red.button:hover, .ui.red.buttons .button:hover {
|
||||
background: fade(@button-red, 80%);
|
||||
background-color: fade(@button-red, 80%);
|
||||
color: @bg0;
|
||||
}
|
||||
|
||||
/* grey buttons */
|
||||
.ui.labels a.label, a.ui.label {
|
||||
background-color: @bg1;
|
||||
}
|
||||
|
||||
.ui.labels a.label:hover, a.ui.label:hover {
|
||||
background-color: @bg0;
|
||||
}
|
||||
|
||||
/* orange buttons */
|
||||
.ui.orange.labels .label, .ui.ui.ui.orange.label, .ui.orange.button, .ui.orange.buttons .button {
|
||||
background: @orange;
|
||||
background-color: @orange;
|
||||
color: @bg0;
|
||||
}
|
||||
|
||||
.ui.orange.labels .label:hover, .ui.ui.ui.orange.label:hover, .ui.orange.button:hover, .ui.orange.buttons .button:hover {
|
||||
background: fade(@orange, 80%);
|
||||
background-color: fade(@orange, 80%);
|
||||
color: @bg0;
|
||||
}
|
||||
Reference in New Issue
Block a user