Skip to content

Commit dcd1f77

Browse files
fix(menu): distinguish menu headers from testing preview headers
1 parent f1e8d61 commit dcd1f77

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
@@ -82,6 +82,7 @@ export default {
8282
return html`
8383
<style>
8484
.spectrum-Detail { display: inline-block; }
85+
.spectrum-Typography { --mod-detail-font-color: var(--spectrum-seafoam-900); }
8586
.spectrum-Typography > div {
8687
border: 1px solid var(--spectrum-gray-200);
8788
border-radius: 4px;
@@ -162,7 +163,7 @@ MenuWithVariants.args = {
162163
items: [
163164
{
164165
idx: 1,
165-
heading: "With Icons",
166+
heading: "Menu header - Menu with icons",
166167
id: "menu-heading-with-icons",
167168
items: [
168169
{
@@ -191,7 +192,7 @@ MenuWithVariants.args = {
191192
{ type: "divider" },
192193
{
193194
idx: 2,
194-
heading: "With descriptions and icons",
195+
heading: "Menu header - With descriptions and icons",
195196
id: "menu-heading-short-desc",
196197
items: [
197198
{
@@ -214,7 +215,7 @@ MenuWithVariants.args = {
214215
{ type: "divider" },
215216
{
216217
idx: 3,
217-
heading: "With actions, icons, short descriptions, and values and longer header text that wraps",
218+
heading: "Menu header - With actions, icons, short descriptions, and values and longer header text that wraps",
218219
id: "menu-heading-desc-icon-value",
219220
hasActions: true,
220221
items: [
@@ -245,7 +246,7 @@ MenuWithVariants.args = {
245246
},
246247
{
247248
idx: 4,
248-
heading: "These menu items have drill-ins for a submenu",
249+
heading: "Menu header - These menu items have drill-ins for a submenu",
249250
id: "menu-heading-drillin",
250251
items: [
251252
{

0 commit comments

Comments
 (0)