From 0eff6e0a7fee0cb341eda0ba8b04c0ac6473c032 Mon Sep 17 00:00:00 2001 From: desmukh Date: Tue, 24 Jan 2023 12:13:48 +0500 Subject: [PATCH 1/2] nav-menu: change color of current item --- style.css | 8 ++++++-- theme.json | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/style.css b/style.css index 43dd5ae..240edaa 100644 --- a/style.css +++ b/style.css @@ -36,7 +36,7 @@ with others. width: 80px; margin-right: 8px; height: 36px; - border-bottom: 1px solid #f5fbf8; + border-bottom: 1px solid var(--wp--preset--color--background); } .wp-site-blocks h2::after { @@ -46,9 +46,13 @@ with others. margin-left: 8px; height: 36px; border-left: 1px solid; - border-bottom: 1px solid #f5fbf8; + border-bottom: 1px solid var(--wp--preset--color--background); } .wp-site-blocks ul { list-style-image: url('/wp-content/themes/autonomic/assets/images/arrow.png'); +} + +.wp-block-navigation-item.current-menu-item { + color: var(--wp--preset--color--secondary) } \ No newline at end of file diff --git a/theme.json b/theme.json index 8faaad8..404abd0 100644 --- a/theme.json +++ b/theme.json @@ -25,7 +25,7 @@ }, { "slug": "secondary", - "color": "#27c773", + "color": "#0FB45D", "name": "Secondary" }, { From 07d576c105c10744f8a1062a3f0c20e20b46ff7d Mon Sep 17 00:00:00 2001 From: desmukh Date: Tue, 24 Jan 2023 13:30:43 +0500 Subject: [PATCH 2/2] home: update url of images to match server --- patterns/homepage.php | 2 +- style.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/patterns/homepage.php b/patterns/homepage.php index edb6856..b64f4d6 100644 --- a/patterns/homepage.php +++ b/patterns/homepage.php @@ -8,7 +8,7 @@ ?> -

Autonomic is a co-operative that is owned and run by its workers

+

Autonomic is a co-operative that is owned and run by its workers

diff --git a/style.css b/style.css index 240edaa..02dd89a 100644 --- a/style.css +++ b/style.css @@ -50,7 +50,7 @@ with others. } .wp-site-blocks ul { - list-style-image: url('/wp-content/themes/autonomic/assets/images/arrow.png'); + list-style-image: url('https://beta.autonomic.zone/wp-content/uploads/2023/01/arrow.png'); } .wp-block-navigation-item.current-menu-item {