Skip to content

Commit

Permalink
Merge pull request #177 from ConductionNL/feature/NDT-44/gouda-theme
Browse files Browse the repository at this point in the history
feature/NDT-44/gouda-theme
  • Loading branch information
remko48 authored Dec 20, 2023
2 parents f76740f + b0ff270 commit eb431c5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- **Version 2.2 (breaking changes from 2.1.x)**

- 2.2.44: Updated PrimaryTopNav to allow font-weight.
- 2.2.43: Updated DownloadCard to allow size as string.
- 2.2.42:
- Updated PrimaryTopNav to have seperate dropdown tokens.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@conduction/components",
"version": "2.2.43",
"version": "2.2.44",
"description": "React (Gatsby) components used within the Conduction Skeleton Application (and its implementations)",
"main": "lib/index.js",
"scripts": {
Expand Down
7 changes: 6 additions & 1 deletion src/components/topNav/primaryTopNav/PrimaryTopNav.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@

.currentLink {
color: var(--conduction-primary-top-nav-current-color) !important;
font-weight: var(--conduction-primary-top-nav-current-font-weight);
}

.currentLink svg path {
Expand All @@ -127,10 +128,12 @@

.dropdownCurrent:hover > .dropdownCurrentLink {
color: var(--conduction-primary-top-nav-dropdown-hover-color, var(--conduction-primary-top-nav-hover-color)) !important;
font-weight: var(--conduction-primary-top-nav-dropdown-current-font-weight) !important;
}

.dropdownCurrentLink {
color: var(--conduction-primary-top-nav-dropdown-current-color, var(--conduction-primary-top-nav-current-color)) !important;
font-weight: var(--conduction-primary-top-nav-dropdown-current-font-weight);
}

.dropdownCurrentLink svg path {
Expand Down Expand Up @@ -158,8 +161,9 @@
fill: var(--conduction-primary-top-nav-color);
}

.primary .li:hover .link {
.primary .li:hover > .link {
color: var(--conduction-primary-top-nav-hover-color);
font-weight: var(--conduction-primary-top-nav-hover-font-weight);
}

.primary .li:hover svg path {
Expand Down Expand Up @@ -203,6 +207,7 @@

.primary .dropdown .li:hover .link {
color: var(--conduction-primary-top-nav-dropdown-hover-color, var(--conduction-primary-top-nav-hover-color));
font-weight: var(--conduction-primary-top-nav-dropdown-hover-font-weight);
}

.dropdown .li:hover {
Expand Down

0 comments on commit eb431c5

Please sign in to comment.