nostalgic-css / NES.css

NES-style CSS Framework | ファミコン風CSSフレームワーク
https://nostalgic-css.github.io/NES.css/
MIT License
20.56k stars 1.64k forks source link

feat(radio): add is-dark to radio #308

Closed guastallaigor closed 5 years ago

guastallaigor commented 5 years ago

Description This PR adds radio is-dark, same as the checkbox.

Compatibility N/A

Caveats This should be add in the #292. So either merge this first (if it's going to be merged) and add this inside the Radios container, or merge this first and when #292 is merged, I then add it to the demo page.

guastallaigor commented 5 years ago

image

BcRikko commented 5 years ago

Oh... sry... 😭 Could you fix these? 🙏

/* checkboxes */
- <div style="background-color:#212529; padding: 1rem;">
+ <div style="background-color:#212529; padding: 1rem 0;">
  <label>
    <input type="checkbox" class="nes-checkbox is-dark" checked />
    <span>Dark</span>
  </label>
</div>

/* radios */
- <div style="background-color:#212529; padding: 1rem;">
+ <div style="background-color:#212529; padding: 1rem 0;">
  <label>
    <input type="radio" class="nes-radio is-dark" name="answer-dark" checked />
    <span>Yes</span>
  </label>
  <label>
    <input type="radio" class="nes-radio is-dark" name="answer-dark" />
    <span>No</span>
  </label>
</div>
before after
nes_css_-_nes-style_css_framework 2
BcRikko commented 5 years ago

:tada: This PR is included in version 2.1.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: