You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Spectrum typography is broken out into several separate components: heading, body, detail, and code. Internationalized typography examples are also shown.
21
+
* Spectrum typography is broken out into several separate components: [heading](#heading), [body](#body), [detail](#detail), and [code](#code). [Internationalized typography examples](#internationalized-typography) are also shown.
22
22
*/
23
23
exportdefault{
24
24
title: "Typography",
@@ -87,7 +87,7 @@ export default {
87
87
};
88
88
89
89
/**
90
-
* By default, Typography components do not include outer margins. If you would like to add margins, simply add the `.spectrum-Typography` class to your container, and every typography component inside of your container will have the correct margins.
90
+
* By default, typography components do not include outer margins. If you would like to add margins, simply add the `.spectrum-Typography` class to your container, and every typography component inside of your container will have the correct margins.
91
91
*/
92
92
exportconstDefault=TypographyGroup.bind({});
93
93
Default.args={
@@ -150,6 +150,7 @@ HeadingSizes.args = {
150
150
HeadingSizes.parameters={
151
151
chromatic: {disableSnapshot: true},
152
152
};
153
+
HeadingSizes.storyName="Heading sizes";
153
154
154
155
/**
155
156
* Body is primarily used for Spectrum components and for blocks of text.
@@ -172,6 +173,7 @@ BodySizes.args = {
172
173
BodySizes.parameters={
173
174
chromatic: {disableSnapshot: true},
174
175
};
176
+
BodySizes.storyName="Body sizes";
175
177
176
178
/**
177
179
* When typography elements are paired, such as with heading and body below, clear content hierarchies are shown.
0 commit comments