Skip to content

Commit

Permalink
Navigation new icons and color (#2581)
Browse files Browse the repository at this point in the history
* chore: adding new color (primary-30) and icons for representing expand/collapse actions.

---------

Co-authored-by: Carlos Cortizas <[email protected]>
  • Loading branch information
chloe0592 and CarlosCortizasCT authored Aug 22, 2023
1 parent 842e122 commit 27c002a
Show file tree
Hide file tree
Showing 10 changed files with 331 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/gold-guests-occur.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@commercetools-uikit/icons': patch
'@commercetools-uikit/design-system': patch
---

Adding new color (primary-30) and icons for representing expand/collapse actions.
1 change: 1 addition & 0 deletions design-system/materials/custom-properties.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
:root {
--color-primary: #00b39e;
--color-primary-25: hsl(172.9608938547486, 100%, 25%);
--color-primary-30: hsl(172.9608938547486, 100%, 30%);
--color-primary-40: hsl(172.9608938547486, 100%, 40%);
--color-primary-85: hsl(172.9608938547486, 100%, 85%);
--color-primary-95: hsl(172.9608938547486, 100%, 95%);
Expand Down
1 change: 1 addition & 0 deletions design-system/materials/custom-properties.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"--color-primary": "#00b39e",
"--color-primary-25": "hsl(172.9608938547486, 100%, 25%)",
"--color-primary-30": "hsl(172.9608938547486, 100%, 30%)",
"--color-primary-40": "hsl(172.9608938547486, 100%, 40%)",
"--color-primary-85": "hsl(172.9608938547486, 100%, 85%)",
"--color-primary-95": "hsl(172.9608938547486, 100%, 95%)",
Expand Down
1 change: 1 addition & 0 deletions design-system/materials/internals/definition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ choiceGroupsByTheme:
choices:
color-primary: '#00b39e'
color-primary-25: 'hsl(172.9608938547486, 100%, 25%)'
color-primary-30: 'hsl(172.9608938547486, 100%, 30%)'
color-primary-40: 'hsl(172.9608938547486, 100%, 40%)'
color-primary-85: 'hsl(172.9608938547486, 100%, 85%)'
color-primary-95: 'hsl(172.9608938547486, 100%, 95%)'
Expand Down
2 changes: 2 additions & 0 deletions design-system/src/design-tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const themes = {
default: {
colorPrimary: '#00b39e',
colorPrimary25: 'hsl(172.9608938547486, 100%, 25%)',
colorPrimary30: 'hsl(172.9608938547486, 100%, 30%)',
colorPrimary40: 'hsl(172.9608938547486, 100%, 40%)',
colorPrimary85: 'hsl(172.9608938547486, 100%, 85%)',
colorPrimary95: 'hsl(172.9608938547486, 100%, 95%)',
Expand Down Expand Up @@ -530,6 +531,7 @@ export const themes = {
const designTokens = {
colorPrimary: 'var(--color-primary, #00b39e)',
colorPrimary25: 'var(--color-primary-25, hsl(172.9608938547486, 100%, 25%))',
colorPrimary30: 'var(--color-primary-30, hsl(172.9608938547486, 100%, 30%))',
colorPrimary40: 'var(--color-primary-40, hsl(172.9608938547486, 100%, 40%))',
colorPrimary85: 'var(--color-primary-85, hsl(172.9608938547486, 100%, 85%))',
colorPrimary95: 'var(--color-primary-95, hsl(172.9608938547486, 100%, 95%))',
Expand Down
154 changes: 154 additions & 0 deletions packages/components/icons/src/generated/SidebarCollapseReact.tsx

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

154 changes: 154 additions & 0 deletions packages/components/icons/src/generated/SidebarExpandReact.tsx

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions packages/components/icons/src/generated/index.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions packages/components/icons/src/svg/sidebar-collapse.react.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions packages/components/icons/src/svg/sidebar-expand.react.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

1 comment on commit 27c002a

@vercel
Copy link

@vercel vercel bot commented on 27c002a Aug 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.