You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{/* @todo Replace the Description column with the `@cssproperty` JSDoc descriptions from `<swc-status-light>`'s CEM entry once they are added in a follow-up PR. */}
|`--swc-statuslight-top-to-dot`| Distance from the block-start edge to the dot center. ||
145
-
|`--swc-statuslight-text-to-visual`| Gap between the indicator dot and the label. ||
146
-
|`--swc-statuslight-line-height`| Line height of the label text. ||
147
-
|`--swc-statuslight-dot-size`| Size of the indicator dot. ||
148
-
|`--swc-statuslight-dot-color`| Color of the indicator dot. | Semantic variants only. Non-semantic color variants bake in their dot color; retoken globally instead. |
149
-
|`--swc-statuslight-content-color`| Color of the label text. ||
150
-
|`--swc-statuslight-font-size`| Font size of the label text. ||
|`--swc-status-light-top-to-dot`| Distance from the block-start edge to the dot center. ||
145
+
|`--swc-status-light-text-to-visual`| Gap between the indicator dot and the label. ||
146
+
|`--swc-status-light-line-height`| Line height of the label text. ||
147
+
|`--swc-status-light-dot-size`| Size of the indicator dot. ||
148
+
|`--swc-status-light-dot-color`| Color of the indicator dot. | Semantic variants only. Non-semantic color variants bake in their dot color; retoken globally instead. |
149
+
|`--swc-status-light-content-color`| Color of the label text. ||
150
+
|`--swc-status-light-font-size`| Font size of the label text. ||
151
151
152
152
<div
153
153
style={{
@@ -159,7 +159,7 @@ Replace every `--mod-statuslight-*` property with its `--swc-statuslight-*` equi
159
159
}}
160
160
>
161
161
<strong>🚫 Do not target internals.</strong> Internal classes,{''}
162
-
<code>{'--_swc-statuslight-*'}</code> private properties, and shadow DOM are{''}
162
+
<code>{'--_swc-status-light-*'}</code> private properties, and shadow DOM are{''}
163
163
<strong>not public API</strong>. Styling applied to them will break without
164
164
warning on minor releases.
165
165
</div>
@@ -170,5 +170,5 @@ Replace every `--mod-statuslight-*` property with its `--swc-statuslight-*` equi
170
170
-[ ] Rename all `<sp-status-light>` to `<swc-status-light>`
171
171
-[ ] Remove all `disabled` attributes
172
172
-[ ] Replace `accent` variant with the appropriate semantic alternative
173
-
-[ ] Replace `--mod-statuslight-*` overrides with `--swc-statuslight-*` equivalents
173
+
-[ ] Replace `--mod-status-light-*` overrides with `--swc-status-light-*` equivalents
174
174
-[ ] Verify every status light has a visible text label
0 commit comments