pl-fe: styles migration fixes

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2025-10-04 20:44:31 +02:00
parent 6128456657
commit 0946eceebc
9 changed files with 46 additions and 32 deletions

View File

@@ -10,7 +10,6 @@
@use 'components/compose-form';
@use 'components/status';
@use 'components/detailed-status';
@use 'components/media-gallery';
@use 'components/notification';
@use 'components/columns';
@use 'components/video-player';

View File

@@ -149,9 +149,11 @@ a.⁂-list-item,
@apply rounded-full text-gray-900 focus:ring-2 focus:ring-primary-500 dark:text-gray-100;
>.-icon {
size: 1.5rem;
height: 1.5rem;
width: 1.5rem;
@apply rtl:rotate-180;
}
&__label {
@apply sr-only;
}

View File

@@ -1,2 +1,3 @@
@use 'components';
@use 'layout';
@use 'statuses';

View File

@@ -2,7 +2,7 @@
@if $family == sans {
@apply font-sans;
} @else if $family == mono {
font-family: Roboto Mono, ui-monospace, monospace;
font-family: 'Roboto Mono', ui-monospace, monospace;
} @else {
@warn "Unknown font family `#{$family}`.";
}
@@ -50,7 +50,7 @@
}
@if $tracking == normal {
letter-spacing: 0em;
letter-spacing: 0;
} @else if $tracking == wide {
letter-spacing: 0.025em;
} @else {
@@ -90,18 +90,18 @@
@if $size == md {
padding: 1rem;
@media (min-width: 581px) {
@media (width >= 581px) {
border-radius: 0.75rem;
}
} @else if $size == lg {
padding: 1rem;
@media (min-width: 581px) {
@media (width >= 581px) {
padding: 1.5rem;
border-radius: 0.75rem;
}
} @else if $size == xl {
padding: 1rem;
@media (min-width: 581px) {
@media (width >= 581px) {
padding: 2.5rem;
border-radius: 1.5rem;
}

View File

@@ -74,7 +74,8 @@
background: transparent;
.-media-gallery__item {
size: 3rem;
height: 3rem;
width: 3rem;
inset: auto;
float: left;
@@ -84,7 +85,8 @@
}
&__icons svg {
size: 2rem;
height: 2rem;
width: 2rem;
}
}