Skip to content

Commit 4040886

Browse files
fix(menu): distinguish menu headers from testing preview headers
1 parent 3a0e029 commit 4040886

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

components/menu/stories/menu.stories.js

+5-4
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ export default {
9292
return html`
9393
<style>
9494
.spectrum-Detail { display: inline-block; }
95+
.spectrum-Typography { --mod-detail-font-color: var(--spectrum-seafoam-900); }
9596
.spectrum-Typography > div {
9697
border: 1px solid var(--spectrum-gray-200);
9798
border-radius: 4px;
@@ -161,7 +162,7 @@ MenuWithVariants.args = {
161162
items: [
162163
{
163164
idx: 1,
164-
heading: "With Icons",
165+
heading: "Menu header - Menu with icons",
165166
id: "menu-heading-with-icons",
166167
items: [
167168
{
@@ -190,7 +191,7 @@ MenuWithVariants.args = {
190191
{ type: "divider" },
191192
{
192193
idx: 2,
193-
heading: "With descriptions and icons",
194+
heading: "Menu header - With descriptions and icons",
194195
id: "menu-heading-short-desc",
195196
items: [
196197
{
@@ -213,7 +214,7 @@ MenuWithVariants.args = {
213214
{ type: "divider" },
214215
{
215216
idx: 3,
216-
heading: "With actions, icons, short descriptions, and values and longer header text that wraps",
217+
heading: "Menu header - With actions, icons, short descriptions, and values and longer header text that wraps",
217218
id: "menu-heading-desc-icon-value",
218219
hasActions: true,
219220
items: [
@@ -244,7 +245,7 @@ MenuWithVariants.args = {
244245
},
245246
{
246247
idx: 4,
247-
heading: "These menu items have drill-ins for a submenu",
248+
heading: "Menu header - These menu items have drill-ins for a submenu",
248249
id: "menu-heading-drillin",
249250
items: [
250251
{

0 commit comments

Comments
 (0)