Skip to content

Commit fb2b0ef

Browse files
committed
main 🧊 change theme
1 parent 2299394 commit fb2b0ef

File tree

7 files changed

+400
-400
lines changed

7 files changed

+400
-400
lines changed

‎docs/.vitepress/theme/global.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
:root {
2+
--vp-c-bg: #ffffff;
3+
4+
--vp-c-brand-1: #51bde3;
5+
--vp-c-brand-2: #4ca8c6;
6+
--vp-c-brand-3: #5fc6e9;
7+
}
8+
9+
.dark {
10+
--vp-c-bg: #181818;
11+
--vp-c-bg-soft: rgb(32, 32, 32);
12+
--vp-c-bg-alt: #1d1c1c;
13+
--vp-c-bg-elv: #2a2a2a;
14+
}

‎docs/.vitepress/theme/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import DefaultTheme from 'vitepress/theme';
2+
3+
import './global.css';
4+
5+
export default DefaultTheme;

‎package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,20 +72,20 @@
7272
},
7373
"devDependencies": {
7474
"@siberiacancode/builder": "^1.3.17",
75-
"@siberiacancode/eslint": "^2.7.0",
75+
"@siberiacancode/eslint": "^2.8.0",
7676
"@siberiacancode/prettier": "^1.2.0",
7777
"@siberiacancode/vitest": "^1.2.4",
7878
"@testing-library/dom": "^10.4.0",
7979
"@testing-library/react": "^16.2.0",
8080
"@types/doctrine": "^0.0.9",
81-
"@types/node": "^22.12.0",
81+
"@types/node": "^22.13.1",
8282
"@types/react": "^18.3.12",
8383
"@types/react-dom": "^18.3.2",
8484
"comment-parser": "^1.4.1",
8585
"core-js": "^3.40.0",
8686
"doctrine": "^3.0.0",
8787
"husky": "^9.1.7",
88-
"lint-staged": "^15.3.0",
88+
"lint-staged": "^15.4.3",
8989
"markdown-table": "^3.0.4",
9090
"react": "^18.3.1",
9191
"react-dom": "^18.3.1",

‎src/hooks/useFocus/useFocus.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export interface UseFocus {
4343
* @returns {UseFocusReturn} An object with a `focus` boolean state value
4444
*
4545
* @example
46-
* const { focus, blur, focused } = useFocus(target);
46+
* const { focus, blur, focused } = useFocus(ref);
4747
*
4848
* @overload
4949
* @param {boolean} [options.initialValue=false] The initial focus state of the target

‎src/hooks/useMouse/useMouse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export interface UseMouse {
4646
* @returns {UseMouseReturn} An object with the current mouse position
4747
*
4848
* @example
49-
* const { x, y, elementX, elementY, elementPositionX, elementPositionY } = useMouse(target);
49+
* const { x, y, elementX, elementY, elementPositionX, elementPositionY } = useMouse(ref);
5050
*
5151
* @overload
5252
* @template Target The target element

‎src/hooks/useParallax/useParallax.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export interface UseParallax {
5454
* @returns {UseParallaxReturn} An object with the current mouse position
5555
*
5656
* @example
57-
* const { roll, tilt, source } = useParallax(target);
57+
* const { roll, tilt, source } = useParallax(ref);
5858
*
5959
* @overload
6060
* @template Target The target element for the parallax effect

0 commit comments

Comments
 (0)