Replace $ui-secondary-color

This commit is contained in:
diondiondion 2025-10-22 16:51:17 +02:00
parent 49720bf75f
commit 1e4c61dd1f
5 changed files with 9 additions and 11 deletions

View File

@ -12,6 +12,5 @@ $grey-600: hsl(240deg, 8%, 33%); // Trout
@use '../mastodon/variables' with ( @use '../mastodon/variables' with (
$ui-base-color: hsl(255deg, 25%, 88%), $ui-base-color: hsl(255deg, 25%, 88%),
$ui-base-lighter-color: hsl(250deg, 24%, 75%), $ui-base-lighter-color: hsl(250deg, 24%, 75%),
$ui-secondary-color: hsl(240deg, 16%, 19%),
$emojis-requiring-inversion: 'chains' $emojis-requiring-inversion: 'chains'
); );

View File

@ -19,7 +19,6 @@ $ui-base-lighter-color: lighten(
$ui-base-color, $ui-base-color,
26% 26%
) !default; // Lighter darkest ) !default; // Lighter darkest
$ui-secondary-color: hsl(255deg, 25%, 88%) !default; // Lightest
// Keep this filter a SCSS variable rather than // Keep this filter a SCSS variable rather than
// a CSS Custom Property due to this Safari bug: // a CSS Custom Property due to this Safari bug:

View File

@ -330,7 +330,7 @@
color: var(--clr-text-secondary); color: var(--clr-text-secondary);
a { a {
color: $ui-secondary-color; color: var(--clr-text-primary);
text-decoration: none; text-decoration: none;
&:hover, &:hover,

View File

@ -6746,8 +6746,7 @@ a.status-card {
} }
.dialog-option .poll__input { .dialog-option .poll__input {
border-color: var(--clr-text-secondary); color: var(--clr-text-secondary);
color: $ui-secondary-color;
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@ -6765,8 +6764,9 @@ a.status-card {
} }
&.active { &.active {
border-color: var(--clr-text-success); color: var(--clr-text-on-success-strong);
background: var(--clr-text-success); background: var(--clr-bg-success-strong);
border-color: var(--clr-bg-success-strong);
} }
} }
@ -6970,7 +6970,7 @@ a.status-card {
hr { hr {
height: 0.25rem; height: 0.25rem;
padding: 0; padding: 0;
background-color: $ui-secondary-color; background-color: var(--clr-text-primary);
border: 0; border: 0;
margin: 20px 0; margin: 20px 0;
} }

View File

@ -930,7 +930,7 @@ code {
.oauth-prompt { .oauth-prompt {
h3 { h3 {
color: $ui-secondary-color; color: var(--clr-text-primary);
font-size: 17px; font-size: 17px;
line-height: 22px; line-height: 22px;
font-weight: 500; font-weight: 500;
@ -1152,8 +1152,8 @@ code {
.permissions-list { .permissions-list {
&__item { &__item {
padding: 15px; padding: 15px;
color: $ui-secondary-color; color: var(--clr-text-primary);
border-bottom: 1px solid lighten($ui-base-color, 4%); border-bottom: 1px solid var(--clr-border-primary);
display: flex; display: flex;
align-items: center; align-items: center;