-
Notifications
You must be signed in to change notification settings - Fork 17
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
Conversation
🦋 Changeset detectedLatest commit: 49f54ad The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
56bec98
to
43eebd2
Compare
packages/components/src/components/marketplace-search.module.css
Outdated
Show resolved
Hide resolved
📚 Storybook DeploymentThe latest changes are available as preview in: https://d3d78ae4.the-guild-docs-storybook.pages.dev |
9e7d531
to
5a57a80
Compare
1f510ee
to
035fbd4
Compare
dacd8cb
to
d850653
Compare
packages/components/src/components/explore-main-product-cards.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
|
||
if (!move) return; | ||
|
||
if (move === '⬅️') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not just use:
if (move === '⬅️') { | |
if (event.key === 'ArrowLeft') { |
because it looks differently on each system in text editor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
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.
packages/components/src/components/marketplace-search.stories.ts
Outdated
Show resolved
Hide resolved
packages/components/src/components/tools-and-libraries-cards.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
Video on Slack
Coming in 2 color schemes:
neutral
, for docs and easy version bump on Envelop's/plugins
pagegreen
, for landing pagesneutral
respects user dark mode preference and renders in white or black,green
is always dark green.MarketplaceSearch
now renders just oneMarketplaceList
at a time, andMarketplaceList
renders a grid up to 2 columns.