From 593374c7c5cb24c583320fde26aa9f5983dc4fee Mon Sep 17 00:00:00 2001 From: Melissa Thompson Date: Fri, 16 Feb 2024 10:59:18 -0500 Subject: [PATCH] chore(docs): increase dark mode compatibility (#2530) * chore(docs): deprecationNotice is dark mode compatible * chore(docs): description links are dark mode compatible --- .storybook/deprecated/quickaction/quickaction.yml | 2 +- components/accordion/metadata/accordion.yml | 2 +- components/actionbar/metadata/actionbar.yml | 2 +- components/actionbutton/metadata/actionbutton.yml | 2 +- components/actiongroup/metadata/actiongroup.yml | 2 +- components/avatar/metadata/avatar.yml | 2 +- components/badge/metadata/badge.yml | 2 +- components/breadcrumb/metadata/breadcrumb.yml | 2 +- components/button/metadata/button-accent.yml | 2 +- components/button/metadata/button-negative.yml | 2 +- components/button/metadata/button-primary.yml | 4 ++-- components/button/metadata/button-secondary.yml | 2 +- components/button/metadata/button-staticcolor.yml | 2 +- components/buttongroup/metadata/buttongroup.yml | 2 +- components/checkbox/metadata/checkbox.yml | 2 +- components/closebutton/metadata/closebutton.yml | 2 +- components/colorarea/metadata/colorarea.yml | 2 +- components/colorslider/metadata/colorslider.yml | 2 +- components/colorwheel/metadata/colorwheel.yml | 2 +- components/contextualhelp/metadata/contextualhelp.yml | 2 +- components/divider/metadata/divider.yml | 2 +- components/fieldlabel/metadata/fieldlabel.yml | 6 +++--- .../metadata/floatingactionbutton.yml | 2 +- components/helptext/metadata/helptext.yml | 2 +- components/inlinealert/metadata/inlinealert.yml | 2 +- components/link/metadata/link.yml | 2 +- components/menu/metadata/menu.yml | 2 +- components/modal/metadata/modal.yml | 2 +- components/picker/metadata/picker.yml | 2 +- components/popover/metadata/popover.yml | 2 +- components/progressbar/metadata/meter.yml | 2 +- components/progresscircle/metadata/progresscircle.yml | 2 +- components/radio/metadata/radio.yml | 4 ++-- components/statuslight/metadata/statuslight.yml | 2 +- components/swatch/metadata/swatch.yml | 2 +- components/swatchgroup/metadata/swatchgroup.yml | 2 +- components/switch/metadata/switch.yml | 4 ++-- components/table/metadata/table.yml | 10 +++++----- components/tag/metadata/tag.yml | 2 +- components/taggroup/metadata/taggroup.yml | 2 +- components/toast/metadata/toast.yml | 2 +- components/tooltip/metadata/tooltip.yml | 2 +- components/tray/metadata/tray.yml | 2 +- components/treeview/metadata/treeview.yml | 4 ++-- components/typography/metadata/typography.yml | 2 +- site/templates/siteComponent.pug | 7 ++++--- 46 files changed, 59 insertions(+), 58 deletions(-) diff --git a/.storybook/deprecated/quickaction/quickaction.yml b/.storybook/deprecated/quickaction/quickaction.yml index fb97d7aa9db..2f3e9425b70 100644 --- a/.storybook/deprecated/quickaction/quickaction.yml +++ b/.storybook/deprecated/quickaction/quickaction.yml @@ -1,7 +1,7 @@ id: quickactions name: Quick actions status: Deprecated -deprecationNotice: Use an action bar to allow users to perform actions on either a single or multiple items at the same time, instead. +deprecationNotice: Use an action bar to allow users to perform actions on either a single or multiple items at the same time, instead. description: Note that the `.spectrum-QuickActions-overlay` class should be placed on the container where the Quick Actions are displayed, and the `.spectrum-QuickActions--textOnly` class should be applied when the buttons have text only. SpectrumSiteSlug: https://spectrum.adobe.com/page/quick-actions/ examples: diff --git a/components/accordion/metadata/accordion.yml b/components/accordion/metadata/accordion.yml index 3e40e465c70..7150257b720 100644 --- a/components/accordion/metadata/accordion.yml +++ b/components/accordion/metadata/accordion.yml @@ -4,7 +4,7 @@ description: "While remaining backward compatible, the recommended markup has be sections: - name: Custom Properties API description: | - This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found here. + This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found here. - name: Migration Guide description: | ### T-shirt sizing diff --git a/components/actionbar/metadata/actionbar.yml b/components/actionbar/metadata/actionbar.yml index 01e8d25131e..ae930a4f3fb 100644 --- a/components/actionbar/metadata/actionbar.yml +++ b/components/actionbar/metadata/actionbar.yml @@ -4,7 +4,7 @@ SpectrumSiteSlug: https://spectrum.adobe.com/page/action-bar/ sections: - name: Custom Properties API description: | - This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found here. + This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found here. - name: Migration Guide description: | ### Popover Dependency diff --git a/components/actionbutton/metadata/actionbutton.yml b/components/actionbutton/metadata/actionbutton.yml index 7bec4a1c9a5..acc03b5be7c 100644 --- a/components/actionbutton/metadata/actionbutton.yml +++ b/components/actionbutton/metadata/actionbutton.yml @@ -9,7 +9,7 @@ description: | sections: - name: Custom Properties API description: | - This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found here. + This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found here. - name: Migration Guide description: | ### Action Button now requires a class on its icon diff --git a/components/actiongroup/metadata/actiongroup.yml b/components/actiongroup/metadata/actiongroup.yml index 751d9853454..46112eb386f 100644 --- a/components/actiongroup/metadata/actiongroup.yml +++ b/components/actiongroup/metadata/actiongroup.yml @@ -3,7 +3,7 @@ SpectrumSiteSlug: https://spectrum.adobe.com/page/action-group/ sections: - name: Custom Properties API description: | - This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found here. + This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found here. - name: Migration Guide description: | ### New Action Button markup diff --git a/components/avatar/metadata/avatar.yml b/components/avatar/metadata/avatar.yml index 91f4ae0757e..e3d62fded37 100644 --- a/components/avatar/metadata/avatar.yml +++ b/components/avatar/metadata/avatar.yml @@ -10,7 +10,7 @@ SpectrumSiteSlug: https://spectrum.adobe.com/page/avatar/ sections: - name: Custom Properties API description: | - This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found here. + This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found here. - name: Migration Guide description: | ### A div wrapper is required for avatar diff --git a/components/badge/metadata/badge.yml b/components/badge/metadata/badge.yml index 58026f95b0d..d60ec93ef8d 100644 --- a/components/badge/metadata/badge.yml +++ b/components/badge/metadata/badge.yml @@ -8,7 +8,7 @@ description: | sections: - name: Custom Properties API description: | - This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found here. + This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found here. - name: Migration Guide description: | ### Badge now includes icon and label elements diff --git a/components/breadcrumb/metadata/breadcrumb.yml b/components/breadcrumb/metadata/breadcrumb.yml index edbfddf3a4d..aac5cae9412 100644 --- a/components/breadcrumb/metadata/breadcrumb.yml +++ b/components/breadcrumb/metadata/breadcrumb.yml @@ -3,7 +3,7 @@ SpectrumSiteSlug: https://spectrum.adobe.com/page/breadcrumbs/ sections: - name: Custom Properties API description: | - This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found here. + This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found here. - name: Migration Guide description: | ### New Action Button markup diff --git a/components/button/metadata/button-accent.yml b/components/button/metadata/button-accent.yml index 030603876bb..8d3be60b926 100644 --- a/components/button/metadata/button-accent.yml +++ b/components/button/metadata/button-accent.yml @@ -5,7 +5,7 @@ SpectrumSiteSlug: https://spectrum.adobe.com/page/button/#Call-to-action-variant sections: - name: Custom Properties API description: | - This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found here. + This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found here. - name: Migration Guide description: | ### Fill or Outline class required diff --git a/components/button/metadata/button-negative.yml b/components/button/metadata/button-negative.yml index 8d3fe4e53f2..9acb42c7e1f 100644 --- a/components/button/metadata/button-negative.yml +++ b/components/button/metadata/button-negative.yml @@ -5,7 +5,7 @@ SpectrumSiteSlug: https://spectrum.adobe.com/page/button/#Negative sections: - name: Custom Properties API description: | - This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found here. + This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found here. - name: Migration Guide description: | ### Fill or Outline class required diff --git a/components/button/metadata/button-primary.yml b/components/button/metadata/button-primary.yml index a147cdf6f79..e7bb7f449ec 100644 --- a/components/button/metadata/button-primary.yml +++ b/components/button/metadata/button-primary.yml @@ -5,7 +5,7 @@ SpectrumSiteSlug: https://spectrum.adobe.com/page/button/#Primary sections: - name: Custom Properties API description: | - This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found here. + This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found here. - name: Migration Guide description: | ### Fill or Outline class required @@ -204,7 +204,7 @@ examples: Edit - +