/* * Copyright (C) Contributors to the Suwayomi project * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ import { alpha, darken, lighten, useTheme } from '@mui/material/styles'; import Box from '@mui/material/Box'; import { memo } from 'react'; import { applyStyles } from '@/base/utils/ApplyStyles.ts'; import { ReaderProgressBarSlot } from '@/features/reader/overlay/progress-bar/components/ReaderProgressBarSlot.tsx'; import { IReaderSettings } from '@/features/reader/Reader.types.ts'; export const ReaderProgressBarSlotDesktop = memo( ({ pageName, primaryPageLoadState, secondaryPageLoadState, progressBarPosition, isCurrentPage, isLeadingPage, showDraggingStyle, }: Pick & { pageName: string; primaryPageLoadState: boolean; secondaryPageLoadState?: boolean; isCurrentPage: boolean; isLeadingPage: boolean; showDraggingStyle: boolean; }) => { const theme = useTheme(); return ( ); }, );