mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Fixed loading indicator dark mode issue
no ref
This commit is contained in:
parent
b4a284fb5f
commit
23ec56bedf
1 changed files with 2 additions and 2 deletions
|
@ -41,11 +41,11 @@ export const LoadingIndicator: React.FC<LoadingIndicatorProps> = ({size, color,
|
|||
|
||||
switch (color) {
|
||||
case 'light':
|
||||
styles += ' border-white/20 before:bg-white ';
|
||||
styles += ' border-white/20 before:bg-white dark:border-black/10 dark:before:bg-black ';
|
||||
break;
|
||||
case 'dark':
|
||||
default:
|
||||
styles += ' border-black/10 before:bg-black ';
|
||||
styles += ' border-black/10 before:bg-black dark:border-white/20 dark:before:bg-white ';
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue