0
0
mirror of https://gitea.artixlinux.org/artix/gitea-dark-blue.git synced 2024-12-18 07:43:43 +00:00
gitea-dark-blue/theme-arc-blue.scss

305 lines
12 KiB
SCSS
Raw Normal View History

$red: #c23636;
$orange: #f38236;
$yellow: #b88a03;
$olive: #839311;
$green: #7a9e55;
$teal: #00837c;
$blue: #347cb3;
$violet: #7b4edb;
$purple: #a742c9;
$pink: #be297d;
$brown: #94674a;
$black: #292e38;
:root {
--is-dark-theme: true;
--color-primary: #4ab2fa;
--color-primary-contrast: #1a1a1a;
--color-primary-dark-1: #68cafd;
--color-primary-dark-2: #8ed9ff;
--color-primary-dark-3: #A4E1FF;
--color-primary-dark-4: #bae8ff;
--color-primary-dark-5: #CFEFFF;
--color-primary-dark-6: #e4f6ff;
--color-primary-dark-7: #f4f8fb;
--color-primary-light-1: #00a0fa;
--color-primary-light-2: #0090f7;
--color-primary-light-3: #0082e9;
--color-primary-light-4: #0070d6;
--color-primary-light-5: #0070d6;
--color-primary-light-6: #0041a5;
--color-primary-light-7: #04080c;
--color-primary-alpha-10: #53bffc19;
--color-primary-alpha-20: #53bffc33;
--color-primary-alpha-30: #53bffc4b;
--color-primary-alpha-40: #53bffc66;
--color-primary-alpha-50: #53bffc80;
--color-primary-alpha-60: #53bffc99;
--color-primary-alpha-70: #53bffcb3;
--color-primary-alpha-80: #53bffccc;
--color-primary-alpha-90: #53bffce1;
--color-primary-hover: var(--color-primary-light-1);
--color-primary-active: var(--color-primary-light-2);
--color-secondary: #858585;
--color-secondary-dark-1: #414b54;
--color-secondary-dark-2: #49545f;
--color-secondary-dark-3: #576471;
--color-secondary-dark-4: #677685;
--color-secondary-dark-5: #758594;
--color-secondary-dark-6: #8392a0;
--color-secondary-dark-7: #929eab;
--color-secondary-dark-8: #a2acb7;
--color-secondary-dark-9: #a9b3bd;
--color-secondary-dark-10: #b7bfc7;
--color-secondary-dark-11: #c5cbd2;
--color-secondary-dark-12: #cfd4da;
--color-secondary-dark-13: #d2d7dc;
--color-secondary-light-1: #707070;
--color-secondary-light-2: #505050;
--color-secondary-light-3: #2e2e2e;
--color-secondary-light-4: #171b1e;
--color-secondary-alpha-10: #85858519;
--color-secondary-alpha-20: #85858533;
--color-secondary-alpha-30: #8585854b;
--color-secondary-alpha-40: #85858566;
--color-secondary-alpha-50: #85858580;
--color-secondary-alpha-60: #85858599;
--color-secondary-alpha-70: #858585b3;
--color-secondary-alpha-80: #858585cc;
--color-secondary-alpha-90: #858585e1;
--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 - used for actions console and console files */
--color-console-fg: #f7f8f9;
--color-console-fg-subtle: #bdc4cc;
--color-console-bg: #171b1e;
--color-console-border: #2e353b;
--color-console-hover-bg: #272d33;
--color-console-active-bg: #2e353b;
--color-console-menu-bg: #262b31;
--color-console-menu-border: #414b55;
/* named colors */
--color-red: #{$red};
--color-orange: #{$orange};
--color-yellow: #{$yellow};
--color-olive: #{$olive};
--color-green: #{$green};
--color-teal: #{$teal};
--color-blue: #{$blue};
--color-violet: #{$violet};
--color-purple: #{$purple};
--color-pink: #{$pink};
--color-brown: #{$brown};
--color-black: #{$black};
/* light variants - produced via Sass scale-color(color, $lightness: +10%) */
--color-red-light: #{scale-color($red, $lightness: +10%)};
--color-orange-light: #{scale-color($orange, $lightness: +10%)};
--color-yellow-light: #{scale-color($yellow, $lightness: +10%)};
--color-olive-light: #{scale-color($olive, $lightness: +10%)};
--color-green-light: #{scale-color($green, $lightness: +10%)};
--color-teal-light: #{scale-color($teal, $lightness: +10%)};
--color-blue-light: #{scale-color($blue, $lightness: +10%)};
--color-violet-light: #{scale-color($violet, $lightness: +10%)};
--color-purple-light: #{scale-color($purple, $lightness: +10%)};
--color-pink-light: #{scale-color($pink, $lightness: +10%)};
--color-brown-light: #{scale-color($brown, $lightness: +10%)};
--color-black-light: #{scale-color($black, $lightness: +10%)};
/* dark 1 variants - produced via Sass scale-color(color, $lightness: -10%) */
--color-red-dark-1: #{scale-color($red, $lightness: -10%)};
--color-orange-dark-1: #{scale-color($orange, $lightness: -10%)};
--color-yellow-dark-1: #{scale-color($yellow, $lightness: -10%)};
--color-olive-dark-1: #{scale-color($olive, $lightness: -10%)};
--color-green-dark-1: #{scale-color($green, $lightness: -10%)};
--color-teal-dark-1: #{scale-color($teal, $lightness: -10%)};
--color-blue-dark-1: #{scale-color($blue, $lightness: -10%)};
--color-violet-dark-1: #{scale-color($violet, $lightness: -10%)};
--color-purple-dark-1: #{scale-color($purple, $lightness: -10%)};
--color-pink-dark-1: #{scale-color($pink, $lightness: -10%)};
--color-brown-dark-1: #{scale-color($brown, $lightness: -10%)};
--color-black-dark-1: #{scale-color($black, $lightness: -10%)};
/* dark 2 variants - produced via Sass scale-color(color, $lightness: -20%) */
--color-red-dark-2: #{scale-color($red, $lightness: -20%)};
--color-orange-dark-2: #{scale-color($orange, $lightness: -20%)};
--color-yellow-dark-2: #{scale-color($yellow, $lightness: -20%)};
--color-olive-dark-2: #{scale-color($olive, $lightness: -20%)};
--color-green-dark-2: #{scale-color($green, $lightness: -20%)};
--color-teal-dark-2: #{scale-color($teal, $lightness: -20%)};
--color-blue-dark-2: #{scale-color($blue, $lightness: -20%)};
--color-violet-dark-2: #{scale-color($violet, $lightness: -20%)};
--color-purple-dark-2: #{scale-color($purple, $lightness: -20%)};
--color-pink-dark-2: #{scale-color($pink, $lightness: -20%)};
--color-brown-dark-2: #{scale-color($brown, $lightness: -20%)};
--color-black-dark-2: #{scale-color($black, $lightness: -20%)};
/* ansi colors used for actions console and console files */
--color-ansi-black: #1e2327;
--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: #424851;
--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);
/* other colors */
--color-grey: #384149;
--color-grey-light: #818f9e;
--color-gold: #b1983b;
--color-white: #ffffff;
--color-diff-added-linenum-bg: #274227;
--color-diff-added-row-bg: #203224;
--color-diff-added-row-border: #314a37;
--color-diff-added-word-bg: #3c653c;
--color-diff-moved-row-bg: #818044;
--color-diff-moved-row-border: #bcca6f;
--color-diff-removed-linenum-bg: #482121;
--color-diff-removed-row-bg: #301e1e;
--color-diff-removed-row-border: #634343;
--color-diff-removed-word-bg: #6f3333;
--color-diff-inactive: #22282d;
--color-error-border: #a04141;
--color-error-bg: #522;
--color-error-bg-active: #744;
--color-error-bg-hover: #633;
--color-error-text: #f9cbcb;
--color-success-border: #458a57;
--color-success-bg: #284034;
--color-success-text: #6cc664;
--color-warning-border: #bb9d00;
--color-warning-bg: #3a3a30;
--color-warning-text: #fbbd08;
--color-info-border: #306090;
--color-info-bg: #26354c;
--color-info-text: #38a8e8;
--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;
--color-git: #f05133;
/* target-based colors */
--color-body: #1a1a1a;
--color-box-header: #0f3147;
--color-box-body: var(--color-menu);
--color-box-body-highlight: #505050;
--color-text-dark: #f7f8f9;
--color-text: #d0d5da;
--color-text-light: #bcc3cb;
--color-text-light-1: #a5afb9;
--color-text-light-2: #8f9ba8;
--color-text-light-3: #788797;
--color-footer: var(--color-nav-bg);
--color-timeline: #343c44;
--color-input-text: var(--color-text-dark);
--color-input-background: #2a2a2a;
--color-input-toggle-background: #2e353c;
--color-input-border: var(--color-secondary);
--color-input-border-hover: var(--color-secondary-dark-1);
--color-light: #00001728;
--color-light-mimic-enabled: rgba(0, 0, 0, calc(40 / 255 * 222 / 255 / var(--opacity-disabled)));
--color-light-border: #e8f3ff28;
--color-hover: #1a1a1a;
--color-active: #e8f3ff24;
--color-menu: #2a2a2a;
--color-card: #2a2a2a;
--color-markup-table-row: #e8f3ff0f;
--color-markup-code-block: #e8f3ff12;
--color-markup-code-inline: #e8f3ff28;
--color-button: #1a1a1a;
--color-code-bg: #111;
--color-shadow: #00001758;
--color-secondary-bg: #2a3137;
--color-expand-button: #2f363d;
--color-placeholder-text: var(--color-text-light-3);
--color-editor-line-highlight: var(--color-primary-light-5);
--color-project-board-bg: var(--color-secondary-light-2);
--color-caret: var(--color-text);
/* should ideally be --color-text-dark, see #15651 */
--color-reaction-bg: #e8f3ff12;
--color-reaction-hover-bg: var(--color-primary-light-4);
--color-reaction-active-bg: var(--color-primary-light-5);
--color-tooltip-text: var(--color-text);
--color-tooltip-bg: #315875;
--color-nav-bg: #333;
--color-nav-hover-bg: var(--color-secondary-light-4);
--color-nav-text: var(--color-text);
--color-secondary-nav-bg: #0c1a28;
--color-label-text: var(--color-text);
--color-label-bg: #8585854b;
--color-label-hover-bg: #999999a0;
--color-label-active-bg: #b8b8b8ff;
--color-accent: var(--color-primary-light-1);
--color-small-accent: var(--color-primary-light-5);
--color-highlight-fg: #87651e;
--color-highlight-bg: #352c1c;
--color-overlay-backdrop: #080808c0;
accent-color: var(--color-accent);
color-scheme: dark;
}
/* 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%) hue-rotate(180deg);
}
nav#navbar {
border-bottom: 5px #0a6682 solid;
}
.secondary-nav {
--color-button: #2a2a2a;
}
.repo-button-row {
--color-primary: var(--color-box-header);
--color-primary-hover: #23455f;
--color-primary-contrast: var(--color-text);
}
.ui.attached.segment {
--color-input-background: #1a1a1a;
}
.ui.table > tbody {
background-color: var(--color-hover);
}
.repository #commits-table.ui.basic.striped.table tbody tr:nth-child(2n),
.ui.basic.striped.table > tbody > tr:nth-child(2n),
.ui.striped.table > tr:nth-child(2n),
.ui.striped.table > tbody > tr:nth-child(2n) {
background-color: #111111 !important;
}