Skip to content

Commit

Permalink
update with new colors (#94)
Browse files Browse the repository at this point in the history
Problem
=======
Theme adjustments for MD book to reflect current mocks

Closes #81
  • Loading branch information
shannonwells authored Oct 29, 2024
1 parent c7c192e commit cab6a77
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 12 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/verify-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: Verify PR

on:
pull_request:
branches:
- main

jobs:
verify:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion pages/images/ParachainModel-Dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion pages/images/ParachainModel.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 15 additions & 4 deletions theme/css/chrome.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ html {
scrollbar-color: var(--scrollbar) var(--bg);
}

.content h2 a:link
{
color: var(--links-hover)
}


#searchresults a,
.content a:link,
a:visited,
a > .hljs {
color: var(--links);
}
Expand Down Expand Up @@ -138,8 +142,6 @@ a > .hljs {
.menu-bar:visited,
.nav-chapters,
.nav-chapters:visited,
.mobile-nav-chapters,
.mobile-nav-chapters:visited,
.menu-bar .icon-button,
.menu-bar a:link,
.menu-bar a:visited {
Expand Down Expand Up @@ -198,6 +200,15 @@ a > .hljs {
padding: 10px 20px;
border-radius: 5px;
background-color: var(--page-nav-bg);
color: var(--links);
}

.mobile-nav-chapters:hover {
color: var(--links-hover);
}

.mobile-nav-chapters:active {
color: var(--links);
}

/* Only Firefox supports flow-relative values */
Expand Down
2 changes: 2 additions & 0 deletions theme/css/general.css
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,11 @@ h6:target::before {
}
.content a {
text-decoration: none;
color: var(--links)
}
.content a:hover {
text-decoration: underline;
color: var(--links-hover);
}
.content img,
.content video {
Expand Down
8 changes: 5 additions & 3 deletions theme/css/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,13 @@
}

.light {
--bg: #fefaf3;
--bg: #fff;
--fg: #000;
--headers: #19455e;
--headers-alt: #f77c47;

--sidebar-bg: #f4ecde;
--sidebar-fg: #000;
--sidebar-bg: #19455E;
--sidebar-fg: #fff;
--sidebar-non-existant: var(--sidebar-fg);
--sidebar-active: #4ba0a5;
--sidebar-spacer: var(--sidebar-bg);
Expand All @@ -82,6 +83,7 @@
--icons-hover: #4ba0a5;

--links: var(--sidebar-active);
--links-hover: var(--headers-alt);

--inline-code-color: #301900;

Expand Down

0 comments on commit cab6a77

Please sign in to comment.