Skip to content

Commit

Permalink
[TASK] Fix color scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
SamBrishes committed Aug 21, 2022
1 parent 5625f05 commit 7c14e15
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ NewsHub - Changelog
Version 1.0.1 - Stable
----------------------
- Update: Add dark hightlight.js stylings for pre, code elements.
- Fix: Form stylings on dark color scheme.
- Fix: background color on the fullwidth page layout.
- Fix: Callout Color variables on dark scheme.
- Fix: Example component styling + dark border color.
- Fix: Navbar below Hero-Slider (when Header is not set to 'sticky').
Expand Down
2 changes: 1 addition & 1 deletion assets/css/newshub.min.css

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion layouts/page-fullwidth.htm
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h1 class="post-title">{{ page.title | default(this.page.title) }}</h1>
</div>
</header>

<article class="bg-white py-6">
<article class="py-6">
<div class="container">
<div class="post-content">
{% page %}
Expand Down
11 changes: 11 additions & 0 deletions resources/scss/components/_form-control.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,17 @@
border-color: var(--#{$prefix}primary);
background-color: $gray-200;
}

.dark & {
color: $gray-300;
border-color: $gray-600;
background-color: $gray-900;

&:focus {
border-color: var(--#{$prefix}primary);
background-color: $gray-900;
}
}
}


Expand Down

0 comments on commit 7c14e15

Please sign in to comment.