Skip to content

Commit

Permalink
Fix website accessibility issues (microsoft#527)
Browse files Browse the repository at this point in the history
* fix search color

* oops

* accessibility fixes for docs/dev/configutaion.md

---------

Co-authored-by: Tal Zaccai <talzacc@microsoft.com>
  • Loading branch information
badrishc and TalZaccai authored Jul 19, 2024
1 parent 5266882 commit 7ce336a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
4 changes: 4 additions & 0 deletions website/docs/dev/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ It then calls the instance method **GetServerOptions()** which returns an instan

```mermaid
flowchart LR
accTitle: Configuration Flow
accDescr: Garnet's configuration flow
def[\Defaults File\]
cmd[\Command Line Args\]
conf[\Configuration File\]
Expand Down Expand Up @@ -44,6 +46,8 @@ This is done by calling the following factory methods:

```mermaid
flowchart LR
accTitle: Configuration File Parsing Flow
accDescr: Garnet's configuration file parsing flow
getsp[[StreamProviderFactory.GetStreamProvider]]
getcp[[ConfigProviderFactory.GetConfigProvider]]
spb[\StreamProviderBase\]
Expand Down
3 changes: 3 additions & 0 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ const config = {
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
mermaid: {
theme: {light: 'neutral', dark: 'dark'},
},
// Replace with your project's social card
//image: 'img/docusaurus-social-card.jpg',
navbar: {
Expand Down
8 changes: 7 additions & 1 deletion website/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
--ifm-color-primary-light: #aa6e6f;
--ifm-color-primary-lighter: #ae7677;
--ifm-color-primary-lightest: #bc8e8e;
--ifm-navbar-search-input-placeholder-color: #686b6e;
}
/*:root {
--ifm-color-primary: #2e8555;
Expand Down Expand Up @@ -43,8 +44,13 @@
}
*/


html[data-theme="dark"] {
--ifm-navbar-search-input-placeholder-color: #8a8d91;
}

.hero {
background-image: url("/static/img/garnet-bg2-2800x720.jpg");
background-repeat: no-repeat;
background-size: cover;
}
}

0 comments on commit 7ce336a

Please sign in to comment.