Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix checkbox themes

Chocobozzz18c9772876d0
diff --git a/client/src/app/menu/avatar-notification.component.scss b/client/src/app/menu/avatar-notification.component.scss
index 5e09225df8..d0f01fc327 100644
--- a/client/src/app/menu/avatar-notification.component.scss
+++ b/client/src/app/menu/avatar-notification.component.scss
@@ -56,7 +56,7 @@
align-items: center;
justify-content: center;
font-weight: $font-semibold;
- color: var(--mainForegroundColor);
+ color: $fg-color;
padding: 7px 0;
}
}
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss
index 26ba490c74..4b47dde09f 100644
--- a/client/src/sass/include/_mixins.scss
+++ b/client/src/sass/include/_mixins.scss
@@ -345,7 +345,7 @@
width: 18px;
min-width: 18px;
height: 18px;
- border: $border-width solid var(--mainForegroundColor);
+ border: $border-width solid $fg-color;
border-radius: 3px;
vertical-align: middle;
cursor: pointer;
@@ -359,14 +359,14 @@
height: 12px;
opacity: 0;
transform: rotate(45deg) scale(0);
- border-right: 2px solid var(--mainBackgroundColor);
- border-bottom: 2px solid var(--mainBackgroundColor);
+ border-right: 2px solid $bg-color;
+ border-bottom: 2px solid $bg-color;
}
}
&:checked + span {
border-color: transparent;
- background: var(--mainColor);
+ background: $orange-color;
animation: jelly 0.6s ease;
&:after {