Skip to content

Update primary button style #18319

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

Merged
merged 1 commit into from
Aug 21, 2023
Merged

Update primary button style #18319

merged 1 commit into from
Aug 21, 2023

Conversation

gtsiolis
Copy link
Contributor

@gtsiolis gtsiolis commented Jul 20, 2023

Description

Reviving parts of #16433 to update the primary button style now that #18283 has been merged. 📙

Besides the button color change, this will also increase the border radius to match the button radius used in the marketing website. Cc @chrifro @taliamoyal

Additionally, this will update the theme selection card to avoid clashing with the onboarding.

Summary generated by Copilot
BEFORE AFTER
Frame 1745 Frame 1746
Frame 1743 Frame 1744
Frame 1761 Frame 1762
Frame 1763 Frame 1764
Frame 1747 Frame 1748

How to test

Log in and navigate through the dashboard to observe the new primary button style. 🐈‍⬛

Documentation

Preview status

Gitpod was successfully deployed to your preview environment.

Build Options

Build
  • /werft with-werft
    Run the build with werft instead of GHA
  • leeway-no-cache
  • /werft no-test
    Run Leeway with --dont-test
Publish
  • /werft publish-to-npm
  • /werft publish-to-jb-marketplace
Installer
  • analytics=segment
  • with-dedicated-emulation
  • workspace-feature-flags
    Add desired feature flags to the end of the line above, space separated
Preview Environment
  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-gce-vm
    If enabled this will create the environment on GCE infra
  • with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh
  • with-monitoring

/hold

@stale
Copy link

stale bot commented Aug 10, 2023

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Aug 10, 2023
@gtsiolis gtsiolis force-pushed the gt/update-primary-button-style branch from 6f6b7b1 to ca6f6d4 Compare August 10, 2023 13:52
@stale stale bot removed the meta: stale This issue/PR is stale and will be closed soon label Aug 10, 2023
@gtsiolis gtsiolis force-pushed the gt/update-primary-button-style branch from ca6f6d4 to 34c4b27 Compare August 10, 2023 20:19
@roboquat roboquat added size/S and removed size/XS labels Aug 10, 2023
@gtsiolis gtsiolis force-pushed the gt/update-primary-button-style branch 2 times, most recently from 7f247d7 to 3fb307b Compare August 10, 2023 21:18
@gtsiolis gtsiolis marked this pull request as ready for review August 10, 2023 21:21
@gtsiolis gtsiolis requested a review from a team as a code owner August 10, 2023 21:21
@chrifro
Copy link

chrifro commented Aug 11, 2023

Great change to align product and website more ✨

Some thoughts:

  • nice border-radius 💫
  • the orange seems quite pale, it's not the same color as we use on the website, is it?
  • the disabled and enabled buttons are very similar and are difficult to distinguish. Would suggest adding a hover effect and more color difference to it
  • FWIW, we just slightly updated the primary button for the website with a gradient style. Could look very cool in the product as well. See here

@gtsiolis
Copy link
Contributor Author

Hey @chrifro! Thanks so much for the feedback.

nice border-radius 💫

Thanks! 🙌

the orange seems quite pale, it's not the same color as we use on the website, is it?

Yeah, but the specific color looks quite good in dark theme, right?

For the light theme I still find it quite bad, but I just realized we're using the black background for such colors in light themes, and I was about to do just that, see screenshot below. 💡

Light Dark
Frame 1765 Frame 1766

the disabled and enabled buttons are very similar and are difficult to distinguish. Would suggest adding a hover effect and more color difference to it

I opted out from a hover state for now to avoid having too many kumquat colors around but yeah, I'll try something in this or a follow PR. Disabled buttons are a cancer to UX, and we should remove them all if possible. 🦀

FWIW, we just slightly updated the primary button for the website with a gradient style. Could look very cool in the product as well. See here

Awesome, I wanted to reach out about this. Superb. ✨

@gtsiolis gtsiolis force-pushed the gt/update-primary-button-style branch 2 times, most recently from 7597a49 to 26866ae Compare August 11, 2023 06:43
@gtsiolis gtsiolis marked this pull request as draft August 11, 2023 06:46
@gtsiolis gtsiolis force-pushed the gt/update-primary-button-style branch from 26866ae to 814abcd Compare August 11, 2023 13:23
@roboquat roboquat added size/M and removed size/S labels Aug 11, 2023
@gtsiolis gtsiolis marked this pull request as ready for review August 11, 2023 14:16
@gtsiolis gtsiolis force-pushed the gt/update-primary-button-style branch from 814abcd to 303979b Compare August 15, 2023 20:28
Copy link
Member

@filiptronicek filiptronicek left a comment

Choose a reason for hiding this comment

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

This looks really good, great job with it, George.

Not sure if you had anyone specific in mind for the review, but as for me, :shipit:.

@gtsiolis gtsiolis force-pushed the gt/update-primary-button-style branch 3 times, most recently from 026d316 to d95f646 Compare August 16, 2023 08:10
@gtsiolis
Copy link
Contributor Author

Thanks for taking a look, @filiptronicek. 🌮

Made a few more minor changes:

  • Align the log-in buttons to use the same border radius 🤓
  • Update some empty states background colors (if only we had a region component for this) 😃

I'd like to have another pair of eyes on the UX changes.

@selfcontained any thoughts or strong objections against the colors used on light vs. dark theme? Cc @svenefftinge

@gtsiolis gtsiolis requested a review from selfcontained August 16, 2023 08:34
Copy link
Contributor

@selfcontained selfcontained left a comment

Choose a reason for hiding this comment

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

Changes lgtm.

The only thing I noticed was the hover/active state of the primary button in the light theme was a bit too subtle for me to see.

@gtsiolis gtsiolis force-pushed the gt/update-primary-button-style branch from d95f646 to 8a3ca22 Compare August 21, 2023 17:10
@gtsiolis gtsiolis force-pushed the gt/update-primary-button-style branch from 8a3ca22 to 17dedac Compare August 21, 2023 17:32
@gtsiolis
Copy link
Contributor Author

Thanks for taking a look, @selfcontained. 🌮

Nice catch also on the subtle hover state of the button—for more context, this is by design to also mimic the subtle hover state of the button on the website. 💡

Rebased and pushed.

Removing bold.

/unhold

@roboquat roboquat merged commit 158a948 into main Aug 21, 2023
@roboquat roboquat deleted the gt/update-primary-button-style branch August 21, 2023 17:44
@gtsiolis gtsiolis mentioned this pull request Aug 29, 2023
14 tasks
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.

5 participants