Skip to content

Commit

Permalink
Merge pull request #346 from dabapps/327-checkbox-radius
Browse files Browse the repository at this point in the history
Add override option for checkbox radius
  • Loading branch information
JakeSidSmith authored Mar 4, 2021
2 parents 5bad5c8 + 13d3d77 commit d360135
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dabapps/roe",
"version": "0.12.2",
"version": "0.12.3",
"description": "A collection of React components, styles, mixins, and atomic CSS classes to aid with the development of web applications.",
"main": "dist/js/index.js",
"types": "dist/js/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/less/overrides.less
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ input[type='radio'] {
}

input[type='checkbox'] {
border-radius: @border-radius-base * 2;
border-radius: @checkbox-border-radius;

&:checked {
background-color: @checkbox-active-background;
Expand Down
1 change: 1 addition & 0 deletions src/less/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@
@checkbox-icon-background: @checkbox-background;
@checkbox-icon-border: 2px solid @checkbox-icon-background;
@checkbox-shadow: inset 0 1px 1.5px 0 rgba(0, 0, 0, 0.1);
@checkbox-border-radius: @border-radius-base * 2;

@pagination-button-color: @grey-dark;
@pagination-button-background: @grey-lighter;
Expand Down
1 change: 1 addition & 0 deletions src/ts/components/forms/form-group.examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,5 @@
@checkbox-icon-background: @checkbox-background;
@checkbox-icon-border: 2px solid @checkbox-icon-background;
@checkbox-shadow: inset 0 1px 1.5px 0 rgba(0, 0, 0, 0.1);
@checkbox-border-radius: @border-radius-base * 2;
```

0 comments on commit d360135

Please sign in to comment.