Skip to content

Commit d360135

Browse files
authored
Merge pull request #346 from dabapps/327-checkbox-radius
Add override option for checkbox radius
2 parents 5bad5c8 + 13d3d77 commit d360135

File tree

5 files changed

+5
-3
lines changed

5 files changed

+5
-3
lines changed

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dabapps/roe",
3-
"version": "0.12.2",
3+
"version": "0.12.3",
44
"description": "A collection of React components, styles, mixins, and atomic CSS classes to aid with the development of web applications.",
55
"main": "dist/js/index.js",
66
"types": "dist/js/index.d.ts",

src/less/overrides.less

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ input[type='radio'] {
186186
}
187187

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

191191
&:checked {
192192
background-color: @checkbox-active-background;

src/less/variables.less

+1
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@
186186
@checkbox-icon-background: @checkbox-background;
187187
@checkbox-icon-border: 2px solid @checkbox-icon-background;
188188
@checkbox-shadow: inset 0 1px 1.5px 0 rgba(0, 0, 0, 0.1);
189+
@checkbox-border-radius: @border-radius-base * 2;
189190

190191
@pagination-button-color: @grey-dark;
191192
@pagination-button-background: @grey-lighter;

src/ts/components/forms/form-group.examples.md

+1
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,5 @@
7575
@checkbox-icon-background: @checkbox-background;
7676
@checkbox-icon-border: 2px solid @checkbox-icon-background;
7777
@checkbox-shadow: inset 0 1px 1.5px 0 rgba(0, 0, 0, 0.1);
78+
@checkbox-border-radius: @border-radius-base * 2;
7879
```

0 commit comments

Comments
 (0)