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

New plugin search color scheme #1756

Merged
merged 67 commits into from
Nov 7, 2024
Merged

New plugin search color scheme #1756

merged 67 commits into from
Nov 7, 2024

Conversation

hasparus
Copy link
Collaborator

@hasparus hasparus commented Oct 26, 2024

image

Video on Slack

Coming in 2 color schemes:

  • neutral, for docs and easy version bump on Envelop's /plugins page
  • and green, for landing pages

neutral respects user dark mode preference and renders in white or black, green is always dark green.

MarketplaceSearch now renders just one MarketplaceList at a time, and MarketplaceList renders a grid up to 2 columns.

Copy link

changeset-bot bot commented Oct 26, 2024

🦋 Changeset detected

Latest commit: 49f54ad

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@theguild/components Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@hasparus hasparus force-pushed the green-plugin-search branch from 56bec98 to 43eebd2 Compare October 26, 2024 12:56
@hasparus hasparus changed the title New plugin search component New plugin search color scheme Oct 26, 2024
Copy link
Contributor

github-actions bot commented Oct 26, 2024

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@theguild/components 7.2.0-alpha-20241106162243-1f510ee29dc7a65c0960100d2efa5266309977b0 npm ↗︎ unpkg ↗︎

Copy link
Contributor

github-actions bot commented Oct 28, 2024

📚 Storybook Deployment

The latest changes are available as preview in: https://d3d78ae4.the-guild-docs-storybook.pages.dev

@hasparus hasparus force-pushed the green-plugin-search branch from 9e7d531 to 5a57a80 Compare October 31, 2024 14:39
@hasparus hasparus force-pushed the green-plugin-search branch from 1f510ee to 035fbd4 Compare November 6, 2024 18:26
@hasparus hasparus force-pushed the green-plugin-search branch from dacd8cb to d850653 Compare November 6, 2024 18:49
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>

if (!move) return;

if (move === '⬅️') {
Copy link
Collaborator

@dimaMachina dimaMachina Nov 6, 2024

Choose a reason for hiding this comment

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

why not just use:

Suggested change
if (move === '⬅️') {
if (event.key === 'ArrowLeft') {

because it looks differently on each system in text editor

Copy link
Collaborator

Choose a reason for hiding this comment

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

image

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I wanted to do the early return in line 195. Would have to reorder the control flow a bit to skip the "move" variable.

tailwind.config.ts Outdated Show resolved Hide resolved
hasparus and others added 5 commits November 6, 2024 21:59
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
@hasparus hasparus merged commit 59fdf4e into main Nov 7, 2024
3 of 5 checks passed
@hasparus hasparus deleted the green-plugin-search branch November 7, 2024 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants