Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(design-tokens): DLT-2004 typography and radius design tokens for button, input, select, tabs #467

Merged
merged 31 commits into from
Aug 29, 2024

Conversation

francisrupert
Copy link
Contributor

@francisrupert francisrupert commented Aug 22, 2024

Component Design Tokens for button- and input-like components

high-five-knailed-it

πŸ› οΈ Type Of Change

  • Feature

πŸ“– Jira Ticket

https://dialpad.atlassian.net/browse/DLT-2004

πŸ“– Description

  • Created Design Tokens for Buttons and form elements. We're not (yet) creating design tokens for every component, though some definitely need them to further support Expressive Theming in both Vue and Figma components.
  • Applied them to CSS.
    • Button
    • Split Button
    • Input (text and textarea types)
    • Tabs
  • Emoji Picker impacted by a few pixels (thanks Percy). Adjusted those and corrected some style usage within β€” most especially color tokens.
  • Also did a little reordering and tweaking of markdown docs

πŸ“ Checklist

For all PRs:

  • I have ensured no private Dialpad links or info are in the code or pull request description (Dialtone is a public repo!).
  • I have reviewed my changes.
  • I have added all relevant documentation.
  • I have considered the performance impact of my change.

For all CSS changes:

  • I have used design tokens whenever possible.
  • I have considered how this change will behave on different screen sizes.
  • I have visually validated my change in light and dark mode.
  • I have used gap or flexbox properties for layout instead of margin whenever possible.

Copy link

Please add either the visual-test-ready or no-visual-test label to this PR depending on whether you want to run visual tests or not.
It is recommended to run visual tests if your PR changes any UI. ‼️

@francisrupert francisrupert changed the title feat(design-tokens): typography and radius design tokens for button, input, select, tabs feat(design-tokens): DLT-2004 typography and radius design tokens for button, input, select, tabs Aug 23, 2024
@francisrupert francisrupert self-assigned this Aug 23, 2024
@francisrupert francisrupert added the visual-test-ready Add this tag when the PR is ready for visual test, to trigger GHA visual tests label Aug 23, 2024
@francisrupert francisrupert marked this pull request as ready for review August 23, 2024 20:03
Copy link
Contributor

@braddialpad braddialpad left a comment

Choose a reason for hiding this comment

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

Great changes thanks! I don't see any issues with the css changes you made. Couple of things related to the housekeeping.

Copy link

βœ”οΈ Deploy previews ready!
😎 Dialtone preview: https://dialtone.dialpad.com/deploy-previews/pr-467/
😎 Dialtone-vue 2 preview: https://dialtone.dialpad.com/vue/deploy-previews/pr-467/
😎 Dialtone-vue 3 the preview: https://dialtone.dialpad.com/vue3/deploy-previews/pr-467/

Copy link
Collaborator

@juliodialpad juliodialpad left a comment

Choose a reason for hiding this comment

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

I don't have any concern, everything looks good, thanks!

@francisrupert francisrupert merged commit a0c10a2 into staging Aug 29, 2024
13 checks passed
@francisrupert francisrupert deleted the feat/button-component-design-tokens branch August 29, 2024 18:17
juliodialpad pushed a commit that referenced this pull request Sep 3, 2024
# [9.72.0](dialtone/v9.71.0...dialtone/v9.72.0) (2024-09-03)

### Features

* **Design Tokens:** DLT-2004 typography and radius design tokens for button, input, select, tabs ([#467](#467)) ([a0c10a2](a0c10a2))
juliodialpad pushed a commit that referenced this pull request Sep 3, 2024
# [8.43.0](dialtone-css/v8.42.3...dialtone-css/v8.43.0) (2024-09-03)

### Features

* **Design Tokens:** DLT-2004 typography and radius design tokens for button, input, select, tabs ([#467](#467)) ([a0c10a2](a0c10a2))
juliodialpad pushed a commit that referenced this pull request Sep 3, 2024
# [1.36.0](dialtone-tokens/v1.35.0...dialtone-tokens/v1.36.0) (2024-09-03)

### Features

* **Design Tokens:** DLT-2004 typography and radius design tokens for button, input, select, tabs ([#467](#467)) ([a0c10a2](a0c10a2))
juliodialpad pushed a commit that referenced this pull request Sep 3, 2024
# [2.158.0](dialtone-vue2/v2.157.1...dialtone-vue2/v2.158.0) (2024-09-03)

### Features

* **Design Tokens:** DLT-2004 typography and radius design tokens for button, input, select, tabs ([#467](#467)) ([a0c10a2](a0c10a2))
juliodialpad pushed a commit that referenced this pull request Sep 3, 2024
# [3.151.0](dialtone-vue3/v3.150.1...dialtone-vue3/v3.151.0) (2024-09-03)

### Features

* **Design Tokens:** DLT-2004 typography and radius design tokens for button, input, select, tabs ([#467](#467)) ([a0c10a2](a0c10a2))
ninamarina pushed a commit that referenced this pull request Sep 3, 2024
ninamarina pushed a commit that referenced this pull request Sep 3, 2024
# [9.72.0](dialtone/v9.71.0...dialtone/v9.72.0) (2024-09-03)

### Features

* **Design Tokens:** DLT-2004 typography and radius design tokens for button, input, select, tabs ([#467](#467)) ([a0c10a2](a0c10a2))
ninamarina pushed a commit that referenced this pull request Sep 3, 2024
# [8.43.0](dialtone-css/v8.42.3...dialtone-css/v8.43.0) (2024-09-03)

### Features

* **Design Tokens:** DLT-2004 typography and radius design tokens for button, input, select, tabs ([#467](#467)) ([a0c10a2](a0c10a2))
ninamarina pushed a commit that referenced this pull request Sep 3, 2024
# [1.36.0](dialtone-tokens/v1.35.0...dialtone-tokens/v1.36.0) (2024-09-03)

### Features

* **Design Tokens:** DLT-2004 typography and radius design tokens for button, input, select, tabs ([#467](#467)) ([a0c10a2](a0c10a2))
ninamarina pushed a commit that referenced this pull request Sep 3, 2024
# [2.158.0](dialtone-vue2/v2.157.1...dialtone-vue2/v2.158.0) (2024-09-03)

### Features

* **Design Tokens:** DLT-2004 typography and radius design tokens for button, input, select, tabs ([#467](#467)) ([a0c10a2](a0c10a2))
ninamarina pushed a commit that referenced this pull request Sep 3, 2024
# [3.151.0](dialtone-vue3/v3.150.1...dialtone-vue3/v3.151.0) (2024-09-03)

### Features

* **Design Tokens:** DLT-2004 typography and radius design tokens for button, input, select, tabs ([#467](#467)) ([a0c10a2](a0c10a2))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
visual-test-ready Add this tag when the PR is ready for visual test, to trigger GHA visual tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants