Calcite-components: Remove border conflicts with backgrounds — Update border vars

Created on 26 Apr 2021  Â·  11Comments  Â·  Source: Esri/calcite-components

NEW BORDERS LIGHT
NEW BORDERS DARK

0 - new design enhancement help wanted

All 11 comments

Is this a calcite-colors level or tailwind-level change?

i think tailwind. the colors used for the new ones are existing in calcite colors

OK, I think we actually need to update this in calcite-colors repo - the values are there: https://github.com/Esri/calcite-colors/blob/ba782b1a87deb3ef6b5e98662220f24c0e40703c/dist/colors.scss#L528

@bstifle does this need to land with v1.0.0?

Ideally yes. Im not sure if it would be a breaking change or not

@bstifle Got it, can you open an issue in that repository to get these colors updated then?

It sounds like these are the changes you're requesting right?

| Sass var theme changes | OLD | NEW |
| --- | --- | --- |
| Light theme | | |
| | $ui-border-2-light: #dfdfdf | #d4d4d4 |
| | $ui-border-3-light: #eaeaea | #dfdfdf |
| Dark theme | | |
| | $ui-border-1-dark: #4a4a4a | #555555 |
| | $ui-border-2-dark: #404040 | #4a4a4a |
| | $ui-border-3-dark: #353535 | #404040 |

@driskull @jcfranco @paulcpederson looks like we're going to need to update the Sass variables' hex values in the table above over in calcite-colors. Then, cut a new release and consume that version here in cc.

Should all issues tied to this effort (ie., in both repos) have a "breaking change" label?

Should all issues tied to this effort (ie., in both repos) have a "breaking change" label?

Yes, if they are breaking changes. I'm not sure the calcite-components would be breaking though.

yeah we'd have to update the theme mixins in calcite-colors to change these. Theoretically no updates on the calcite components side should be required other than updating the calcite colors lib?

Thanks @driskull and @paulcpederson! Sounds like the calcite-colors issue would want the breaking change label then, not a big difference with those values in cc.

https://github.com/Esri/calcite-colors/pull/71 has been installed, just need to cut a new release. I'll work with Paul on this after next week. (Then we can use this issue to track consuming the updated version.)

Was this page helpful?
0 / 5 - 0 ratings