Skip to content

Commit

Permalink
Embrace green as the accent color
Browse files Browse the repository at this point in the history
  • Loading branch information
noelwelsh committed Feb 5, 2024
1 parent c021067 commit eae395e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/scss/common/header.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
header {
background-color: $primary-text-emphasis;
background-color: shade-color($primary, 40%);
color: $white;
border-color: shade-color($primary, 20%);
padding-top: $spacer;
padding-bottom: 4 * $spacer;

Expand Down
1 change: 1 addition & 0 deletions src/scss/common/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

// 4. Include any default map overrides here

$primary: #4cb03a;
// From the old html.less, but they need to be defined here
$font-size-base: 20px;
$line-height-base: 1.75;
Expand Down
5 changes: 5 additions & 0 deletions src/scss/common/toc.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
nav.navbar {
background-color: $white;
color: shade-color($primary, 40%);
max-height: 100vh;
overflow-y: auto;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: shade-color($primary, 20%);
}
2 changes: 1 addition & 1 deletion src/templates/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
$endfor$
</head>
<body>
<nav class="navbar navbar-expand-lg sticky-top bg-white text-primary-emphasis border-primary border-bottom">
<nav class="navbar navbar-expand-lg sticky-top">
<div class="container-fluid">
<details>
<summary class="nav-item p-2"><h5 class="d-inline-block mb-0">Table of Contents</h5></summary>
Expand Down

0 comments on commit eae395e

Please sign in to comment.