From 1b2513d2773b2383d77f952c56d2aa6f4c3f53fb Mon Sep 17 00:00:00 2001 From: Remko Date: Wed, 20 Dec 2023 16:28:31 +0100 Subject: [PATCH 1/2] updated navigation to gouda theme --- .../topNav/primaryTopNav/PrimaryTopNav.module.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/topNav/primaryTopNav/PrimaryTopNav.module.css b/src/components/topNav/primaryTopNav/PrimaryTopNav.module.css index ce275f5..c58947c 100644 --- a/src/components/topNav/primaryTopNav/PrimaryTopNav.module.css +++ b/src/components/topNav/primaryTopNav/PrimaryTopNav.module.css @@ -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 { @@ -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 { @@ -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 { @@ -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 { From b0ff270af867aba90bdba0d85c91969baeda1c33 Mon Sep 17 00:00:00 2001 From: Remko Date: Wed, 20 Dec 2023 16:29:05 +0100 Subject: [PATCH 2/2] updated version and readme --- README.md | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f47ff30..348e375 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/package.json b/package.json index 77ac96b..524fa83 100644 --- a/package.json +++ b/package.json @@ -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": {