/* omg.reader v0.2, a light theme for Inoreader * Inspired by omg.lol and the Open Color palette. * Built from inoreader-css-audit.json (Inoreader v14). * No JavaScript, no remote fonts, no structural layout changes. * Replace any previous custom CSS with this file. */ /* 01. Palette and type * Scoped to .theme_light so the original dark themes stay untouched. */ .theme_light { --omg-ink: #212529; --omg-muted: #495057; --omg-paper: #ffffff; --omg-canvas: #f1f3f5; --omg-line: #dee2e6; --omg-line-strong: #ced4da; --omg-blue: #1864ab; --omg-blue-dark: #124b83; --omg-blue-soft: #e7f5ff; --omg-blue-nav: #a5d8ff; --omg-blue-hover: #d0ebff; --omg-violet: #5f3dc4; --omg-violet-soft: #f3f0ff; --omg-green: #2b8a3e; --omg-red: #c92a2a; --omg-font: Lato, "Public Sans", "Segoe UI", sans-serif; --omg-mono: "Cascadia Code", Consolas, monospace; --omg-radius: 8px; /* Inoreader's own variables, found in the audit file */ --primary-color: var(--omg-blue) !important; --primary-color-darker: var(--omg-blue-dark) !important; --primary-color-lighter: #4dabf7 !important; --primary-darker-color: var(--omg-blue-dark) !important; --primary-darker-color-darker: #103961 !important; --primary-darker-color-lighter: var(--omg-blue) !important; --bg-color: var(--omg-canvas) !important; --bg-color-darker: var(--omg-line-strong) !important; --bg-color-lighter: var(--omg-paper) !important; --light-color: var(--omg-canvas) !important; --light-color-darker: var(--omg-line-strong) !important; --light-color-lighter: var(--omg-paper) !important; --text-color: var(--omg-ink) !important; --secondary-color: var(--omg-muted) !important; --muted-color: var(--omg-muted) !important; --muted-more-color: #6c757d !important; --border-color: var(--omg-line) !important; --border-color-darker: var(--omg-line-strong) !important; --white: var(--omg-paper) !important; --white-color: var(--omg-paper) !important; --bs-body-bg: var(--omg-paper) !important; --bs-body-color: var(--omg-ink) !important; } /* 02. General interface * Inoreader uses Public Sans and its own icon font. * Set the font on body and let it inherit, instead of on every element. */ body.theme_light { font-family: var(--omg-font) !important; color: var(--omg-ink) !important; background-color: var(--omg-paper) !important; } .theme_light #header_pane { background-color: var(--omg-paper) !important; border-bottom-color: var(--omg-line) !important; } .theme_light #reader_pane { background-color: var(--omg-paper) !important; } .theme_light .section-page #reader_pane { background-color: var(--omg-canvas) !important; } .theme_light .text-primary, .theme_light .text-primary:link, .theme_light .text-primary:visited, .theme_light .text-primary:hover { color: var(--omg-blue) !important; } /* 03. Main navigation: pastel blue, dark icons, high contrast */ .theme_light #tabs_pane { background-color: var(--omg-blue-nav) !important; border-right: 1px solid #74c0fc; } .theme_light #tabs_pane .nav-item a, .theme_light #tabs_pane .nav-item a i, .theme_light #tabs_pane #bottom_tabs .nav-item a i, .theme_light #tabs_pane .tab-label { color: var(--omg-ink) !important; } .theme_light #tabs_pane .nav-item a i.icon-logo_circle { color: var(--omg-blue-dark) !important; } .theme_light #tabs_pane .nav-item a:hover i { background-color: var(--omg-blue-hover) !important; color: var(--omg-blue-dark) !important; } /* Active states: native selectors found in the audit. */ .theme_light.active-tab-feeds:not(.active-overlay) #tabs_pane [data-tab="feeds"] i, .theme_light.active-tab-dashboard:not(.active-overlay) #tabs_pane [data-tab="dashboard"] i, .theme_light.active-tab-saved:not(.active-overlay) #tabs_pane [data-tab="saved"] i, .theme_light.active-tab-search:not(.active-overlay) #tabs_pane [data-tab="search"] i, .theme_light.active-tab-automation:not(.active-overlay) #tabs_pane [data-tab="automation"] i, .theme_light.active-tab-add_feed:not(.active-overlay) #tabs_pane [data-tab="add_feed"] i, .theme_light.active-tab-notifications:not(.active-overlay) #tabs_pane [data-tab="notifications"] i, .theme_light.active-tab-audio_player:not(.active-overlay) #tabs_pane [data-tab="audio_player"] i, .theme_light.active-tab-support:not(.active-overlay) #tabs_pane [data-tab="support"] i, .theme_light.active-tab-preferences:not(.active-overlay) #tabs_pane [data-tab="preferences"] i, .theme_light.active-tab-profile:not(.active-overlay) #tabs_pane [data-tab="profile"] i, .theme_light.active-tab-admin:not(.active-overlay) #tabs_pane [data-tab="admin"] i, .theme_light.active-tab-teams:not(.active-overlay) #tabs_pane [data-tab="teams"] i, .theme_light.active-tab-cyber:not(.active-overlay) #tabs_pane [data-tab="cyber"] i { background-color: var(--omg-blue-dark) !important; color: #ffffff !important; border-radius: 7px; } .theme_light #tabs_pane .toggle_sidebar_btn i { background-color: var(--omg-blue-hover) !important; color: var(--omg-ink) !important; } .theme_light #tabs_pane .nav-item .tabs-counter { background-color: var(--omg-paper) !important; color: var(--omg-blue-dark) !important; } /* 04. Feed list */ .theme_light #tree_pane, .theme_light #tree_pane .tab-content { background-color: var(--omg-paper) !important; border-color: var(--omg-line) !important; } .theme_light #tree_pane .parent_div_inner { border-radius: 5px; } .theme_light #tree_pane .parent_div_inner:hover { background-color: var(--omg-blue-soft) !important; } .theme_light #tree_pane .parent_div_inner_selected, .theme_light #tree_pane .parent_div_inner.active-url { background-color: var(--omg-blue-hover) !important; } .theme_light #tree_pane .parent_div_inner_selected, .theme_light #tree_pane .parent_div_inner_selected a, .theme_light #tree_pane .parent_div_inner_selected .plus_img { color: var(--omg-blue-dark) !important; } /* Keeps read and unread feeds visually distinct. */ .theme_light #tree_pane .normal_dim:not(.tree_unread):not(.selected) { color: #66707a !important; } .theme_light #tree_pane .normal_dim.tree_unread:not(.selected) { color: var(--omg-ink) !important; } .theme_light #tree_pane .unread_cnt_wrapper .unread_cnt { color: var(--omg-blue-dark) !important; font-weight: 600; } .theme_light #tree_pane .tree_issue.tree_link, .theme_light #tree_pane .parent_div_inner_selected .tree_issue { color: var(--omg-red) !important; } /* 05. Dashboard: white cards, a border and a subtle solid shadow * Doesn't change the number of columns, their order or the widgets. */ .theme_light .dashboard_wrapper { background-color: var(--omg-canvas); } .theme_light .dashboard_gadgets:not(.ui-sortable-placeholder):not(.ui-sortable-helper) { background-color: var(--omg-paper) !important; border: 1px solid var(--omg-line-strong) !important; border-radius: var(--omg-radius) !important; box-shadow: 0 3px 0 var(--omg-line); } .theme_light .dashboard_gadgets:not(.gad_big_counter_class) .content { background-color: var(--omg-paper) !important; } .theme_light .dashboard_gadgets .gadget_header .header_name { font-family: var(--omg-font) !important; font-weight: 700 !important; font-size: 1.05rem !important; line-height: 1.4 !important; color: var(--omg-blue-dark) !important; } .theme_light .gadget_overview_article .gadget_overview_article_title { font-family: var(--omg-font) !important; font-weight: 700 !important; line-height: 1.45 !important; } .theme_light .gadget_overview_article_content { color: var(--omg-muted) !important; line-height: 1.55 !important; } .theme_light .dashboard_item_row h5 a:hover { color: var(--omg-blue) !important; } /* 06. Tabs and buttons: a subtle raised look inspired by omg.lol. */ .theme_light .inno_tabs_wrapper .inno_tabs_header .inno_tabs_tab.inno_tabs_tab_current, .theme_light .inno_tabs_wrapper .inno_tabs_header .inno_tabs_tab.inno_tabs_tab_current a { color: var(--omg-blue-dark) !important; } .theme_light .inno_tabs_wrapper .inno_tabs_header .inno_tabs_tab.inno_tabs_tab_current::after { background-color: var(--omg-blue) !important; } .theme_light .btn.btn-primary, .theme_light .v12button.blue, .theme_light .inno_dialog_buttonbar_button.btn-primary { background-color: var(--omg-blue) !important; border-color: var(--omg-blue) !important; color: #ffffff !important; } .theme_light .btn.btn-primary:not(.btn-circle):not(.btn-sm):not(:disabled):not(.disabled) { border-radius: 6px; box-shadow: 0 3px 0 var(--omg-blue-dark) !important; } .theme_light .btn.btn-primary:hover:not(:disabled):not(.disabled), .theme_light .v12button.blue:hover:not(:disabled):not(.disabled), .theme_light .inno_dialog_buttonbar_button.btn-primary:hover:not(:disabled):not(.disabled) { background-color: var(--omg-blue-dark) !important; border-color: var(--omg-blue-dark) !important; } /* Keeps keyboard focus visible without changing the component's size. */ .theme_light #tabs_pane a:focus-visible, .theme_light #tree_pane a:focus-visible, .theme_light .btn:focus-visible { outline: 2px solid var(--omg-violet) !important; outline-offset: 2px; } /* 07. Article lists: white for unread, gray for read. * Keeps the original selection and list dimensions. */ .theme_light.view_style_0 #reader_pane .ar:not(.article_unreaded):not(.article_expanded):not(.article_current):not(.article_current_collapsed):not(.article_bulk_selected), .theme_light.view_style_2 #reader_pane .ar:not(.article_unreaded):not(.article_expanded):not(.article_current):not(.article_current_collapsed):not(.article_current_3way):not(.article_bulk_selected), .theme_light.view_style_3 #reader_pane .ar:not(.article_unreaded):not(.article_current):not(.article_bulk_selected) { background-color: #f8f9fa !important; } .theme_light.view_style_0 #reader_pane .ar.article_current:not(.article_expanded), .theme_light.view_style_0 #reader_pane .ar.article_current_collapsed:not(.article_expanded), .theme_light.view_style_0 #reader_pane .ar.article_bulk_selected:not(.article_expanded), .theme_light.view_style_2 #reader_pane .ar.article_current, .theme_light.view_style_2 #reader_pane .ar.article_current_collapsed, .theme_light.view_style_2 #reader_pane .ar.article_bulk_selected { background-color: var(--omg-blue-soft) !important; box-shadow: inset 0 0 0 1px var(--omg-blue) !important; } .theme_light.view_style_2 #reader_pane .ar.article_current_3way, .theme_light.view_style_2 #reader_pane .ar.article_expanded { box-shadow: inset 3px 0 0 var(--omg-blue), inset 0 0 0 1px var(--omg-blue) !important; } .theme_light .article_unreaded .article_unread_dot .article_unread_dot_internal { background-color: var(--omg-blue) !important; } /* 08. Reading * Keeps the width and alignment set in Inoreader itself. * Only touches article content and titles, not the players. */ body.theme_light .article_content, body.theme_light .ai_summary_body { font-family: var(--omg-font) !important; font-size: 1.0625rem !important; line-height: 1.75 !important; color: var(--omg-ink) !important; } body.theme_light .article_content :is(h1, h2, h3, h4, h5, h6), body.theme_light .article_full_contents .article_title { font-family: var(--omg-font) !important; font-weight: 700 !important; line-height: 1.35 !important; letter-spacing: -0.015em; } .theme_light .article_content a:link, .theme_light .article_content a:visited, .theme_light .ai_summary_body a:link, .theme_light .ai_summary_body a:visited { color: var(--omg-blue) !important; text-decoration: underline; text-underline-offset: 0.18em; } .theme_light .article_content a:hover, .theme_light .ai_summary_body a:hover { color: var(--omg-blue-dark) !important; } .theme_light .article_content > blockquote { background-color: var(--omg-violet-soft); border-left: 3px solid var(--omg-violet); border-radius: 0 6px 6px 0; padding: 0.85em 1.2em !important; } /* The native style puts a big decorative quote mark before blockquotes. */ .theme_light .article_content > blockquote::before { content: none !important; } .theme_light .article_content code, .theme_light .article_content pre, .theme_light .ai_summary_body code, .theme_light .ai_summary_body pre { font-family: var(--omg-mono) !important; background-color: var(--omg-canvas) !important; border-radius: 5px; } .theme_light .article_content pre, .theme_light .ai_summary_body pre { border: 1px solid var(--omg-line); overflow-x: auto; } .theme_light .article_content pre code, .theme_light .ai_summary_body pre code { background-color: transparent !important; } .theme_light .article_content figure img { border-radius: 5px; } .theme_light .article_content figcaption { color: var(--omg-muted) !important; font-size: 0.85em; } .theme_light .article_content ::selection, .theme_light .ai_summary_body ::selection { background-color: #d0ebff; color: #212529; } /* End of omg.reader v0.2 */