zulip/web/styles/dark_theme.css

1093 lines
27 KiB
CSS
Raw Normal View History

@import url("flatpickr/dist/themes/dark.css");
%dark-theme {
color-scheme: dark;
.placeholder {
color: hsl(0deg 0% 55%);
opacity: 1;
}
& textarea::placeholder,
input::placeholder {
@extend .placeholder;
}
.demo-organization-warning {
background-color: hsl(0deg 60% 19%);
border-color: hsl(3deg 73% 74% / 40%);
color: hsl(3deg 73% 80%);
.convert-demo-organization-button {
&:focus {
color: hsl(200deg 79% 66%);
outline-color: hsl(200deg 79% 66%);
}
}
}
& a:hover {
color: hsl(200deg 79% 66%);
& code {
color: hsl(200deg 79% 66%);
}
}
2023-10-30 16:11:34 +01:00
& ul.dm-list,
& ul.filters {
2023-05-13 08:30:13 +02:00
color: hsl(0deg 0% 100% / 80%);
& a:hover {
color: inherit;
}
.has-unmuted-mentions .unread_mention_info {
color: hsl(236deg 33% 90%);
}
& li.muted_topic,
li.out_of_home_view {
color: hsl(236deg 33% 90%/50%);
}
& li.out_of_home_view {
&:hover {
color: hsl(236deg 33% 90%/ 75%);
}
}
}
/************************* MODAL DARK THEME *******************/
.user-profile-manage-own-edit-button,
.user-profile-manage-others-edit-button,
.user-profile-manage-own-copy-link-button {
color: hsl(200deg 100% 50%);
cursor: pointer;
&:hover {
color: hsl(200deg 79% 66%);
}
}
.modal__content.simplebar-scrollable-y + .modal__footer {
border-top: 1px solid hsl(0deg 0% 100% / 20%);
}
.modal__close {
&::before {
color: hsl(236deg 33% 90%);
}
&:hover {
background: hsl(0deg 0% 91% / 10%);
}
}
#subscription_overlay #stream-creation .settings-sticky-footer,
#groups_overlay #user-group-creation .settings-sticky-footer {
box-shadow: inset 0 1px 0 hsl(0deg 0% 0% / 20%);
}
.enter_sends_choices {
color: hsl(236deg 33% 90%);
& kbd {
background-color: hsl(211deg 29% 14%);
border-color: hsl(211deg 29% 14%);
text-shadow: none;
color: hsl(236deg 33% 90%);
}
.enter_sends_minor {
color: hsl(0deg 0% 80%);
}
}
& table.table-striped thead.table-sticky-headers th {
background-color: hsl(0deg 0% 0%);
&[data-sort]:hover {
background-color: hsl(211deg 29% 14%) !important;
}
}
/* Extend the 'light-border' TippyJS theme, which is intended for
popovers/menus that should use default background colors, to use
our dark theme colors in Zulip's dark theme.
*/
.tippy-box[data-theme~="light-border"] {
.tippy-content a,
p {
color: hsl(236deg 33% 90%);
}
}
.tippy-box:not([data-theme]) {
background: hsl(0deg 0% 0%);
&[data-placement^="top"] > .tippy-arrow::before {
border-top-color: hsl(0deg 0% 0%);
}
&[data-placement^="bottom"] > .tippy-arrow::before {
border-bottom-color: hsl(0deg 0% 0%);
}
&[data-placement^="left"] > .tippy-arrow::before {
border-left-color: hsl(0deg 0% 0%);
}
&[data-placement^="right"] > .tippy-arrow::before {
border-right-color: hsl(0deg 0% 0%);
}
}
.tippy-box[data-theme="dropdown-widget"] {
background-color: hsl(240deg 5% 16%);
border: 1px solid hsl(0deg 0% 0%);
box-shadow:
0 7px 13px hsl(0deg 0% 0% / 35%),
0 5px 8px hsl(0deg 0% 0% / 32%),
0 2px 4px hsl(0deg 0% 0% / 20%);
}
#navbar-middle .column-middle-inner,
.header,
#message_view_header {
background-color: var(--color-background-navbar);
}
#scroll-to-bottom-button-container {
background: transparent;
& span {
color: hsl(0deg 0% 27%);
}
}
.main-view-banner {
.above_compose_banner_action_link {
color: hsl(200deg 100% 50%);
}
&.success {
background-color: hsl(147deg 100% 8%);
border-color: hsl(149deg 48% 52% / 40%);
color: hsl(147deg 51% 80%);
.main-view-banner-close-button {
color: hsl(147deg 51% 55% / 50%);
&:hover {
color: hsl(147deg 51% 55%);
}
&:active {
color: hsl(147deg 51% 55% / 75%);
}
}
.main-view-banner-action-button {
background-color: hsl(147deg 51% 55% / 10%);
color: inherit;
&:hover {
background-color: hsl(147deg 51% 55% / 15%);
}
&:active {
background-color: hsl(147deg 51% 55% / 20%);
}
}
}
&.warning,
&.warning-style {
background-color: hsl(53deg 100% 11%);
border-color: hsl(38deg 44% 60% / 40%);
color: hsl(50deg 45% 80%);
.main-view-banner-close-button {
color: hsl(50deg 45% 61% / 50%);
&:hover {
color: hsl(50deg 45% 61%);
}
&:active {
color: hsl(50deg 45% 61% / 75%);
}
}
.main-view-banner-action-button {
background-color: hsl(50deg 45% 61% / 10%);
color: hsl(50deg 45% 61%);
&:hover {
background-color: hsl(50deg 45% 61% / 15%);
}
&:active {
background-color: hsl(50deg 45% 61% / 20%);
}
}
}
&.error {
background-color: hsl(0deg 60% 19%);
border-color: hsl(3deg 73% 74% / 40%);
color: hsl(3deg 73% 80%);
.main-view-banner-close-button {
color: hsl(3deg 73% 74% / 50%);
&:hover {
color: hsl(3deg 73% 74%);
}
&:active {
color: hsl(3deg 73% 74% / 75%);
}
}
.main-view-banner-action-button {
background-color: hsl(3deg 73% 74% / 10%);
color: hsl(3deg 73% 74%);
&:hover {
background: hsl(3deg 73% 74% / 15%);
}
&:active {
background: hsl(3deg 73% 74% / 20%);
}
}
}
&.info {
background-color: hsl(204deg 100% 12%);
border-color: hsl(205deg 58% 69% / 40%);
position: relative;
color: hsl(205deg 58% 80%);
.main-view-banner-close-button {
color: hsl(205deg 58% 69% / 50%);
&:hover {
color: hsl(205deg 58% 69%);
}
&:active {
color: hsl(205deg 58% 69% / 75%);
}
}
.main-view-banner-action-button,
.upload_banner_cancel_button {
background-color: hsl(205deg 58% 69% / 10%);
border-color: transparent;
color: hsl(205deg 58% 69%);
&:hover {
background-color: hsl(205deg 58% 69% / 15%);
}
&:active {
background-color: hsl(205deg 58% 69% / 20%);
}
}
}
}
.upload_banner {
.moving_bar {
background: hsl(204deg 63% 18%);
}
}
#message-content-container {
&:has(textarea.new_message_textarea.invalid),
&:has(textarea.new_message_textarea.invalid:focus) {
border-color: hsl(3deg 73% 74%);
box-shadow: 0 0 2px hsl(3deg 73% 74%);
}
}
.stream_name_search_section,
.group_name_search_section {
border-color: hsl(0deg 0% 0% / 20%);
}
.new-style label.checkbox input[type="checkbox"] ~ span {
border-color: hsl(0deg 0% 100% / 40%);
}
#stream-actions-menu-popover .sp-container {
background-color: transparent;
& button {
background-color: hsl(208deg 35% 11%);
border: 1px solid hsl(210deg 36% 4%);
color: hsl(236deg 31% 90%);
}
.sp-picker-container {
border-left: solid 1px hsl(210deg 36% 4%);
}
}
.stream_header_colorblock.disabled {
filter: brightness(50%);
}
/* this one is because in the app we have blue and in dark-theme it should be white. */
.popover a {
color: inherit;
}
/* these are converting grey things to "new grey" */
:disabled,
input:not([type="radio"]):read-only,
textarea:read-only,
#organization-permissions .dropdown-widget-button:disabled,
#organization-settings .dropdown-widget-button:disabled,
#stream-advanced-configurations .dropdown-widget-button:disabled {
color: inherit;
opacity: 0.5;
}
.rendered_markdown button,
.new-style .button {
background-color: hsl(0deg 0% 0% / 20%);
&:not(
.sea-green,
.btn-danger,
.btn-warning,
.btn-link,
.poll-vote,
button.poll-option,
button.add-task
) {
border-color: hsl(0deg 0% 0% / 60%);
color: inherit;
}
&.btn-link {
border-color: hsl(0deg 0% 0% / 60%);
color: hsl(200deg 79% 66%);
}
&:hover,
&:focus,
&:active {
background-color: hsl(0deg 0% 0% / 15%);
}
}
.rendered_markdown .message_inline_image {
background: hsl(0deg 0% 100% / 3%);
&:hover {
background: hsl(0deg 0% 100% / 15%);
}
}
& input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
input[type="date"],
textarea,
.new-style .tab-switcher .ind-tab:not(.selected),
select,
.pill-container,
.user-status-content-wrapper,
#custom-expiration-time-input,
#organization-permissions .dropdown-widget-button,
#organization-settings .dropdown-widget-button,
#stream-advanced-configurations .dropdown-widget-button,
#compose_recipient_box {
background-color: hsl(0deg 0% 0% / 20%);
border-color: hsl(0deg 0% 0% / 60%);
color: inherit;
}
.popover-filter-input-wrapper .popover-filter-input:focus {
background-color: hsl(225deg 6% 7%);
border: 1px solid hsl(0deg 0% 100% / 50%);
box-shadow: 0 0 5px hsl(0deg 0% 100% / 40%);
}
.dropdown-widget-button {
border-color: hsl(0deg 0% 0% / 60%);
background-color: hsl(0deg 0% 0% / 20%);
}
& select option {
background-color: var(--color-background);
color: hsl(236deg 33% 90%);
}
.pill-container {
border-style: solid;
border-width: 1px;
}
.settings-profile-user-field {
border-color: hsl(3deg 73% 74%);
}
#compose-direct-recipient .pill-container {
background-color: hsl(0deg 0% 0% / 20%);
}
#searchbox {
/* Light theme shows hover mostly through box-shadow,
and dark theme shows it mostly through changing color
of the search button. */
.navbar-search:not(.expanded)
#searchbox-input-container:hover
.search_icon {
opacity: 0.75;
}
/* Colors are inherited in light theme */
.navbar-search .search_icon,
.navbar-search .search_close_button {
color: hsl(0deg 0% 78%);
}
}
.new-style .button.no-style {
background-color: transparent;
}
.create_user_group_plus_button,
.create_stream_plus_button {
color: hsl(0deg 0% 100%);
background-color: hsl(0deg 0% 0% / 20%);
border-color: hsl(0deg 0% 0% / 60%);
}
.new-style .tab-switcher .ind-tab.selected,
.table-striped thead th {
background-color: hsl(0deg 0% 0% / 50%);
border-color: hsl(0deg 0% 0% / 90%);
}
.ind-tab.disabled {
color: hsl(0deg 0% 42% / 90%) !important;
}
& input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
textarea:focus,
textarea.new_message_textarea:focus,
#compose_recipient_box:focus {
border-color: hsl(0deg 0% 0% / 90%);
}
2017-11-22 21:34:04 +01:00
.compose-control-buttons-container .divider {
color: hsl(236deg 33% 90% / 25%);
}
.compose_control_button:hover {
color: inherit;
}
#compose-content {
background-color: hsl(228deg 11% 17%);
border-color: hsl(0deg 0% 0% / 60%);
}
.compose_table .stream-selection-header-colorblock {
border-color: hsl(240deg 11% 5%);
}
/* Not that .message_row (below) needs to be more contrast on dark theme */
#compose-content,
.message-feed .recipient_row,
.message_row,
.overlay-message-row .overlay-message-info-box,
.preview_message_area {
2023-05-13 08:30:13 +02:00
border-color: hsl(0deg 0% 0% / 40%);
}
.preview_message_area {
background-color: hsl(0deg 0% 0% / 20%);
}
.top-navbar-border {
border-color: hsl(0deg 0% 0% / 60%);
}
& div.overlay,
#subscription_overlay
#stream-creation
#stream_creation_form
#stream_creating_indicator:not(:empty),
#groups_overlay
#user-group-creation
#user_group_creation_form
#user_group_creating_indicator:not(:empty) {
background-color: hsl(212deg 28% 8% / 75%);
}
& div.overlay .flex.overlay-content > div,
#settings_page,
.informational-overlays .overlay-content {
box-shadow: 0 0 30px hsl(212deg 32% 7%);
}
#draft_overlay,
#scheduled_messages_overlay_container,
#message-edit-history-overlay-container {
.flex.overlay-content > div {
box-shadow: 0 0 30px hsl(213deg 31% 0%);
background-color: var(--color-background);
}
}
/* Undo default dropdown background color for dark mode. */
#searchbox_form .dropdown-menu ul {
background-color: unset;
}
.popover hr,
hr {
color: hsl(212deg 28% 18%);
opacity: 0.2;
}
.narrow_to_compose_recipients,
.clear_search_button,
.clear_search_button:focus,
.clear_search_button:active,
.clear_search_button:disabled:hover,
.close {
color: hsl(236deg 33% 80%);
}
.clear_search_button:hover {
color: hsl(0deg 0% 100%);
}
.zoom-in {
#topics_header {
background-color: var(--color-background);
}
}
#topics_header {
.show-all-streams {
color: hsl(0deg 0% 100% / 75%);
opacity: 0.75;
}
}
.group-row.active,
.stream-row.active {
background-color: hsl(0deg 0% 0% / 20%);
}
.stream-row,
.group-row {
/* This is for coluring the plus sign SVGs in stream-list UI */
/* public */
.check:not(.checked) svg {
fill: hsl(218deg 14% 33%);
}
/* private */
.disabled svg {
opacity: 0.5;
}
/* public :hover */
.check:not(.checked, .disabled):hover svg {
fill: hsl(230deg 11% 67%);
}
}
.recent_view_participant_overflow {
color: hsl(0deg 0% 100%) !important;
background-color: hsl(211deg 18% 25%) !important;
}
.recent_view_container #recent_view_table .btn-recent-filters {
background-color: hsl(211deg 29% 14%);
border-color: hsl(0deg 0% 0%);
color: hsl(0deg 0% 100%);
&:focus {
background-color: hsl(0deg 0% 0% / 50%) !important;
outline: 0;
}
&.fake_disabled_button {
cursor: not-allowed;
opacity: 0.5;
&:hover {
background-color: hsl(0deg 0% 0% / 50%);
border-color: hsl(0deg 0% 0%);
}
}
}
.btn-recent-selected,
2023-09-06 23:38:15 +02:00
#recent_view_table thead th {
background-color: hsl(228deg 11% 17%) !important;
&[data-sort]:hover {
background-color: hsl(211deg 29% 14%) !important;
}
}
2023-09-06 23:38:15 +02:00
#recent_view_table {
.fa-envelope,
.fa-group {
opacity: 0.7;
}
}
.drafts-container .header-body .delete-drafts-group > *:focus {
background-color: hsl(228deg 11% 17%);
}
& .drafts-container .drafts-header,
.nav > li > a:focus,
.nav > li > a:hover,
.subscriptions-container .subscriptions-header,
.user-groups-container .user-groups-header,
.overlay-messages-header,
.grey-box,
.white-box,
.stream-email,
#generate-integration-url-modal .integration-url,
#settings_page .settings-header,
#settings_page .sidebar li.active,
#settings_page .sidebar-wrapper .tab-container,
.table-striped tbody tr:nth-child(odd) th,
#subscription_overlay #stream-creation .settings-sticky-footer,
#groups_overlay #user-group-creation .settings-sticky-footer {
border-color: hsl(0deg 0% 0% / 20%);
background-color: hsl(0deg 0% 0% / 20%);
}
.table-striped tbody tr:nth-child(even) td {
border-color: hsl(0deg 0% 0% / 20%);
background-color: color-mix(
in srgb,
hsl(0deg 0% 0%) 20%,
var(--color-background-modal)
);
}
.table-striped tbody tr:nth-child(odd) td {
background-color: var(--color-background-modal);
}
.user-groups-container .right .display-type,
.subscriptions-container .right .display-type,
.stream-row,
.group-row,
.subscriptions-container .left .list-toggler-container,
.user-groups-container .left .list-toggler-container,
.subscriptions-container .left,
.user-groups-container .left,
.subscriber-list-box,
.subscriber-list-box .subscriber_list_container .subscriber-list td,
.member-list-box,
.member-list-box .member_list_container .member-list td,
#subscription_overlay .subsection-parent div,
#subscription_overlay .settings-radio-input-parent,
#settings_page .sidebar-wrapper,
#settings_page .sidebar-wrapper *,
#recent_view_table table td {
border-color: hsl(0deg 0% 0% / 20%);
}
.overlay-message-row
.message_header_private_message
.message_label_clickable {
padding: 4px 6px 3px;
color: inherit;
}
.nav-list > li > a {
text-shadow: none;
}
#message-edit-history-overlay-container {
.message_edit_history_content {
.highlight_text_inserted {
color: hsl(122deg 100% 81%);
background-color: hsl(120deg 64% 95% / 30%);
}
.highlight_text_deleted {
color: hsl(0deg 90% 67%);
background-color: hsl(7deg 54% 62% / 38%);
}
}
}
& time {
background: hsl(0deg 0% 0% / 20%);
box-shadow: 0 0 0 1px hsl(0deg 0% 0% / 40%);
}
.upgrade-tip,
.upgrade-or-sponsorship-tip,
.tip,
.invite-stream-notice {
color: inherit;
background-color: hsl(46deg 28% 38% / 27%);
border: 1px solid hsl(49deg 38% 46%);
}
#request-progress-status-banner {
background-color: hsl(212deg 32% 14%);
.alert-content {
color: hsl(236deg 33% 90%);
}
}
.alert.home-error-bar {
color: hsl(236deg 33% 90%);
background-color: hsl(35deg 84% 62% / 25%);
border: 1px solid hsl(11deg 46% 54%);
}
.alert {
text-shadow: none;
.close {
color: inherit;
opacity: 0.8;
}
.close:hover {
opacity: 1;
}
}
.alert.alert-success {
color: inherit;
background-color: hsl(161deg 60% 46% / 20%);
border-color: hsl(165deg 68% 37%);
}
.alert.alert-info {
color: hsl(205deg 58% 80%);
background-color: hsl(204deg 100% 12%);
border-color: hsl(205deg 58% 69% / 40%);
}
.alert.alert-error,
.alert.alert-danger {
background-color: hsl(318deg 12% 21%);
color: inherit;
border: 1px solid hsl(0deg 75% 65%);
}
.alert-box .alert,
.alert-box .stacktrace,
.alert.alert-error {
background-color: hsl(318deg 12% 21%);
color: inherit;
border: 1px solid hsl(0deg 75% 65%);
}
.alert-box {
.alert.alert-error::before {
color: hsl(0deg 75% 65%);
}
.stacktrace {
color: hsl(314deg 22% 85%);
.expand {
color: hsl(318deg 14% 36%);
}
.subtle {
color: hsl(314deg 19% 63%);
}
.stacktrace-more-info {
background-color: hsl(312deg 7% 14%);
}
.code-context {
color: hsl(314deg 27% 82%);
background-color: hsl(312deg 7% 14%);
box-shadow:
inset 0 11px 10px -10px hsl(0deg 0% 6%),
inset 0 -11px 10px -10px hsl(0deg 0% 6%);
.line-number {
color: hsl(318deg 14% 44%);
}
.focus-line {
background-color: hsl(307deg 9% 19%);
}
}
}
}
#user-profile-modal {
#default-section {
.default-field {
.name {
color: hsl(236deg 33% 90%);
}
}
}
#content {
.field-section {
.name {
color: hsl(236deg 33% 90%);
}
}
}
.subscription-group-list,
.subscription-stream-list,
.subscription-stream-list .user-stream-list tr,
.subscription-group-list .user-group-list tr {
border-color: hsl(0deg 0% 0% / 40%);
}
.manage-profile-tab-footer {
&.modal__footer_wrapper {
border-top: 1px solid hsl(0deg 0% 100% / 20%);
}
}
}
.top-messages-logo {
opacity: 0.7;
}
.history-limited-box,
.all-messages-search-caution {
background-color: hsl(0deg 0% 0% / 20%);
}
#feedback_container {
background-color: hsl(212deg 25% 15%);
border-color: hsl(0deg 0% 0% / 50%);
color: inherit;
& a:hover {
color: hsl(0deg 0% 100%);
}
}
/* Search highlight used in both topics and rendered_markdown */
.highlight {
background-color: hsl(51deg 100% 23%);
}
.streams_subheader {
color: hsl(240deg 11% 85%);
& span::before,
span::after {
border-color: hsl(240deg 11% 85%);
}
}
.sub-unsub-message span::before,
.sub-unsub-message span::after,
.date_row span::before,
.date_row span::after {
opacity: 0.15;
border-bottom: 1px solid hsl(0deg 0% 100%);
}
.searching-for-more-topics img {
filter: invert(100%);
}
.simplebar-track .simplebar-scrollbar::before {
background-color: hsl(0deg 0% 100%);
box-shadow: 0 0 0 1px hsl(0deg 0% 0% / 33%);
}
.collapse-settings-btn:hover {
color: hsl(200deg 79% 66%);
}
#request-progress-status-banner .loading-indicator,
#loading_older_messages_indicator,
#recent_view_loading_messages_indicator {
& path {
fill: hsl(0deg 0% 100%);
}
}
.small_square_button {
&.small_square_x {
background-color: hsl(0deg 0% 95%);
color: hsl(0deg 0% 42%);
&:hover {
color: hsl(0deg 0% 18%);
}
}
}
& a:not(:active):focus,
button:focus,
.new-style label.checkbox input[type="checkbox"]:focus ~ span,
i.fa:focus,
i.zulip-icon:focus,
[role="button"]:focus {
outline-color: hsl(0deg 0% 67%);
}
.animated-purple-button:focus {
box-shadow: 0 1px 4px 0 hsl(0deg 0% 100% / 66.6%);
}
.color_animated_button {
background-color: hsl(211deg 29% 14%);
* {
color: hsl(0deg 0% 100%);
}
&:hover {
background-color: hsl(240deg 96% 68%);
}
}
/* Widgets: Poll */
.poll-widget {
.poll-vote {
color: hsl(185deg 35% 65%);
border-color: hsl(185deg 35% 35%);
&:hover {
color: hsl(185deg 50% 70%);
border-color: hsl(185deg 40% 40%);
background-color: hsl(185deg 20% 20%);
}
&:focus {
color: hsl(185deg 50% 65%);
border-color: hsl(185deg 40% 50%);
background-color: hsl(185deg 40% 35%);
}
}
.poll-names {
color: hsl(236deg 15% 70%);
}
}
/* Widgets: Todo */
.todo-widget {
& label.checkbox {
& input[type="checkbox"] {
~ span {
border-color: hsl(185deg 40% 45%);
opacity: 0.7;
}
&:hover ~ span {
background-color: hsl(185deg 20% 20%);
border-color: hsl(185deg 40% 35%);
}
&:checked ~ span {
background-color: hsl(185deg 40% 45%);
}
&:focus ~ span {
outline-color: hsl(0deg 0% 100% / 0%);
}
}
}
}
.panel_user_list > .pill-container,
.stream_creator_details > .display_only_pill {
&:hover {
color: inherit;
}
> .pill {
&:focus,
&:hover {
color: inherit;
}
}
}
/* Originally the icon inherits the color of label, but when the setting
is disabled, the color of the label is changed and thus the icon becomes
too light. So, we set the color explicitly to original color of label to
keep the color of the icon same even when the setting is disabled. */
#id_realm_enable_spectator_access_label a {
color: hsl(236deg 33% 90%);
}
#stream-specific-notify-table .unmute_stream {
&:hover {
color: hsl(0deg 0% 100%);
}
}
#read_receipts_modal .read_receipts_list li {
&:hover {
background-color: hsl(0deg 0% 100% / 5%);
}
&:active,
&:focus {
background-color: hsl(0deg 0% 100% / 10%);
}
}
#settings_page,
#stream_settings,
#user_group_settings {
.save-button-controls .discard-button {
color: hsl(0deg 0% 80%);
&:hover {
.save-discard-widget-button-text {
color: hsl(0deg 0% 100%);
}
}
}
}
.help_link_widget:hover {
color: inherit;
}
}
@media screen {
:root.dark-theme {
@extend %dark-theme;
}
}
@media screen and (prefers-color-scheme: dark) {
:root.color-scheme-automatic {
@extend %dark-theme;
}
}