Commit b009844
feat: add example gradients for static black and white (#2637)
* feat: add example gradients for static black and white
Add new gradient backgrounds, displayed for static black and static
white variants. These are used for examples only. This adds CSS custom
properties available globally within Storybook and sets them on the
existing decorator.
* docs(fieldlabel): support static colors decorator in storybook
Change Field label stories that show static black and static white,
so they work with the recently added decorator that changes the main
Storybook background.
* docs(button): adjust static colors template
Adjust static colors template to better handle the static color
decorator and gradients.
* chore(fieldlabel): apply eslint indentation changes to stories1 parent a1571d8 commit b009844
File tree
86 files changed
+177
-167
lines changed- .storybook/decorators
- components
- accordion
- actionbar
- actionbutton
- actiongroup
- alertbanner
- alertdialog
- assetcard
- assetlist
- asset
- avatar
- badge
- breadcrumb
- buttongroup
- button
- calendar
- card
- checkbox
- clearbutton
- closebutton
- coachindicator
- coachmark
- colorarea
- colorhandle
- colorloupe
- colorslider
- colorwheel
- combobox
- contextualhelp
- datepicker
- dialog
- dial
- divider
- dropindicator
- dropzone
- fieldgroup
- fieldlabel
- floatingactionbutton
- form
- helptext
- icon
- illustratedmessage
- infieldbutton
- inlinealert
- link
- logicbutton
- meter
- miller
- modal
- opacitycheckerboard
- page
- pagination
- pickerbutton
- picker
- popover
- progressbar
- progresscircle
- radio
- rating
- search
- slider
- splitview
- statuslight
- steplist
- stepper
- swatchgroup
- swatch
- switch
- table
- tabs
- taggroup
- tag
- textfield
- thumbnail
- toast
- tooltip
- tray
- treeview
- typography
- underlay
- well
- tokens/custom
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
86 files changed
+177
-167
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
0 commit comments