/*
 * cumsek theme for Forgejo, after branding/: black ground, white type,
 * the #a3401a dot as the accent and #777777 for quiet text.
 *
 * It is Forgejo's own dark theme with its blue-grey ramp swapped for
 * neutral greys and its orange swapped for the brand accent. Every surface
 * in that theme is drawn from the --steel-* ramp, so redefining the ramp
 * recolours the whole UI without restating each variable.
 */
@import url("./theme-forgejo-dark.css");

:root {
	--steel-900: #000000;
	--steel-850: #080808;
	--steel-800: #0d0d0d;
	--steel-750: #141414;
	--steel-700: #1b1b1b;
	--steel-650: #232323;
	--steel-600: #2d2d2d;
	--steel-550: #383838;
	--steel-500: #454545;
	--steel-450: #545454;
	--steel-400: #666666;
	--steel-350: #777777;
	--steel-300: #8a8a8a;
	--steel-250: #a0a0a0;
	--steel-200: #b8b8b8;
	--steel-150: #d1d1d1;
	--steel-100: #e8e8e8;

	/*
	 * --color-primary is both the link colour and the fill of primary
	 * buttons. The accent is too dark to read on the black ground, so text
	 * gets the lifted accent-text and filled controls get the accent
	 * itself below, under white text.
	 *
	 * In Forgejo's dark themes "dark-N" steps get lighter and "light-N"
	 * steps get darker.
	 */
	--color-primary: #e68661;
	--color-primary-contrast: #ffffff;
	--color-primary-dark-1: #ea9a7b;
	--color-primary-dark-2: #edab91;
	--color-primary-dark-3: #f1bca7;
	--color-primary-dark-4: #f5d0c1;
	--color-primary-light-1: #df6435;
	--color-primary-light-2: #ca4f20;
	--color-primary-light-3: #b4471d;
	--color-primary-light-4: #a3401a;
	--color-primary-light-5: #a3401a;
	--color-primary-light-6: #843415;
	--color-primary-light-7: #652810;
	--color-primary-alpha-10: #a3401a19;
	--color-primary-alpha-20: #a3401a33;
	--color-primary-alpha-30: #a3401a4b;
	--color-primary-alpha-40: #a3401a66;
	--color-primary-alpha-50: #a3401a80;
	--color-primary-alpha-60: #a3401a99;
	--color-primary-alpha-70: #a3401ab3;
	--color-primary-alpha-80: #a3401acc;
	--color-primary-alpha-90: #a3401ae1;

	--color-secondary-alpha-10: #2d2d2d19;
	--color-secondary-alpha-20: #2d2d2d33;
	--color-secondary-alpha-30: #2d2d2d4b;
	--color-secondary-alpha-40: #2d2d2d66;
	--color-secondary-alpha-50: #2d2d2d80;
	--color-secondary-alpha-60: #2d2d2d99;
	--color-secondary-alpha-70: #2d2d2db3;
	--color-secondary-alpha-80: #2d2d2dcc;
	--color-secondary-alpha-90: #2d2d2de1;

	--color-header-wrapper-transparent: #1b1b1b00;
	--color-expand-button: #2d2d2d;
	--color-console-bg: #0d0d0d;
	--color-console-border: #2d2d2d;
	--color-console-menu-bg: #1b1b1b;
	--color-console-menu-border: #383838;
	--color-console-active-bg: #2d2d2d;
	--color-selection-bg: #a3401a;
	--color-selection-fg: #ffffff;
}

/*
 * Filled primary controls take the brand accent. These rules read
 * --color-primary on the element itself, so overriding it here changes
 * the fill and leaves links everywhere else on the lighter tint. Basic
 * (outlined) variants draw their text in the primary colour, so they keep
 * the tint.
 */
.ui.primary.button:not(.basic),
.ui.primary.buttons:not(.basic) .button,
.button.primary:not(.basic),
.ui.ui.ui.primary.label:not(.basic),
.ui.primary.labels .label,
.primary.sha.label,
.ui.toggle.checkbox input:checked ~ label,
.tribute-container li,
.suggestions li {
	--color-primary: #a3401a;
	--color-primary-hover: #b9491d;
	--color-primary-active: #843415;
	--color-primary-dark-2: #a3401a;
	--color-primary-dark-3: #b9491d;
}
