bitcrowd / bitstyles

A complete design system, with base styles and components, built in Sass using CSS variables
https://bitcrowd.github.io/bitstyles
ISC License
16 stars 0 forks source link

[#749] Update badge components #751

Closed planktonic closed 1 year ago

planktonic commented 1 year ago

Fixes #749

Changes

๐Ÿ“ธ

Firefox_Screenshot_2023-04-27T12-24-00 785Z

How to QA Visual changes

Check:

How to QA code changes

Preflight checks

PR author to check, and delete if not applicable:

planktonic commented 1 year ago

@ed-eva

Thanks! Iโ€™ll work through this & update ๐Ÿ‘

All (at least most) Shadows have an opacity of 0.075, it should be 0.2

Yes, this is related to the way we build shadows โ€” default CSS box-shadows are flat and basic-looking, so we use multiple shadows on top of each other to build something a little prettier, a little more natural-looking. The result is that each layer of shadow needs to be a lower opacity, so they add up to a similar opacity all together.

Small badge-buttons are same size as regular badge-buttons (designs from my side needed here?)

Yes exactly โ€“ right now we have no design for these :) I updated the ticket for badges: https://bitcrowd.atlassian.net/browse/ID-158