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

Enhancement: update component shadows per latest Figma designs #1431

Closed
bstifle opened this issue Dec 28, 2020 · 23 comments
Closed

Enhancement: update component shadows per latest Figma designs #1431

bstifle opened this issue Dec 28, 2020 · 23 comments
Labels
design Issues that need design consultation prior to development. enhancement Issues tied to a new feature or request. research Issues that require more in-depth research or multiple team members to resolve or make decision.

Comments

@bstifle
Copy link

bstifle commented Dec 28, 2020

In order to keep 1:1 change between light and dark theme, these changes have been vetted by design group:

image

  • Change border radius to 4px --calcite-border-radius: 4px
  • Add border-3 to light theme level 2 components
  • Add border-3-dark to dark theme level 2 components
  • Use foreground-1-dark on dark theme level 2 components instead of foreground-3

This applies to dropdown, alert, modal, date picker, tooltip, action pad, tip manager, popover, combobox dropdown, color picker (when it's a dropdown)

@bstifle bstifle added enhancement Issues tied to a new feature or request. 0 - new New issues that need assignment. labels Dec 28, 2020
@caripizza
Copy link
Contributor

@bstifle does this one still apply?

@bstifle
Copy link
Author

bstifle commented May 21, 2021

Yes i believe so!

@julio8a
Copy link

julio8a commented Jul 16, 2021

checking in on this one again

@caripizza
Copy link
Contributor

@julio8a @bstifle isn't this already covered in our refactors based on the Figma designs?

@julio8a
Copy link

julio8a commented Jul 16, 2021

Yes, closing.

@julio8a julio8a closed this as completed Jul 16, 2021
@bstifle
Copy link
Author

bstifle commented Jul 19, 2021

Hmm. Not seeing these shadows in our components on master @caripizza @julio8a

@caripizza
Copy link
Contributor

@bstifle do the shadows appear in the Figma designs that we're using for the refactors?

@bstifle
Copy link
Author

bstifle commented Jul 19, 2021

@caripizza yep! i wonder if this is just a shadows utility class we need to fix? other than the shadows, the other design criteria seem to be met in the issue

@caripizza caripizza reopened this Jul 22, 2021
@caripizza caripizza changed the title Enhancement: Adjust Level-2 elements. Add border-3 and dark theme foreground change Enhancement: update component shadows per latest Figma designs Jul 22, 2021
@caripizza
Copy link
Contributor

Re-opened after clarifying the remaining work needed in this issue with Bryan (@bstifle please correct or add anything I missed from our chat).

Based on first glance, it looks like:

  1. _popper.scss global styles - currently using $shadow-2 sass var - needs to instead use @apply shadow-2:
  2. Additionally, the %shadow-vars sass placeholder we have here: src/assets/styles/_shadow.scss
    Don't seem to be used right now. We don't want these as global CSS Vars as far as I know, so let's remove them. As long as we have what we need in TW config under boxShadow object, we can refer to those moving forward. (But why do we have duplicate 0 and 1 values?)

@julio We should also use this issue to update the shadows content in our readme to make sure it corresponds with (or points to) the content we add in dev docs:
https://github.com/ArcGIS/afd-calcite-documentation/issues/57

@caripizza
Copy link
Contributor

Can we update the description to a) articulate which components are Level 0, 1, or 2 (I don't know), and b) so we can style their shadows based on their level?

@julio8a julio8a added this to the Sprint 7/19 – 7/30 milestone Jul 22, 2021
@bstifle
Copy link
Author

bstifle commented Jul 27, 2021

@caripizza this issue is for specific components (listed in the description at the bottom) and wont apply to all components with shadows

@bstifle
Copy link
Author

bstifle commented Jul 27, 2021

here are the depth values and which components use them:

Depth Light

Depth Dark

@julio8a julio8a modified the milestones: Sprint 7/19 – 7/30, Backlog Jul 29, 2021
@caripizza caripizza assigned caripizza and unassigned bstifle Aug 11, 2021
@caripizza caripizza added 1 - assigned Issues that are assigned to a sprint and a team member. design Issues that need design consultation prior to development. and removed 0 - new New issues that need assignment. labels Aug 11, 2021
@julio8a julio8a removed this from the Freezer milestone Aug 31, 2021
@geospatialem geospatialem removed this from the Sprint 2022/11/20 - 2022/12/01 milestone Dec 1, 2022
@geospatialem
Copy link
Member

Prioritization will be made after the 1.0 release next month.

@brittneytewks brittneytewks added the research Issues that require more in-depth research or multiple team members to resolve or make decision. label Feb 22, 2023
@alisonailea alisonailea added the estimate - 1 Very small fix or change (potentially a single line), doesn't require updates to tests. label Feb 22, 2023
@geospatialem
Copy link
Member

Related issue #3122

@geospatialem geospatialem added the p - low Issue is non core or affecting less that 10% of people using the library label Mar 3, 2023
@geospatialem geospatialem added this to the Freezer milestone Mar 3, 2023
@alisonailea alisonailea modified the milestone: Freezer Mar 3, 2023
@ashetland ashetland added 0 - new New issues that need assignment. and removed 1 - assigned Issues that are assigned to a sprint and a team member. labels Jul 18, 2023
@ashetland ashetland modified the milestones: Freezer , Design Backlog Jul 18, 2023
@macandcheese
Copy link
Contributor

@ashetland @SkyeSeitz proposing we close this one and address in an updated issue if this is still needed, but this seems a bit outdated at this point compared to current Figma.

@ashetland
Copy link
Contributor

Agreed. Would be dealt with in #3122.

@SkyeSeitz
Copy link

Agreed. Would be dealt with in #3122.

+1

@macandcheese macandcheese removed p - low Issue is non core or affecting less that 10% of people using the library 0 - new New issues that need assignment. estimate - 1 Very small fix or change (potentially a single line), doesn't require updates to tests. labels Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Issues that need design consultation prior to development. enhancement Issues tied to a new feature or request. research Issues that require more in-depth research or multiple team members to resolve or make decision.
Projects
None yet
Development

No branches or pull requests