style: format code with prettier
This commit is contained in:
1 parent
6fd7c18df9
commit
71cb790206
1 file changed
+330
-236
@@ -25,244 +25,339 @@
|
||||
}
|
||||
|
||||
#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];
|
||||
@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];
|
||||
|
||||
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, #reader_pane, #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 {
|
||||
background-color: @base;
|
||||
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,
|
||||
#reader_pane,
|
||||
#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 {
|
||||
background-color: @base;
|
||||
}
|
||||
|
||||
body,
|
||||
.article_unreaded .article_tile_title,
|
||||
.icon16,
|
||||
.icon14,
|
||||
.icon19,
|
||||
.article_unreaded .article_magazine_content,
|
||||
.article_unreaded .article_magazine_title,
|
||||
#sb_tp_dock,
|
||||
.inno_toolbar_button,
|
||||
#sb_rp_heading,
|
||||
.article_header_text,
|
||||
.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 {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#tree_pane,
|
||||
.tree_ad,
|
||||
.article_full_contents,
|
||||
.article_unreaded,
|
||||
.search_empty_state_mask,
|
||||
.library_wrapper_outer,
|
||||
.teams_presentation_wrapper,
|
||||
.article_subscribed,
|
||||
.tr1,
|
||||
.search_width_constraint {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.st_usage_slider_outer {
|
||||
background-color: @text;
|
||||
}
|
||||
|
||||
.st_usage_slider_inner {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
|
||||
#hint-pref {
|
||||
fill: @accent-color;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
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,
|
||||
button:active {
|
||||
box-shadow: 0 0 3px @accent-color !important;
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
input[type="number"],
|
||||
input[type="password"],
|
||||
select,
|
||||
textarea {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
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;
|
||||
}
|
||||
|
||||
.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 {
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
#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 {
|
||||
background-color: @accent-color;
|
||||
color: @crust;
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
.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 {
|
||||
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;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
.normal_dim {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
.parent_div_inner_selected,
|
||||
#preferences_header,
|
||||
.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;
|
||||
}
|
||||
}
|
||||
|
||||
body, .article_unreaded .article_tile_title, .icon16, .icon14, .icon19, .article_unreaded .article_magazine_content,
|
||||
.article_unreaded .article_magazine_title, #sb_tp_dock, .inno_toolbar_button, #sb_rp_heading, .article_header_text, .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 {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#tree_pane, .tree_ad, .article_full_contents, .article_unreaded, .search_empty_state_mask, .library_wrapper_outer,
|
||||
.teams_presentation_wrapper, .article_subscribed, .tr1, .search_width_constraint {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.st_usage_slider_outer {
|
||||
background-color: @text;
|
||||
}
|
||||
|
||||
.st_usage_slider_inner {
|
||||
background-color: @accent-color
|
||||
}
|
||||
|
||||
#hint-pref {
|
||||
fill: @accent-color;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
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, button:active {
|
||||
box-shadow: 0 0 3px @accent-color !important;
|
||||
}
|
||||
|
||||
input[type="text"], input[type="number"], input[type="password"], select, textarea {
|
||||
background-color: @base;
|
||||
color: @text;
|
||||
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;
|
||||
}
|
||||
|
||||
.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 {
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
#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 {
|
||||
background-color: @accent-color;
|
||||
color: @crust;
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
.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 {
|
||||
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;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
.normal_dim {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
.parent_div_inner_selected, #preferences_header, .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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
@@ -273,6 +368,5 @@
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
// vim:ft=less
|
||||
Reference in new issue
Block a user