diff --git a/src/App.scss b/src/App.scss index 8732d23c..004c6fc3 100644 --- a/src/App.scss +++ b/src/App.scss @@ -178,8 +178,8 @@ input, textarea, .select { transition: color 200ms; width: 1.1em; height: 1.1em; - border-radius: $fallback--checkBoxRadius; - border-radius: var(--checkBoxRadius, $fallback--checkBoxRadius); + border-radius: $fallback--checkboxRadius; + border-radius: var(--checkboxRadius, $fallback--checkboxRadius); box-shadow: 0px 0px 2px black inset; box-shadow: var(--inputShadow); margin-right: .5em; diff --git a/src/_variables.scss b/src/_variables.scss index d0d91efe..150e4fb5 100644 --- a/src/_variables.scss +++ b/src/_variables.scss @@ -19,7 +19,7 @@ $fallback--cOrange: orange; $fallback--alertError: rgba(211,16,20,.5); $fallback--panelRadius: 10px; -$fallback--checkBoxRadius: 2px; +$fallback--checkboxRadius: 2px; $fallback--btnRadius: 4px; $fallback--inputRadius: 4px; $fallback--tooltipRadius: 5px; diff --git a/src/components/style_switcher/style_switcher.js b/src/components/style_switcher/style_switcher.js index 710694d4..edc614c3 100644 --- a/src/components/style_switcher/style_switcher.js +++ b/src/components/style_switcher/style_switcher.js @@ -76,6 +76,7 @@ export default { btnRadiusLocal: '', inputRadiusLocal: '', + checkboxRadiusLocal: '', panelRadiusLocal: '', avatarRadiusLocal: '', avatarAltRadiusLocal: '', @@ -154,6 +155,7 @@ export default { return { btn: this.btnRadiusLocal, input: this.inputRadiusLocal, + checkbox: this.checkboxRadiusLocal, panel: this.panelRadiusLocal, avatar: this.avatarRadiusLocal, avatarAlt: this.avatarAltRadiusLocal, @@ -421,6 +423,7 @@ export default { // TODO optimize this this.btnRadiusLocal = radii.btn this.inputRadiusLocal = radii.input + this.checkboxRadiusLocal = radii.checkbox this.panelRadiusLocal = radii.panel this.avatarRadiusLocal = radii.avatar this.avatarAltRadiusLocal = radii.avatarAlt diff --git a/src/components/style_switcher/style_switcher.vue b/src/components/style_switcher/style_switcher.vue index 37709363..6463a4ca 100644 --- a/src/components/style_switcher/style_switcher.vue +++ b/src/components/style_switcher/style_switcher.vue @@ -135,7 +135,8 @@
{{$t('settings.radii_help')}}