Skip to content

Commit

Permalink
[release notes] Further adjustments that need to go into the next rel…
Browse files Browse the repository at this point in the history
…ease (#1995)

* chore: adjust hover colors + don't show same labels twice

* chore: add changeset

* chore: typo

* chore: fix color of release note link

* chore: revert last change

* chore: add space
  • Loading branch information
timonrey authored Jun 5, 2024
1 parent 94a70c2 commit ee6fb60
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/afraid-moose-tell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@commercetools-docs/gatsby-theme-docs': patch
---

Don't show product and productArea labels on release notes when the value is the Same. Adjusts the hover colors on release notes
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ const ReleaseNoteBody = (props) => {
<span>{product}</span>
</CustomStamp>
)}
{productArea && (
{/* If product and productArea have the same value, we only want to show it once. */}
{productArea && productArea !== product && (
<CustomStamp>
<span>{productArea}</span>
</CustomStamp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const linkStyles = css`
color: ${designSystem.colors.light.textPrimary} !important;
:hover {
color: ${designSystem.colors.light.linkNavigation} !important;
color: ${designSystem.colors.light.linkHover} !important;
}
`;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ type:
- deprecation
topics:
- Settings
product: Composable Commerce
productArea: HTTP APIs
product: Connect
productArea: Connect
---

FooBar Intro Line: What this is good for (like description)
Expand Down

0 comments on commit ee6fb60

Please sign in to comment.