From 08eb246d6e5d0f8ae787f535ce2fb868bfcc6b3e Mon Sep 17 00:00:00 2001 From: lidiazuin Date: Thu, 31 Oct 2024 12:31:02 +0100 Subject: [PATCH 1/3] Adding labs label and role for titles --- preview-src/labels.adoc | 4 ++++ src/css/labels.css | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/preview-src/labels.adoc b/preview-src/labels.adoc index 8b95a69c..02f2e45e 100644 --- a/preview-src/labels.adoc +++ b/preview-src/labels.adoc @@ -182,6 +182,10 @@ SINGLE +
+ Labs +
+ ++++ == Tables with labels! diff --git a/src/css/labels.css b/src/css/labels.css index c8c5dd69..e25dff24 100644 --- a/src/css/labels.css +++ b/src/css/labels.css @@ -120,6 +120,11 @@ span.label--function { color: rgba(var(--colors-lavender-50)); } +span.label--labs { + background: rgba(var(--color-labs)); + color: rgba(var(--colors-neutral-10)); +} + span.label--current { background: rgba(var(--colors-baltic-50)); color: rgba(var(--colors-baltic-10)); From 566d5bb929897f0457e7e4533e8993550fe5a959 Mon Sep 17 00:00:00 2001 From: lidiazuin Date: Thu, 31 Oct 2024 15:33:10 +0100 Subject: [PATCH 2/3] labs label page role --- preview-src/labels.adoc | 2 +- src/css/labels.css | 10 +++++----- src/js/data/rolesData.json | 6 ++++++ 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/preview-src/labels.adoc b/preview-src/labels.adoc index 02f2e45e..db96d467 100644 --- a/preview-src/labels.adoc +++ b/preview-src/labels.adoc @@ -183,7 +183,7 @@
- Labs + Labs
++++ diff --git a/src/css/labels.css b/src/css/labels.css index e25dff24..c23c6707 100644 --- a/src/css/labels.css +++ b/src/css/labels.css @@ -120,11 +120,6 @@ span.label--function { color: rgba(var(--colors-lavender-50)); } -span.label--labs { - background: rgba(var(--color-labs)); - color: rgba(var(--colors-neutral-10)); -} - span.label--current { background: rgba(var(--colors-baltic-50)); color: rgba(var(--colors-baltic-10)); @@ -239,6 +234,11 @@ span.label--labs { background: var(--color-labs); } +span.label--labs-label { + background: var(--color-labs); + color: rgba(var(--colors-neutral-10)); +} + span.label--graph-academy { background: var(--success-color); } diff --git a/src/js/data/rolesData.json b/src/js/data/rolesData.json index 612ee139..05d4b40f 100644 --- a/src/js/data/rolesData.json +++ b/src/js/data/rolesData.json @@ -10,6 +10,12 @@ "product": "Labs", "displayText": "Labs" }, + "labs-label":{ + "description": "Neo4j Labs project label", + "labelCategory": "product", + "product": "Labs", + "displayText": "Labs" + }, "graph-academy":{ "description": "Neo4j Graph Academy", "labelCategory": "content", From 6b3dca8063bb171bf169871043e4568e16c1e940 Mon Sep 17 00:00:00 2001 From: Lidia Zuin <102308961+lidiazuin@users.noreply.github.com> Date: Thu, 14 Nov 2024 14:15:09 +0100 Subject: [PATCH 3/3] Update src/js/data/rolesData.json Co-authored-by: Neil Dewhurst --- src/js/data/rolesData.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/data/rolesData.json b/src/js/data/rolesData.json index 05d4b40f..3507ad1a 100644 --- a/src/js/data/rolesData.json +++ b/src/js/data/rolesData.json @@ -12,7 +12,7 @@ }, "labs-label":{ "description": "Neo4j Labs project label", - "labelCategory": "product", + "labelCategory": "content", "product": "Labs", "displayText": "Labs" },