Skip to content

Commit

Permalink
Finalize dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
onigoetz committed Sep 24, 2022
1 parent e69ac6a commit 7b3ecba
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 14 deletions.
11 changes: 6 additions & 5 deletions daux_libraries/search.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ body.with-search {
}

.SearchResults {
background: #fff;
background: var(--body-background);
max-width: 650px;
padding: 15px;
margin: 0;
Expand Down Expand Up @@ -67,10 +67,11 @@ body.with-search {
font-weight: 300;
font-size: 15px;
line-height: 1.7;
color: #555;
color: var(--color-text);
}

.SearchResults__close {
color: currentcolor;
border: 0 transparent solid;
background: none;

Expand All @@ -90,12 +91,12 @@ body.with-search {
}

.SearchResults__title a {
color: #333;
color: var(--color-text);
text-decoration: none;
}

.SearchResults__title a:hover {
color: #555;
opacity: 0.8;
}

.SearchResults__url {
Expand All @@ -119,7 +120,7 @@ body.with-search {
font-weight: 300;
font-size: 15px;
line-height: 1.6;
color: #555;
color: var(--color-text);
word-wrap: break-word;
hyphens: auto;
margin-top: 3px;
Expand Down
2 changes: 2 additions & 0 deletions src/css/theme_daux/_components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ Components
width: 16px;
height: 16px;
cursor: pointer;
fill: currentcolor;
}
}

Expand Down Expand Up @@ -411,6 +412,7 @@ ul.TableOfContents {
background-color: var(--pager-background-color);
border: 1px solid var(--pager-border-color);
border-radius: 15px;
cursor: pointer;
}

> a:hover,
Expand Down
7 changes: 6 additions & 1 deletion src/css/theme_daux/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

// Sidebar search field
--search-field-color: #555;
--search-field-border-color: #ccc;
--search-field-border-color: var(--lighter-gray);
--search-field-background: #fff;
--search-field-hover-border-color: var(--color-primary);

Expand Down Expand Up @@ -158,6 +158,11 @@
--hero-button-secondary-border-color: var(--color-secondary);
--hero-button-secondary-color: var(--color-primary);
--hero-button-secondary-background: var(--color-secondary);

// Sidebar search field
--search-field-color: #fff;
--search-field-border-color: var(--dark-gray);
--search-field-background: #555;
}

/*
Expand Down
2 changes: 1 addition & 1 deletion themes/daux/css/theme-blue.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/daux/css/theme-blue.min.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/daux/css/theme-green.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/daux/css/theme-green.min.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/daux/css/theme-navy.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/daux/css/theme-navy.min.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/daux/css/theme-red.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/daux/css/theme-red.min.css.map

Large diffs are not rendered by default.

0 comments on commit 7b3ecba

Please sign in to comment.