Skip to content

Commit

Permalink
Added easy color customization via CSS variables
Browse files Browse the repository at this point in the history
  • Loading branch information
ovasquez committed Dec 3, 2019
1 parent 7cb98db commit 24ee772
Show file tree
Hide file tree
Showing 4 changed files with 189 additions and 111 deletions.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,17 @@ The colors were chosen using <https://material.io/tools/color>.
"templates/material"
],
}
```
```

## Color customization

You can easily customize the color of the header bar and the links by updating
the following variables in the `material/styles/main.css` file.

```css
:root {
--primary-color: #1565c0; /* Header color */
--primary-light: #5e92f3; /* Link color */
--primary-dark: #003c8f; /* Link:hover color */
}
```
4 changes: 4 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## Version 0.3.0 - December 2nd 2019

- Added easy customization of header and link colors.

## Version 0.2.0 - February 1st 2019

- Added material theme for the `note|warning|caution` blockquotes.
Expand Down
13 changes: 13 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,19 @@ The colors were chosen using <https://material.io/tools/color>.
}
```

## Color customization

You can easily customize the color of the header bar and the links by updating
the following variables in the `material/styles/main.css` file.

```css
:root {
--primary-color: #1565c0; /* Header color */
--primary-light: #5e92f3; /* Link color */
--primary-dark: #003c8f; /* Link:hover color */
}
```

## Markdown extras

For more reference about markdown support in DocFX check the
Expand Down
Loading

0 comments on commit 24ee772

Please sign in to comment.