mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Revert some theme changes, update reader, fix theme clearing
This commit is contained in:
parent
16d06f8f6f
commit
01ce025720
4 changed files with 12 additions and 11 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import Models
|
||||
import Utils
|
||||
import WebKit
|
||||
import Models
|
||||
|
||||
/// Describes actions that can be sent from the WebView back to native views.
|
||||
/// The names on the javascript side must match for an action to be handled.
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -146,10 +146,11 @@ export const { styled, css, theme, getCssText, globalCss, keyframes, config } =
|
|||
omnivoreCtaYellow: 'rgb(255, 210, 52)',
|
||||
|
||||
// Reader Colors
|
||||
readerBg: '#F9F1DC', // #E5E5E5',
|
||||
readerFont: '#554A34',
|
||||
readerFontHighContrast: '#342100', // black',
|
||||
readerHeader: '554A34',
|
||||
readerBg: '#E5E5E5',
|
||||
readerFont: '#3D3D3D',
|
||||
readerFontHighContrast: 'black',
|
||||
readerFontTransparent: 'rgba(61,61,61,0.65)',
|
||||
readerHeader: '3D3D3D',
|
||||
readerTableHeader: '#FFFFFF',
|
||||
|
||||
// Avatar Fallback color
|
||||
|
|
|
|||
|
|
@ -25,12 +25,12 @@ export function updateThemeLocally(themeId: string): void {
|
|||
}
|
||||
|
||||
document.body.classList.remove(
|
||||
lighterTheme,
|
||||
ThemeId.Light,
|
||||
darkTheme,
|
||||
darkerTheme,
|
||||
sepiaTheme,
|
||||
charcoalTheme
|
||||
ThemeId.Dark,
|
||||
ThemeId.Darker,
|
||||
ThemeId.Lighter,
|
||||
ThemeId.Sepia,
|
||||
ThemeId.Charcoal,
|
||||
)
|
||||
document.body.classList.add(themeId)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue