Skip to content

Commit

Permalink
correct variable input-focus-color to input-focus-border-color fo…
Browse files Browse the repository at this point in the history
…r better meaning as well as being compatible with bootstrap
  • Loading branch information
Tan Do committed Jul 2, 2018
1 parent 76c0cc0 commit 803d71d
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ CSS only, bootstrap compatible toggle, checkbox and radio buttons.

Several quick start options are available:

* [Download the latest release](https://github.com/alexdonh/toggle-checkbox-radio/releases/download/2.0.0/toggle-checkbox-radio-2.0.0.zip "Download toggle-checkbox-radio").
* [Download the latest release](https://github.com/alexdonh/toggle-checkbox-radio/releases/download/2.0.1/toggle-checkbox-radio-2.0.1.zip "Download toggle-checkbox-radio").
* Clone the repo: `git clone https://github.com/alexdonh/toggle-checkbox-radio.git`.
* Install with [npm](https://www.npmjs.com): `npm install toggle-checkbox-radio`.

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "toggle-checkbox-radio",
"version": "2.0.0",
"version": "2.0.1",
"main": [
"dist/toggle-checkbox-radio.css"
],
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "alexdonh/toggle-checkbox-radio",
"version": "2.0.0",
"version": "2.0.1",
"description": "CSS only, bootstrap compatible toggle, checkbox and radio buttons",
"keywords": [
"bootstrap",
Expand Down
2 changes: 1 addition & 1 deletion dist/toggle-checkbox-radio.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/toggle-checkbox-radio.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/assets/toggle-checkbox-radio.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/assets/toggle-checkbox-radio.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="display-4">toggle-checkbox-radio</h1>
<p class="lead">CSS only, bootstrap compatible toggle, checkbox and radio buttons.</p>
<hr class="my-4">
<p>
<a class="github-button" href="https://github.com/alexdonh/toggle-checkbox-radio/releases/download/2.0.0/toggle-checkbox-radio-2.0.0.zip" data-icon="octicon-cloud-download" data-size="large" aria-label="Download alexdonh/toggle-checkbox-radio on GitHub">Download</a>
<a class="github-button" href="https://github.com/alexdonh/toggle-checkbox-radio/releases/download/2.0.1/toggle-checkbox-radio-2.0.1.zip" data-icon="octicon-cloud-download" data-size="large" aria-label="Download alexdonh/toggle-checkbox-radio on GitHub">Download</a>
<a class="github-button" href="https://github.com/alexdonh/toggle-checkbox-radio" data-size="large" data-show-count="true" aria-label="Star alexdonh/toggle-checkbox-radio on GitHub">Github</a>
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "toggle-checkbox-radio",
"version": "2.0.0",
"version": "2.0.1",
"description": "CSS only, bootstrap compatible toggle, checkbox and radio buttons",
"directories": {
"doc": "docs"
Expand Down
2 changes: 1 addition & 1 deletion scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ $input-size-base: 1rem !default; // Assumes the browser default, typically `1
$input-size-lg: ($input-size-base * 1.25) !default;
$input-size-sm: ($input-size-base * .875) !default;

$input-focus-color: rgba($primary, .25) !default;
$input-focus-border-color: rgba($primary, .25) !default;

$input-border-radius-base: .25rem !default;
$input-border-radius-lg: .3rem !default;
Expand Down
4 changes: 2 additions & 2 deletions scss/toggle-checkbox-radio.scss
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@

&:active,
&:focus {
border-color: $input-focus-color;
border-color: $input-focus-border-color;
}

&:before {
Expand Down Expand Up @@ -280,7 +280,7 @@

&:active,
&:focus {
border-color: $input-focus-color;
border-color: $input-focus-border-color;
}

&:before {
Expand Down

0 comments on commit 803d71d

Please sign in to comment.