Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CSS typo in radio group stories #5632

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix CSS typo in radio group stories
  • Loading branch information
fcollonval committed Feb 22, 2022
commit ab6fad8a1749595eaf04dbae8175207656d39a3b
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1>Radio Group</h1>
<h2>Defaults</h2>
<div>
<fast-radio-group name="numbers">
<label style="color: --var(neutral-foreground-rest);" slot="label">
<label style="color: var(--neutral-foreground-rest);" slot="label">
Numbers
</label>
<fast-radio value="one">One</fast-radio>
Expand All @@ -38,7 +38,7 @@ <h2>Defaults</h2>

<div>
<fast-radio-group id="vertical" orientation="vertical" name="trees">
<label style="color: --var(neutral-foreground-rest);" slot="label">
<label style="color: var(--neutral-foreground-rest);" slot="label">
Trees
</label>
<fast-radio id="fir" value="fir">Fir</fast-radio>
Expand All @@ -50,22 +50,22 @@ <h2>Defaults</h2>

<div style="display: flex; flex-direction: column; margin-top: 12px;">
<fast-radio-group name="players">
<label style="color: --var(neutral-foreground-rest);" slot="label">
<label style="color: var(--neutral-foreground-rest);" slot="label">
Best basketball players
</label>
<fast-radio value="airjordan">Michael Jordan</fast-radio>
</fast-radio-group>
</div>

<div style="display: flex; flex-direction: column; margin-top: 12px;">
<label style="color: --var(neutral-foreground-rest);">
<label style="color: var(--neutral-foreground-rest);">
Single radio (no group)
</label>
<fast-radio value="single-life">Single life</fast-radio>
</div>

<div style="display: flex; flex-direction: column; margin-top: 12px;">
<label style="color: --var(neutral-foreground-rest);" id="label1">
<label style="color: var(--neutral-foreground-rest);" id="label1">
Outside label
</label>
<fast-radio-group required="true" aria-labelledby="label1" name="fruits">
Expand Down Expand Up @@ -94,7 +94,7 @@ <h2>Defaults</h2>
</div>

<div style="display: flex; flex-direction: column; margin-top: 12px;">
<label style="color: --var(neutral-foreground-rest);" id="label2">
<label style="color: var(--neutral-foreground-rest);" id="label2">
Disabled radio group
</label>
<fast-radio-group disabled aria-labelledby="label2" name="cars">
Expand All @@ -104,7 +104,7 @@ <h2>Defaults</h2>
</div>

<div style="display: flex; flex-direction: column; margin-top: 12px;">
<label style="color: --var(neutral-foreground-rest);" id="label3">
<label style="color: var(--neutral-foreground-rest);" id="label3">
readonly radio group
</label>
<fast-radio-group readonly aria-labelledby="label3" name="office">
Expand All @@ -114,7 +114,7 @@ <h2>Defaults</h2>
</div>

<div style="display: flex; flex-direction: column; margin-top: 12px;">
<label style="color: --var(neutral-foreground-rest);" id="label4">
<label style="color: var(--neutral-foreground-rest);" id="label4">
Preset selected-value
</label>
<fast-radio-group value="maverick" aria-labelledby="label4" name="best-pilot">
Expand Down