/**
 * Undersigned — automatic dark mode.
 *
 * Follows the reader's system setting. To turn it off, add this to a child
 * theme or a code snippets plugin:  add_filter( 'undersigned_dark_mode', '__return_false' );
 */

@media (prefers-color-scheme: dark) {
	html:root {
		color-scheme: dark;
		--wp--preset--color--desk: #0b1222;
		--wp--preset--color--desk-text: #eef1f6;
		--wp--preset--color--desk-subtle: #9aa6bc;
		--wp--preset--color--paper: #151d2f;
		--wp--preset--color--ink: #e4e8ef;
		--wp--preset--color--ink-subtle: #a4aec0;
		--wp--preset--color--rule: #2a3549;
		--us-sheet-shadow:
			0 0 0 1px rgb(255 255 255 / 0.05),
			0 30px 70px -40px rgb(0 0 0 / 0.9);
		--us-error: #ff9f94;
	}

	.wp-block-undersigned-share .us-share-button {
		box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
	}
}
