Skip to content

Commit

Permalink
style: update dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielliosc committed Sep 21, 2024
1 parent 26ea842 commit 55e61c8
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 1 deletion.
32 changes: 32 additions & 0 deletions assets/css/dark_mode.css

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

2 changes: 1 addition & 1 deletion assets/css/dark_mode.css.map

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

1 change: 1 addition & 0 deletions assets/sass/_variables.sass
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
$black: #232226
$white: #ffffff

$gray-700: #3e3e3f
$gray-500: #9698a0
$gray-300: #cccccc
$gray-100: #f2f2f2
Expand Down
29 changes: 29 additions & 0 deletions assets/sass/dark_mode.sass
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,35 @@
.header
&__subtitle
color: $white

.github-corner
color: $black
.main
.cookies-content
background-color: $gray-700
.cookies-message
color: $white
a
color: $primary-100

.card
background-color: $gray-700

&__title
color: $primary-100
&__description
color: $white

.search
.searchbar
background-color: $gray-700
color: $white
&__input
color: $white

#tags-filter
background-color: $gray-700
color: $white

.button-dark-mode
background-color: $primary-500
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="stylesheet" href="assets/css/style.css" />
<link rel="stylesheet" href="assets/css/cookies.css">
<link rel="stylesheet" href="assets/css/dark_mode.css">

<!-- Phosphor Icons -->
<script src="https://unpkg.com/@phosphor-icons/web"></script>
Expand Down

0 comments on commit 55e61c8

Please sign in to comment.