From f9db91e813292f0226789b207e4a28d5fda845ee Mon Sep 17 00:00:00 2001 From: elkrien Date: Sun, 30 Jan 2022 23:30:34 +0100 Subject: [PATCH] first commit --- LICENSE | 21 ++++++++ README.md | 27 ++++++++++ assets/.gitkeep | 0 catppuccin-vimium.css | 114 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 162 insertions(+) create mode 100644 LICENSE create mode 100644 README.md create mode 100644 assets/.gitkeep create mode 100644 catppuccin-vimium.css diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..006383b --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Catppuccin + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..8720f49 --- /dev/null +++ b/README.md @@ -0,0 +1,27 @@ +

+ Logo
+ + Catppuccin for Vimium + +

+ +

+ + + +

+ +

+ +

+ +## Usage + +1. Open Vimum addon's preferences. +2. Activate advanced options. +3. Copy the content of catppuccin-vimium.css into the custom CSS field. +4. Save changes and reload page. + +## 💝 Thanks to + +- [Human](https://github.com/catppuccin) diff --git a/assets/.gitkeep b/assets/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/catppuccin-vimium.css b/catppuccin-vimium.css new file mode 100644 index 0000000..db66341 --- /dev/null +++ b/catppuccin-vimium.css @@ -0,0 +1,114 @@ +#vimiumHintMarkerContainer div.internalVimiumHintMarker, #vimiumHintMarkerContainer div.vimiumHintMarker { + padding: 3px 4px; + background: #F8BD96; + border: 1; + border-color: #1A1826; + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); +} + +#vimiumHintMarkerContainer div span { + color: #1A1826; + text-shadow: none; +} + +#vimiumHintMarkerContainer div > .matchingCharacter { + opacity: 1.0; +} + +#vimiumHintMarkerContainer div > .matchingCharacter ~ span { + color: #96CDFB; +} + +#vomnibar { + background: #1E1E2E; + border: 2px solid #96CDFB; + animation: show 200ms cubic-bezier(0, 0, 0.2, 1) forwards; +} + +@keyframes show { + 0% { + transform: translateY(50px); + opacity: 0; + } + 100% { + transform: translateY(0); + opacity: 1; + } +} + +#vomnibar input { + color: #D9E0EE; + font: -moz-window; + background: #1E1E2E; + border: none; + padding: 2; +} + +#vomnibar .vomnibarSearchArea { + padding: 10px 30px; + border: none; + background: #1E1E2E; +} + +#vomnibar ul { + padding: 0; + background: #1E1E2E; + border-top: 1px solid #302D41; +} + +#vomnibar li { + padding: 10px; + border-bottom: 1px solid #302D41; +} + +#vomnibar li .vomnibarTopHalf, +#vomnibar li .vomnibarBottomHalf { + padding: 3px 0; +} + +#vomnibar li .vomnibarSource { + color: #F8BD96; +} + +#vomnibar li em, +#vomnibar li .vomnibarTitle { + color: #96CDFB; + font-weight: bold; +} + +#vomnibar li .vomnibarUrl { + color: #F5E0DC; +} + +#vomnibar li .vomnibarMatch { + color: #ABE9B3; + font-weight: bold; +} + +#vomnibar li .vomnibarTitle .vomnibarMatch { + color: #96CDFB; +} + +#vomnibar li.vomnibarSelected { + background-color: #302D41; +} + +div.vimiumHUD { + background: #1E1E2E; + border: none; + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); +} + +div.vimiumHUD span#hud-find-input, +div.vimiumHUD .vimiumHUDSearchAreaInner { + color: #D9E0EE; +} + +div.vimiumHUD .hud-find { + background-color: #1E1E2E; + border: none; +} + +div.vimiumHUD .vimiumHUDSearchArea { + background-color: #1E1E2E; +}