Gift modal: Support theme dark (#5333)

This commit is contained in:
Alexander Zinchuk 2024-12-20 11:37:38 +01:00
parent bfe72ddbdc
commit 95267dec7c
4 changed files with 30 additions and 0 deletions

View File

@ -13,6 +13,10 @@
position: relative; position: relative;
cursor: var(--custom-cursor, pointer); cursor: var(--custom-cursor, pointer);
:global(html.theme-dark) & {
background-color: var(--color-background);
}
&::before { &::before {
content: ""; content: "";
position: absolute; position: absolute;

View File

@ -7,6 +7,10 @@
.root :global(.modal-content) { .root :global(.modal-content) {
padding: 0; padding: 0;
background-color: var(--color-background); background-color: var(--color-background);
:global(html.theme-dark) & {
background-color: #181818;
}
} }
.root :global(.modal-dialog), .root :global(.modal-dialog),

View File

@ -19,6 +19,10 @@
margin-left: -0.5rem; margin-left: -0.5rem;
padding-left: 0.5rem; padding-left: 0.5rem;
:global(html.theme-dark) & {
background-color: #181818;
}
@include mixins.gradient-border-horizontal(0.5rem, 0.5rem); @include mixins.gradient-border-horizontal(0.5rem, 0.5rem);
} }
@ -45,6 +49,20 @@
color: var(--color-text-secondary); color: var(--color-text-secondary);
} }
:global(html.theme-dark) {
.item-selected,
.item {
&:hover {
background-color: rgba(255, 255, 255, 0.05);
}
}
.selected-item {
background-color: rgba(255, 255, 255, 0.1);
}
}
.star { .star {
margin-right: 0.1875rem; margin-right: 0.1875rem;
} }

View File

@ -285,6 +285,10 @@
color: var(--color-white); color: var(--color-white);
--ripple-color: rgba(0, 0, 0, 0.08); --ripple-color: rgba(0, 0, 0, 0.08);
.theme-dark & {
background-color: #CF8920;
}
@include active-styles() { @include active-styles() {
background-color: #FFB727CC; background-color: #FFB727CC;
} }