Skip to content

Commit

Permalink
Merge pull request firebase#3256 from FirebaseExtended/Salakar-improv…
Browse files Browse the repository at this point in the history
…e-darkmode-readability
  • Loading branch information
Salakar authored Aug 19, 2020
2 parents c95c7ef + e66da57 commit cc56605
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion .github/workflows/docs_preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
run: |
yarn
yarn run build
- uses: ./docs-preview
- uses: ./.github/docs-preview
with:
firebaseCli: "${{ secrets.CLI_URL }}"
repoToken: "${{ secrets.GITHUB_TOKEN }}"
Expand Down
2 changes: 1 addition & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ module.exports = {
alt: 'FlutterFire Logo',
src: '/img/flutterfire_300x.png',
},
items: [
links: [
{
to: 'docs/overview',
activeBasePath: 'docs',
Expand Down
6 changes: 6 additions & 0 deletions website/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ $theme: (
}
}

html[data-theme='dark'] {
--ifm-code-background: var(--google-gray-primary-dark);
--ifm-color-primary: var(--flutter-blue-primary-light);
--ifm-menu-color-active: var(--flutter-blue-primary-light);
}

// Create dark-mode helper classes for text color & background color
@each $name, $color in $theme {
html[data-theme='dark'] {
Expand Down

0 comments on commit cc56605

Please sign in to comment.