Skip to content

Commit 593374c

Browse files
author
Melissa Thompson
authored
chore(docs): increase dark mode compatibility (#2530)
* chore(docs): deprecationNotice is dark mode compatible * chore(docs): description links are dark mode compatible
1 parent 7617146 commit 593374c

File tree

46 files changed

+59
-58
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+59
-58
lines changed

.storybook/deprecated/quickaction/quickaction.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
id: quickactions
22
name: Quick actions
33
status: Deprecated
4-
deprecationNotice: Use an <a href="actionbar.html">action bar</a> to allow users to perform actions on either a single or multiple items at the same time, instead.
4+
deprecationNotice: Use an <a class="spectrum-Link" href="actionbar.html">action bar</a> to allow users to perform actions on either a single or multiple items at the same time, instead.
55
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.
66
SpectrumSiteSlug: https://spectrum.adobe.com/page/quick-actions/
77
examples:

components/accordion/metadata/accordion.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: "While remaining backward compatible, the recommended markup has be
44
sections:
55
- name: Custom Properties API
66
description: |
7-
This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found <a href="https://github.com/adobe/spectrum-css/tree/main/components/accordion/metadata/mods.md">here</a>.
7+
This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found <a class="spectrum-Link" href="https://github.com/adobe/spectrum-css/tree/main/components/accordion/metadata/mods.md">here</a>.
88
- name: Migration Guide
99
description: |
1010
### T-shirt sizing

components/actionbar/metadata/actionbar.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ SpectrumSiteSlug: https://spectrum.adobe.com/page/action-bar/
44
sections:
55
- name: Custom Properties API
66
description: |
7-
This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found <a href="https://github.com/adobe/spectrum-css/tree/main/components/actionbar/metadata/mods.md">here</a>.
7+
This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found <a class="spectrum-Link" href="https://github.com/adobe/spectrum-css/tree/main/components/actionbar/metadata/mods.md">here</a>.
88
- name: Migration Guide
99
description: |
1010
### Popover Dependency

components/actionbutton/metadata/actionbutton.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description: |
99
sections:
1010
- name: Custom Properties API
1111
description: |
12-
This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found <a href="https://github.com/adobe/spectrum-css/tree/main/components/actionbutton/metadata/mods.md">here</a>.
12+
This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found <a class="spectrum-Link" href="https://github.com/adobe/spectrum-css/tree/main/components/actionbutton/metadata/mods.md">here</a>.
1313
- name: Migration Guide
1414
description: |
1515
### Action Button now requires a class on its icon

components/actiongroup/metadata/actiongroup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ SpectrumSiteSlug: https://spectrum.adobe.com/page/action-group/
33
sections:
44
- name: Custom Properties API
55
description: |
6-
This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found <a href="https://github.com/adobe/spectrum-css/tree/main/components/actiongroup/metadata/mods.md">here</a>.
6+
This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found <a class="spectrum-Link" href="https://github.com/adobe/spectrum-css/tree/main/components/actiongroup/metadata/mods.md">here</a>.
77
- name: Migration Guide
88
description: |
99
### New Action Button markup

components/avatar/metadata/avatar.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ SpectrumSiteSlug: https://spectrum.adobe.com/page/avatar/
1010
sections:
1111
- name: Custom Properties API
1212
description: |
13-
This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found <a href="https://github.com/adobe/spectrum-css/tree/main/components/avatar/metadata/mods.md">here</a>.
13+
This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found <a class="spectrum-Link" href="https://github.com/adobe/spectrum-css/tree/main/components/avatar/metadata/mods.md">here</a>.
1414
- name: Migration Guide
1515
description: |
1616
### A div wrapper is required for avatar

components/badge/metadata/badge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description: |
88
sections:
99
- name: Custom Properties API
1010
description: |
11-
This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found <a href="https://github.com/adobe/spectrum-css/tree/main/components/badge/metadata/mods.md">here</a>.
11+
This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found <a class="spectrum-Link" href="https://github.com/adobe/spectrum-css/tree/main/components/badge/metadata/mods.md">here</a>.
1212
- name: Migration Guide
1313
description: |
1414
### Badge now includes icon and label elements

components/breadcrumb/metadata/breadcrumb.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ SpectrumSiteSlug: https://spectrum.adobe.com/page/breadcrumbs/
33
sections:
44
- name: Custom Properties API
55
description: |
6-
This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found <a href="https://github.com/adobe/spectrum-css/tree/main/components/breadcrumb/metadata/mods.md">here</a>.
6+
This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found <a class="spectrum-Link" href="https://github.com/adobe/spectrum-css/tree/main/components/breadcrumb/metadata/mods.md">here</a>.
77
- name: Migration Guide
88
description: |
99
### New Action Button markup

components/button/metadata/button-accent.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ SpectrumSiteSlug: https://spectrum.adobe.com/page/button/#Call-to-action-variant
55
sections:
66
- name: Custom Properties API
77
description: |
8-
This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found <a href="https://github.com/adobe/spectrum-css/tree/main/components/button/metadata/mods.md">here</a>.
8+
This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found <a class="spectrum-Link" href="https://github.com/adobe/spectrum-css/tree/main/components/button/metadata/mods.md">here</a>.
99
- name: Migration Guide
1010
description: |
1111
### Fill or Outline class required

components/button/metadata/button-negative.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ SpectrumSiteSlug: https://spectrum.adobe.com/page/button/#Negative
55
sections:
66
- name: Custom Properties API
77
description: |
8-
This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found <a href="https://github.com/adobe/spectrum-css/tree/main/components/button/metadata/mods.md">here</a>.
8+
This component can be modified via its `--mod-*` prefixed custom properties. A list of those prefixed custom properties can be found <a class="spectrum-Link" href="https://github.com/adobe/spectrum-css/tree/main/components/button/metadata/mods.md">here</a>.
99
- name: Migration Guide
1010
description: |
1111
### Fill or Outline class required

0 commit comments

Comments
 (0)