Adjust ReaderChapterTransition text color
Text color was never adjusted based on the selected "reader background color"
This commit is contained in:
@@ -254,9 +254,9 @@ export const READER_HOTKEYS = Object.values(ReaderHotkey).filter(
|
||||
(hotkey) => typeof hotkey === 'number',
|
||||
) as ReaderHotkey[];
|
||||
|
||||
export const READER_BACKGROUND_TO_COLOR: Record<ReaderBackgroundColor, string> = {
|
||||
export const READER_BACKGROUND_TO_COLOR = {
|
||||
[ReaderBackgroundColor.THEME]: 'background.default',
|
||||
[ReaderBackgroundColor.BLACK]: 'black',
|
||||
[ReaderBackgroundColor.GRAY]: 'gray',
|
||||
[ReaderBackgroundColor.WHITE]: 'white',
|
||||
};
|
||||
[ReaderBackgroundColor.BLACK]: 'common.black',
|
||||
[ReaderBackgroundColor.GRAY]: 'grey.200',
|
||||
[ReaderBackgroundColor.WHITE]: 'common.white',
|
||||
} as const satisfies Record<ReaderBackgroundColor, string>;
|
||||
|
||||
Reference in New Issue
Block a user