Skip to content

Commit

Permalink
Fixed image background in dark and light themes
Browse files Browse the repository at this point in the history
And some minor changes
  • Loading branch information
prrockzed committed Oct 28, 2024
1 parent 028656c commit 02f52d6
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 15 deletions.
Binary file added docs/assets/images/GN_Dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/GN_Light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/assets/images/GarudaNvimWbg.png
Binary file not shown.
Binary file removed docs/assets/images/logo-bg-black.png
Binary file not shown.
Binary file modified docs/assets/images/logo-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/assets/images/logo-light.png
Binary file not shown.
14 changes: 10 additions & 4 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,19 @@
<span class="mh-color h-font">Welcome to GarudaNvim</span>
</h1>
<img
alt="GarudaNvim Logo"
src="assets/images/GarudaNvim.png"
id="garuda-logo-dark"
class="garuda-logo"
alt="GarudaNvim Logo Dark"
src="assets/images/GN_Dark.png#only-dark"
>
<img
id="garuda-logo-light"
class="garuda-logo"
alt="GarudaNvim Logo Light"
src="assets/images/GN_Light.png#only-light"
>
</div>
</br>

## <span class="sh-font msh-color">Introduction</span>

Reimagining how you code!
Expand Down
19 changes: 8 additions & 11 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,18 @@ theme:
- content.code.copy
language: en
palette:
- scheme: slate
- scheme: slate # dark theme
toggle:
icon: material/toggle-switch-off-outline
icon: material/weather-sunny
name: Switch to light mode
primary: black # Softer, less harsh primary color
accent: amber # A warmer accent for better contrast
background: '#121212' # Darker background
surface: '#1E1E1E' # Slightly lighter surface to differentiate sections
on-primary: 'white' # Text color on primary elements
on-surface: 'white' # Text color on general surfaces
- scheme: default
primary: black
accent: amber
- scheme: default # light theme
toggle:
icon: material/toggle-switch
icon: material/weather-night
name: Switch to dark mode
accent: orange
primary: indigo
accent: deep orange

# Navigation
nav:
Expand Down

0 comments on commit 02f52d6

Please sign in to comment.