-
Notifications
You must be signed in to change notification settings - Fork 77
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: Clearer/better to see checkboxes #2848
Comments
Does the Calcite checkbox have to use this icon: https://esri.github.io/calcite-ui-icons/#check |
Request submitted for new check icon to live specifically in this component. Thanks for the suggestion, @janett-baresel |
The follow SVG code can now live in the checkbox component to replace the Calcite UI check icon: Reach out if there are any follow up questions. |
@KatelynSeitz I don't think that svg is going to scale properly unfortunately. It looks to me like we just need to revert the path changes back to what they were before this pr change: |
@macandcheese we could use your help here. Can we revert the checkmark paths back to what they were prior to Julio's change? Or, how should Yona proceed on this one? |
Have we tried having all three of these Calcite UI icon svg path in the component and set based on scale ?https://esri.github.io/calcite-ui-icons/#check Either way we are scaling one svg to three sizes now, which wouldn't work with any single path, imo. Or, alternatively if @KatelynSeitz could provide the new thicker one in 3 sizes to correspond to scale? |
@macandcheese AFAIK, checkbox has to support indeterminate state, so it's using It really looks to me like we just need to revert that pr change Julio added, refactoring checkbox for each icon scale seems like more work than is required here to me. Screenshots for comparison, all 100 x 30 px.
|
I'd like to add an additional to-do to this issue - let's remove the |
@caripizza sounds good to me - if that old path works at s, and l, it seems like less work to just revert. |
…on to be bolder #2848 (#3250) * fix(combobox): add chevron icon at end of input regardless of selection mode (#3055) * fix(checkbox): replace the current check mark svg with provided svg from #2848 * fix(combox-item): adjust height of the item to be consistent respective to its scale size (#3144) (#3197) * fix(combox-item): adjust height of the item to be consistent respective to its scale size (#3144) * fix(combobox-item): keep the container styling relative to the scale size * fix(combobox-item): review pr comment suggestion for styling * refactor(filter): avoid stateful regexp used for filtering * 1.0.0-next.288 [skip ci] * build(deps): bump storybook from 6.3.10 to 6.3.11 (#3233) Bumps [storybook](https://github.com/storybookjs/storybook/tree/HEAD/lib/cli) from 6.3.10 to 6.3.11. - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v6.3.11/lib/cli) --- updated-dependencies: - dependency-name: storybook dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump @storybook/html from 6.3.10 to 6.3.11 (#3232) Bumps [@storybook/html](https://github.com/storybookjs/storybook/tree/HEAD/app/html) from 6.3.10 to 6.3.11. - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v6.3.11/app/html) --- updated-dependencies: - dependency-name: "@storybook/html" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(dropdown): close on outside click when disable-close-on-select is true #3136 (#3227) * fix(dropdown): remove preventDefault and stopPropagation on click event (#3231) * fix(dropdown): close on outside click when disable-close-on-select is true #3136 * fix(dropdown): remove preventDefault on click event. #1709 * 1.0.0-next.289 [skip ci] * fix(checkbox): simply add thicker stroke to the checkbox svg and retract the svg upgrade provided #2848 * fix(combobox): add chevron icon at end of input regardless of selecti… (#3143) * fix(combobox): add chevron icon at end of input regardless of selection mode (#3055) * fix(combobox): align the chevron icon to be centered vertically on multiple chips select mode (#3055) * fix(action-bar): get up-to-date master changes * feat(combobox): add additional story for multiple with preselected inputs * fix(combobox): make all the combobox height size consistent scale * 1.0.0-next.290 [skip ci] * docs(input-time-picker): value is always 24-hour format (#3245) * fix(checkbox): remove test class * fix(checkbox): refactor styling to tailwind * fix(checkbox): pr review to remove unused style * fix(checkbox): add fill tailwind class Co-authored-by: JC Franco <[email protected]> Co-authored-by: Travis CI User <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matt Driscoll <[email protected]> Co-authored-by: Ben Elan <[email protected]>
Installed and assigned for verification. |
verified on next |
Description
calcite-checkbox is hard to see when the small size is used. The line for the check is so thin, that even in normal size it is pretty subtle.

Here a comparison of calcite-checkbox in small and checkbox icons we used in the past:
The line looks pretty blurry and is hard to see.
Acceptance Criteria
Clearer, thicker line for the check mark.
Relevant Info
Which Component
calcite-checkbox (especially in
size="small"
)Example Use Case
see above screenshot. We use checkboxes for a layer list where layers are turned on and off (visibility).
SVCH
The text was updated successfully, but these errors were encountered: