/* Registered so the sky can fade between themes instead of jumping */
@property --sky-a {
	syntax: "<color>";
	inherits: true;
	initial-value: #43cea2;
}

@property --sky-b {
	syntax: "<color>";
	inherits: true;
	initial-value: #185a9d;
}

@property --ground {
	syntax: "<color>";
	inherits: true;
	initial-value: #2d3a4a;
}

/* Day palette, also kept on surfaces that light themselves at night */
:root,
.self-lit {
	--sky-a: #43cea2;
	--sky-b: #185a9d;
	--ground: #2d3a4a;

	--brand-a: #43cea2;
	--brand-b: #185a9d;

	--ink: #2d3a4a;
	--white: #fff;
	--grey: #8a97a8;
	--silver: #e8eef4;
	--paper: #f4f7fa;
	--mist: #dfe7ee;
	--fog: #c9d6e3;
	--bar: #eef3f7;

	--yellow: #ffc93c;
	--gold: #ffb020;
	--amber: #ff9f1c;
	--orange: #ff7b54;
	--red: #ff6b6b;
	--pink: #f8468a;
	--violet: #8e7dff;
	--indigo: #6c5ce7;
	--blue: #5c7cfa;
	--teal: #43cea2;
	--brick: #e2583e;
	--brick-edge: #b8432f;

	--leaf-dark: #2f9e6e;
	--leaf: #3fbf7f;
	--leaf-light: #6ee0a8;
	--pine-dark: #2a8c63;
	--pine: #35a874;
	--pine-light: #4cc489;
	--trunk: #8a5a3c;
	--wood: #c98b52;
	--yard: #cdd5c8;
	--grass-dark: #4a9a5a;

	--fur: #a8876a;
	--fur-dark: #7d6049;
	--fur-light: #efe4d6;
	--nose: #d98c8c;
	--deer: #b97a46;
	--deer-light: #f3e3cb;
	--deer-dark: #8a5733;
	--cow: #f3f1ec;
	--cow-patch: #2f3033;
	--horse: #8a5636;
	--horse-dark: #3b2418;

	--skin-1: #f2c299;
	--skin-2: #e0a878;
	--skin-3: #c68642;
	--skin-4: #8d5524;

	--glass: #bfe9ff;
	--window: #bfe9ff;
	--lamp: #ffe9a8;
	--bulb: #e8eef4;
	--headlight: #fff;
	--signal: #ff6b6b;
	--signal-amber: #ff7b54;

	--river: #2a6fb0;
	--ripple: #eaf8ff;

	--sun: #ffd56b;
	--sun-ray: #ffe08a;
	--moon: #f6f1d8;
	--moon-crater: #ddd6b4;
	--star: #fff8e1;

	--city-lights: 0.55;
}

/* Midnight palette */
[data-theme="night"] {
	--sky-a: #1b2b5e;
	--sky-b: #070e26;
	--ground: #0b1019;

	--brand-a: #2a8a70;
	--brand-b: #123f70;

	--ink: #141b26;
	--white: #9aa8c2;
	--grey: #4a5466;
	--silver: #6f7a8e;
	--paper: #7d889c;
	--mist: #66718a;
	--fog: #586378;
	--bar: #77839a;

	--yellow: #b8923a;
	--gold: #a97d2a;
	--amber: #a8702a;
	--orange: #a85a48;
	--red: #a3484f;
	--pink: #93345f;
	--violet: #4f4a9c;
	--indigo: #3b3484;
	--blue: #36488f;
	--teal: #237561;
	--brick: #7e3a2f;
	--brick-edge: #5e2a22;

	--leaf-dark: #1b4d3e;
	--leaf: #24624c;
	--leaf-light: #3a8a6a;
	--pine-dark: #17463a;
	--pine: #1d5646;
	--pine-light: #276b55;
	--trunk: #45302a;
	--wood: #6b4c35;
	--yard: transparent;
	--grass-dark: #3f7d5e;

	--fur: #5e4c3d;
	--fur-dark: #45372c;
	--fur-light: #8c8378;
	--nose: #7d5656;
	--deer: #5f4330;
	--deer-light: #8a8070;
	--deer-dark: #452f20;
	--cow: #8d929c;
	--cow-patch: #1b1d22;
	--horse: #4b3020;
	--horse-dark: #20140c;

	--skin-1: #a8846a;
	--skin-2: #9a7456;
	--skin-3: #85592f;
	--skin-4: #5a3619;

	--glass: #33476a;
	--window: #ffd27a;
	--lamp: #ffd27a;
	--bulb: #ffe7a0;
	--headlight: #fff4c2;

	--river: #102b52;
	--ripple: #8fb0d9;

	--city-lights: 1;
}
