diff --git a/public/fonts/NERD-FONTS-LICENSE.txt b/public/fonts/NERD-FONTS-LICENSE.txt new file mode 100644 index 0000000..06eb073 --- /dev/null +++ b/public/fonts/NERD-FONTS-LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 Ryan L McIntyre + +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/public/fonts/SymbolsNerdFontMono-Regular.woff2 b/public/fonts/SymbolsNerdFontMono-Regular.woff2 new file mode 100644 index 0000000..e92681b Binary files /dev/null and b/public/fonts/SymbolsNerdFontMono-Regular.woff2 differ diff --git a/src/index.css b/src/index.css index c5711f9..5451c68 100644 --- a/src/index.css +++ b/src/index.css @@ -1,5 +1,13 @@ @import "tailwindcss"; +@font-face { + font-family: 'Symbols Nerd Font Mono'; + src: url('/fonts/SymbolsNerdFontMono-Regular.woff2') format('woff2'); + font-weight: normal; + font-style: normal; + font-display: swap; +} + @theme { --color-page: #0D0E10; --color-card: #141518; @@ -39,6 +47,33 @@ html, body { overflow: hidden; } +.scrollbar-ghost { + scrollbar-width: thin; + scrollbar-color: transparent transparent; +} + +.scrollbar-ghost::-webkit-scrollbar { + width: 6px; +} + +.scrollbar-ghost::-webkit-scrollbar-track { + background: transparent; +} + +.scrollbar-ghost::-webkit-scrollbar-thumb { + background: transparent; + border-radius: 6px; +} + +.scrollbar-ghost:hover::-webkit-scrollbar-thumb, +.scrollbar-ghost:hover { + scrollbar-color: rgba(200, 164, 52, 0.25) transparent; +} + +.scrollbar-ghost:hover::-webkit-scrollbar-thumb { + background: rgba(200, 164, 52, 0.25); +} + /* Native