Skip to content

Commit 7f68bff

Browse files
committed
Added new theme
UI adjustments
1 parent 8b633a5 commit 7f68bff

6 files changed

Lines changed: 22 additions & 5 deletions

File tree

src/_themes/green-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$color-primary: #4bcf99;
1+
$color-primary: #8CDE33;
22

33
// $link-color: darken($color-primary, 5%);
44
$link-color: #969696;

src/_themes/seagreen-theme.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
$color-primary: #4bcf99;
2+
3+
// $link-color: darken($color-primary, 5%);
4+
$link-color: #969696;
5+
$link-transition: initial;
6+
$link-decoration: underline;
7+
8+
$link-hover-color: darken($color-primary, 8%);
9+
$link-hover-decoration: underline;

src/_variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ $item-list-color-border: lighten($color-divider, 6%) !default;
9292

9393
// Charts
9494
$chart-color-primary: $color-primary !default;
95-
$chart-color-secondary: lighten($color-primary, 10%) !default;
95+
$chart-color-secondary: lighten($chart-color-primary, 10%) !default;
9696

9797

9898

src/app/_common/sidebar/customize/customize.hbs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@
7777
<li>
7878
<span class="color-item color-green" data-theme="green"></span>
7979
</li>
80+
<li>
81+
<span class="color-item color-seagreen" data-theme="seagreen"></span>
82+
</li>
8083
<li>
8184
<span class="color-item color-blue active" data-theme=""></span>
8285
</li>

src/app/_common/sidebar/customize/customize.scss

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@
9191

9292
li {
9393
display: inline-block;
94-
margin-left: 8px;
95-
margin-right: 8px;
94+
margin-left: 5px;
95+
margin-right: 5px;
9696

9797
.color-item {
9898
display: block;
@@ -112,6 +112,11 @@
112112
}
113113

114114
&.color-green {
115+
background-color: #8CDE33;
116+
border-color: #8CDE33;
117+
}
118+
119+
&.color-seagreen {
115120
background-color: #4bcf99;
116121
border-color: #4bcf99;
117122
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="sidebar-header">
22
<div class="brand">
33
{{> _common/logo/logo}}
4-
{{themeTitle}}
4+
Modular Admin
55
</div>
66
</div>

0 commit comments

Comments
 (0)