Skip to content

Commit 75a4b1f

Browse files
committed
fix broken link
- closes SharePoint#7223
1 parent e33dec8 commit 75a4b1f

File tree

1 file changed

+8
-32
lines changed

1 file changed

+8
-32
lines changed

docs/design/semantic_slots.md

Lines changed: 8 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Designing for section backgrounds using semantic slots
33
description: Learn how to design your web part to take advantage of section backgrounds using semantic slots.
4-
ms.date: 04/06/2022
4+
ms.date: 04/25/2022
55
ms.localizationpriority: medium
66
---
77

@@ -15,7 +15,7 @@ Section background is a feature that applies background color to a canvas secti
1515

1616
## Variant vs. Section background
1717

18-
A variant describes different values of color generated from an existing theme. A variant will share the same set of colors as the original theme it was generated from, but will apply those colors differently. See [Office UI Fabric variant documentation](https://github.com/OfficeDev/office-ui-fabric-react/blob/master/packages/variants/README.md) for more detail.
18+
A variant describes different values of color generated from an existing theme. A variant will share the same set of colors as the original theme it was generated from, but will apply those colors differently. See [@fluentui/scheme-utilities](https://github.com/microsoft/fluentui/blob/master/packages/scheme-utilities/README.md) for more detail.
1919

2020
A Section Background allows the user to apply a variant color from the theme to a canvas section. Both concepts share "Neutral", "Soft", and "Strong" options and can be used interchangeably when describing color usage.
2121

@@ -25,39 +25,15 @@ A semantic slot is a theming slot that targets specific page elements. A Offic
2525

2626
For example, default text uses the "bodyText" semantic slot. On the None, Neutral, and Soft section backgrounds, bodyText is assigned neutralPrimary. On the Strong section background, the palette color of bodyText changes to white. Semantic slots can be assigned palette colors for all variants in dark themes as well.
2727

28-
In the table below, you can see all eight palette colors defined for the bodyText slot.
28+
In the table below, you can see all eight palette colors defined for the bodyText slot.
2929

3030
![Example table showing semantic slots on light and dark theme variants](../images/doc-semantic-slot-940px-table.png)
3131

32-
<br/>
33-
<table>
34-
<tr>
35-
<td> </td>
36-
<td> Light themes</td>
37-
<td> Dark themes</td>
38-
</tr>
39-
<tr>
40-
<td>None</td>
41-
<td>neutralPrimary #333333</td>
42-
<td>neutralPrimary #ffffff</td>
43-
</tr>
44-
<tr>
45-
<td>Neutral</td>
46-
<td style="background-color:red">neutralPrimary #333333</td>
47-
<td>neutralPrimary #ffffff</td>
48-
</tr>
49-
<tr>
50-
<td>Soft</td>
51-
<td>neutralPrimary #333333</td>
52-
<td>neutralPrimary #ffffff</td>
53-
</tr>
54-
<tr>
55-
<td>Strong</td>
56-
<td>white #ffffff</td>
57-
<td>white #1f1f1f</td>
58-
</tr>
59-
</table>
60-
<br/>
32+
| | Light themes | Dark themes |
33+
| None | neutralPrimary #333333 | neutralPrimary #ffffff |
34+
| Neutral | neutralPrimary #333333 | neutralPrimary #ffffff |
35+
| Soft | neutralPrimary #333333 | neutralPrimary #ffffff |
36+
| Strong | white #ffffff | white #ffffff |
6137

6238
> [!NOTE]
6339
> The current semantic slot list is defined by commonly used design patterns in SharePoint. We want to avoid creating case-specific semantic slots. When designing a new web part, consider aligning to an existing design pattern. Office UI Fabric's policy is that semantic slots may never be removed from the list, so any additions are permanent.

0 commit comments

Comments
 (0)