Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add catppuccin colorscheme #549

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
200 changes: 200 additions & 0 deletions app/colors/catppuccin.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
/*
* Vieb - Vim Inspired Electron Browser
* Copyright (C) 2019-2024 Jelmer van Arnhem
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
/*
* COLORS
*/
:root {
/* general */
--bg: #11111b;
--fg: #cdd6f4;
--tab-foreground: #a6adc8;
--tab-background: #181825;
--tab-suspended: #181825;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we give suspended tabs a different color? I believe this is important information that's not supposed to be gone by using a different colorscheme.

--visible-tab: #1e1e2e;
--tab-split: #89b4fa;
--tab-audio: #94e2d5;
--tab-muted: #a6adc8;
--tab-muted-playing: #f5c2e7;
--tab-crashed: #f38ba8;
--tab-unresponsive: var(--tab-crashed);
--tab-scrollbar: #585b70;
--container-background: none;
--mode-normal-fg: #cdd6f4;
--mode-normal-bg: #11111b;
--mode-command-fg: #11111b;
--mode-command-bg: #74c7ec;
--mode-insert-fg: #11111b;
--mode-insert-bg: #eba0ac;
--mode-follow-fg: #11111b;
--mode-follow-bg: #f9e2af;
--mode-explore-fg: #11111b;
--mode-explore-bg: #94e2d5;
--mode-search-fg: #11111b;
--mode-search-bg: #cba6f7;
--mode-pointer-fg: #11111b;
--mode-pointer-bg: #f5e0dc;
--mode-visual-fg: #11111b;
--mode-visual-bg: #a6e3a1;
--url-default: #94e2d5;
--url-search: #94e2d5;
--url-searchwords: #94e2d5;
--url-url: #94e2d5;
--url-suggest: #94e2d5;
--url-file: #94e2d5;
--url-invalid: #94e2d5;

--follow-text: #11111b;

--follow-url-bg: #fab387;
--follow-url-border: #fab38766;
--follow-url-hover: #fab38766;

--follow-click-bg: #89dceb;
--follow-click-border: #89dceb66;
--follow-click-hover: #89dceb66;

--follow-insert-bg: #eba0ac;
--follow-insert-border: #eba0ac66;
--follow-insert-hover: #eba0ac66;

--follow-onclick-bg: #cba6f7;
--follow-onclick-border:#cba6f766;
--follow-onclick-hover: #cba6f766;

--follow-media-bg: #a6e3a1;
--follow-media-border: #a6e3a166;
--follow-media-hover: #a6e3a166;

--follow-image-bg: #f9e2af;
--follow-image-border: #f9e2af66;
--follow-image-hover: #f9e2af66;

--follow-other-bg: #cdd6f4;
--follow-other-border: #cdd6f466;
--follow-other-hover: #cdd6f466;

--suggestions-border: #181825;
--suggestions-bg: #181825;
--suggestions-selected: #313244;
--suggestions-searchwords: #f9e2af;
--suggestions-url: #a6adc8;
--suggestions-file: #a6adc8;
--notification-border: #11111b;
--notification-date: #a6adc8;
--notification-permission: #a6adc8;
--notification-dialog: var(--notification-permission);
--notification-error: #f38ba8;
--notification-warning: #f9e2af;
--notification-info: #89dceb;
--notification-success: #a6e3a1;
--url-hover-fg: #bac2de;
--url-hover-bg: #313244;
--screenshot-highlight: #f5c2e7;
--screenshot-highlight-background: #f5c2e7;
/* special pages */
--link-color: #cba6f7;
--link-underline: none;
--scrollbar-bg: #313244;
--scrollbar-thumb: #45475a;
--button-disabled: #45475a;
--code-fg: #f5e0dc;
--code-bg: #181825;
--code-command: #f2cdcd;
--placeholder-text: #a6adc8;
--special-page-element-bg: #313244;
--special-page-element-border: #313244;
--input-unfocused: #313244;
--input-focused: #585b70;
--download-progress-fg: #585b70;
--download-progress-bg: #313244;
--helppage-h1: #cdd6f4;
--helppage-h2: #cdd6f4;
--helppage-h3: #cdd6f4;
--helppage-countable: #f9e2af;
--helppage-range-compat: #f9e2af;
--helppage-nativetheme-fg-light: #5c5f77;
--helppage-nativetheme-bg-light: #eff1f5;
--helppage-nativetheme-fg-dark: #bac2de;
--helppage-nativetheme-bg-dark: #1e1e2e;
--history-current-page-highlight: var(--helppage-h1);
/* sourceviewer */
--syntax-fg: var(--fg);
--syntax-bg: var(--bg);
--syntax-keyword: #f38ba8;
--syntax-entity: #a6e3a1;
--syntax-constant: #94e2d5;
--syntax-string: #89dceb;
--syntax-variable: #eba0ac;
--syntax-comment: #a6adc8;
--syntax-entity-tag: #cba6f7;
--syntax-markup-heading: #a6e3a1;
--syntax-markup-list: #f5c2e7;
--syntax-markup-emphasis: #94e2d5;
--syntax-markup-addition-fg: #cba6f7;
--syntax-markup-addition-bg: #181825;
--syntax-markup-deletion-fg: #f2cdcd;
--syntax-markup-deletion-bg: #f38ba8;
/*
* APP
*/
/* navbar & tabs */
#tabs, #navbar {width: 100vw;display: flex;background: var(--bg);counter-reset: tab-counter -1; position: relative;}
#logo {-webkit-app-region: drag;height: 1.8em;width: 1.8em;margin: .1em;min-width: 1.8em;min-height: 1.8em; display: none;}
#mode-container {display: flex;width: 4em; height: 4em; text-align: center;margin: 0;justify-content: center; align-items: center;font-size:0.7em; font-weight: normal; position: relative;}
#mode {text-transform: capitalize;font-size: 1.3em;font-weight: bold;display: flex;align-items: center; line-height: 1;display: none;}
Comment on lines +156 to +159
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A lot of these styles overlap with the default styles, they do not need to be repeated. I would also prefer to keep the logo visible if possible.

/* modes */
#mode-container::before {
font-size: 1em;
background-size: 1em;
background-position: center;
height: 1.5em;
width: 1.5em;
}
[current-mode=command] #mode-container::before {content: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath d='M9.25 12a.75.75 0 0 1-.22.53l-2.75 2.75a.75.75 0 0 1-1.06-1.06L7.44 12 5.22 9.78a.75.75 0 1 1 1.06-1.06l2.75 2.75c.141.14.22.331.22.53Zm2 2a.75.75 0 0 0 0 1.5h5a.75.75 0 0 0 0-1.5h-5Z'/%3e%3cpath d='M0 4.75C0 3.784.784 3 1.75 3h20.5c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0 1 22.25 21H1.75A1.75 1.75 0 0 1 0 19.25Zm1.75-.25a.25.25 0 0 0-.25.25v14.5c0 .138.112.25.25.25h20.5a.25.25 0 0 0 .25-.25V4.75a.25.25 0 0 0-.25-.25Z'/%3e%3c/svg%3e");}
[current-mode=insert] #mode-container::before {content: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' id='mdi-lead-pencil' viewBox='0 0 24 24'%3e%3cpath d='M16.84,2.73C16.45,2.73 16.07,2.88 15.77,3.17L13.65,5.29L18.95,10.6L21.07,8.5C21.67,7.89 21.67,6.94 21.07,6.36L17.9,3.17C17.6,2.88 17.22,2.73 16.84,2.73M12.94,6L4.84,14.11L7.4,14.39L7.58,16.68L9.86,16.85L10.15,19.41L18.25,11.3M4.25,15.04L2.5,21.73L9.2,19.94L8.96,17.78L6.65,17.61L6.47,15.29' /%3e%3c/svg%3e");}
[current-mode=normal] #mode-container::before {content: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' id='mdi-earth' viewBox='0 0 24 24'%3e%3cpath fill='white' d='M17.9,17.39C17.64,16.59 16.89,16 16,16H15V13A1,1 0 0,0 14,12H8V10H10A1,1 0 0,0 11,9V7H13A2,2 0 0,0 15,5V4.59C17.93,5.77 20,8.64 20,12C20,14.08 19.2,15.97 17.9,17.39M11,19.93C7.05,19.44 4,16.08 4,12C4,11.38 4.08,10.78 4.21,10.21L9,15V16A2,2 0 0,0 11,18M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z' /%3e%3c/svg%3e");}
[current-mode=follow] #mode-container::before {content: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath d='M15.5 2.25a.75.75 0 0 1 .75-.75h5.5a.75.75 0 0 1 .75.75v5.5a.75.75 0 0 1-1.5 0V4.06l-6.22 6.22a.75.75 0 1 1-1.06-1.06L19.94 3h-3.69a.75.75 0 0 1-.75-.75Z'/%3e%3cpath d='M2.5 4.25c0-.966.784-1.75 1.75-1.75h8.5a.75.75 0 0 1 0 1.5h-8.5a.25.25 0 0 0-.25.25v15.5c0 .138.112.25.25.25h15.5a.25.25 0 0 0 .25-.25v-8.5a.75.75 0 0 1 1.5 0v8.5a1.75 1.75 0 0 1-1.75 1.75H4.25a1.75 1.75 0 0 1-1.75-1.75V4.25Z'/%3e%3c/svg%3e");}
[current-mode=explore] #mode-container::before {content: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath d='M12 2.5c-3.81 0-6.5 2.743-6.5 6.119 0 1.536.632 2.572 1.425 3.56.172.215.347.422.527.635l.096.112c.21.25.427.508.63.774.404.531.783 1.128.995 1.834a.75.75 0 0 1-1.436.432c-.138-.46-.397-.89-.753-1.357a18.111 18.111 0 0 0-.582-.714l-.092-.11c-.18-.212-.37-.436-.555-.667C4.87 12.016 4 10.651 4 8.618 4 4.363 7.415 1 12 1s8 3.362 8 7.619c0 2.032-.87 3.397-1.755 4.5-.185.23-.375.454-.555.667l-.092.109c-.21.248-.405.481-.582.714-.356.467-.615.898-.753 1.357a.751.751 0 0 1-1.437-.432c.213-.706.592-1.303.997-1.834.202-.266.419-.524.63-.774l.095-.112c.18-.213.355-.42.527-.634.793-.99 1.425-2.025 1.425-3.561C18.5 5.243 15.81 2.5 12 2.5ZM8.75 18h6.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5Zm.75 3.75a.75.75 0 0 1 .75-.75h3.5a.75.75 0 0 1 0 1.5h-3.5a.75.75 0 0 1-.75-.75Z'/%3e%3c/svg%3e");}
[current-mode=search] #mode-container::before {content: url("data:image/svg+xml;charset=UTF-8,%3csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='currentColor'%3e%3cpath d='M15.25 0a8.25 8.25 0 0 0-6.18 13.72L1 22.88l1.12 1 8.05-9.12A8.251 8.251 0 1 0 15.25.01V0zm0 15a6.75 6.75 0 1 1 0-13.5 6.75 6.75 0 0 1 0 13.5z'/%3e%3c/svg%3e");}
[current-mode=pointer] #mode-container::before {content: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' id='mdi-cursor-default-outline' viewBox='0 0 24 24'%3e%3cpath d='M10.07,14.27C10.57,14.03 11.16,14.25 11.4,14.75L13.7,19.74L15.5,18.89L13.19,13.91C12.95,13.41 13.17,12.81 13.67,12.58L13.95,12.5L16.25,12.05L8,5.12V15.9L9.82,14.43L10.07,14.27M13.64,21.97C13.14,22.21 12.54,22 12.31,21.5L10.13,16.76L7.62,18.78C7.45,18.92 7.24,19 7,19A1,1 0 0,1 6,18V3A1,1 0 0,1 7,2C7.24,2 7.47,2.09 7.64,2.23L7.65,2.22L19.14,11.86C19.57,12.22 19.62,12.85 19.27,13.27C19.12,13.45 18.91,13.57 18.7,13.61L15.54,14.23L17.74,18.96C18,19.46 17.76,20.05 17.26,20.28L13.64,21.97Z' /%3e%3c/svg%3e");}
[current-mode=visual] #mode-container::before {content: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' id='mdi-form-textbox' viewBox='0 0 24 24'%3e%3cpath d='M17,7H22V17H17V19A1,1 0 0,0 18,20H20V22H17.5C16.95,22 16,21.55 16,21C16,21.55 15.05,22 14.5,22H12V20H14A1,1 0 0,0 15,19V5A1,1 0 0,0 14,4H12V2H14.5C15.05,2 16,2.45 16,3C16,2.45 16.95,2 17.5,2H20V4H18A1,1 0 0,0 17,5V7M2,7H13V9H4V15H13V17H2V7M20,15V9H17V15H20Z' /%3e%3c/svg%3e");}
/* tabs */
#tabs > span {padding: 0.25em;font-size: 0.9em;color: var(--tab-foreground);background: var(--tab-background);display: flex;flex: 1;max-width:20em;overflow: hidden;white-space: nowrap;height: 2.5em; border-top: solid .1em transparent;}
#tabs > ::before {counter-increment: tab-counter 1;content: counter(tab-counter); font-size: 0.85em;}
#tabs > span > img {margin: auto 0 auto .25em;padding: 0; padding-right: 0.5em;height: 1em;width: 1em;min-height: 1em;min-width: 1em;pointer-events: none;}
#tabs .visible-tab {background: var(--visible-tab); color: var(--fg); border-top: .1em solid #74c7ec;}
#tabs .pinned {min-width: 3em !important;max-width: 3em;width: 3em; padding: 0.25em;}
#tabs .pinned > span { display: none; }
#tabs .pinned > img {padding: 0;margin: auto;height: 1.2em;width: 1.2em;min-height: 1.2em;min-width: 1.2em;}
Comment on lines +177 to +183
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A lot of this styling is default too, and part of this styling means the suspend color is not being used, so please check with the default colorscheme to remove as much css that's duplicate as possible.

/* Nav url/search/command */
#url {display: inline-block; flex: 1;border: 0;margin: .1em;background: transparent;color: var(--fg);outline: none;font: inherit;min-width: 0;padding: 0.5em 0.4em 0.5em 2em; line-height: 1;width: 0;cursor: default;}
#navbar:has(#url)::before { z-index: 1; content: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath d='M14.78 3.653a3.936 3.936 0 1 1 5.567 5.567l-3.627 3.627a3.936 3.936 0 0 1-5.88-.353.75.75 0 0 0-1.18.928 5.436 5.436 0 0 0 8.12.486l3.628-3.628a5.436 5.436 0 1 0-7.688-7.688l-3 3a.75.75 0 0 0 1.06 1.061l3-3Z'/%3e%3cpath d='M7.28 11.153a3.936 3.936 0 0 1 5.88.353.75.75 0 0 0 1.18-.928 5.436 5.436 0 0 0-8.12-.486L2.592 13.72a5.436 5.436 0 1 0 7.688 7.688l3-3a.75.75 0 1 0-1.06-1.06l-3 3a3.936 3.936 0 0 1-5.567-5.568l3.627-3.627Z'/%3e%3c/svg%3e"); position: absolute; left: 0; box-sizing: border-box; font-size: 0.7em; padding: 1em; display: none; width: 4em; height: 100%; top: 0; background: var(--url-default); color: var(--tab-background); pointer-events: none; }
#navbar:has(#url.search)::before {display: block; content: url("data:image/svg+xml;charset=UTF-8,%3csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='currentColor'%3e%3cpath d='M15.25 0a8.25 8.25 0 0 0-6.18 13.72L1 22.88l1.12 1 8.05-9.12A8.251 8.251 0 1 0 15.25.01V0zm0 15a6.75 6.75 0 1 1 0-13.5 6.75 6.75 0 0 1 0 13.5z'/%3e%3c/svg%3e"); background: var(--url-search);}
#navbar:has(#url.searchwords)::before {display: block; content: url("data:image/svg+xml;charset=UTF-8,%3csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg' fill='currentColor'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 11H1V13H15V11H16V14H15H1H0V11Z'/%3e%3cpath d='M6.84048 11H5.95963V10.1406H5.93814C5.555 10.7995 4.99104 11.1289 4.24625 11.1289C3.69839 11.1289 3.26871 10.9839 2.95718 10.6938C2.64924 10.4038 2.49527 10.0189 2.49527 9.53906C2.49527 8.51139 3.10041 7.91341 4.3107 7.74512L5.95963 7.51416C5.95963 6.57959 5.58186 6.1123 4.82632 6.1123C4.16389 6.1123 3.56591 6.33789 3.03238 6.78906V5.88672C3.57307 5.54297 4.19612 5.37109 4.90152 5.37109C6.19416 5.37109 6.84048 6.05501 6.84048 7.42285V11ZM5.95963 8.21777L4.63297 8.40039C4.22476 8.45768 3.91682 8.55973 3.70914 8.70654C3.50145 8.84977 3.39761 9.10579 3.39761 9.47461C3.39761 9.74316 3.4925 9.96338 3.68228 10.1353C3.87564 10.3035 4.13166 10.3877 4.45035 10.3877C4.8872 10.3877 5.24706 10.2355 5.52994 9.93115C5.8164 9.62321 5.95963 9.2347 5.95963 8.76562V8.21777Z'/%3e%3cpath d='M9.3475 10.2051H9.32601V11H8.44515V2.85742H9.32601V6.4668H9.3475C9.78076 5.73633 10.4146 5.37109 11.2489 5.37109C11.9543 5.37109 12.5057 5.61816 12.9032 6.1123C13.3042 6.60286 13.5047 7.26172 13.5047 8.08887C13.5047 9.00911 13.2809 9.74674 12.8333 10.3018C12.3857 10.8532 11.7734 11.1289 10.9964 11.1289C10.2695 11.1289 9.71989 10.821 9.3475 10.2051ZM9.32601 7.98682V8.75488C9.32601 9.20964 9.47282 9.59635 9.76644 9.91504C10.0636 10.2301 10.4396 10.3877 10.8944 10.3877C11.4279 10.3877 11.8451 10.1836 12.1458 9.77539C12.4502 9.36719 12.6024 8.79964 12.6024 8.07275C12.6024 7.46045 12.4609 6.98063 12.1781 6.6333C11.8952 6.28597 11.512 6.1123 11.0286 6.1123C10.5166 6.1123 10.1048 6.29134 9.7933 6.64941C9.48177 7.00391 9.32601 7.44971 9.32601 7.98682Z'/%3e%3c/svg%3e"); background: var(--url-searchwords);}
#navbar:has(#url.url)::before {display: block; content: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' id='mdi-web' viewBox='0 0 24 24'%3e%3cpath d='M16.36,14C16.44,13.34 16.5,12.68 16.5,12C16.5,11.32 16.44,10.66 16.36,10H19.74C19.9,10.64 20,11.31 20,12C20,12.69 19.9,13.36 19.74,14M14.59,19.56C15.19,18.45 15.65,17.25 15.97,16H18.92C17.96,17.65 16.43,18.93 14.59,19.56M14.34,14H9.66C9.56,13.34 9.5,12.68 9.5,12C9.5,11.32 9.56,10.65 9.66,10H14.34C14.43,10.65 14.5,11.32 14.5,12C14.5,12.68 14.43,13.34 14.34,14M12,19.96C11.17,18.76 10.5,17.43 10.09,16H13.91C13.5,17.43 12.83,18.76 12,19.96M8,8H5.08C6.03,6.34 7.57,5.06 9.4,4.44C8.8,5.55 8.35,6.75 8,8M5.08,16H8C8.35,17.25 8.8,18.45 9.4,19.56C7.57,18.93 6.03,17.65 5.08,16M4.26,14C4.1,13.36 4,12.69 4,12C4,11.31 4.1,10.64 4.26,10H7.64C7.56,10.66 7.5,11.32 7.5,12C7.5,12.68 7.56,13.34 7.64,14M12,4.03C12.83,5.23 13.5,6.57 13.91,8H10.09C10.5,6.57 11.17,5.23 12,4.03M18.92,8H15.97C15.65,6.75 15.19,5.55 14.59,4.44C16.43,5.07 17.96,6.34 18.92,8M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z' /%3e%3c/svg%3e"); background: var(--url-url);}
#navbar:has(#url.suggest)::before {display: block; content: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath d='M12 2.5c-3.81 0-6.5 2.743-6.5 6.119 0 1.536.632 2.572 1.425 3.56.172.215.347.422.527.635l.096.112c.21.25.427.508.63.774.404.531.783 1.128.995 1.834a.75.75 0 0 1-1.436.432c-.138-.46-.397-.89-.753-1.357a18.111 18.111 0 0 0-.582-.714l-.092-.11c-.18-.212-.37-.436-.555-.667C4.87 12.016 4 10.651 4 8.618 4 4.363 7.415 1 12 1s8 3.362 8 7.619c0 2.032-.87 3.397-1.755 4.5-.185.23-.375.454-.555.667l-.092.109c-.21.248-.405.481-.582.714-.356.467-.615.898-.753 1.357a.751.751 0 0 1-1.437-.432c.213-.706.592-1.303.997-1.834.202-.266.419-.524.63-.774l.095-.112c.18-.213.355-.42.527-.634.793-.99 1.425-2.025 1.425-3.561C18.5 5.243 15.81 2.5 12 2.5ZM8.75 18h6.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5Zm.75 3.75a.75.75 0 0 1 .75-.75h3.5a.75.75 0 0 1 0 1.5h-3.5a.75.75 0 0 1-.75-.75Z'/%3e%3c/svg%3e"); background: var(--url-suggest);}
#navbar:has(#url.file)::before {display: block; content: url("data:image/svg+xml;charset=UTF-8,%3csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg' fill='currentColor'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M10.57 1.14l3.28 3.3.15.36v9.7l-.5.5H10v-1h3V6H9.5L9 5.5V2H3v4H2V1.5l.5-.5h7.72l.35.14zM10 5h3l-3-3v3zM8.5 7h-7l-.5.5v7l.5.5h7l.5-.5v-7L8.5 7zM8 14H2V8h6v6zM7 9.5v3H6v-1.793l-2.646 2.647-.708-.708L5.293 10H3.53V9H6.5l.5.5z'/%3e%3c/svg%3e");; background: var(--url-file);}
#navbar:has(#url.invalid)::before {display: block; content: url("data:image/svg+xml;charset=UTF-8,%3csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg' fill='currentColor'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.6 1c1.6.1 3.1.9 4.2 2 1.3 1.4 2 3.1 2 5.1 0 1.6-.6 3.1-1.6 4.4-1 1.2-2.4 2.1-4 2.4-1.6.3-3.2.1-4.6-.7-1.4-.8-2.5-2-3.1-3.5C.9 9.2.8 7.5 1.3 6c.5-1.6 1.4-2.9 2.8-3.8C5.4 1.3 7 .9 8.6 1zm.5 12.9c1.3-.3 2.5-1 3.4-2.1.8-1.1 1.3-2.4 1.2-3.8 0-1.6-.6-3.2-1.7-4.3-1-1-2.2-1.6-3.6-1.7-1.3-.1-2.7.2-3.8 1-1.1.8-1.9 1.9-2.3 3.3-.4 1.3-.4 2.7.2 4 .6 1.3 1.5 2.3 2.7 3 1.2.7 2.6.9 3.9.6zM7.9 7.5L10.3 5l.7.7-2.4 2.5 2.4 2.5-.7.7-2.4-2.5-2.4 2.5-.7-.7 2.4-2.5-2.4-2.5.7-.7 2.4 2.5z'/%3e%3c/svg%3e"); background: var(--url-invalid);}

/* follow */
#app #follow .follow-url, #app #follow .follow-inputs-click, #app #follow .follow-inputs-insert, #app #follow .follow-onclick, #app #follow .follow-media, #app #follow .follow-image, #app #follow .follow-other {position: absolute;color: var(--follow-text);padding: 0 .1em; border-radius: 0.2em; font-size: 0.8em;}
/* mouse related */
#mode-suggestions {background: transparent;max-height: 0;position: absolute;left: 0;top: 4em;padding-top: .1em;z-index: 37;overflow: hidden;display: block;width: 7em;text-transform: capitalize;display: flex;flex-direction: column;}
#url-hover {display: none;position: absolute;background: var(--url-hover-bg);color:var(--url-hover-fg);bottom: 0;left: 0;margin: 0;pointer-events: none;padding: .1em;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;width: fit-content;max-width: 80vw;text-align: center;z-index: 4;}
/* hide logo */
#logo {display: none}