[design] improve theme radius default

This commit is contained in:
zombieFox 2019-12-02 15:08:44 +00:00
parent 162a8b82a4
commit 0bdbfee545
3 changed files with 3 additions and 3 deletions

View File

@ -1315,7 +1315,7 @@
<div class="input-wrap"> <div class="input-wrap">
<label for="control-theme-radius">Radius</label> <label for="control-theme-radius">Radius</label>
<div class="form-group form-group-block mb-0"> <div class="form-group form-group-block mb-0">
<input id="control-theme-radius" class="control-theme-radius mr-3" type="range" min="0" max="300" value="0" step="10" tabindex="-1"> <input id="control-theme-radius" class="control-theme-radius mr-3" type="range" min="0" max="300" value="0" step="5" tabindex="-1">
<div class="control-theme-radius-count form-group-text form-group-medium form-group-radius-left"></div> <div class="control-theme-radius-count form-group-text form-group-medium form-group-radius-left"></div>
</div> </div>
</div> </div>

View File

@ -2466,7 +2466,7 @@ var control = (function() {
element: helper.e(".control-theme-radius-default"), element: helper.e(".control-theme-radius-default"),
type: "button", type: "button",
func: function() { func: function() {
mod.setValue("theme.radius", 0.2); mod.setValue("theme.radius", 0.25);
theme.render.radius(); theme.render.radius();
render.update(); render.update();
} }

View File

@ -219,7 +219,7 @@ var state = (function() {
} }
}, },
style: "dark", style: "dark",
radius: 0.2 radius: 0.25
}, },
background: { background: {
color: { color: {