Skip to content

Commit

Permalink
labs label page role
Browse files Browse the repository at this point in the history
  • Loading branch information
lidiazuin committed Oct 31, 2024
1 parent 08eb246 commit 566d5bb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion preview-src/labels.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
</div>
<div class="box">
<span class="label label--labs">Labs</span>
<span class="label label--labs-label">Labs</span>
</div>
++++
Expand Down
10 changes: 5 additions & 5 deletions src/css/labels.css
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down Expand Up @@ -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);
}
6 changes: 6 additions & 0 deletions src/js/data/rolesData.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 566d5bb

Please sign in to comment.