Skip to content

Commit

Permalink
update darkmode position
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasferreiralimax committed Jun 30, 2024
1 parent 138de87 commit 3f12464
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"preview": "vite preview"
},
"dependencies": {
"darkmode-react-component": "^0.1.3",
"darkmode-react-component": "^0.1.5",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-techs-logos": "^0.1.9"
Expand Down
7 changes: 7 additions & 0 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@
padding: 1.5em;
}

.btn-mode {
margin: 1rem;
position: fixed;
top: 0;
right: 0;
}

code {
background: var(--vtl-background);
color: var(--vtl-text);
Expand Down

0 comments on commit 3f12464

Please sign in to comment.