Files
userstyles/styles/inoreader/catppuccin.user.css
T
Ashish KumarandThomas 1618438931 fix(inoreader): sidebar contrast issues (#1395)
* fix(inoreader): sidebar contrast issues

* fix bottom button and feed categories arrow color

* theme the logo

* fix feeds unread counter

---------

Co-authored-by: Thomas <[email protected]>
2024-10-24 16:19:52 +02:00

628 lines
18 KiB
CSS

/* ==UserStyle==
@name inoreader Catppuccin
@namespace github.com/catppuccin/userstyles/styles/inoreader
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/inoreader
@version 0.0.7
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/inoreader/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Ainoreader
@description Soothing pastel theme for inoreader
@author Catppuccin
@license MIT
@preprocessor less
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
@-moz-document domain('inoreader.com') {
@media (prefers-color-scheme: light) {
:root {
#catppuccin(@lightFlavor, @accentColor);
}
}
@media (prefers-color-scheme: dark) {
:root {
#catppuccin(@darkFlavor, @accentColor);
}
}
#catppuccin(@lookup, @accent) {
@rosewater: @catppuccin[@@lookup][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo];
@pink: @catppuccin[@@lookup][@pink];
@mauve: @catppuccin[@@lookup][@mauve];
@red: @catppuccin[@@lookup][@red];
@maroon: @catppuccin[@@lookup][@maroon];
@peach: @catppuccin[@@lookup][@peach];
@yellow: @catppuccin[@@lookup][@yellow];
@green: @catppuccin[@@lookup][@green];
@teal: @catppuccin[@@lookup][@teal];
@sky: @catppuccin[@@lookup][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire];
@blue: @catppuccin[@@lookup][@blue];
@lavender: @catppuccin[@@lookup][@lavender];
@text: @catppuccin[@@lookup][@text];
@subtext1: @catppuccin[@@lookup][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2];
@surface1: @catppuccin[@@lookup][@surface1];
@surface0: @catppuccin[@@lookup][@surface0];
@base: @catppuccin[@@lookup][@base];
@mantle: @catppuccin[@@lookup][@mantle];
@crust: @catppuccin[@@lookup][@crust];
@accent-color: @catppuccin[@@lookup][@@accent];
color-scheme: if(@lookup = latte, light, dark);
::selection {
background-color: fade(@accent-color, 30%);
}
input,
textarea {
&::placeholder {
color: @subtext0 !important;
}
}
body,
.inno_dialog,
.reader_pane_view_style_1 .article_subscribed,
.reader_pane_view_style_4 .article_subscribed,
.inno_toolbar_switcher_button_active,
.dashboard_wrapper,
#sb_tree_part,
#sb_menu_icon,
#sb_tp_search_overlay,
#feed_searcher,
#wraper.tree_pane_docked #feed_searcher,
#preferences_main_wrapper,
.reader_pane_view_style_0 .article_expanded:hover,
div.article_expanded,
.article,
.article_expanded
.article_footer_placeholder_middle.footerized.article_footer_placeholder_middle_sticky,
#article_dialog .article_footer_placeholder_top,
#three_way_contents .article_footer_placeholder_top,
.article_footer,
.pricing_plans_row_sticky,
.searcher_top_bar_wrapper {
background-color: @base;
}
body,
.article_unreaded .article_tile_title,
.icon16,
.icon14,
.icon19,
.h6,
.article_unreaded .article_magazine_content,
.article_unreaded .article_magazine_title,
#sb_tp_dock,
.inno_toolbar_button,
#sb_rp_heading,
.article_header_text,
.article_content,
.profile_menu_themes_heading,
.inno_toolbar_switcher_button:hover,
#sb_rp_heading span.icon16,
.sub_engagement_number,
.sub_folder,
.inline_folders_editor,
.tf,
.top_bar_tab,
.top_bar_tab .icon16,
#tree_pane .icon16,
#add_content_simulated_button .plus_img,
a:link,
.h4[class*="icon-"],
h4[class*="icon-"],
.inno_tabs_wrapper .inno_tabs_header .inno_tabs_tab a:link,
.inno_tabs_wrapper .inno_tabs_header .inno_tabs_tab a:active,
.inno_tabs_wrapper .inno_tabs_header .inno_tabs_tab a:visited,
#tree_pane .plus_img {
color: @text;
}
a.text-color,
a.nav-item-btn,
.icon-arrow_collapse {
color: @text !important;
}
.progress {
--bs-progress-bar-color: @accent-color;
--bs-progress-bar-bg: @accent-color;
--bs-bar-bg: @overlay1;
}
.text-muted-color {
color: @subtext0 !important;
}
#tree_pane,
#reader_pane,
#feeds_nav,
.tree_ad,
.article_full_contents,
.article_unreaded,
.search_empty_state_mask,
.library_wrapper_outer,
.teams_presentation_wrapper,
.article_subscribed,
.tr1,
.search_width_constraint,
.bg-white {
background-color: @base !important;
color: @text;
}
.st_usage_slider_outer {
background-color: @text;
}
.st_usage_slider_inner,
#text-menu .dropdown-menu,
.article_unreaded .article_unread_dot .article_unread_dot_internal {
background-color: @accent-color;
}
.bg-primary {
background-color: @accent-color !important;
}
#tree_pane .parent_div_inner_selected .plus_img {
color: @accent-color;
}
.active-url .item-name,
.active-url span[class^="icon-"].h4,
.active-url i[class^="icon-"].h4 {
color: @accent-color !important;
}
.icon-logo_circle {
color: @crust !important;
}
#tabs_pane .nav-item a i,
#tabs_pane .nav-item a span,
#tabs_pane #bottom_tabs .nav-item a i {
color: @crust;
}
#tabs_pane .tabs-counter {
color: @text !important;
background-color: @base !important;
}
#hint-pref {
fill: @accent-color;
}
.article_footer_buttons.icon-article_topbar_read_later_full,
#reader_pane .ar .article_btns a .h4.icon-saved,
#reader_pane .ar .article_btns a .h4.star_full,
span.icon-yellow,
i.icon-yellow {
color: @yellow;
}
.bg-alt {
background: @yellow !important;
}
.btn.btn-alt {
background-color: @yellow;
border-color: @yellow;
}
.bg-success-color.darker {
background-color: @green !important;
}
.alert_state {
background-color: @red;
}
.icon-mark-as-read-single-unread {
color: @blue !important;
}
.tabs-counter {
background-color: @accent-color !important;
outline-color: @accent-color !important;
color: @mantle;
}
.active-tab-feeds:not(.active-overlay) #tabs_pane [data-tab="feeds"] i,
.active-tab-dashboard:not(.active-overlay)
#tabs_pane
[data-tab="dashboard"]
i,
.active-tab-saved:not(.active-overlay) #tabs_pane [data-tab="saved"] i,
.active-tab-automation:not(.active-overlay)
#tabs_pane
[data-tab="automation"]
i,
.active-tab-search:not(.active-overlay) #tabs_pane [data-tab="search"] i,
.active-tab-add_feed:not(.active-overlay)
#tabs_pane
[data-tab="add_feed"]
i,
.active-tab-notifications:not(.active-overlay)
#tabs_pane
[data-tab="notifications"]
i,
.active-tab-preferences:not(.active-overlay)
#tabs_pane
[data-tab="preferences"]
i {
background-color: @base;
color: @text !important;
}
.preferences_main_button,
.preferences_billing_feature_main {
background-color: @mantle;
border-color: @surface0;
}
.dashboard_gadgets,
.dashboard_gadgets .content,
.library_section_main_article,
.library_secondary_article,
.library_section_list_articles {
background-color: @mantle;
}
#header_pane,
.search_context_dropdown.open {
background-color: @base !important;
color: @text;
}
.dropdown-menu,
.ino-autocomplete {
background-color: @mantle;
}
.dropdown-menu .dropdown-header {
color: @text;
}
.dropdown-menu .dropdown-item,
a:visited {
color: @subtext0;
}
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus,
#tree_pane .parent_div_inner:hover,
#tree_pane .parent_div_inner:active,
#tree_pane .parent_div_inner:focus,
.search_context_dropdown.open .search_context_filter:hover,
.nav.nav-hover .nav-item:hover,
.lang_bubble:hover,
#tabs_pane .toggle_sidebar_btn i {
background-color: @surface0;
}
.dropdown-menu .dropdown-item:active {
background-color: @surface0;
color: @accent-color;
}
.dropdown-menu .dropdown-item.active,
#tree_pane .parent_div_inner_selected,
#tree_pane .parent_div_inner_selected:hover,
#tree_pane .parent_div_inner_selected a,
.search_context_dropdown.open .search_context_filter.active,
.nav.nav-hover .active-url,
.lang_bubble.lang_bubble_current {
background-color: @surface1;
color: @accent-color;
}
.btn.btn-outline-text {
color: @text;
border-color: @subtext0;
}
.btn.btn-primary,
.btn.btn-primary:hover {
color: @text;
background-color: @accent-color;
border-color: @accent-color;
}
.dropdown-menu-active,
.btn.btn-outline-text:hover {
color: @text;
border-color: @subtext0;
background-color: @surface0;
}
input[type="text"]:focus,
input[type="checkbox"]:focus + label,
input[type="checkbox"]:active + label,
input[type="button"]:focus,
input[type="button"]:active,
textarea:focus,
select:focus,
button:focus,
input[type="password"]:focus,
input[type="email"]:focus {
box-shadow: 0 0 3px @accent-color !important;
border-color: @accent-color !important;
}
input[type="text"],
input[type="number"],
input[type="password"],
select,
textarea {
background-color: @base !important;
color: @text !important;
border-color: @subtext0;
}
.graylink_darker,
.article_short_contents {
color: @subtext0;
}
div.article_magazine.article_current,
div.article_magazine.article_bulk_selected {
box-shadow: 0 0 0 1px @subtext0;
}
.view_style_3 #reader_pane .ar.article_current .article_tile_picture {
box-shadow:
inset 3px 3px 0 -2px @accent-color,
inset -3px 2px 0 -2px @accent-color;
}
.view_style_3 #reader_pane .ar.article_current {
box-shadow: inset 0 0 0 1px @accent-color;
}
.view_style_4 #reader_pane .ar.article_current {
box-shadow: 0 0 0 1px @accent-color;
}
.view_style_2 #reader_pane .ar.article_current_3way,
.view_style_2 #reader_pane .ar.article_expanded {
box-shadow: none;
border-color: @text;
}
.article_magazine_content {
color: @overlay0;
}
.article_magazine_title {
color: @overlay1;
}
.inno_dialog_modal_overlay {
background-color: @overlay2;
}
.subscriptions_legend,
.preferences_main_button_icon span,
a.bluelink:link,
.bluelink,
.inno_tabs_tab_current,
.inno_tabs_tab_current:hover,
.inno_toolbar_button_menu_item_inactive .inno_toolbar_button_menu_icon,
.inno_toolbar_button_menu_icon,
#preferences_subscriptions_table span.icon_active,
.text-primary,
.inno_tabs_wrapper
.inno_tabs_header
.inno_tabs_tab.inno_tabs_tab_current
a:link,
.inno_tabs_wrapper
.inno_tabs_header
.inno_tabs_tab.inno_tabs_tab_current
a:active,
.inno_tabs_wrapper
.inno_tabs_header
.inno_tabs_tab.inno_tabs_tab_current
a:visited {
color: @accent-color !important;
}
#new_articles_overlay {
color: @accent-color;
background-color: @base;
}
input.apple-switch:checked {
background-color: @accent-color;
border-color: @accent-color;
}
.add_content_simulated_button.expanded {
background-color: @surface0;
box-shadow: inset 0 -1px 0 0 @accent-color;
}
.inno_toolbar_button_menu,
#reader_pane .info_state,
.inno_dialog_modal .info_state,
.preferences_interface_helper,
.sub_folder {
background-color: @mantle;
color: @text;
}
#profile_menu_themes_wrapper {
display: none;
}
#sb_reading_part,
#wraper.tree_pane_docked #sb_tree_part {
box-shadow: none;
}
.whitebutton {
background-color: @base;
color: @text;
border-color: @surface0;
}
.bluebutton,
.inno_dialog .inno_dialog_buttonbar_button:nth-child(1) {
background-color: @accent-color;
color: @crust;
border-style: none;
}
.inno_dialog .inno_dialog_buttonbar_button:nth-child(1):hover:enabled {
background-color: @accent-color;
border-color: @accent-color;
}
.inno_dialog_buttonbar_button {
background-color: @base;
color: @text;
}
.icon_green {
color: @green;
}
.reader_pane_view_style_0 .article_unreaded:hover,
.reader_pane_view_style_2 .article_unreaded:hover,
.reader_pane_view_style_2 .article:hover,
.sd .share_wrapper .icon16:hover,
.pricing_feature_row:nth-child(odd),
.pricing_table_row .pricing_table_leftmost_cell,
.article_footer .share_wrapper:hover {
background-color: @surface0;
}
.add_content_simulated_button_menu,
.profile_menu_plan_badge {
background-color: @surface0;
border-color: @surface0;
color: @text;
}
.catalog_follow_featured_collection,
.catalog_sub_section_title,
.search_feed_wrapper {
border-color: @surface0;
}
.border-bottom,
.header-shadow {
border-color: @text;
}
.pricing_teams_hero {
background-color: @surface0;
background-image: none;
}
.parent_div_inner:hover,
.inno_toolbar_button_menu_item:hover,
.preferences_profile_wrapper,
code,
pre {
background-color: @surface0;
color: @text;
}
.preferences_profile_plan_wrapper,
.st_subheader,
.catalog_sub_section_tab.catalog_sub_section_tab_current,
.catalog_sub_section_tab:hover {
background: @surface1;
color: @text;
}
.article_footer .article_footer_main_buttons .article_footer_buttons:hover,
.article_footer
.article_footer_main_buttons
.article_footer_buttons_current,
.article_footer .icon-article_topbar_more_menu:hover,
.st_header,
input[type="radio"].filter_radio:checked + label,
input[type="checkbox"].filter_radio:checked + label {
background-color: @surface2;
color: @text;
}
input[type="checkbox"].form-check-input:checked,
input[type="radio"].form-check-input:checked {
background-color: @accent-color;
border-color: @accent-color;
}
.normal_dim {
color: @subtext1;
}
.parent_div_inner_selected,
#preferences_header,
#tabs_pane,
.add_content_simulated_button_menu_line_item:hover {
background-color: @accent-color;
color: @mantle;
}
#preferences_header .icon16,
#preferences_dialog_close_button span.icon16 {
color: @mantle;
}
.article_tile.article_unreaded.article_expanded {
background-color: @base;
box-shadow:
0 1px 8px @mantle,
0 1px 3px @mantle;
}
div.article_current_3way {
box-shadow:
inset 0 0 0 1 @accent-color,
inset 5px 0 0 0 @accent-color;
}
div.article_tile.article_expanded {
border-color: @mantle;
}
.article_footer_placeholder_top .article_footer,
.inno_tabs_header,
.gadget_overview_feed {
border-color: @surface2;
}
.inno_toolbar_switcher:hover .inno_toolbar_switcher_button_active,
.inno_toolbar_switcher:hover .inno_toolbar_switcher_button_active:hover {
color: @accent-color;
background-color: @base;
border-color: @accent-color;
}
.inno_tabs_tab:hover {
color: @accent-color;
border-color: @accent-color;
}
}
}
/* prettier-ignore */
@catppuccin: {
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
}
// vim:ft=less