Skip to content

chore(tokens): update tokens with new status colors and border on secondary#6452

Merged
mcoker merged 1 commit into
patternfly:v6from
srambach:update-tokens-march-21-24
Mar 22, 2024
Merged

chore(tokens): update tokens with new status colors and border on secondary#6452
mcoker merged 1 commit into
patternfly:v6from
srambach:update-tokens-march-21-24

Conversation

@srambach

Copy link
Copy Markdown
Member

Updates to tokens from design. Modifies status colors and adds a border color on secondary.

@patternfly-build

patternfly-build commented Mar 21, 2024

Copy link
Copy Markdown
Collaborator

Comment on lines +7 to +11
--pf-t--chart--stroke--width--sm: 2;
--pf-t--chart--stroke--width--xs: 1;
--pf-t--chart--BorderWidth--lg: 8;
--pf-t--chart--BorderWidth--sm: 2;
--pf-t--chart--BorderWidth--xs: 1;

@mcoker mcoker Mar 22, 2024

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@lboehling just want to confirm this is an intended change? It's good from the code side since the existing values are unitless and passed directly to SVG attributes/styles

@srambach srambach Mar 22, 2024

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It's exported as

      "xs": {
        "type": "number",
        "value": 1
      },
      "sm": {
        "type": "number",
        "value": 2
      },
      "lg": {
        "type": "number",
        "value": 8
      }
    },
    "stroke": {
      "width": {
        "xs": {
          "type": "number",
          "value": 1
        },
        "sm": {
          "type": "number",
          "value": 2
        }
      }
    },

and I thought you wanted unitless, so the dimension isn't added by the transformer right now.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@srambach perfect! Just wanted to verify it was intentional 👍

@mcoker mcoker left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🚢👈

@lboehling lboehling left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

lgtm! ty!

@mcoker mcoker merged commit 270d460 into patternfly:v6 Mar 22, 2024
@patternfly-build

Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 6.0.0-alpha.105 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants