Skip to content

Commit 885f668

Browse files
committed
[design] improve theme preset style and theme wording
1 parent b63da5e commit 885f668

File tree

2 files changed

+23
-17
lines changed

2 files changed

+23
-17
lines changed

‎src/css/theme.css‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
}
88

99
.theme-preset-button .button-text{
10-
margin-top:1.25em;
11-
margin-bottom:1.25em;
10+
margin-top:0.75em;
11+
margin-bottom:0.75em;
1212
margin-left:0;
1313
}
1414

@@ -43,19 +43,19 @@
4343
.theme-preset-background-02{
4444
z-index:2;
4545
clip-path:polygon(040%,60%100%,100%100%,100%0,00);
46-
transition-delay:0;
46+
transition-delay:0s;
4747
}
4848

4949
.theme-preset-background-03{
5050
z-index:3;
5151
clip-path:polygon(00,100%100%,100%0);
52-
transition-delay:0;
52+
transition-delay:0s;
5353
}
5454

5555
.theme-preset-background-04{
5656
z-index:4;
5757
clip-path:polygon(40%0,100%60%,100%0);
58-
transition-delay:0;
58+
transition-delay:0s;
5959
}
6060

6161
.theme-preset-accent{

‎src/index.html‎

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1493,17 +1493,6 @@ <h1 class="menu-item-header-text">Style</h1>
14931493
<labelfor="control-theme-style-light"><spanclass="label-icon"></span> Light</label>
14941494
</div>
14951495
<pclass="control-theme-style-light-helper form-helper small">Accent Colour and Background Image may need to be changed to best fit the Theme Style.</p>
1496-
<hr>
1497-
<divclass="input-wrap">
1498-
<labelfor="control-theme-radius">Radius</label>
1499-
<divclass="form-group form-group-block mb-0">
1500-
<inputid="control-theme-radius" class="control-theme-radius mr-3" type="range" min="0" max="300" value="0" step="5" tabindex="-1">
1501-
<divclass="control-theme-radius-count form-group-text form-group-item-medium form-group-radius-left"></div>
1502-
</div>
1503-
</div>
1504-
<divclass="button-wrap">
1505-
<buttonclass="control-theme-radius-default button mb-0" tabindex="-1">Default radius</button>
1506-
</div>
15071496
</div>
15081497
</div>
15091498
<divclass="menu-item">
@@ -1520,7 +1509,7 @@ <h1 class="menu-item-header-text">Color</h1>
15201509
</div>
15211510
<pclass="control-theme-color-helper form-helper small">Light and dark shades from this colour are used across nightTabs.</p>
15221511
<divclass="button-wrap">
1523-
<buttonclass="control-theme-color-rgb-default button mb-0" tabindex="-1">Default shade color</button>
1512+
<buttonclass="control-theme-color-rgb-default button mb-0" tabindex="-1">Default primary color</button>
15241513
</div>
15251514
<hr>
15261515
<divclass="input-wrap">
@@ -1685,6 +1674,23 @@ <h1 class="menu-item-header-text">Accent</h1>
16851674
</div>
16861675
</div>
16871676
</div>
1677+
<divclass="menu-item">
1678+
<divclass="menu-item-header">
1679+
<h1class="menu-item-header-text">Radius</h1>
1680+
</div>
1681+
<divclass="menu-item-form">
1682+
<divclass="input-wrap">
1683+
<labelfor="control-theme-radius">All corners</label>
1684+
<divclass="form-group form-group-block mb-0">
1685+
<inputid="control-theme-radius" class="control-theme-radius mr-3" type="range" min="0" max="300" value="0" step="5" tabindex="-1">
1686+
<divclass="control-theme-radius-count form-group-text form-group-item-medium form-group-radius-left"></div>
1687+
</div>
1688+
</div>
1689+
<divclass="button-wrap">
1690+
<buttonclass="control-theme-radius-default button mb-0" tabindex="-1">Default radius</button>
1691+
</div>
1692+
</div>
1693+
</div>
16881694
</div>
16891695

16901696
<divclass="menu-content-area menu-content-area-background is-hidden">

0 commit comments

Comments
(0)