Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions src/components/filters/date-jump-filter/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,29 @@
box-shadow: none;
outline: none;
}

@media (prefers-color-scheme: dark) {
.date-jump-type,
.date-jump-type:hover,
.date-jump-type:active {
background: #30353E !important;
border-color: #30353E !important;
color: #bdc3ce !important;
}

.date-jump-wrap .dropdown-menu {
background-color: #30353E;
border-color: #30353E;
box-shadow: 0 3px 12px rgba(27, 31, 35, 0.6);
}

.date-jump-wrap .dropdown-menu .dropdown-item {
color: #bdc3ce;
}

.date-jump-wrap .dropdown-menu .dropdown-item:hover,
.date-jump-wrap .dropdown-menu .dropdown-item:focus {
background-color: #484f5d;
color: white;
}
}
56 changes: 56 additions & 0 deletions src/components/filters/language-filter/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,59 @@
display: block;
text-align: left;
}

@media (prefers-color-scheme: dark) {
.language-filter {
background: #30353E !important;
border-color: #30353E !important;
color: #bdc3ce;
}

.language-filter:hover,
.language-filter:focus,
.language-filter:active {
color: white !important;
}

.language-select {
border-color: #484f5d;
box-shadow: 0 3px 12px rgba(27, 31, 35, 0.6);
color: #bdc3ce;
}

.select-menu-header, .select-menu-divider {
background: #30353E;
border-color: #484f5d;
}

.select-menu-header .select-menu-title, .select-menu-divider {
color: #bdc3ce;
}

.select-menu-filters {
background-color: #24292E;
}

.select-menu-text-filter {
border-color: #484f5d;
}

.select-menu-text-filter input,
.select-menu-text-filter input:focus {
background-color: #30353E;
border-color: #484f5d !important;
}

.select-menu-text-filter input:focus {
color:white;
}

.select-menu-item {
background-color: #30353E;
border-color: #484f5d;
}

.select-menu-item:hover, .select-menu-item.active-item {
background-color: #484f5d;
}
}
14 changes: 14 additions & 0 deletions src/components/filters/view-filter/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,17 @@
.view-type button:first-child {
margin-left: 0;
}

@media (prefers-color-scheme: dark) {
.view-type {
background: #30353E;
}

.view-type button {
color: #bdc3ce;
}

.view-type button.active, .view-type button:hover {
color: white;
}
}
22 changes: 21 additions & 1 deletion src/components/repository-grid/grid-item/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@
bottom: 20px;
left: 20px;
right: 25px;
background: white;
padding: 10px;
}

Expand All @@ -121,3 +120,24 @@
fill: #6c757d;
margin-right: 5px;
}

@media (prefers-color-scheme: dark) {
.grid-item-body {
background: #30353E;
box-shadow: -5px 10px 60px -13px rgba(0, 0, 0, 0.6);
}

.grid-item-container .author-details h5 {
color: #bdc3ce;
}

.grid-item-container .repo-header .repo-meta {
color: #6c7583 !important;
}

.grid-item-container .repo-header .repo-meta a,
.grid-item-container .repo-body p,
.grid-item-container .repo-footer a {
color: #939baa;
}
}
15 changes: 15 additions & 0 deletions src/components/repository-list/list-item/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,18 @@
width: 92px;
border-radius: 92px;
}

@media (prefers-color-scheme: dark) {
.list-item-container {
border-color: #484f5d;
}

.list-item-container .repo-meta {
color: #6c7583 !important;
}

.list-item-container .repo-meta a,
.list-item-container .repo-footer a {
color: #939baa;
}
}
7 changes: 7 additions & 0 deletions src/components/repository-list/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@
border-radius: 8px;
box-shadow: -5px 10px 60px -13px rgba(0, 0, 0, 0.20);
}

@media (prefers-color-scheme: dark) {
.list-container {
background: #30353E;
box-shadow: -5px 10px 60px -13px rgba(0, 0, 0, 0.6);
}
}
10 changes: 10 additions & 0 deletions src/components/top-nav/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,13 @@
border-color: #01aced;
}

@media (prefers-color-scheme: dark) {
.top-nav {
background: #1B1D23;
border-color: #484f5d;
}

.top-nav .logo-text h4 {
color: #bdc3ce;
}
}
8 changes: 8 additions & 0 deletions src/containers/feed/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,11 @@
.alert-warning {
background: #ffa;
}

@media (prefers-color-scheme: dark) {
.alert-warning {
background: #37455f;
border-color: #37455f;
color: #bdc3ce;
}
}
19 changes: 19 additions & 0 deletions src/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,22 @@ a {
background: #1157ed;
border-color: #1157ed;
}

@media (prefers-color-scheme: dark) {
body {
background: #24292E;
color: #bdc3ce;
}

a {
color: #1DADEB;
}

a:hover {
color: #2dc0ff;
}

.text-muted {
color: #939baa !important;
}
}