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

(web-components) update neutral fill card vNext #18444

Conversation

bheston
Copy link
Contributor

@bheston bheston commented Jun 3, 2021

Pull request checklist

  • Addresses an existing issue: Fixes #0000
  • Include a change request file using $ yarn change

Description of changes

Updated the neutral fill card color recipe to always be lighter or equal to the container, instead of flipping to go darker over white.

Focus areas to test

(optional)

@@ -5,7 +5,7 @@ import { findClosestSwatchIndex, getSwatch } from './palette';
const neutralCardFillAlgorithm: SwatchResolver = (designSystem: DesignSystem): Swatch => {
const offset: number = neutralFillCardDelta(designSystem);
const index: number = findClosestSwatchIndex(neutralPalette, backgroundColor(designSystem))(designSystem);
return getSwatch(index - (index < offset ? offset * -1 : offset), neutralPalette(designSystem));
Copy link
Member

Choose a reason for hiding this comment

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

Ideally this update comes in from a rebase w/ master. Can you remove these in favor of just the color-vNext work? That'll keep everything conflict free.

Copy link
Member

@chrisdholt chrisdholt left a comment

Choose a reason for hiding this comment

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

Just one request to pull the stuff that's in master already as it'll come in w/ rebase.

Thanks @bheston!

@bheston
Copy link
Contributor Author

bheston commented Jun 7, 2021

@chrisdholt I considered the rebase, but needed the changes local for the tests to run. My thought was if the changes were exact it wouldn't cause an issue during rebase.

@chrisdholt
Copy link
Member

@chrisdholt I considered the rebase, but needed the changes local for the tests to run. My thought was if the changes were exact it wouldn't cause an issue during rebase.

Gotcha - I'll see if I can do a quick rebase today and have it fall off.

@chrisdholt chrisdholt force-pushed the features/web-components-vNext branch from b013a96 to a5e0caf Compare June 8, 2021 20:06
@bheston bheston requested a review from a team as a code owner June 8, 2021 20:06
"@storybook/cli": "^5.3.8",
"@storybook/html": "^5.3.8",
"@storybook/theming": "^5.3.8",
"@storybook/addons": "^6.1.17",
Copy link
Contributor

Choose a reason for hiding this comment

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

hey folks! would you be satisfied to use storybook 6.0.28 for now ? We plan to migrate to latest in June #18142 so we could be all on the same version -> getting close to single version policy for tooling in monorepo + shorter installation times

pls lemme know, thx

Copy link
Member

Choose a reason for hiding this comment

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

I'm fine with this, though I think this change is likely coming from rebasing the feature branch w/ master. We'll likely need to make this change in a new PR.

@bheston can you rebase w/ the feature branch? That should clean up the commit history and files here :)

chrisdholt and others added 3 commits June 9, 2021 10:55
…osoft#18187)

* update accordion to use foundation element

* update anchor to extend foundation element

* update anchored region to extend foundation element

* correct style exports

* update badge to extend foundation

* update breadcrumb to extend foundation element

* update button to extend foundation element

* update checkbox to extend foundation element

* update combobox to extend foundation element

* update dialog to extend foundation element

* update divider styles

* update flipper to extend foundation element

* update horizontal scroll to extend foundation element

* update listbox to extend foundation element

* update listbox option to extend foundation element

* update naming for exported registries

* update menu and menu item to extend foundation

* aupdate number field to extend foundation element

* update progress to extend foundation element

* update radio, radiogroup and select to extend foundation el

* update skeleton to extend foundation element

* update slider to extend foundation element

* update switch to extend foundation component

* correct prefix for export names

* update text area to extend foundation element

* update text field to extend foundation

* update tooltip to extend foundation element

* update tree view to extend foundation element

* update comments v1

* export all custom element definitions

* exportfluent design system and definitions from rollup

* add data grid

* update fast to fluent in rollup

* add beta package to start updating w/ foundation element

* update stories files

* Change files
…ual to the container, instead of flipping to go darker over white.
@bheston bheston force-pushed the update-neutral-fill-card-vNext branch from 2137006 to a377ea6 Compare June 9, 2021 17:58
@chrisdholt chrisdholt merged commit a51e627 into microsoft:features/web-components-vNext Jun 9, 2021
@bheston bheston deleted the update-neutral-fill-card-vNext branch June 18, 2021 00:19
chrisdholt added a commit that referenced this pull request Jul 2, 2021
* Updated the neutral fill card color recipe to always be lighter or equal to the container, instead of flipping to go darker over white.

* Updated old recipe and tests

* Run `yarn build`

* Change files

Co-authored-by: Chris Holt <chhol@microsoft.com>
chrisdholt added a commit that referenced this pull request Jul 2, 2021
* Updated the neutral fill card color recipe to always be lighter or equal to the container, instead of flipping to go darker over white.

* Updated old recipe and tests

* Run `yarn build`

* Change files

Co-authored-by: Chris Holt <chhol@microsoft.com>
PeterDraex pushed a commit to PeterDraex/fluentui that referenced this pull request Aug 6, 2021
* Updated the neutral fill card color recipe to always be lighter or equal to the container, instead of flipping to go darker over white.

* Updated old recipe and tests

* Run `yarn build`

* Change files

Co-authored-by: Chris Holt <chhol@microsoft.com>
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