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

Au tocomplete var #1188

Merged
merged 6 commits into from
Nov 2, 2020
Merged

Au tocomplete var #1188

merged 6 commits into from
Nov 2, 2020

Conversation

auareyou
Copy link
Contributor

@auareyou auareyou commented Oct 29, 2020

✈️ Overlay components

Changes from component-level variables to new gloval ones created in this PR

📁 dropdown
📁 autocomplete
📁 popovers
📁 select-menu

Noticed 2 more variables that can be globalized.

From:

var(--color-dropdown-shadow)
var(--color-autocomplete-shadow)
var(--color-select-menu-shadow)

To:
var(--color-overlay-shadow

Noticed there isn't a shadow property for .Popover - is this because it gets used with .Box?

Needs testing and for the primitives PR to be merged before.

To reuse in other components
Changes to

- Dropdowns
- Popovers
- Select-menus
@auareyou auareyou requested a review from simurai October 29, 2020 15:39
@vercel
Copy link

vercel bot commented Oct 29, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/primer/primer-css/xx567y45s
✅ Preview: https://primer-css-git-au-tocomplete-var.primer.vercel.app

@vercel vercel bot temporarily deployed to Preview October 30, 2020 10:27 Inactive
@vercel vercel bot temporarily deployed to Preview October 30, 2020 10:31 Inactive
Copy link
Contributor

@simurai simurai left a comment

Choose a reason for hiding this comment

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

LGTM! 🚢👍

@vercel vercel bot temporarily deployed to Preview November 2, 2020 08:30 Inactive
@vercel vercel bot temporarily deployed to Preview November 2, 2020 08:47 Inactive
@simurai simurai marked this pull request as ready for review November 2, 2020 08:53
@simurai
Copy link
Contributor

simurai commented Nov 2, 2020

Ok, updated this PR with the changes from primitives and also added a hack for the .Popover + .Box.

@simurai simurai merged commit 84209ba into mkt/color-modes-whee Nov 2, 2020
@simurai simurai deleted the au-tocomplete-var branch November 2, 2020 08:55
simurai added a commit to primer/primitives that referenced this pull request Nov 2, 2020
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