1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-12-22 09:13:19 +01:00

readme updates

This commit is contained in:
Matthias Kretschmann 2023-01-29 05:05:18 +00:00
parent d801f263a2
commit 99995cbb89
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 3 additions and 4 deletions

View File

@ -11,7 +11,7 @@ checks:
threshold: 8
method-lines:
config:
threshold: 40
threshold: 50
exclude_patterns:
- 'config/'

View File

@ -86,11 +86,10 @@ If you want to know how, have a look at the respective components:
### 💅 Theme switcher
Includes a theme switcher which allows user to toggle between a light and a dark theme. Switching between them also happens automatically based on user's system preferences.
Includes a theme switcher which allows user to toggle between a light and a dark theme. Switching between them also happens automatically based on user's system preferences. Uses [next-themes](https://github.com/pacocoursey/next-themes) under the hood.
If you want to know how, have a look at the respective components:
If you want to know how, have a look at the respective component:
- [`src/hooks/useDarkMode.ts`](src/hooks/useDarkMode.ts)
- [`src/components/ThemeSwitch/index.tsx`](src/components/ThemeSwitch/index.tsx)
### 🏆 SEO component