Update theme for modern versions of Gitea, add high contrast theme, new screenshots

This commit is contained in:
iamdoubz committed 2026-10-16 11:37:02 -05:00
1 parent fdb711151a
commit 2484680add
13 files changed
+1520 -973

No files matched your search

+86 -4
View File
@@ -1,7 +1,89 @@
# Gitea-Pitch-Black
Pitch black theme for Gitea v1.14 and higher
A pitch black theme for [Gitea](https://github.com/go-gitea/gitea): as black as possible without giving up readability or making any control hard to find.
[![pitchblack01.png](https://pix.dou.bet/images/2021/06/28/pitchblack01.png)](https://pix.dou.bet/image/gUOb)
[![pitchblack02.png](https://pix.dou.bet/images/2021/06/28/pitchblack02.png)](https://pix.dou.bet/image/gFN8)
[![pitchblack03.png](https://pix.dou.bet/images/2021/06/28/pitchblack03.png)](https://pix.dou.bet/image/gAoV)
Comes in two variants: **Pitch Black** and **Pitch Black (High Contrast)**.
Built from Gitea's stock **Dark** theme (`web_src/css/themes/theme-gitea-dark.css` at tag `v28.1.0`).
| Gitea version | Status |
|---|---|
| v28.x | Supported (primary target, tested on v28.1.0) |
| v1.27.x | Supported (compat variables and emoji selectors included) |
| v1.19 – v1.26 | Not tested: use the 1.25.X release instead |
| v1.14 – v1.18 | Use the legacy `theme-pitchblack.less` |
## Files
| File | What it is |
|---|---|
| `theme-pitchblack.css` | Minified, no comments. This is the one to install. |
| `theme-pitchblack-max.css` | Same theme, human readable, with comments explaining every section. Use it to tweak colors, then re-minify (or install it as-is). |
| `theme-pitchblack-hc.css` | High contrast variant, minified. |
| `theme-pitchblack-hc-max.css` | High contrast variant, human readable and commented. |
| `theme-pitchblack.less` | Legacy theme for Gitea 1.14 – 1.18. |
## Install
1. Copy `theme-pitchblack.css` to `$GITEA_CUSTOM/public/assets/css/`
(for example `/var/lib/gitea/custom/public/assets/css/` or `/data/gitea/public/assets/css/` in Docker).
2. If your `app.ini` sets `[ui] THEMES`, add `pitchblack` to the list. To make it the default, also set `DEFAULT_THEME`:
```ini
[ui]
THEMES = gitea-auto, gitea-light, gitea-dark, pitchblack
DEFAULT_THEME = pitchblack
```
If `THEMES` is not set, Gitea lists every theme it finds automatically.
3. Restart Gitea and choose **Pitch Black** in *Settings → Appearance*.
For the high contrast variant, use `theme-pitchblack-hc.css` and the name `pitchblack-hc`; it shows up as **Pitch Black (High Contrast)**. Both variants can be installed side by side.
Install only one file per variant (the plain or the `-max` file). Gitea names themes after the file name, so installing both gives you two entries (`pitchblack` and `pitchblack-max`) with the same display name.
## Why the old version stopped working
Since v1.26, Gitea bundles its built-in themes with hashed file names, so a custom theme can no longer `@import` the stock dark theme. This version is fully self-contained: it defines every `--color-*` variable Gitea uses and imports nothing.
## Design notes
- Page, boxes, nav bars and code view are `#000000`. Box headers, inputs, menus and buttons sit one step off black (`#0a0a0a`) so they're still distinguishable.
- Layout comes from visible neutral grey borders (`#2e2e2e`) rather than grey panels.
- Greyscale links: links are white, body text is light grey (`#d0d0d0`), so links are the brightest text on the page. Inline links in rendered markdown also get a faint grey underline. Primary buttons, active tabs and focus rings stay blue.
- The contribution heatmap goes from dark grey (least activity) to white (most).
- The dimmest text color (`#8c8c8c`) still has about 6.4:1 contrast on black.
- Link and heatmap colors are `--pb-*` variables near the bottom of the `:root` block in `theme-pitchblack-max.css`, so they're easy to retune.
- Diff, status, label and syntax colors keep their stock hues, with backgrounds pushed darker, so meaning is never lost.
- Neutral (not blue-tinted) greys throughout, plus dark scrollbars.
## High contrast variant
`theme-pitchblack-hc` follows the conventions shared by other platforms' dark high contrast themes: Windows 11 *Night sky* (plus *Aquatic* and *Dusk*), VS Code *Dark High Contrast*, and GitHub's *Dark high contrast*, measured against WCAG 2.2 AAA.
| | Pitch Black | Pitch Black (High Contrast) |
|---|---|---|
| Surfaces | `#000` with near-black headers, inputs and menus | Everything `#000`; structure comes from borders only |
| Borders | `#2e2e2e` | `#a0a0a0` (8:1 on black) |
| Text | `#d0d0d0` body, dimmest `#8c8c8c` | `#ffffff` body, dimmest `#b3b3b3`; every text color is at least 7:1 |
| Links | White | Cyan `#75e9fc` (Windows Aquatic), used only for links and always underlined in markdown |
| Primary buttons, tabs | Blue | White with black text (Windows "Highlight" style) |
| Keyboard focus | Gitea default | 2px orange `#f38518` ring (VS Code HC) on every focusable control |
| Menus, tooltips, modals | Border and shadow | 2px white ring (Windows flyout guidance) |
| Status, labels, diffs | Stock hues, darker fills | Bright text colors, solid fills that pass 7:1 with white text, vivid diff borders |
| Syntax highlighting | Stock dark palette | Pastel palette (GitHub HC style), every token at least 7:1 |
Colors for links, focus, popup rings and the heatmap are `--pb-*` variables in `theme-pitchblack-hc-max.css`. If Windows contrast themes are turned on, browsers replace page colors with the system palette anyway; this variant is for high contrast inside Gitea without changing the whole OS.
## Screenshots (Gitea v28.1.0)
![dashboard with heatmap](screenshots/pitchblack-dashboard.png)
![repository home](screenshots/pitchblack-repo.png)
![issue view](screenshots/pitchblack-issue.png)
![commit diff](screenshots/pitchblack-commit.png)
### High contrast
![high contrast dashboard](screenshots/pitchblack-hc-dashboard.png)
![high contrast issue view](screenshots/pitchblack-hc-issue.png)
![high contrast commit diff](screenshots/pitchblack-hc-commit.png)
Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

+732
View File
@@ -0,0 +1,732 @@
/* ==========================================================================
Gitea Pitch Black - High Contrast (human-readable build:
theme-pitchblack-hc-max.css)
https://github.com/iamdoubz/Gitea-Pitch-Black
--------------------------------------------------------------------------
Base: Gitea "Dark" theme (web_src/css/themes/theme-gitea-dark.css,
tag v28.1.0), by way of the regular Pitch Black theme.
Targets: Gitea v28.x (also works on v1.27.x)
What makes this the high contrast variant
-----------------------------------------
It follows the conventions shared by the dark high contrast themes of
other platforms:
* Windows 11 "Night sky" contrast theme (hc2.theme)
Window #000000, WindowText #FFFFFF, HotTrackingColor (links)
#8080FF, GrayText (disabled only) #A6A6A6, Highlight #D6B4FD on
HighlightText #2B2B2B, ButtonText #FFEE32, ActiveBorder #FFFF00.
Guidance: one background color for all surfaces, borders where
boundaries matter, 2px borders on flyouts/dialogs, the link color
is used for links only, grey is reserved for disabled UI.
(Aquatic #202020/#75E9FC and Dusk #2D3236/#70EBDE use the same model.)
* VS Code "Dark High Contrast"
Background #000000, foreground #FFFFFF, contrastBorder #6FC3DF
around everything, focusBorder #F38518 (orange) on whatever has
focus, links #21A6FF, errors #F48771, warnings #FFD370, diffs shown
with bright outlines rather than tinted backgrounds.
* GitHub (Primer) "Dark high contrast"
Text #FFFFFF, secondary text #B7BDC8 (still ~10:1), borders as
bright as secondary text, links #74B9FF, bright status colors
(#2BD853 / #FF9492 / #F0B72F), solid colored word-level diff
highlights with white text, pastel syntax colors.
* WCAG 2.2 AAA: 7:1 for text (1.4.6), 3:1 for UI boundaries and
focus indicators (1.4.11), visible focus (2.4.7 / 2.4.13), links
not distinguished by color alone in running text (1.4.1).
Resulting rules for this theme
1. Every surface is #000000. Nothing is told apart by a slightly
lighter panel; boxes, menus, inputs and buttons are separated by
bright borders (#A0A0A0, 8:1 on black) instead.
2. All text is >= 7:1 on black. Body text is pure white; the dimmest
"secondary" text is #B3B3B3 (10:1). #A6A6A6 is used only for
placeholders/disabled UI, as on Windows.
3. Monochrome accents. Gitea's "primary" color is white: primary
buttons are white with black text, active tabs are underlined in
white, checked checkboxes are white. This is Windows' "Highlight"
model (light fill, dark text) and keeps the Pitch Black look.
4. Links get one reserved color (cyan #75E9FC, from Windows Aquatic,
14.8:1) and are underlined in rendered markdown, so they never rely
on color alone in prose.
5. A single, unmistakable focus color: 2px solid orange #F38518
(VS Code HC focusBorder, 8:1) on anything that has keyboard focus.
6. Popups (menus, tooltips, modals) get a 2px white ring so they stand
off the black page, per the Windows flyout guidance.
7. Status, label and diff colors are brightened for text and darkened
for fills, so both "colored text on black" and "white text on a
colored fill" stay >= 7:1.
Note: if Windows contrast themes are turned on, Chrome/Edge/Firefox
replace page colors with the system palette ("forced colors") anyway.
This theme is for people who want high contrast in Gitea without
switching their whole OS, or on platforms without forced colors.
Install:
1. Copy ONE of theme-pitchblack-hc.css (minified) or this file to
$GITEA_CUSTOM/public/assets/css/
2. If app.ini sets [ui] THEMES, add pitchblack-hc to the list.
3. Restart Gitea and pick "Pitch Black (High Contrast)" under
Settings > Appearance.
========================================================================== */
/* --------------------------------------------------------------------------
Theme meta info - read by the Gitea server for the theme picker.
-------------------------------------------------------------------------- */
gitea-theme-meta-info {
--theme-display-name: "Pitch Black (High Contrast)";
--theme-color-scheme: "dark";
}
:root {
/* Read by Gitea's JavaScript to choose dark variants (charts, Mermaid,
code editor). Must stay true. */
--is-dark-theme: true;
/* ------------------------------------------------------------------------
Primary color = white (monochrome accent, see rule 3 in the header)
Gitea reuses individual primary shades for unrelated jobs, so they are
set one by one rather than as a smooth scale. What each is used for
in Gitea v28 is noted next to it.
------------------------------------------------------------------------ */
--color-primary: #ffffff; /* primary buttons, active tabs, checkboxes, focus fallback */
--color-primary-contrast: #000000; /* text on primary fills: black on white, 21:1 */
--color-primary-dark-1: #ffffff; /* "lighter" steps: text on hover, primary label borders */
--color-primary-dark-2: #f2f2f2;
--color-primary-dark-3: #e6e6e6; /* primary label hover fill (black text on it) */
--color-primary-dark-4: #ffffff;
--color-primary-dark-5: #ffffff;
--color-primary-dark-6: #ffffff;
--color-primary-dark-7: #ffffff;
--color-primary-light-1: #1c4fb8; /* text selection (::selection) - white text on it, 7.3:1 */
--color-primary-light-2: #c2c2c2;
--color-primary-light-3: #a6a6a6;
--color-primary-light-4: #d4d4d4; /* review comment counter fill - black text on it */
--color-primary-light-5: #b3b3b3; /* review counter hover fill */
--color-primary-light-6: #1a1a1a; /* autofilled inputs, Actions summary background */
--color-primary-light-7: #a0a0a0; /* image diff frame border */
/* translucent white - selection rings and highlighted editor ranges */
--color-primary-alpha-10: #ffffff19;
--color-primary-alpha-20: #ffffff33;
--color-primary-alpha-30: #ffffff4b;
--color-primary-alpha-40: #ffffff66;
--color-primary-alpha-50: #ffffff80;
--color-primary-alpha-60: #ffffff99;
--color-primary-alpha-70: #ffffffb3;
--color-primary-alpha-80: #ffffffcc;
--color-primary-alpha-90: #ffffffe1;
/* primary button hover/pressed fills (black text stays >= 11:1) */
--color-primary-hover: #d9d9d9;
--color-primary-active: #bfbfbf;
/* ------------------------------------------------------------------------
Secondary (neutral) scale
--color-secondary is Gitea's default border color. HC themes make
borders as bright as secondary text (Primer) or a vivid color (VS Code);
#A0A0A0 is 8:1 on black, far above the 3:1 WCAG asks for.
The "dark-N" steps get lighter and are used for borders, strokes and
icon tints; "light-N" steps are dark fills that sit under white text.
------------------------------------------------------------------------ */
--color-secondary: #a0a0a0;
--color-secondary-dark-1: #a8a8a8;
--color-secondary-dark-2: #b0b0b0;
--color-secondary-dark-3: #bcbcbc;
--color-secondary-dark-4: #c4c4c4;
--color-secondary-dark-5: #cccccc;
--color-secondary-dark-6: #d4d4d4;
--color-secondary-dark-7: #dcdcdc;
--color-secondary-dark-8: #e4e4e4;
--color-secondary-dark-9: #e8e8e8;
--color-secondary-dark-10: #ececec;
--color-secondary-dark-11: #f0f0f0;
--color-secondary-dark-12: #f4f4f4;
--color-secondary-dark-13: #f8f8f8;
--color-secondary-light-1: #333333; /* nav hover fill - white text 12.6:1 */
--color-secondary-light-2: #262626;
--color-secondary-light-3: #1a1a1a;
--color-secondary-light-4: #0d0d0d;
--color-secondary-alpha-10: #a0a0a019;
--color-secondary-alpha-20: #a0a0a033;
--color-secondary-alpha-30: #a0a0a04b;
--color-secondary-alpha-40: #a0a0a066;
--color-secondary-alpha-50: #a0a0a080;
--color-secondary-alpha-60: #a0a0a099;
--color-secondary-alpha-70: #a0a0a0b3;
--color-secondary-alpha-80: #a0a0a0cc;
--color-secondary-alpha-90: #a0a0a0e1;
--color-secondary-button: #333333;
--color-secondary-hover: #4d4d4d;
--color-secondary-active: #575757;
/* ------------------------------------------------------------------------
Console colors (Actions job logs, console file previews)
------------------------------------------------------------------------ */
--color-console-fg: #ffffff;
--color-console-fg-subtle: #d4d4d4;
--color-console-bg: #000000;
--color-console-hover-bg: #262626;
--color-console-active-bg: #333333;
--color-console-link: #75e9fc;
/* v1.27 only (removed in v28, harmless there) */
--color-console-border: #a0a0a0;
--color-console-menu-bg: #000000;
--color-console-menu-border: #ffffff;
/* ------------------------------------------------------------------------
Named colors
The base name (e.g. --color-red) is mostly used as a FILL with white
text (red "Delete" buttons, green labels), so base values are dark
enough for white text at >= 7:1. "-dark-1"/"-dark-2" are hover and
pressed fills (darker still). "-light" is the TEXT version (~9:1 on
black); the "Colored text" section at the bottom of this file points
Gitea's colored-text rules at it.
------------------------------------------------------------------------ */
--color-red: #9f2c2c;
--color-orange: #944009;
--color-yellow: #715402;
--color-olive: #515b0b;
--color-green: #495f33;
--color-teal: #00625d;
--color-blue: #265b81;
--color-violet: #642dd5;
--color-purple: #842ea1;
--color-pink: #a2236b;
--color-brown: #75513b;
--color-black: #000000;
/* text-on-black versions (~9:1) */
--color-red-light: #ff8080;
--color-orange-light: #f5914f;
--color-yellow-light: #ffd370;
--color-olive-light: #c4d63a;
--color-green-light: #5ff07a;
--color-teal-light: #39d0d8;
--color-blue-light: #74b9ff;
--color-violet-light: #b69deb;
--color-purple-light: #d3abff;
--color-pink-light: #ff9bce;
--color-brown-light: #c6a28c;
--color-black-light: #4d4d4d;
/* hover fills */
--color-red-dark-1: #8c2626;
--color-orange-dark-1: #7d3607;
--color-yellow-dark-1: #5f4702;
--color-olive-dark-1: #464f09;
--color-green-dark-1: #3d4f2a;
--color-teal-dark-1: #005450;
--color-blue-dark-1: #204e70;
--color-violet-dark-1: #5626bf;
--color-purple-dark-1: #73278c;
--color-pink-dark-1: #881d5a;
--color-brown-dark-1: #624431;
--color-black-dark-1: #000000;
/* pressed fills */
--color-red-dark-2: #731f1f;
--color-orange-dark-2: #662c06;
--color-yellow-dark-2: #4d3a01;
--color-olive-dark-2: #394107;
--color-green-dark-2: #314022;
--color-teal-dark-2: #004441;
--color-blue-dark-2: #1a3f5a;
--color-violet-dark-2: #4620a0;
--color-purple-dark-2: #5e2073;
--color-pink-dark-2: #6f184a;
--color-brown-dark-2: #503828;
--color-black-dark-2: #000000;
/* ------------------------------------------------------------------------
ANSI colors (Actions logs). Bright, readable values on black; "black"
is a mid grey so black-on-black log text is still visible.
------------------------------------------------------------------------ */
--color-ansi-black: #767676;
--color-ansi-red: #ff7b72;
--color-ansi-green: #3fdc5a;
--color-ansi-yellow: #f0c000;
--color-ansi-blue: #79c0ff;
--color-ansi-magenta: #ff7ad9;
--color-ansi-cyan: #39d0d8;
--color-ansi-white: var(--color-console-fg-subtle);
--color-ansi-bright-black: #a6a6a6;
--color-ansi-bright-red: #ffa198;
--color-ansi-bright-green: #72f088;
--color-ansi-bright-yellow: #ffee32;
--color-ansi-bright-blue: #a5d6ff;
--color-ansi-bright-magenta: #ffa8e8;
--color-ansi-bright-cyan: #75e9fc;
--color-ansi-bright-white: var(--color-console-fg);
/* ------------------------------------------------------------------------
16-color series (language bar, activity charts). Stock colors, with
any that were below 4.5:1 on black lightened to 4.5:1.
------------------------------------------------------------------------ */
--color-series-16-0: #7db233;
--color-series-16-1: #499a37;
--color-series-16-2: #ce4751;
--color-series-16-3: #8f9121;
--color-series-16-4: #c239bc;
--color-series-16-5: #835aeb;
--color-series-16-6: #c67d28;
--color-series-16-7: #4db392;
--color-series-16-8: #bf5636;
--color-series-16-9: #307f96;
--color-series-16-10: #c45327;
--color-series-16-11: #3d965c;
--color-series-16-12: #ac4bcb;
--color-series-16-13: #439d73;
--color-series-16-14: #3e6ded;
--color-series-16-15: #c43cac;
/* other named colors */
--color-grey: #333333; /* grey label/button fill */
--color-grey-light: #b3b3b3; /* grey text */
--color-gold: #e0c25a; /* stars, sponsor */
--color-white: #ffffff;
/* ------------------------------------------------------------------------
Diff colors
Row tints stay dark so white code text stays >= 11:1; word-level
changes use solid fills with white text (Primer HC) and rows get
vivid borders where Gitea draws them (VS Code HC). The +/- markers
in the gutter keep the meaning visible without color.
------------------------------------------------------------------------ */
--color-diff-added-fg: #5ff07a;
--color-diff-added-linenum-bg: #0f4020;
--color-diff-added-row-bg: #0a2e14;
--color-diff-added-row-border: #33ff2e;
--color-diff-added-word-bg: #145c2a;
--color-diff-moved-row-bg: #3d3d00;
--color-diff-moved-row-border: #ffee32;
--color-diff-removed-fg: #ff7b8a;
--color-diff-removed-linenum-bg: #4d1219;
--color-diff-removed-row-bg: #330c12;
--color-diff-removed-row-border: #ff008f;
--color-diff-removed-word-bg: #8f1225;
--color-diff-inactive: #1a1a1a;
/* ------------------------------------------------------------------------
Message / status colors
Bright text and full-strength borders (VS Code HC / Primer HC values),
with backgrounds that stay near black so white body text inside a
message still reads at >= 14:1.
------------------------------------------------------------------------ */
--color-error-border: #ff6a69;
--color-error-bg: #2a0f0f;
--color-error-bg-active: #4a1a1a;
--color-error-bg-hover: #3a1414;
--color-error-text: #ff8080;
--color-success-border: #2bd853;
--color-success-bg: #0b2414;
--color-success-text: #2bd853;
--color-warning-border: #f0b72f;
--color-warning-bg: #2a1f00;
--color-warning-text: #ffd370;
--color-info-border: #74b9ff;
--color-info-bg: #0b1a2e;
--color-info-text: #74b9ff;
--color-priority-border: #d3abff;
--color-priority-bg: #1a0f2e;
--color-priority-text: #d3abff;
/* badges (pill counters / state chips) - bright text on a faint tint */
--color-red-badge: #ff8080;
--color-red-badge-bg: #ff80801a;
--color-red-badge-hover-bg: #ff80804d;
--color-green-badge: #2bd853;
--color-green-badge-bg: #2bd8531a;
--color-green-badge-hover-bg: #2bd8534d;
--color-yellow-badge: #ffd370;
--color-yellow-badge-bg: #ffd3701a;
--color-yellow-badge-hover-bg: #ffd3704d;
--color-orange-badge: #f5914f;
--color-orange-badge-bg: #f5914f1a;
--color-orange-badge-hover-bg: #f5914f4d;
--color-git: #f05133;
--color-logo: #609926;
/* ------------------------------------------------------------------------
Surfaces - all pure black (rule 1). Structure comes from borders.
------------------------------------------------------------------------ */
--color-body: #000000;
--color-box-header: #000000;
--color-box-body: #000000;
--color-box-body-highlight: #1a1a1a;
/* ------------------------------------------------------------------------
Text - everything >= 7:1 (rule 2)
------------------------------------------------------------------------ */
--color-text-dark: #ffffff; /* 21:1 */
--color-text: #ffffff; /* 21:1 */
--color-text-light: #e6e6e6; /* 17:1 */
--color-text-light-1: #d4d4d4; /* 14:1 */
--color-text-light-2: #c2c2c2; /* 12:1 */
--color-text-light-3: #b3b3b3; /* 10:1 - timestamps, meta */
--color-footer: var(--color-nav-bg);
--color-timeline: #a0a0a0; /* issue timeline line, same as borders */
/* inputs: black fill, bright border (VS Code HC: input.border = contrastBorder) */
--color-input-text: #ffffff;
--color-input-background: #000000;
--color-input-toggle-background: #767676; /* toggle off-state, 4.6:1 vs black */
--color-input-border: #bcbcbc;
/* hover / active overlays: clearly visible steps on black */
--color-light: #00000028;
--color-light-border: #a0a0a0; /* button and label borders */
--color-hover: #ffffff26; /* ~#262626 on black */
--color-hover-opaque: #262626;
--color-active: #ffffff40; /* ~#404040 on black; white text 10:1 */
/* menus, cards, buttons, code - black, separated by borders */
--color-menu: #000000;
--color-card: #000000;
--color-markup-table-row: #ffffff14;
--color-markup-code-block: #000000; /* fenced code: black + border (see rules) */
--color-markup-code-inline: #ffffff2e; /* inline code chip, white text ~13:1 */
--color-button: #000000;
--color-code-bg: #000000;
--color-shadow: #00000000; /* HC themes don't rely on shadows */
--color-shadow-opaque: #000000;
--color-secondary-bg: #1a1a1a;
--color-expand-button: #333333;
--color-placeholder-text: #a6a6a6; /* Windows GrayText, 8.6:1 */
--color-editor-line-highlight: #ffffff1f;
--color-editor-selection: #1c4fb8; /* same as text selection, white text 7.3:1 */
--color-project-column-bg: #000000;
--color-caret: #ffffff;
/* reactions */
--color-reaction-bg: #ffffff1f;
--color-reaction-hover-bg: #ffffff40;
--color-reaction-active-bg: #ffffff33;
/* tooltips - black with a white ring (see "Popups" rules) */
--color-tooltip-text: #ffffff;
--color-tooltip-bg: #000000;
/* navigation */
--color-nav-bg: #000000;
--color-nav-hover-bg: var(--color-secondary-light-1);
--color-nav-text: #ffffff;
--color-secondary-nav-bg: #000000;
/* uncolored labels */
--color-label-text: #ffffff;
--color-label-bg: #ffffff26;
--color-label-hover-bg: #ffffff40;
--color-label-active-bg: #ffffff59;
--color-accent: #ffffff; /* native checkbox/radio/range accent */
--color-small-accent: #333333;
/* active line / search match: dark fill + bright yellow marker
(Night sky ButtonText #FFEE32) */
--color-highlight-fg: #ffee32;
--color-highlight-bg: #3d3300;
--color-overlay-backdrop: #000000e6;
--color-danger: var(--color-red);
--color-transparency-grid-light: #333333;
--color-transparency-grid-dark: #1a1a1a;
--color-workflow-edge-hover: #ffffff;
/* ------------------------------------------------------------------------
Syntax highlighting - every token >= 7:1 on black.
Palette follows Primer HC's pastel tokens plus VS Code HC's green
comments; operators and punctuation are plain white.
------------------------------------------------------------------------ */
--color-syntax-keyword: #ff9492;
--color-syntax-bool: #91cbff;
--color-syntax-control: #ff9492;
--color-syntax-name: #dbb7ff;
--color-syntax-type: #7ee8c8;
--color-syntax-number: #91cbff;
--color-syntax-operator: #e6e6e6;
--color-syntax-regexp: #ff9bce;
--color-syntax-string: #addcff;
--color-syntax-comment: #94c48a;
--color-syntax-invalid: #ff6a69;
--color-syntax-link: var(--pb-link);
--color-syntax-tag: #72f088;
--color-syntax-attribute: #91cbff;
--color-syntax-property: #91cbff;
--color-syntax-variable: #ffb757;
--color-syntax-string-special: #ffb757;
--color-syntax-escape: #ff9bce;
--color-syntax-entity: #dbb7ff;
--color-syntax-preproc: #ff9492;
--color-syntax-preproc-file: #addcff;
--color-syntax-decorator: #dbb7ff;
--color-syntax-namespace: #ffffff;
--color-syntax-name-pseudo: #91cbff;
--color-syntax-comment-special: #ffb757;
--color-syntax-text: #ffffff;
--color-syntax-text-alt: #e6e6e6;
--color-syntax-punctuation: #ffffff;
--color-syntax-whitespace: #a6a6a6;
--color-syntax-diff-fg: #ffffff;
--color-syntax-deleted-bg: #8f1225;
--color-syntax-inserted-bg: #145c2a;
--color-syntax-emph: #ffd370;
--color-syntax-strong: #ffb757;
--color-syntax-heading: #91cbff;
--color-syntax-subheading: #addcff;
--color-syntax-output: #c2c2c2;
--color-syntax-prompt: #ffb757;
--color-syntax-traceback: #ff8080;
--color-syntax-matching-bracket-bg: #39d0d866;
--color-syntax-nonmatching-bracket-bg: #ff6a6966;
/* ------------------------------------------------------------------------
Pitch Black HC variables (--pb-*), used by the rules below.
------------------------------------------------------------------------ */
--pb-link: #75e9fc; /* links only (rule 4), 14.8:1 */
--pb-focus: #f38518; /* keyboard focus ring (rule 5), 8.2:1 */
--pb-popup-ring: #ffffff; /* 2px ring on menus/tooltips/modals (rule 6) */
/* contribution heatmap: grey -> white. Level 0 is lifted off black so
"no activity" squares are still visible as a grid. */
--pb-heatmap-0: #262626;
--pb-heatmap-1: #5c5c5c;
--pb-heatmap-2: #8f8f8f;
--pb-heatmap-3: #c2c2c2;
--pb-heatmap-4: #ffffff;
--pb-heatmap-5: #ffffff;
/* browser-level settings */
accent-color: var(--color-accent);
color-scheme: dark;
scrollbar-color: #a0a0a0 #000000; /* bright thumb on a black track */
}
/* --------------------------------------------------------------------------
Links (rule 4)
One reserved color for links everywhere. Gitea's "muted" links (issue
titles in lists, file names, usernames in some places) keep the text
color until hovered, like GitHub HC does, then switch to the link color.
-------------------------------------------------------------------------- */
a,
a:hover,
a.muted:hover,
.muted-links a:hover {
color: var(--pb-link);
}
/* other places Gitea switches text to the primary color on hover */
.ui.card > .extra a:not(.ui):hover,
.comment-text-line a:hover,
.title-full-link-hover:not(:has(:not(.title-full-link):hover)):hover > a.title-full-link,
.avatar-stack-popup-trigger:hover,
.console a:hover {
color: var(--pb-link);
}
.items-with-main > .item a:not(.label, .button):hover {
color: var(--pb-link) !important;
}
/* Links in rendered markdown are always underlined, so they don't rely on
color alone in running text (WCAG 1.4.1). Thicker line on hover. */
.markup a:not(.anchor, .ui) {
text-decoration-line: underline;
text-underline-offset: 0.2em;
}
.markup a:not(.anchor, .ui):hover {
text-decoration-thickness: 2px;
}
/* --------------------------------------------------------------------------
Keyboard focus (rule 5)
A 2px orange outline, offset from the element so it never blends into
the element's own border. Applies to every focusable control.
-------------------------------------------------------------------------- */
a:focus-visible,
button:focus-visible,
.ui.button:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible,
summary:focus-visible,
.ui.dropdown:focus-visible,
.ui.checkbox input:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
outline: 2px solid var(--pb-focus) !important;
outline-offset: 2px !important;
}
/* --------------------------------------------------------------------------
Popups (rule 6)
Menus, dropdowns, tooltips and modals are black like the page, so a 2px
white ring marks their edge. box-shadow is used so layout is unchanged.
-------------------------------------------------------------------------- */
.tippy-box[data-theme="default"],
.tippy-box[data-theme="menu"],
.tippy-box[data-theme="tooltip"],
.ui.dropdown .menu,
.ui.modal {
box-shadow: 0 0 0 2px var(--pb-popup-ring) !important;
}
/* the tooltip arrow is drawn in the tooltip background color; outline it */
.tippy-box[data-theme="tooltip"] .tippy-svg-arrow-outer {
fill: var(--pb-popup-ring);
}
/* --------------------------------------------------------------------------
Code blocks
Fenced code in markdown is black like everything else, so it gets a
border instead of a tinted fill.
-------------------------------------------------------------------------- */
.markup pre {
border: 1px solid var(--color-secondary);
}
/* --------------------------------------------------------------------------
Places Gitea uses the border color as a FILL behind text
With bright HC borders these would put white text on light grey, so
they're given a dark fill instead.
-------------------------------------------------------------------------- */
.repository.file.editor .commit-form-wrapper .commit-form .quick-pull-choice .branch-name,
.repository .repository-summary .sub-menu .item.active,
.markup .auto-hide-control .ui.button:hover,
.file-view.code-view .ui.button.code-line-button:hover,
.code-editor-container .cm-tooltip-autocomplete-disabled ul li[aria-selected] {
background: #404040 !important; /* white text 10:1 */
}
/* --------------------------------------------------------------------------
Colored text (rule 7)
Gitea uses the same --color-<name> for colored fills (with white text)
and for colored text on the page. The base values above are tuned for
fills; these rules point the text uses at the bright "-light" versions.
-------------------------------------------------------------------------- */
/* Tailwind helpers used in templates, e.g. issue open/closed icons */
.tw-text-red { color: var(--color-red-light) !important; }
.tw-text-orange { color: var(--color-orange-light) !important; }
.tw-text-yellow { color: var(--color-yellow-light) !important; }
.tw-text-olive { color: var(--color-olive-light) !important; }
.tw-text-green { color: var(--color-green-light) !important; }
.tw-text-teal { color: var(--color-teal-light) !important; }
.tw-text-blue { color: var(--color-blue-light) !important; }
.tw-text-violet { color: var(--color-violet-light) !important; }
.tw-text-purple { color: var(--color-purple-light) !important; }
.tw-text-pink { color: var(--color-pink-light) !important; }
.tw-text-brown { color: var(--color-brown-light) !important; }
/* rules in Gitea's own CSS that color text with a named color */
.dashboard.issues .right.stackable.menu > .item.active,
.non-diff-file-content .header .file-actions .btn-octicon-danger:hover,
.repository .diff-detail-box .diff-detail-stats strong:nth-of-type(3),
.page-content.install .ui .reinstall-message,
.ui.form .required.field > label::after,
.ui.form .required.field > .checkbox::after,
.ui.form label.required::after,
.unicode-escaped .escaped-code-point[data-escaped]::before,
.markup .jupyter-notebook .cell-output-error,
.ui.basic.red.button,
.ui.basic.red.button:hover,
.ui.basic.red.button:active,
.ui.ui.ui.basic.red.label,
a.ui.ui.ui.basic.red.label:hover {
color: var(--color-red-light);
}
.repository .diff-detail-box .diff-detail-stats strong:nth-of-type(2),
.ui.basic.green.button,
.ui.basic.green.button:hover,
.ui.basic.green.button:active,
.ui.ui.ui.basic.green.label,
a.ui.ui.ui.basic.green.label:hover {
color: var(--color-green-light);
}
.repository .diff-detail-box .diff-detail-stats strong:nth-of-type(1),
.ui.ui.ui.basic.yellow.label,
a.ui.ui.ui.basic.yellow.label:hover {
color: var(--color-yellow-light);
}
.ui.ui.ui.basic.orange.label,
a.ui.ui.ui.basic.orange.label:hover {
color: var(--color-orange-light);
}
/* --------------------------------------------------------------------------
Folder icons - stock Gitea colors them primary; white here.
-------------------------------------------------------------------------- */
.svg.octicon-file-directory-fill,
.svg.octicon-file-directory-open-fill,
.svg.octicon-file-submodule {
color: var(--color-text-light-1);
}
/* --------------------------------------------------------------------------
Contribution heatmap
Gitea paints days with inline var(--color-primary-*) fills; redefining
those variables only inside #user-heatmap swaps in the grey -> white
scale. Level 0 is lifted off black so the empty grid stays visible.
0 none -> --color-secondary-alpha-60
1 -> --color-primary-light-4
2 -> --color-primary-light-2
3 -> --color-primary
4 most -> --color-primary-dark-2
5 legend -> --color-primary-dark-4
-------------------------------------------------------------------------- */
#user-heatmap {
--color-secondary-alpha-60: var(--pb-heatmap-0);
--color-primary-light-4: var(--pb-heatmap-1);
--color-primary-light-2: var(--pb-heatmap-2);
--color-primary: var(--pb-heatmap-3);
--color-primary-dark-2: var(--pb-heatmap-4);
--color-primary-dark-4: var(--pb-heatmap-5);
}
/* --------------------------------------------------------------------------
Invert black emoji glyphs that disappear on black.
v28+ tags emoji with data-alias, v1.27 with aria-label; both included.
-------------------------------------------------------------------------- */
/* v28+ */
.emoji[data-alias="heavy_check_mark"],
.emoji[data-alias="currency_exchange"],
.emoji[data-alias="top"],
.emoji[data-alias="end"],
.emoji[data-alias="on"],
.emoji[data-alias="soon"],
.emoji[data-alias="heavy_dollar_sign"],
.emoji[data-alias="copyright"],
.emoji[data-alias="registered"],
.emoji[data-alias="tm"],
.emoji[data-alias="heavy_multiplication_x"],
.emoji[data-alias="heavy_plus_sign"],
.emoji[data-alias="heavy_minus_sign"],
.emoji[data-alias="heavy_division_sign"],
.emoji[data-alias="curly_loop"],
.emoji[data-alias="loop"],
.emoji[data-alias="wavy_dash"],
.emoji[data-alias="feet"],
.emoji[data-alias="musical_note"],
.emoji[data-alias="notes"],
/* v1.27 */
.emoji[aria-label="check mark"],
.emoji[aria-label="currency exchange"],
.emoji[aria-label="TOP arrow"],
.emoji[aria-label="END arrow"],
.emoji[aria-label="ON! arrow"],
.emoji[aria-label="SOON arrow"],
.emoji[aria-label="heavy dollar sign"],
.emoji[aria-label="copyright"],
.emoji[aria-label="registered"],
.emoji[aria-label="trade mark"],
.emoji[aria-label="multiply"],
.emoji[aria-label="plus"],
.emoji[aria-label="minus"],
.emoji[aria-label="divide"],
.emoji[aria-label="curly loop"],
.emoji[aria-label="double curly loop"],
.emoji[aria-label="wavy dash"],
.emoji[aria-label="paw prints"],
.emoji[aria-label="musical note"],
.emoji[aria-label="musical notes"] {
filter: invert(100%) hue-rotate(180deg);
}
+1
View File
@@ -0,0 +1 @@
gitea-theme-meta-info{--theme-display-name:"Pitch Black (High Contrast)";--theme-color-scheme:"dark"}:root{--is-dark-theme:true;--color-primary:#ffffff;--color-primary-contrast:#000000;--color-primary-dark-1:#ffffff;--color-primary-dark-2:#f2f2f2;--color-primary-dark-3:#e6e6e6;--color-primary-dark-4:#ffffff;--color-primary-dark-5:#ffffff;--color-primary-dark-6:#ffffff;--color-primary-dark-7:#ffffff;--color-primary-light-1:#1c4fb8;--color-primary-light-2:#c2c2c2;--color-primary-light-3:#a6a6a6;--color-primary-light-4:#d4d4d4;--color-primary-light-5:#b3b3b3;--color-primary-light-6:#1a1a1a;--color-primary-light-7:#a0a0a0;--color-primary-alpha-10:#ffffff19;--color-primary-alpha-20:#ffffff33;--color-primary-alpha-30:#ffffff4b;--color-primary-alpha-40:#ffffff66;--color-primary-alpha-50:#ffffff80;--color-primary-alpha-60:#ffffff99;--color-primary-alpha-70:#ffffffb3;--color-primary-alpha-80:#ffffffcc;--color-primary-alpha-90:#ffffffe1;--color-primary-hover:#d9d9d9;--color-primary-active:#bfbfbf;--color-secondary:#a0a0a0;--color-secondary-dark-1:#a8a8a8;--color-secondary-dark-2:#b0b0b0;--color-secondary-dark-3:#bcbcbc;--color-secondary-dark-4:#c4c4c4;--color-secondary-dark-5:#cccccc;--color-secondary-dark-6:#d4d4d4;--color-secondary-dark-7:#dcdcdc;--color-secondary-dark-8:#e4e4e4;--color-secondary-dark-9:#e8e8e8;--color-secondary-dark-10:#ececec;--color-secondary-dark-11:#f0f0f0;--color-secondary-dark-12:#f4f4f4;--color-secondary-dark-13:#f8f8f8;--color-secondary-light-1:#333333;--color-secondary-light-2:#262626;--color-secondary-light-3:#1a1a1a;--color-secondary-light-4:#0d0d0d;--color-secondary-alpha-10:#a0a0a019;--color-secondary-alpha-20:#a0a0a033;--color-secondary-alpha-30:#a0a0a04b;--color-secondary-alpha-40:#a0a0a066;--color-secondary-alpha-50:#a0a0a080;--color-secondary-alpha-60:#a0a0a099;--color-secondary-alpha-70:#a0a0a0b3;--color-secondary-alpha-80:#a0a0a0cc;--color-secondary-alpha-90:#a0a0a0e1;--color-secondary-button:#333333;--color-secondary-hover:#4d4d4d;--color-secondary-active:#575757;--color-console-fg:#ffffff;--color-console-fg-subtle:#d4d4d4;--color-console-bg:#000000;--color-console-hover-bg:#262626;--color-console-active-bg:#333333;--color-console-link:#75e9fc;--color-console-border:#a0a0a0;--color-console-menu-bg:#000000;--color-console-menu-border:#ffffff;--color-red:#9f2c2c;--color-orange:#944009;--color-yellow:#715402;--color-olive:#515b0b;--color-green:#495f33;--color-teal:#00625d;--color-blue:#265b81;--color-violet:#642dd5;--color-purple:#842ea1;--color-pink:#a2236b;--color-brown:#75513b;--color-black:#000000;--color-red-light:#ff8080;--color-orange-light:#f5914f;--color-yellow-light:#ffd370;--color-olive-light:#c4d63a;--color-green-light:#5ff07a;--color-teal-light:#39d0d8;--color-blue-light:#74b9ff;--color-violet-light:#b69deb;--color-purple-light:#d3abff;--color-pink-light:#ff9bce;--color-brown-light:#c6a28c;--color-black-light:#4d4d4d;--color-red-dark-1:#8c2626;--color-orange-dark-1:#7d3607;--color-yellow-dark-1:#5f4702;--color-olive-dark-1:#464f09;--color-green-dark-1:#3d4f2a;--color-teal-dark-1:#005450;--color-blue-dark-1:#204e70;--color-violet-dark-1:#5626bf;--color-purple-dark-1:#73278c;--color-pink-dark-1:#881d5a;--color-brown-dark-1:#624431;--color-black-dark-1:#000000;--color-red-dark-2:#731f1f;--color-orange-dark-2:#662c06;--color-yellow-dark-2:#4d3a01;--color-olive-dark-2:#394107;--color-green-dark-2:#314022;--color-teal-dark-2:#004441;--color-blue-dark-2:#1a3f5a;--color-violet-dark-2:#4620a0;--color-purple-dark-2:#5e2073;--color-pink-dark-2:#6f184a;--color-brown-dark-2:#503828;--color-black-dark-2:#000000;--color-ansi-black:#767676;--color-ansi-red:#ff7b72;--color-ansi-green:#3fdc5a;--color-ansi-yellow:#f0c000;--color-ansi-blue:#79c0ff;--color-ansi-magenta:#ff7ad9;--color-ansi-cyan:#39d0d8;--color-ansi-white:var(--color-console-fg-subtle);--color-ansi-bright-black:#a6a6a6;--color-ansi-bright-red:#ffa198;--color-ansi-bright-green:#72f088;--color-ansi-bright-yellow:#ffee32;--color-ansi-bright-blue:#a5d6ff;--color-ansi-bright-magenta:#ffa8e8;--color-ansi-bright-cyan:#75e9fc;--color-ansi-bright-white:var(--color-console-fg);--color-series-16-0:#7db233;--color-series-16-1:#499a37;--color-series-16-2:#ce4751;--color-series-16-3:#8f9121;--color-series-16-4:#c239bc;--color-series-16-5:#835aeb;--color-series-16-6:#c67d28;--color-series-16-7:#4db392;--color-series-16-8:#bf5636;--color-series-16-9:#307f96;--color-series-16-10:#c45327;--color-series-16-11:#3d965c;--color-series-16-12:#ac4bcb;--color-series-16-13:#439d73;--color-series-16-14:#3e6ded;--color-series-16-15:#c43cac;--color-grey:#333333;--color-grey-light:#b3b3b3;--color-gold:#e0c25a;--color-white:#ffffff;--color-diff-added-fg:#5ff07a;--color-diff-added-linenum-bg:#0f4020;--color-diff-added-row-bg:#0a2e14;--color-diff-added-row-border:#33ff2e;--color-diff-added-word-bg:#145c2a;--color-diff-moved-row-bg:#3d3d00;--color-diff-moved-row-border:#ffee32;--color-diff-removed-fg:#ff7b8a;--color-diff-removed-linenum-bg:#4d1219;--colorLine truncated
+671
View File
@@ -0,0 +1,671 @@
/* ==========================================================================
Gitea Pitch Black theme (human-readable build: theme-pitchblack-max.css)
https://github.com/iamdoubz/Gitea-Pitch-Black
--------------------------------------------------------------------------
Base: Gitea "Dark" theme (web_src/css/themes/theme-gitea-dark.css)
taken from the v28.1.0 tag of go-gitea/gitea.
Targets: Gitea v28.x (also works on v1.27.x - see the compat notes below)
Goal: As black as possible without hurting readability or making any
control hard to find. Surfaces go to true black (#000000);
structure is carried by neutral grey borders and subtle
hover/active overlays instead of grey panels. Text keeps
high contrast, and status colors (diffs, errors, labels,
syntax highlighting) keep their hues so meaning is never lost.
How Gitea themes work (v1.22+ and still true in v28):
* Every color in Gitea's UI is a CSS custom property (--color-*).
A theme is just a :root block that sets all of them. Gitea's own
stylesheets never hard-code colors, so nothing else needs overriding.
* The `gitea-theme-meta-info` block is read by the Gitea server (not by
the browser) to get the theme's display name and color scheme.
* Since v1.26 Gitea's built-in theme files are bundled with hashed file
names, so a custom theme can no longer @import "theme-gitea-dark.css".
That is why the old Pitch Black theme broke. This file is fully
self-contained and imports nothing.
Install:
1. Copy ONE of theme-pitchblack.css (minified) or this file to
$GITEA_CUSTOM/public/assets/css/
(If you copy both, Gitea will list two themes, "pitchblack" and
"pitchblack-max", with the same display name.)
2. If app.ini sets [ui] THEMES, add the name to it, e.g.
[ui]
THEMES = gitea-auto, gitea-light, gitea-dark, pitchblack
To make it the default: DEFAULT_THEME = pitchblack
(Leave THEMES unset and Gitea lists every theme it finds.)
3. Restart Gitea, then pick "Pitch Black" under
Settings > Appearance.
Color scale used for neutrals (all pure greys, no blue tint like the
stock Dark theme):
#000000 page, boxes, nav, code (the "pitch black")
#0a0a0a box headers, inputs, menus, buttons - one step off black
#141414 hover-opaque, raised surfaces
#1f1f1f nav hover, tooltip-ish surfaces
#2e2e2e default border color (--color-secondary)
#8c8c8c+ the dimmest text allowed (>= 6:1 contrast on black)
========================================================================== */
/* --------------------------------------------------------------------------
Theme meta info
Read by the Gitea server to name the theme in Settings > Appearance.
--theme-color-scheme tells Gitea this is a dark theme (used for things
like the Monaco editor theme and rendered external content).
-------------------------------------------------------------------------- */
gitea-theme-meta-info {
--theme-display-name: "Pitch Black";
--theme-color-scheme: "dark";
}
:root {
/* Flag read by Gitea's JavaScript (isDarkTheme()) to pick dark variants
of charts, Mermaid diagrams, the code editor, etc. Must stay true. */
--is-dark-theme: true;
/* ------------------------------------------------------------------------
Primary (accent) color
Links, primary buttons, active tabs, focus rings, selections.
Kept identical to stock Dark: #4183c4 is ~5:1 against black, which is
readable for link text. "dark-N" steps get LIGHTER (used for text on
dark), "light-N" steps get DARKER (used for tinted backgrounds).
------------------------------------------------------------------------ */
--color-primary: #4183c4;
--color-primary-contrast: #ffffff; /* text on primary buttons */
--color-primary-dark-1: #548fca;
--color-primary-dark-2: #679cd0;
--color-primary-dark-3: #7aa8d6;
--color-primary-dark-4: #8db5dc;
--color-primary-dark-5: #b3cde7;
--color-primary-dark-6: #d9e6f3;
--color-primary-dark-7: #f4f8fb;
--color-primary-light-1: #3876b3;
--color-primary-light-2: #31699f;
--color-primary-light-3: #2b5c8b;
--color-primary-light-4: #254f77;
--color-primary-light-5: #193450;
--color-primary-light-6: #0c1a28;
--color-primary-light-7: #04080c;
/* translucent primary - selected rows, editor selection, focus glows */
--color-primary-alpha-10: #4183c419;
--color-primary-alpha-20: #4183c433;
--color-primary-alpha-30: #4183c44b;
--color-primary-alpha-40: #4183c466;
--color-primary-alpha-50: #4183c480;
--color-primary-alpha-60: #4183c499;
--color-primary-alpha-70: #4183c4b3;
--color-primary-alpha-80: #4183c4cc;
--color-primary-alpha-90: #4183c4e1;
--color-primary-hover: var(--color-primary-light-1);
--color-primary-active: var(--color-primary-light-2);
/* ------------------------------------------------------------------------
Secondary (neutral) scale
--color-secondary is Gitea's DEFAULT BORDER COLOR (segments, boxes,
tables, menus, inputs). On a black page the borders are what show the
layout, so this is deliberately visible (#2e2e2e) rather than near-black.
"dark-N" steps get lighter, "light-N" steps get darker.
Stock Dark uses blue-grey (#3f4248); these are neutral greys.
------------------------------------------------------------------------ */
--color-secondary: #2e2e2e;
--color-secondary-dark-1: #363636;
--color-secondary-dark-2: #404040;
--color-secondary-dark-3: #4f4f4f;
--color-secondary-dark-4: #616161;
--color-secondary-dark-5: #707070;
--color-secondary-dark-6: #808080;
--color-secondary-dark-7: #8f8f8f;
--color-secondary-dark-8: #a1a1a1;
--color-secondary-dark-9: #a9a9a9;
--color-secondary-dark-10: #b8b8b8;
--color-secondary-dark-11: #c6c6c6;
--color-secondary-dark-12: #d0d0d0;
--color-secondary-dark-13: #d4d4d4;
--color-secondary-light-1: #242424;
--color-secondary-light-2: #1a1a1a;
--color-secondary-light-3: #111111;
--color-secondary-light-4: #0a0a0a;
--color-secondary-alpha-10: #2e2e2e19;
--color-secondary-alpha-20: #2e2e2e33;
--color-secondary-alpha-30: #2e2e2e4b;
--color-secondary-alpha-40: #2e2e2e66;
--color-secondary-alpha-50: #2e2e2e80;
--color-secondary-alpha-60: #2e2e2e99;
--color-secondary-alpha-70: #2e2e2eb3;
--color-secondary-alpha-80: #2e2e2ecc;
--color-secondary-alpha-90: #2e2e2ee1;
/* "secondary" (grey) buttons */
--color-secondary-button: var(--color-secondary-dark-4);
--color-secondary-hover: var(--color-secondary-dark-3);
--color-secondary-active: var(--color-secondary-dark-2);
/* ------------------------------------------------------------------------
Console colors
Gitea Actions job logs and console/terminal file previews.
Background goes fully black; hover/active rows use faint greys.
------------------------------------------------------------------------ */
--color-console-fg: #f8f8f8;
--color-console-fg-subtle: #c6c6c6;
--color-console-bg: #000000;
--color-console-hover-bg: #141414;
--color-console-active-bg: #1f1f1f;
--color-console-link: #a1a1a1;
/* v1.27 compatibility: these three were removed in v28 but are still read
by v1.27's Actions log view. Harmless (unused) on v28. */
--color-console-border: #242424;
--color-console-menu-bg: #141414;
--color-console-menu-border: #363636;
/* ------------------------------------------------------------------------
Named colors
Used for colored buttons, labels, milestones, badges, charts.
Hues kept from stock Dark so labels and states mean the same thing.
Only "black" is pulled darker/neutral.
------------------------------------------------------------------------ */
--color-red: #cc4848;
--color-orange: #cc580c;
--color-yellow: #cc9903;
--color-olive: #91a313;
--color-green: #87ab63;
--color-teal: #00918a;
--color-blue: #3a8ac6;
--color-violet: #906ae1;
--color-purple: #b259d0;
--color-pink: #d22e8b;
--color-brown: #a47252;
--color-black: #1a1a1a;
/* light variants (+10% lightness) - hover states, text on dark tints */
--color-red-light: #d15a5a;
--color-orange-light: #f6a066;
--color-yellow-light: #eaaf03;
--color-olive-light: #abc016;
--color-green-light: #93b373;
--color-teal-light: #00b6ad;
--color-blue-light: #4e96cc;
--color-violet-light: #9b79e4;
--color-purple-light: #ba6ad5;
--color-pink-light: #d74397;
--color-brown-light: #b08061;
--color-black-light: #404040;
/* dark-1 variants (-10% lightness) - hover on colored buttons */
--color-red-dark-1: #c23636;
--color-orange-dark-1: #f38236;
--color-yellow-dark-1: #b88a03;
--color-olive-dark-1: #839311;
--color-green-dark-1: #7a9e55;
--color-teal-dark-1: #00837c;
--color-blue-dark-1: #347cb3;
--color-violet-dark-1: #7b4edb;
--color-purple-dark-1: #a742c9;
--color-pink-dark-1: #be297d;
--color-brown-dark-1: #94674a;
--color-black-dark-1: #111111;
/* dark-2 variants (-20% lightness) - active/pressed colored buttons */
--color-red-dark-2: #ad3030;
--color-orange-dark-2: #f16e17;
--color-yellow-dark-2: #a37a02;
--color-olive-dark-2: #74820f;
--color-green-dark-2: #6c8c4c;
--color-teal-dark-2: #00746e;
--color-blue-dark-2: #2e6e9f;
--color-violet-dark-2: #6733d6;
--color-purple-dark-2: #9834b9;
--color-pink-dark-2: #a9246f;
--color-brown-dark-2: #835b42;
--color-black-dark-2: #0a0a0a;
/* ------------------------------------------------------------------------
ANSI colors
Actions logs and console file rendering (\e[31m etc.). "black" maps to
a dark grey rather than #000 so black-on-black log text stays visible.
------------------------------------------------------------------------ */
--color-ansi-black: #2e2e2e;
--color-ansi-red: #cc4848;
--color-ansi-green: #87ab63;
--color-ansi-yellow: #cc9903;
--color-ansi-blue: #3a8ac6;
--color-ansi-magenta: #d22e8b;
--color-ansi-cyan: #00918a;
--color-ansi-white: var(--color-console-fg-subtle);
--color-ansi-bright-black: #6b6b6b;
--color-ansi-bright-red: #d15a5a;
--color-ansi-bright-green: #93b373;
--color-ansi-bright-yellow: #eaaf03;
--color-ansi-bright-blue: #4e96cc;
--color-ansi-bright-magenta: #d74397;
--color-ansi-bright-cyan: #00b6ad;
--color-ansi-bright-white: var(--color-console-fg);
/* ------------------------------------------------------------------------
16-color series
Repo language bar, activity/contributor charts. Unchanged from Dark.
------------------------------------------------------------------------ */
--color-series-16-0: #7db233;
--color-series-16-1: #499a37;
--color-series-16-2: #ce4751;
--color-series-16-3: #8f9121;
--color-series-16-4: #ac32a6;
--color-series-16-5: #7445e9;
--color-series-16-6: #c67d28;
--color-series-16-7: #4db392;
--color-series-16-8: #aa4d30;
--color-series-16-9: #2a6f84;
--color-series-16-10: #c45327;
--color-series-16-11: #3d965c;
--color-series-16-12: #792a93;
--color-series-16-13: #439d73;
--color-series-16-14: #103aad;
--color-series-16-15: #982e85;
/* ------------------------------------------------------------------------
Other named colors
------------------------------------------------------------------------ */
--color-grey: #363636; /* grey buttons/labels */
--color-grey-light: #8c8c8c;
--color-gold: #b1983b; /* stars, sponsor, etc. */
--color-white: #ffffff;
/* ------------------------------------------------------------------------
Diff colors
Commit/PR diffs and the split/unified diff viewer. Row backgrounds are
darkened toward black but keep enough tint to read added vs removed at
a glance; word-level highlights stay clearly brighter than their row.
------------------------------------------------------------------------ */
--color-diff-added-fg: #93b373;
--color-diff-added-linenum-bg: #1b3520;
--color-diff-added-row-bg: #0f2214;
--color-diff-added-row-border: #2a4430;
--color-diff-added-word-bg: #2f5a30;
--color-diff-moved-row-bg: #4a4a26;
--color-diff-moved-row-border: #8f9a4f;
--color-diff-removed-fg: #fb5f5b;
--color-diff-removed-linenum-bg: #3a1717;
--color-diff-removed-row-bg: #240f0f;
--color-diff-removed-row-border: #553333;
--color-diff-removed-word-bg: #612a2a;
--color-diff-inactive: #0d0d0d; /* collapsed/blank diff areas */
/* ------------------------------------------------------------------------
Message / status colors
Flash messages, form errors, PR merge box states, admin notices.
Backgrounds pushed darker; borders and text keep full strength so the
state is still obvious.
------------------------------------------------------------------------ */
--color-error-border: #763232;
--color-error-bg: #1f0d10;
--color-error-bg-active: #3a1a1e;
--color-error-bg-hover: #2c1316;
--color-error-text: #f85149;
--color-success-border: #225633;
--color-success-bg: #0d2116;
--color-success-text: #3fb950;
--color-warning-border: #5f481a;
--color-warning-bg: #211b0c;
--color-warning-text: #d29922;
--color-info-border: #254a7e;
--color-info-bg: #0c1726;
--color-info-text: #2f81f7;
--color-priority-border: #4a268d;
--color-priority-bg: #170f26;
--color-priority-text: #a371f7;
/* ------------------------------------------------------------------------
Badge colors
Small pill badges (e.g. counters, PR/issue state in lists).
------------------------------------------------------------------------ */
--color-red-badge: #db2828;
--color-red-badge-bg: #db28281a;
--color-red-badge-hover-bg: #db28284d;
--color-green-badge: #21ba45;
--color-green-badge-bg: #21ba451a;
--color-green-badge-hover-bg: #21ba454d;
--color-yellow-badge: #fbbd08;
--color-yellow-badge-bg: #fbbd081a;
--color-yellow-badge-hover-bg: #fbbd084d;
--color-orange-badge: #f2711c;
--color-orange-badge-bg: #f2711c1a;
--color-orange-badge-hover-bg: #f2711c4d;
/* brand colors */
--color-git: #f05133;
--color-logo: #609926;
/* ------------------------------------------------------------------------
Target-based colors: page surfaces
This is where "pitch black" happens. Page, boxes and code are #000;
headers are a hair off black so a box's title bar is still
distinguishable from its body.
------------------------------------------------------------------------ */
--color-body: #000000; /* page background */
--color-box-header: #0a0a0a; /* .ui.segment/box title bars */
--color-box-body: #000000; /* box/segment contents */
--color-box-body-highlight: #111111; /* highlighted rows in boxes */
/* ------------------------------------------------------------------------
Text
Body text is a light grey (#d0d0d0, ~13:1 on black) rather than white,
which leaves pure white free for links (see "Links" below) so links
stand out from plain text without needing a hue.
Dimmest step (#8c8c8c) is still ~6.4:1 on black (WCAG AA for body text).
------------------------------------------------------------------------ */
--color-text-dark: #ffffff; /* headings, strongest text */
--color-text: #d0d0d0; /* normal body text */
--color-text-light: #c0c0c0;
--color-text-light-1: #adadad;
--color-text-light-2: #9c9c9c; /* secondary/meta text */
--color-text-light-3: #8c8c8c; /* timestamps, placeholders */
--color-footer: var(--color-nav-bg);
--color-timeline: #2e2e2e; /* vertical line on issue timeline */
/* ------------------------------------------------------------------------
Inputs
Text fields, selects, textareas. One step off black so a field is
visible even before you notice its border.
------------------------------------------------------------------------ */
--color-input-text: var(--color-text-dark);
--color-input-background: #0a0a0a;
--color-input-toggle-background: #2e2e2e; /* off-state of toggle switches */
--color-input-border: var(--color-secondary-dark-1);
/* ------------------------------------------------------------------------
Overlays, hover and active states
Translucent white on black: rows and menu items light up on hover
without introducing grey panels.
------------------------------------------------------------------------ */
--color-light: #00000028;
--color-light-border: #ffffff28;
--color-hover: #ffffff14;
--color-hover-opaque: #141414; /* opaque equivalent of --color-hover on black */
--color-active: #ffffff1f;
/* ------------------------------------------------------------------------
Menus, cards, buttons, code
Dropdowns, popups and cards float over the page, so they sit one step
off black and rely on their border + shadow to separate.
------------------------------------------------------------------------ */
--color-menu: #0a0a0a; /* dropdowns, context menus, tippy popups */
--color-card: #0a0a0a; /* project cards, issue cards, user cards */
--color-markup-table-row: #ffffff0a; /* zebra rows in rendered markdown tables */
--color-markup-code-block: #ffffff0f; /* ```fenced``` blocks in markdown */
--color-markup-code-inline: #ffffff1f; /* `inline code` in markdown */
--color-button: #0a0a0a; /* basic (non-colored) buttons */
--color-code-bg: #000000; /* file view / code view background */
--color-shadow: #00000080;
--color-shadow-opaque: #000000;
--color-secondary-bg: #141414; /* modal actions, secondary segments, dropzone */
--color-expand-button: #242424; /* "expand lines" buttons in diffs */
--color-placeholder-text: var(--color-text-light-3);
--color-editor-line-highlight: var(--color-secondary-alpha-40);
--color-editor-selection: var(--color-primary-alpha-50);
--color-project-column-bg: var(--color-secondary-light-3); /* project board columns */
--color-caret: var(--color-text);
/* reactions (emoji reaction buttons on comments) */
--color-reaction-bg: #ffffff0f;
--color-reaction-hover-bg: var(--color-primary-light-4);
--color-reaction-active-bg: var(--color-primary-light-5);
/* tooltips - kept clearly lighter than black so they stand out */
--color-tooltip-text: #fafafa;
--color-tooltip-bg: #262626;
/* ------------------------------------------------------------------------
Navigation bars
Top navbar and secondary (repo/org tab) bars go fully black; the
bottom border of each bar comes from --color-secondary.
------------------------------------------------------------------------ */
--color-nav-bg: #000000;
--color-nav-hover-bg: var(--color-secondary-light-1);
--color-nav-text: var(--color-text);
--color-secondary-nav-bg: #000000;
/* ------------------------------------------------------------------------
Issue/PR labels (uncolored "basic" labels)
------------------------------------------------------------------------ */
--color-label-text: var(--color-text);
--color-label-bg: #8080804b;
--color-label-hover-bg: #808080a0;
--color-label-active-bg: #808080ff;
/* accent-color for native checkboxes/radios/range inputs */
--color-accent: var(--color-primary-light-1);
--color-small-accent: var(--color-primary-light-5);
/* search-match highlight (code search, file search) */
--color-highlight-fg: #87651e;
--color-highlight-bg: #3a3020;
/* dimmed backdrop behind modals */
--color-overlay-backdrop: #000000d0;
--color-danger: var(--color-red);
/* checkerboard behind transparent images in the image viewer/diff */
--color-transparency-grid-light: #1a1a1a;
--color-transparency-grid-dark: #0d0d0d;
/* Actions workflow graph: edge color on hover */
--color-workflow-edge-hover: #707070;
/* ------------------------------------------------------------------------
Syntax highlighting
Used by both Chroma (server-side code view) and the in-browser editor.
Stock Dark's palette already targets a near-black background and reads
well on pure black, so hues are unchanged; only the plain-text
colors are nudged brighter for contrast.
------------------------------------------------------------------------ */
--color-syntax-keyword: #ff8854;
--color-syntax-bool: #25bbc9;
--color-syntax-control: #dd9e17;
--color-syntax-name: #fabd2f;
--color-syntax-type: #eb8cb3;
--color-syntax-number: #63b2dd;
--color-syntax-operator: #ff8854;
--color-syntax-regexp: #b89de4;
--color-syntax-string: #95b62a;
--color-syntax-comment: #8898b0;
--color-syntax-invalid: #ff8686;
--color-syntax-link: var(--color-primary);
--color-syntax-tag: #ff8854;
--color-syntax-attribute: #c792ff;
--color-syntax-property: #55afff;
--color-syntax-variable: #e29b33;
--color-syntax-string-special: #dd9e17;
--color-syntax-escape: #c7a618;
--color-syntax-entity: #c792ff;
--color-syntax-preproc: #4cbe7a;
--color-syntax-preproc-file: #63b2dd;
--color-syntax-decorator: #4cbe7a;
--color-syntax-namespace: #d4d9df;
--color-syntax-name-pseudo: #c792ff;
--color-syntax-comment-special: #b89de4;
--color-syntax-text: #d4d9df;
--color-syntax-text-alt: #c0c3cc;
--color-syntax-punctuation: #d8dae0;
--color-syntax-whitespace: #7f8699;
--color-syntax-diff-fg: #ffffff;
--color-syntax-deleted-bg: #4a2828;
--color-syntax-inserted-bg: #2a422a;
--color-syntax-emph: #d1a242;
--color-syntax-strong: #e29b33;
--color-syntax-heading: #dd9e17;
--color-syntax-subheading: #95b62a;
--color-syntax-output: #8898b0;
--color-syntax-prompt: #e29b33;
--color-syntax-traceback: #ff8686;
--color-syntax-matching-bracket-bg: #00918a48;
--color-syntax-nonmatching-bracket-bg: #cc484848;
/* ------------------------------------------------------------------------
Pitch Black specific variables (not part of Gitea; prefixed --pb-)
Used by the rule sections at the bottom of this file. Change them here
to retune links or the heatmap without touching the rules.
------------------------------------------------------------------------ */
/* Links: white instead of the primary blue. Body text is #d0d0d0, so
white links are the brightest text on the page. */
--pb-link: #ffffff;
/* Faint underline drawn under links inside rendered markdown (READMEs,
issue/PR comments, wiki) so inline links are obvious in prose. */
--pb-link-underline: #5c5c5c;
/* Contribution heatmap, from "no activity" (0) to "most activity" (4).
Gitea only paints levels 0-4 on the calendar; level 5 appears only as
the last square of the "Less ... More" legend, so it matches level 4. */
--pb-heatmap-0: #1a1a1a;
--pb-heatmap-1: #474747;
--pb-heatmap-2: #7a7a7a;
--pb-heatmap-3: #b3b3b3;
--pb-heatmap-4: #ffffff;
--pb-heatmap-5: #ffffff;
/* ------------------------------------------------------------------------
Browser-level settings
accent-color: native form controls use the primary color.
color-scheme: dark scrollbars, form controls and default canvas.
scrollbar-color: (pitch black addition) grey thumb on a black track so
scrollbars don't show up as lighter grey strips. Inherited, so it
applies to every scrollable element.
------------------------------------------------------------------------ */
accent-color: var(--color-accent);
color-scheme: dark;
scrollbar-color: var(--color-secondary-dark-2) var(--color-body);
}
/* --------------------------------------------------------------------------
Invert emojis that are black glyphs and disappear on a dark background
(check mark, arrows, currency, math symbols, etc.).
Gitea changed how emoji elements are tagged between versions, so both
selector sets are included:
* v28+ tags emoji with data-alias="<shortcode>"
* v1.27 tags emoji with aria-label="<name>"
-------------------------------------------------------------------------- */
/* v28+ */
.emoji[data-alias="heavy_check_mark"],
.emoji[data-alias="currency_exchange"],
.emoji[data-alias="top"],
.emoji[data-alias="end"],
.emoji[data-alias="on"],
.emoji[data-alias="soon"],
.emoji[data-alias="heavy_dollar_sign"],
.emoji[data-alias="copyright"],
.emoji[data-alias="registered"],
.emoji[data-alias="tm"],
.emoji[data-alias="heavy_multiplication_x"],
.emoji[data-alias="heavy_plus_sign"],
.emoji[data-alias="heavy_minus_sign"],
.emoji[data-alias="heavy_division_sign"],
.emoji[data-alias="curly_loop"],
.emoji[data-alias="loop"],
.emoji[data-alias="wavy_dash"],
.emoji[data-alias="feet"],
.emoji[data-alias="musical_note"],
.emoji[data-alias="notes"],
/* v1.27 */
.emoji[aria-label="check mark"],
.emoji[aria-label="currency exchange"],
.emoji[aria-label="TOP arrow"],
.emoji[aria-label="END arrow"],
.emoji[aria-label="ON! arrow"],
.emoji[aria-label="SOON arrow"],
.emoji[aria-label="heavy dollar sign"],
.emoji[aria-label="copyright"],
.emoji[aria-label="registered"],
.emoji[aria-label="trade mark"],
.emoji[aria-label="multiply"],
.emoji[aria-label="plus"],
.emoji[aria-label="minus"],
.emoji[aria-label="divide"],
.emoji[aria-label="curly loop"],
.emoji[aria-label="double curly loop"],
.emoji[aria-label="wavy dash"],
.emoji[aria-label="paw prints"],
.emoji[aria-label="musical note"],
.emoji[aria-label="musical notes"] {
filter: invert(100%) hue-rotate(180deg);
}
/* --------------------------------------------------------------------------
Links: greyscale instead of blue
Gitea colors every link with --color-primary (blue). Overriding the
primary color itself would also turn primary buttons, active tabs and
focus rings grey, so instead only the link rules are overridden here.
This file loads after Gitea's index.css, so these same-specificity
selectors win.
* a - normal links: white (body text is #d0d0d0)
* a:hover - Gitea already underlines on hover; keep it white
* a.muted / .muted-links a - inherit text color until hovered, then
turn white like any other link
-------------------------------------------------------------------------- */
a,
a:hover,
a.muted:hover,
.muted-links a:hover {
color: var(--pb-link);
}
/* Other places Gitea swaps text to blue on hover (card footers, issue/PR
list titles, commit message links, avatar stacks, icon buttons in file
headers, the markdown toolbar, upload buttons, Actions log links).
All switched to white so hover feedback stays greyscale. */
.ui.card > .extra a:not(.ui):hover,
.comment-text-line a:hover,
.title-full-link-hover:not(:has(:not(.title-full-link):hover)):hover > a.title-full-link,
.avatar-stack-popup-trigger:hover,
.non-diff-file-content .header .file-actions .btn-octicon:hover,
.combo-markdown-editor .markdown-toolbar-button:hover,
.dz-custom-buttons button:hover,
.console a:hover {
color: var(--pb-link);
}
/* these two are !important in Gitea's CSS, so they need it here too */
.items-with-main > .item a:not(.label, .button):hover,
.interact-fg:hover {
color: var(--pb-link) !important;
}
/* Inline links in rendered markdown (README, issues, PRs, wiki, releases)
get a faint persistent underline. In running prose, brightness alone is
a weak cue, so this keeps links easy to spot without adding color.
Heading permalink anchors and label-style links are left alone. */
.markup a:not(.anchor, .ui) {
text-decoration-line: underline;
text-decoration-color: var(--pb-link-underline);
text-underline-offset: 0.2em;
}
.markup a:not(.anchor, .ui):hover {
text-decoration-color: var(--pb-link);
}
/* Folder icons in the repo file list are blue in stock Gitea; make them
grey so the file list matches the greyscale links. */
.svg.octicon-file-directory-fill,
.svg.octicon-file-directory-open-fill,
.svg.octicon-file-submodule {
color: var(--color-text-light-2);
}
/* --------------------------------------------------------------------------
Contribution heatmap (dashboard and user profile)
Gitea paints each day with an inline style such as
fill: var(--color-primary-light-4). Inline styles can't be overridden
by selector, but the variables they read can: redefining them only
inside #user-heatmap swaps the blue scale for dark grey -> white
without affecting the primary color anywhere else.
Mapping (Gitea level -> variable it reads):
0 no activity -> --color-secondary-alpha-60
1 -> --color-primary-light-4
2 -> --color-primary-light-2
3 -> --color-primary
4 most -> --color-primary-dark-2
5 legend only -> --color-primary-dark-4
-------------------------------------------------------------------------- */
#user-heatmap {
--color-secondary-alpha-60: var(--pb-heatmap-0);
--color-primary-light-4: var(--pb-heatmap-1);
--color-primary-light-2: var(--pb-heatmap-2);
--color-primary: var(--pb-heatmap-3);
--color-primary-dark-2: var(--pb-heatmap-4);
--color-primary-dark-4: var(--pb-heatmap-5);
}
+1 -969
View File
@@ -1,969 +1 @@
.chroma .hl{background-color:#3f424d}.chroma .ln,.chroma .lnt{color:#7f7f7f}
.chroma .k{color:#f63}
.chroma .kc{color:#fa1}
.chroma .kd{color:#9daccc}
.chroma .kn{color:#fa1}
.chroma .kp{color:#5f8700}
.chroma .kr{color:#f63}
.chroma .kt{color:#9daccc}
.chroma .na{color:#8a8a8a}
.chroma .bp,.chroma .nb{color:#9daccc}
.chroma .nc,.chroma .no{color:#fa1}
.chroma .nd{color:#9daccc}
.chroma .ni{color:#fa1}
.chroma .ne{color:#af8700}
.chroma .nf{color:#9daccc}
.chroma .nl,.chroma .nn{color:#fa1}
.chroma .nt,.chroma .nv,.chroma .nx{color:#9daccc}
.chroma .vc{color:#f81}
.chroma .vg,.chroma .vi{color:#fa1}
.chroma .s,.chroma .sa{color:#1af}
.chroma .sb{color:#a0cc75}
.chroma .dl,.chroma .sc{color:#1af}
.chroma .sd{color:#6a737d}
.chroma .s2{color:#a0cc75}
.chroma .se{color:#f63}
.chroma .sh{color:#1af}
.chroma .si,.chroma .sx{color:#fa1}
.chroma .sr{color:#97c}
.chroma .s1{color:#a0cc75}
.chroma .ss{color:#fa1}
.chroma .il,.chroma .m,.chroma .mb,.chroma .mf,.chroma .mh,.chroma .mi,.chroma .mo{color:#1af}
.chroma .o{color:#f63}
.chroma .ow{color:#5f8700}
.chroma .c,.chroma .c1,.chroma .ch,.chroma .cm{color:#6a737d}
.chroma .cs{color:#637d}
.chroma .cp,.chroma .cpf{color:#fc6}
.chroma .gd{color:#fff;background-color:#5f3737}
.chroma .ge{color:#ef5}
.chroma .gr{color:#f33}
.chroma .gh{color:#fa1}
.chroma .gi{color:#fff;background-color:#3a523a}
.chroma .go{color:#888888}
.chroma .gp{color:#555555}
.chroma .gu{color:#9daccc}
.chroma .gt{color:#f63}
.chroma .w{color:#bbbbbb}
:root {
--color-primary: #ccc;
--color-primary-dark-1: #c5c5c5;
--color-primary-dark-2: #bebebe;
--color-primary-dark-3: #b7b7b7;
--color-primary-dark-4: #b0b0b0;
--color-primary-dark-5: #a9a9a9;
--color-primary-dark-6: #a2a2a2;
--color-primary-dark-7: #9b9b9b;
--color-primary-light-1: #d3d3d3;
--color-primary-light-2: #d9d9d9;
--color-primary-light-3: #e0e0e0;
--color-primary-light-4: #e7e7e7;
--color-primary-light-5: #eeeeee;
--color-primary-light-6: #f5f5f5;
--color-primary-light-7: #fff;
--color-primary-alpha-10: #afb0b119;
--color-primary-alpha-20: #afb0b133;
--color-primary-alpha-30: #afb0b14b;
--color-primary-alpha-40: #afb0b166;
--color-primary-alpha-50: #afb0b180;
--color-primary-alpha-60: #afb0b199;
--color-primary-alpha-70: #afb0b1b3;
--color-primary-alpha-80: #afb0b1cc;
--color-primary-alpha-90: #afb0b1e1;
--color-secondary: #000;
--color-secondary-dark-1: #141414;
--color-secondary-dark-2: #0b0c0e;
--color-secondary-dark-3: #17181c;
--color-secondary-dark-4: #22242a;
--color-secondary-dark-5: #2d3139;
--color-secondary-dark-6: #393d47;
--color-secondary-dark-7: #444955;
--color-secondary-dark-7: #4f5563;
--color-secondary-dark-8: #5b6171;
--color-secondary-dark-8: #666d7f;
--color-secondary-dark-9: #71798e;
--color-secondary-dark-10: #808799;
--color-secondary-dark-11: #8e94a4;
--color-secondary-light-1: #373b46;
--color-secondary-light-2: #292c34;
--color-secondary-light-3: #1c1e23;
--color-secondary-light-4: #0e0f11;
--color-secondary-alpha-10: #45454519;
--color-secondary-alpha-20: #45454533;
--color-secondary-alpha-30: #4545454b;
--color-secondary-alpha-40: #45454566;
--color-secondary-alpha-50: #45454580;
--color-secondary-alpha-60: #45454599;
--color-secondary-alpha-70: #454545b3;
--color-secondary-alpha-80: #454545cc;
--color-secondary-alpha-90: #454545e1;
/* colors */
--color-red: #db2828;
--color-orange: #ff6600;
--color-yellow: #ffff99;
--color-olive: #abc11a;
--color-green: #199717;
--color-teal: #01fed4;
--color-blue: #226ac9;
--color-violet: #6435c9;
--color-purple: #a333c8;
--color-pink: #e03997;
--color-brown: #a5673f;
--color-grey: #767a85;
--color-black: #1e222e;
--color-gold: #a1882b;
--color-white: #ffffff;
--color-diff-removed-word-bg: #6f3333;
--color-diff-added-word-bg: #3c653c;
--color-diff-removed-row-bg: #3c2626;
--color-diff-added-row-bg: #283e2d;
--color-diff-removed-row-border: #634343;
--color-diff-added-row-border: #314a37;
--color-diff-inactive: #353846;
/* target-based colors */
--color-body: #000;
--color-box-header: #000;
--color-box-body: #070707;
--color-text-dark: #dee1e8;
--color-text: #c7cad1;
--color-text-light: #acb0b9;
--color-text-light-2: #8a8e99;
--color-text-light-3: #707687;
--color-footer: #000;
--color-timeline: #4c525e;
--color-input-text: #d5dbe6;
--color-input-background: #000;
--color-input-border: #454545;
--color-input-border-hover: #4e5465;
--color-navbar: #060606;
--color-light: #00000028;
--color-light-border: #ffffff28;
--color-hover: #ffffff10;
--color-active: #25272d;
--color-menu: #060606;
--color-card: #060606;
--color-markdown-table-row: #ffffff06;
--color-markdown-code-block: #121314;
--color-button: #070707;
--color-code-bg: #060606;
--color-shadow: #00000060;
--color-secondary-bg: #060606;
--color-text-focus: #fff;
--color-expand-button: #3c404d;
--color-placeholder-text: #6a737d;
--color-editor-line-highlight: var(--color-primary-light-5);
--color-project-board-bg: var(--color-secondary-light-2);
}
::-webkit-calendar-picker-indicator {
filter: invert(.8);
}
.ui.horizontal.segments > .segment {
background-color: #2d2d2d;
}
.repository .segment.reactions .ui.label.basic.blue {
background: var(--color-primary-alpha-20) !important;
}
[data-tooltip]::before,
[data-tooltip]::after {
background: #1b1c1d !important; /* .ui.inverted.popup */
border-color: #1b1c1d !important; /* .ui.inverted.popup */
color: #dbdbdb !important;
}
[data-tooltip]::before {
box-shadow: 1px 1px 0 0 #1b1c1d !important; /* .ui.inverted.popup */
}
.ui.green.progress .bar {
background-color: #848b84;
}
.ui.progress.success .bar {
background-color: #8fa37b !important;
}
.following.bar.light {
background: var(--color-body);
border-color: var(--color-secondary-alpha-40);
}
.following.bar .top.menu a.item:hover {
color: #fff;
}
.feeds .list ul li.private {
background: #25272d;
}
.ui.link.list .item,
.ui.link.list a.item,
.ui.link.list .item a:not(.ui) {
color: #dbdbdb;
}
.ui.red.label,
.ui.red.labels .label {
background-color: #7d3434 !important;
border-color: #8a2121 !important;
}
.ui.yellow.label,
.ui.yellow.labels .label {
border-color: #664d02 !important;
background-color: #936e00 !important;
}
.ui.accordion .title:not(.ui) {
color: #dbdbdb;
}
.ui.green.label,
.ui.green.labels .label,
.ui.basic.green.label {
background-color: #53682c !important;
border-color: #53682c !important;
}
.ui.green.labels a.label:hover,
.ui.basic.green.labels a.label:hover,
a.ui.ui.ui.green.label:hover,
a.ui.basic.green.label:hover {
background-color: #657a3e !important;
border-color: #657a3e !important;
color: #fff !important;
}
.ui.divider:not(.vertical):not(.horizontal) {
border-bottom-color: var(--color-secondary);
border-top-color: transparent;
}
.form .help {
color: #7f8699;
}
.ui .text.light.grey {
color: #7f8699 !important;
}
.ui.form .fields.error .field textarea,
.ui.form .fields.error .field select,
.ui.form .fields.error .field input:not([type]),
.ui.form .fields.error .field input[type="date"],
.ui.form .fields.error .field input[type="datetime-local"],
.ui.form .fields.error .field input[type="email"],
.ui.form .fields.error .field input[type="number"],
.ui.form .fields.error .field input[type="password"],
.ui.form .fields.error .field input[type="search"],
.ui.form .fields.error .field input[type="tel"],
.ui.form .fields.error .field input[type="time"],
.ui.form .fields.error .field input[type="text"],
.ui.form .fields.error .field input[type="file"],
.ui.form .fields.error .field input[type="url"],
.ui.form .field.error textarea,
.ui.form .field.error select,
.ui.form .field.error input:not([type]),
.ui.form .field.error input[type="date"],
.ui.form .field.error input[type="datetime-local"],
.ui.form .field.error input[type="email"],
.ui.form .field.error input[type="number"],
.ui.form .field.error input[type="password"],
.ui.form .field.error input[type="search"],
.ui.form .field.error input[type="tel"],
.ui.form .field.error input[type="time"],
.ui.form .field.error input[type="text"],
.ui.form .field.error input[type="file"],
.ui.form .field.error input[type="url"] {
background-color: #522;
border: 1px solid #7d3434;
color: #f9cbcb;
}
.ui.form .field.error select:focus,
.ui.form .field.error input:not([type]):focus,
.ui.form .field.error input[type="date"]:focus,
.ui.form .field.error input[type="datetime-local"]:focus,
.ui.form .field.error input[type="email"]:focus,
.ui.form .field.error input[type="number"]:focus,
.ui.form .field.error input[type="password"]:focus,
.ui.form .field.error input[type="search"]:focus,
.ui.form .field.error input[type="tel"]:focus,
.ui.form .field.error input[type="time"]:focus,
.ui.form .field.error input[type="text"]:focus,
.ui.form .field.error input[type="file"]:focus,
.ui.form .field.error input[type="url"]:focus {
background-color: #522;
border: 1px solid #a04141;
color: #f9cbcb;
}
.ui.green.button,
.ui.green.buttons .button {
background-color: #070707;
}
.ui.green.button:hover,
.ui.green.buttons .button:hover {
background-color: #141414;
}
.ui.green.button:active,
.ui.green.buttons .button:active {
background-color: #070707;
}
.ui.search > .results {
background: #2d2d2d;
border-color: var(--color-secondary);
}
.ui.search > .results .result:hover,
.ui.category.search > .results .category .result:hover {
background: var(--color-secondary);
}
.ui.search > .results .result .title {
color: #dbdbdb;
}
.ui.table > thead > tr > th {
background: var(--color-secondary);
color: #dbdbdb !important;
}
.repository.file.list #repo-files-table tr {
background: #070707;
}
.repository.file.list #repo-files-table tr:hover {
background-color: #2d2d2d !important;
}
.repository.file.editor.edit,
.repository.wiki.new .CodeMirror {
.editor-preview,
.editor-preview-side,
& + .editor-preview-side {
background: #25272d;
.markdown:not(code).ui.segment {
border-width: 0;
}
}
}
.overflow.menu .items .item {
color: #9d9d9d;
}
.overflow.menu .items .item:hover {
color: #dbdbdb;
}
.ui.list > .item > .content {
color: var(--color-secondary-dark-6) !important;
}
.ui.active.button:active,
.ui.button:active,
.ui.button:focus,
.ui.active.button {
background-color: #2e3e4e;
color: #dbdbdb;
}
.ui.active.button:hover {
background-color: #475e75;
color: #dbdbdb;
}
.repository .navbar .active.item,
.repository .navbar .active.item:hover {
border-color: transparent !important;
}
.ui .info.segment.top {
background-color: var(--color-secondary) !important;
}
.repository .diff-stats li {
border-color: var(--color-secondary);
}
.tag-code,
.tag-code td {
background: #25272d !important;
}
.tag-code td.lines-num {
background-color: #3a3e4c !important;
}
.tag-code td.lines-type-marker,
td.blob-hunk {
color: #dbdbdb !important;
}
.ui.attached.info.message,
.ui.info.message {
box-shadow: 0 0 0 1px #4b5e71 inset, 0 0 0 0 transparent;
}
.ui.bottom.attached.message {
background-color: #2c662d;
color: #ab6363;
}
.ui.bottom.attached.message .pull-right {
color: #ab6363;
}
.ui.info.message {
background-color: #2c3b4a;
color: #9ebcc5;
}
.ui .warning.header,
.ui.warning.message {
background-color: #542 !important;
border-color: #ec8;
}
.ui.warning.message {
color: #ec8;
box-shadow: 0 0 0 1px #ec8;
}
.ui.warning.segment {
border-color: #ec8;
}
.ui.red.message,
.ui.error.message {
background-color: #522;
color: #f9cbcb;
box-shadow: 0 0 0 1px #a04141 inset;
}
.ui .error.header,
.ui.error.message {
background-color: #522 !important;
border-color: #a04141;
}
.ui.error.segment {
border-color: #a04141;
}
.ui.red.button,
.ui.red.buttons .button {
background-color: #7d3434;
}
.ui.red.button:hover,
.ui.red.buttons .button:hover {
background-color: #984646;
}
.ui.positive.message {
background-color: #000;
color: #fff;
box-shadow: 0 0 0 1px #1c1c1c inset, 0 0 0 0 transparent;
}
.ui.negative.message {
background-color: rgba(80, 23, 17, .6);
color: #f9cbcb;
box-shadow: 0 0 0 1px rgba(121, 71, 66, .5) inset, 0 0 0 0 transparent;
}
.ui.list .list > .item .header,
.ui.list > .item .header {
color: #dedede;
}
.ui.list .list > .item .description,
.ui.list > .item .description {
color: var(--color-secondary-dark-6);
}
.repository.file.list #repo-files-table tbody .svg.octicon-file-directory,
.repository.file.list #repo-files-table tbody .svg.octicon-file-submodule {
color: #52555b;
}
.repository.labels .ui.basic.black.label {
background-color: #bbbbbb !important;
}
.lines-commit,
.blame .lines-num {
background: #060606 !important;
}
.lines-num {
color: var(--color-secondary-dark-6) !important;
border-color: var(--color-secondary) !important;
}
td.blob-excerpt {
background-color: rgba(0, 0, 0, .15);
}
.lines-code.active,
.lines-code .active {
background: #534d1b !important;
}
.ui.ui.ui.ui.table tr.active,
.ui.ui.table td.active {
color: #dbdbdb;
}
.ui.active.label {
background: #46484e;
border-color: #46484e;
color: #dbdbdb;
}
.repository .ui.attached.message.isSigned.isVerified {
background-color: #394829;
color: var(--color-secondary-dark-6);
&.message {
color: #ab6363;
.ui.text {
color: var(--color-secondary-dark-6);
}
.pull-right {
color: #ab6363;
}
}
}
.repository .ui.attached.message.isSigned.isVerifiedUntrusted {
background-color: #4a3903;
color: var(--color-secondary-dark-6);
&.message {
color: #c2c193;
.ui.text {
color: var(--color-secondary-dark-6);
}
a {
color: #c2c193;
}
}
}
.repository .ui.attached.message.isSigned.isVerifiedUnmatched {
background-color: #4e3321;
color: var(--color-secondary-dark-6);
&.message {
color: #c2a893;
.ui.text {
color: var(--color-secondary-dark-6);
}
a {
color: #c2a893;
}
}
}
.repository .ui.attached.message.isSigned.isWarning {
background-color: rgba(80, 23, 17, .6);
&.message {
color: #d07d7d;
.ui.text {
color: #d07d7d;
}
}
}
.ui.header .sub.header {
color: var(--color-secondary-dark-6);
}
.ui.dividing.header {
border-bottom: 1px solid var(--color-secondary);
}
.ui.modal > .header {
background: var(--color-secondary);
color: #dbdbdb;
}
.ui.modal > .actions {
background: var(--color-secondary);
border-color: var(--color-secondary);
}
.ui.modal > .content {
background: #2d2d2d;
}
.minicolors-panel {
background: var(--color-secondary) !important;
border-color: #6a737d !important;
}
/* invert emojis that are hard to read otherwise */
.emoji[aria-label="check mark"],
.emoji[aria-label="currency exchange"],
.emoji[aria-label="TOP arrow"],
.emoji[aria-label="END arrow"],
.emoji[aria-label="ON! arrow"],
.emoji[aria-label="SOON arrow"],
.emoji[aria-label="heavy dollar sign"],
.emoji[aria-label="copyright"],
.emoji[aria-label="registered"],
.emoji[aria-label="trade mark"],
.emoji[aria-label="multiply"],
.emoji[aria-label="plus"],
.emoji[aria-label="minus"],
.emoji[aria-label="divide"],
.emoji[aria-label="curly loop"],
.emoji[aria-label="double curly loop"],
.emoji[aria-label="wavy dash"],
.emoji[aria-label="paw prints"],
.emoji[aria-label="musical note"],
.emoji[aria-label="musical notes"] {
filter: invert(100%);
}
.edit-diff > div > .ui.table {
border-left-color: var(--color-secondary) !important;
border-right-color: var(--color-secondary) !important;
}
/* code mirror dark theme */
.CodeMirror {
&.cm-s-default,
&.cm-s-paper {
.cm-property {
color: #a0cc75;
}
.cm-header {
color: #9daccc;
}
.cm-quote {
color: #009900;
}
.cm-keyword {
color: #cc8a61;
}
.cm-atom {
color: #ef5e77;
}
.cm-number {
color: #ff5656;
}
.cm-def {
color: #e4e4e4;
}
.cm-variable-2 {
color: #00bdbf;
}
.cm-variable-3 {
color: #008855;
}
.cm-comment {
color: #8e9ab3;
}
.cm-string {
color: #a77272;
}
.cm-string-2 {
color: #ff5500;
}
.cm-meta,
.cm-qualifier {
color: #ffb176;
}
.cm-builtin {
color: #b7c951;
}
.cm-bracket {
color: #999977;
}
.cm-tag {
color: #f1d273;
}
.cm-attribute {
color: #bfcc70;
}
.cm-hr {
color: #999999;
}
.cm-url {
color: #c5cfd0;
}
.cm-link {
color: #d8c792;
}
.cm-error {
/* color: #ff6e00; */
color: #dbdbeb;
}
}
}
footer .container .links > * {
border-left-color: #888;
}
.repository.file.list #repo-files-table tbody .svg {
color: var(--color-secondary-dark-6);
}
.repository.release #release-list > li .detail .dot {
background-color: #4e5465;
border-color: #2d2d2d;
}
.tribute-container {
box-shadow: 0 .25rem .5rem rgba(0, 0, 0, .6);
}
.repository .repo-header .ui.huge.breadcrumb.repo-title .repo-header-icon .avatar {
color: #060606;
}
img[src$="/img/matrix.svg"] {
filter: invert(80%);
}
#git-graph-container li .time {
color: #6a737d;
}
#git-graph-container.monochrome #rel-container .flow-group {
stroke: dimgrey;
fill: dimgrey;
}
#git-graph-container.monochrome #rel-container .flow-group.highlight {
stroke: darkgrey;
fill: darkgrey;
}
#git-graph-container:not(.monochrome) #rel-container .flow-group {
&.flow-color-16-5 {
stroke: #5543b1;
fill: #5543b1;
}
}
#git-graph-container:not(.monochrome) #rel-container .flow-group.highlight {
&.flow-color-16-5 {
stroke: #7058e6;
fill: #7058e6;
}
}
#git-graph-container #rev-list li.highlight.hover {
background-color: rgba(255, 255, 255, .1);
}
#git-graph-container .ui.buttons button#flow-color-monochrome.ui.button {
border-left-color: rgb(76, 80, 92);
border-left-style: solid;
border-left-width: 1px;
}
.mermaid-chart {
filter: invert(84%) hue-rotate(180deg);
}
.is-loading::after {
border-color: #4a4c58 #4a4c58 #d7d7da #d7d7da;
}
.markdown-block-error {
border: 1px solid rgba(121, 71, 66, .5) !important;
border-bottom: none !important;
}
.home .hero .svg {
color: var(--color-primary);
}
.home a {
color: var(--color-primary-light-1);
}
.ui.menu, .ui.vertical.menu {
background: #070707;
border-color: var(--color-secondary-dark-4);
}
.ui.menu.new-menu {
background: #060606;
}
.ui.menu.new-menu:after {
background: none;
}
.ui.checkbox label:active:before, .ui.checkbox label:hover:before, .ui.form input:not([type]):hover, .ui.form input[type=date]:hover, .ui.form input[type=datetime-local]:hover, .ui.form input[type=email]:hover, .ui.form input[type=file]:hover, .ui.form input[type=number]:hover, .ui.form input[type=password]:hover, .ui.form input[type=search]:hover, .ui.form input[type=tel]:hover, .ui.form input[type=text]:hover, .ui.form input[type=time]:hover, .ui.form input[type=url]:hover, .ui.form select:hover, .ui.form textarea:hover, .ui.input input:hover, .ui.radio.checkbox input:checked~label:before, .ui.radio.checkbox input:focus~label:before, .ui.radio.checkbox label:after, .ui.selection.dropdown:hover, input:hover, textarea:hover {
background: var(--color-secondary-dark-3);
}
.ui.checkbox input:checked~label:before, .ui.checkbox input:not([type=radio]):indeterminate~label:before, .ui.checkbox label:before, .ui.form input:not([type]), .ui.form input[type=date], .ui.form input[type=datetime-local], .ui.form input[type=email], .ui.form input[type=file], .ui.form input[type=number], .ui.form input[type=password], .ui.form input[type=search], .ui.form input[type=tel], .ui.form input[type=text], .ui.form input[type=time], .ui.form input[type=url], .ui.form select, .ui.form textarea, .ui.input>input, .ui.selection.dropdown, input, textarea {
background: var(--color-secondary-dark-2);
}
.ui.checkbox input:checked:focus~label:before, .ui.checkbox input:focus~label:before, .ui.checkbox input:not([type=radio]):indeterminate:focus~label:before, .ui.form input:not([type]):focus, .ui.form input[type=date]:focus, .ui.form input[type=datetime-local]:focus, .ui.form input[type=email]:focus, .ui.form input[type=file]:focus, .ui.form input[type=number]:focus, .ui.form input[type=password]:focus, .ui.form input[type=search]:focus, .ui.form input[type=tel]:focus, .ui.form input[type=text]:focus, .ui.form input[type=time]:focus, .ui.form input[type=url]:focus, .ui.form select:focus, .ui.form textarea:focus, .ui.input input:focus, .ui.radio.checkbox input:focus:checked~label:before, .ui.selection.dropdown:focus, input:focus, textarea:focus {
background: var(--color-secondary-dark-3);
}
.ui.list .list>.item .description, .ui.list>.item .description {
color: var(--color-secondary-dark-11);
}
.explore .navbar {
background-color: var(--color-box-body)!important;
}
.repository .header-wrapper {
background-color: var(--color-box-body);
}
.monaco-editor, .monaco-editor-background, .monaco-editor .inputarea.ime-input {
background-color: #181818;
}
.ui.blue.label, .ui.blue.labels .label, .ui.primary.label, .ui.primary.labels .label {
background-color: var(--color-secondary)!important;
border-color: var(--color-primary-dark-2)!important;
}
.ui.blue.button, .ui.blue.buttons .button, .ui.primary.button, .ui.primary.buttons .button {
background-color: #070707!important;
}
.ui.blue.button:hover, .ui.blue.buttons .button:hover, .ui.primary.button:hover, .ui.primary.buttons .button:hover {
background-color: #1c1c1c!important;
}
.ui.green.labels .label, .ui.ui.ui.green.label {
background-color: #1c1c1c!important;
border-color: #21ba45!important;
color: #fff;
}
.ui.red.labels .label, .ui.ui.ui.red.label {
background-color: #1c1c1c!important;
border-color: #db2828!important;
color: #fff;
}
::selection, ::-moz-selection {
background: var(--color-grey);
color: var(--color-secondary)!important;
}
.CodeMirror, .CodeMirror-selected, ::selection {
background: var(--color-primary)!important;
color: var(--color-secondary)!important;
}
.markup a, .ui.breadcrumb a {
color: var(--color-primary-light-7);
cursor: pointer;
text-decoration: none;
border-bottom: 1px solid var(--color-primary);
transition-property: all
}
.markup a:hover, .ui.breadcrumb a:hover {
color: #000;
cursor: pointer;
text-decoration: none;
background: #fff;
background-color: #fff
}
.markup .anchor {
border-bottom: none
}
.markup .anchor:hover {
color: var(--color-primary-light-7);
border-bottom: none;
background: var(--color-body);
background-color: var(--color-body)
}
.mtk1, .mtk10 {
color: #6D7178!important
}
gitea-theme-meta-info{--theme-display-name:"Pitch Black";--theme-color-scheme:"dark"}:root{--is-dark-theme:true;--color-primary:#4183c4;--color-primary-contrast:#ffffff;--color-primary-dark-1:#548fca;--color-primary-dark-2:#679cd0;--color-primary-dark-3:#7aa8d6;--color-primary-dark-4:#8db5dc;--color-primary-dark-5:#b3cde7;--color-primary-dark-6:#d9e6f3;--color-primary-dark-7:#f4f8fb;--color-primary-light-1:#3876b3;--color-primary-light-2:#31699f;--color-primary-light-3:#2b5c8b;--color-primary-light-4:#254f77;--color-primary-light-5:#193450;--color-primary-light-6:#0c1a28;--color-primary-light-7:#04080c;--color-primary-alpha-10:#4183c419;--color-primary-alpha-20:#4183c433;--color-primary-alpha-30:#4183c44b;--color-primary-alpha-40:#4183c466;--color-primary-alpha-50:#4183c480;--color-primary-alpha-60:#4183c499;--color-primary-alpha-70:#4183c4b3;--color-primary-alpha-80:#4183c4cc;--color-primary-alpha-90:#4183c4e1;--color-primary-hover:var(--color-primary-light-1);--color-primary-active:var(--color-primary-light-2);--color-secondary:#2e2e2e;--color-secondary-dark-1:#363636;--color-secondary-dark-2:#404040;--color-secondary-dark-3:#4f4f4f;--color-secondary-dark-4:#616161;--color-secondary-dark-5:#707070;--color-secondary-dark-6:#808080;--color-secondary-dark-7:#8f8f8f;--color-secondary-dark-8:#a1a1a1;--color-secondary-dark-9:#a9a9a9;--color-secondary-dark-10:#b8b8b8;--color-secondary-dark-11:#c6c6c6;--color-secondary-dark-12:#d0d0d0;--color-secondary-dark-13:#d4d4d4;--color-secondary-light-1:#242424;--color-secondary-light-2:#1a1a1a;--color-secondary-light-3:#111111;--color-secondary-light-4:#0a0a0a;--color-secondary-alpha-10:#2e2e2e19;--color-secondary-alpha-20:#2e2e2e33;--color-secondary-alpha-30:#2e2e2e4b;--color-secondary-alpha-40:#2e2e2e66;--color-secondary-alpha-50:#2e2e2e80;--color-secondary-alpha-60:#2e2e2e99;--color-secondary-alpha-70:#2e2e2eb3;--color-secondary-alpha-80:#2e2e2ecc;--color-secondary-alpha-90:#2e2e2ee1;--color-secondary-button:var(--color-secondary-dark-4);--color-secondary-hover:var(--color-secondary-dark-3);--color-secondary-active:var(--color-secondary-dark-2);--color-console-fg:#f8f8f8;--color-console-fg-subtle:#c6c6c6;--color-console-bg:#000000;--color-console-hover-bg:#141414;--color-console-active-bg:#1f1f1f;--color-console-link:#a1a1a1;--color-console-border:#242424;--color-console-menu-bg:#141414;--color-console-menu-border:#363636;--color-red:#cc4848;--color-orange:#cc580c;--color-yellow:#cc9903;--color-olive:#91a313;--color-green:#87ab63;--color-teal:#00918a;--color-blue:#3a8ac6;--color-violet:#906ae1;--color-purple:#b259d0;--color-pink:#d22e8b;--color-brown:#a47252;--color-black:#1a1a1a;--color-red-light:#d15a5a;--color-orange-light:#f6a066;--color-yellow-light:#eaaf03;--color-olive-light:#abc016;--color-green-light:#93b373;--color-teal-light:#00b6ad;--color-blue-light:#4e96cc;--color-violet-light:#9b79e4;--color-purple-light:#ba6ad5;--color-pink-light:#d74397;--color-brown-light:#b08061;--color-black-light:#404040;--color-red-dark-1:#c23636;--color-orange-dark-1:#f38236;--color-yellow-dark-1:#b88a03;--color-olive-dark-1:#839311;--color-green-dark-1:#7a9e55;--color-teal-dark-1:#00837c;--color-blue-dark-1:#347cb3;--color-violet-dark-1:#7b4edb;--color-purple-dark-1:#a742c9;--color-pink-dark-1:#be297d;--color-brown-dark-1:#94674a;--color-black-dark-1:#111111;--color-red-dark-2:#ad3030;--color-orange-dark-2:#f16e17;--color-yellow-dark-2:#a37a02;--color-olive-dark-2:#74820f;--color-green-dark-2:#6c8c4c;--color-teal-dark-2:#00746e;--color-blue-dark-2:#2e6e9f;--color-violet-dark-2:#6733d6;--color-purple-dark-2:#9834b9;--color-pink-dark-2:#a9246f;--color-brown-dark-2:#835b42;--color-black-dark-2:#0a0a0a;--color-ansi-black:#2e2e2e;--color-ansi-red:#cc4848;--color-ansi-green:#87ab63;--color-ansi-yellow:#cc9903;--color-ansi-blue:#3a8ac6;--color-ansi-magenta:#d22e8b;--color-ansi-cyan:#00918a;--color-ansi-white:var(--color-console-fg-subtle);--color-ansi-bright-black:#6b6b6b;--color-ansi-bright-red:#d15a5a;--color-ansi-bright-green:#93b373;--color-ansi-bright-yellow:#eaaf03;--color-ansi-bright-blue:#4e96cc;--color-ansi-bright-magenta:#d74397;--color-ansi-bright-cyan:#00b6ad;--color-ansi-bright-white:var(--color-console-fg);--color-series-16-0:#7db233;--color-series-16-1:#499a37;--color-series-16-2:#ce4751;--color-series-16-3:#8f9121;--color-series-16-4:#ac32a6;--color-series-16-5:#7445e9;--color-series-16-6:#c67d28;--color-series-16-7:#4db392;--color-series-16-8:#aa4d30;--color-series-16-9:#2a6f84;--color-series-16-10:#c45327;--color-series-16-11:#3d965c;--color-series-16-12:#792a93;--color-series-16-13:#439d73;--color-series-16-14:#103aad;--color-series-16-15:#982e85;--color-grey:#363636;--color-grey-light:#8c8c8c;--color-gold:#b1983b;--color-white:#ffffff;--color-diff-added-fg:#93b373;--color-diff-added-linenum-bg:#1b3520;--color-diff-added-row-bg:#0f2214;--color-diff-added-row-border:#2a4430;--color-diff-added-word-bg:#2f5a30;--color-diff-moved-row-bg:#4a4a26;--color-diff-moved-row-boLine truncated
+29
View File
@@ -108,6 +108,8 @@
--color-placeholder-text: #6a737d;
--color-editor-line-highlight: var(--color-primary-light-5);
--color-project-board-bg: var(--color-secondary-light-2);
--color-nav-bg: var(--color-body);
--color-nav-hover-bg: var(--color-hover);
}
::-webkit-calendar-picker-indicator {
@@ -847,6 +849,33 @@ img[src$="/img/matrix.svg"] {
color: var(--color-secondary)!important;
}
.markup a, .ui.breadcrumb a {
color: var(--color-primary-light-7);
cursor: pointer;
text-decoration: none;
border-bottom: 1px solid var(--color-primary);
transition-property: all;
}
.markup a:hover, .ui.breadcrumb a:hover {
color: #000;
cursor: pointer;
text-decoration: none;
background: #fff;
background-color: #fff;
}
.markup .anchor {
border-bottom: none;
}
.markup .anchor:hover {
color: var(--color-primary-light-7);
border-bottom: none;
background: var(--color-body);
background-color: var(--color-body);
}
.mtk1, .mtk10 {
color: #6D7178!important;
}