From 5b53a67d606a101747308c5dca5286eecf57ffc8 Mon Sep 17 00:00:00 2001 From: Troy Chaplin Date: Mon, 21 Oct 2024 15:12:46 -0400 Subject: [PATCH 1/6] update: removed para link style that impact site title --- styles/03-dusk.json | 9 --------- 1 file changed, 9 deletions(-) diff --git a/styles/03-dusk.json b/styles/03-dusk.json index a81a37d7..e8ae63fb 100644 --- a/styles/03-dusk.json +++ b/styles/03-dusk.json @@ -67,15 +67,6 @@ "background": "var:preset|color|accent-5" } }, - "core/paragraph": { - "elements": { - "link": { - "color": { - "text": "var:preset|color|accent-2" - } - } - } - }, "core/post-author-name": { "typography": { "fontWeight": "300" From 2a0a5464b1e6505cd51b1816e96805ddf6392f83 Mon Sep 17 00:00:00 2001 From: Troy Chaplin Date: Thu, 24 Oct 2024 08:03:37 -0400 Subject: [PATCH 2/6] revert: brought back para link styles --- styles/03-dusk.json | 33 +++++++++++++++++++++++++++++++++ styles/colors/03-dusk.json | 2 +- 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/styles/03-dusk.json b/styles/03-dusk.json index 7b6a45c2..a81a37d7 100644 --- a/styles/03-dusk.json +++ b/styles/03-dusk.json @@ -67,6 +67,15 @@ "background": "var:preset|color|accent-5" } }, + "core/paragraph": { + "elements": { + "link": { + "color": { + "text": "var:preset|color|accent-2" + } + } + } + }, "core/post-author-name": { "typography": { "fontWeight": "300" @@ -78,6 +87,14 @@ "link": { "color": { "text": "var:preset|color|accent-2" + }, + "typography": { + "textDecoration": "underline" + }, + ":hover": { + "typography": { + "textDecoration": "none" + } } } } @@ -93,6 +110,14 @@ "link": { "color": { "text": "var:preset|color|accent-2" + }, + "typography": { + "textDecoration": "underline" + }, + ":hover": { + "typography": { + "textDecoration": "none" + } } } } @@ -234,6 +259,14 @@ "radius": "4px", "width": "0.8px", "style": "solid" + }, + "typography": { + "textDecoration": "none" + }, + ":hover": { + "typography": { + "textDecoration": "underline" + } } } } diff --git a/styles/colors/03-dusk.json b/styles/colors/03-dusk.json index 568ccf66..9c08ecba 100644 --- a/styles/colors/03-dusk.json +++ b/styles/colors/03-dusk.json @@ -65,7 +65,7 @@ "elements": { "link": { "color": { - "text": "var:preset|color|accent-2" + "text": "var:preset|color|accent-6" } } } From 3ff0c7281bba6aa5157fb8c98f606da1807c2b9c Mon Sep 17 00:00:00 2001 From: Troy Chaplin Date: Fri, 25 Oct 2024 19:12:11 -0400 Subject: [PATCH 3/6] fix: site title link styles --- styles/03-dusk.json | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/styles/03-dusk.json b/styles/03-dusk.json index a81a37d7..d4337fe7 100644 --- a/styles/03-dusk.json +++ b/styles/03-dusk.json @@ -174,16 +174,10 @@ "typography": { "fontFamily": "var:preset|font-family|vollkorn", "fontSize": "var:preset|font-size|x-large" - }, - "elements": { - "link": { - "color": { - "text": "var:preset|color|accent-3" - } - } } } }, + "css": "p.wp-block-site-title:not(.has-link-color) a { color: var(--wp--preset--color--accent-3);}", "elements": { "button": { "typography": { From 847e2c7f255bea1b1bd8d00a021dac0f46614030 Mon Sep 17 00:00:00 2001 From: Troy Chaplin Date: Mon, 28 Oct 2024 06:09:54 -0400 Subject: [PATCH 4/6] revert: changes on colors/dusk --- styles/colors/03-dusk.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/styles/colors/03-dusk.json b/styles/colors/03-dusk.json index 9c08ecba..568ccf66 100644 --- a/styles/colors/03-dusk.json +++ b/styles/colors/03-dusk.json @@ -65,7 +65,7 @@ "elements": { "link": { "color": { - "text": "var:preset|color|accent-6" + "text": "var:preset|color|accent-2" } } } From 2458fa832aa0a61a3134be86fbc635ea2037de66 Mon Sep 17 00:00:00 2001 From: Troy Chaplin Date: Mon, 28 Oct 2024 11:17:33 -0400 Subject: [PATCH 5/6] fix: reverted back unnecesary changes --- styles/03-dusk.json | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/styles/03-dusk.json b/styles/03-dusk.json index d4337fe7..bf723ea1 100644 --- a/styles/03-dusk.json +++ b/styles/03-dusk.json @@ -87,14 +87,6 @@ "link": { "color": { "text": "var:preset|color|accent-2" - }, - "typography": { - "textDecoration": "underline" - }, - ":hover": { - "typography": { - "textDecoration": "none" - } } } } @@ -110,14 +102,6 @@ "link": { "color": { "text": "var:preset|color|accent-2" - }, - "typography": { - "textDecoration": "underline" - }, - ":hover": { - "typography": { - "textDecoration": "none" - } } } } @@ -174,10 +158,10 @@ "typography": { "fontFamily": "var:preset|font-family|vollkorn", "fontSize": "var:preset|font-size|x-large" - } + }, + "css": "p.wp-block-site-title:not(.has-link-color) a { color: var(--wp--preset--color--accent-3);}" } }, - "css": "p.wp-block-site-title:not(.has-link-color) a { color: var(--wp--preset--color--accent-3);}", "elements": { "button": { "typography": { @@ -253,14 +237,6 @@ "radius": "4px", "width": "0.8px", "style": "solid" - }, - "typography": { - "textDecoration": "none" - }, - ":hover": { - "typography": { - "textDecoration": "underline" - } } } } From c074345e77ca8e2035bed3c578abadc5ec7907d3 Mon Sep 17 00:00:00 2001 From: Troy Chaplin Date: Mon, 4 Nov 2024 06:38:25 -0500 Subject: [PATCH 6/6] change: dusk color preset to match primary styles for site title --- styles/colors/03-dusk.json | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/styles/colors/03-dusk.json b/styles/colors/03-dusk.json index 568ccf66..6153d3af 100644 --- a/styles/colors/03-dusk.json +++ b/styles/colors/03-dusk.json @@ -124,13 +124,7 @@ "color": { "text": "var:preset|color|accent-3" }, - "elements": { - "link": { - "color": { - "text": "var:preset|color|accent-3" - } - } - } + "css": "p.wp-block-site-title:not(.has-link-color) a { color: var(--wp--preset--color--accent-3);}" } }, "elements": {