Skip to content

Commit adee8e9

Browse files
author
Yeliazar
committed
updated Theme Colors sidebar in Helper
1 parent c7df07d commit adee8e9

File tree

4 files changed

+60
-51
lines changed

4 files changed

+60
-51
lines changed

src/components/Helper/Helper.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
<h5 id="v-step-5">Navbar Color</h5>
2727
<colorpicker
28-
:colors="appConfig.themeColors"
28+
:colors="appConfig.navbarColors"
2929
:activeColor="navbarColorName"
3030
@change="updateLayoutComponentColor({component: layoutComponents.NAVBAR, color: $event})"
3131
></colorpicker>
@@ -48,7 +48,7 @@
4848

4949
<h5 id="v-step-7">Sidebar Color</h5>
5050
<colorpicker
51-
:colors="appConfig.themeColors"
51+
:colors="appConfig.sidebarColors"
5252
:activeColor="sidebarColorName"
5353
@change="updateLayoutComponentColor({component: layoutComponents.SIDEBAR, color: $event})"
5454
></colorpicker>
@@ -68,7 +68,7 @@
6868
Documentation
6969
</a>
7070
</div>
71-
<div class="d-flex justify-content-between mt-lg-1">
71+
<div class="d-flex justify-content-between mt-1">
7272
<a role="button"
7373
target="_blank"
7474
href="https://flatlogic.com/forum"
@@ -84,7 +84,7 @@
8484
Github
8585
</a>
8686
</div>
87-
<div class="mt-lg d-flex flex-column align-items-center theme-sharing">
87+
<div class="mt-1 d-flex flex-column align-items-center theme-sharing">
8888
<span class="fs-sm">
8989
Thank you for sharing!
9090
</span>

src/config.js

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,21 @@ export default {
1616
},
1717
app: {
1818
sidebarTransitionTime: 300, //ms
19-
sidebarColors: {
20-
first: '#3D3D3D',
21-
second: '#4B505F',
22-
third: '#483CB6',
23-
fourth: '#EFF2F5',
24-
fifth: '#20AE8C'
25-
},
26-
navbarColors: {
27-
first: '#ffffff',
28-
second: '#E2E7EC',
29-
third: '#C9D1FB',
30-
fourth: '#C1C3CF',
31-
fifth: '#0C2236',
32-
sixth: '#6FB0F9'
33-
},
19+
sidebarColors: [
20+
['first', '#3D3D3D'],
21+
['second', '#4B505F'],
22+
['third', '#483CB6'],
23+
['fourth', '#EFF2F5'],
24+
['fifth', '#20AE8C']
25+
],
26+
navbarColors: [
27+
['test', '#ffffff'],
28+
['test2', '#E2E7EC'],
29+
['test3', '#C9D1FB'],
30+
['test4', '#C1C3CF'],
31+
['test5', '#0C2236'],
32+
['test6', '#6FB0F9']
33+
],
3434
colors: {
3535
dark: "#002B49",
3636
light: "#FFFFFF",

src/store/layout.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ export default {
4646
state: {
4747
sidebarClose: false,
4848
sidebarStatic: false,
49-
sidebarColorName: config.app.themeColors[0][0],
50-
navbarColorName: config.app.themeColors[1][0],
49+
sidebarColorName: config.app.sidebarColors[0][0],
50+
navbarColorName: config.app.navbarColors[1][0],
5151
navbarColorScheme: NavbarColorSchemes.LIGHT,
5252
navbarType: NavbarTypes.STATIC,
5353
sidebarType: SidebarTypes.SOLID,

src/styles/_theme-variables.scss

Lines changed: 39 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
.root {
22
&.sing-dashboard {
3-
--logo-color: #5CB0FF;
3+
--logo-color: #6C757D;
44
--body-bg: #f9fbfd;
55
--light-color: #F6F6E9;
66

7-
--sidebar-bg-color: #002B49;
8-
--sidebar-color: #fff;
9-
--sidebar-action-bg: #042338;
10-
--sidebar-item-active: #fff; //var(--light-color)
7+
--sidebar-bg-color: #ffffff;
8+
--sidebar-color: #6c757d;
9+
--sidebar-action-bg: #f9fafe;
10+
--sidebar-item-active: #6C757D; //var(--light-color)
1111
--sidebar-item-active-bg: #5CB0FF;
1212
--sidebar-badge-bg: #1A86D0;
1313

@@ -37,46 +37,55 @@
3737
}
3838

3939
&.sidebar-first {
40-
--sidebar-bg-color: #004472;
41-
--sidebar-action-bg: #00395f;
42-
--sidebar-color: #fff;
40+
--sidebar-icon-bg: #5CB0FF;
41+
--sidebar-bg-color: #3D3D3D;
42+
--logo-color: #C1C3CF;
43+
--sidebar-item-active: #F6F6E9;
44+
--sidebar-action-bg: #2D2D2D;
45+
--sidebar-color: #F6F6E9;
46+
--sidebar-nav-title-color: #F6F6E9;
4347
}
4448

4549
&.sidebar-second {
46-
--logo-color: #0D2B47;
47-
--sidebar-color: #14191D;
48-
--sidebar-bg-color: #e9ebef;
49-
--sidebar-action-bg: #dbdee4;
50-
--sidebar-item-active-bg: #0D2B47;
51-
--sidebar-item-active: #14191D;
50+
--logo-color: #C1C3CF;
51+
--sidebar-color: #fff;
52+
--sidebar-bg-color: #4B505F;
53+
--sidebar-action-bg: #373C4D;
54+
--sidebar-item-active-bg: #dedede;
55+
--sidebar-item-active: #F6F6E9;
5256
}
5357

5458
&.sidebar-third {
55-
--logo-color: #0D2B47;
56-
--sidebar-bg-color: #d1e7f5;
57-
--sidebar-action-bg: #bedcf2;
59+
--sidebar-icon-bg: #fff;
60+
--logo-color: #0C2236;
61+
--sidebar-item-active: #F6F6E9;
62+
--important-notification-color: #fd5f00;
63+
--sidebar-bg-color: #483CB6;
64+
--sidebar-color: #F6F6E9 !important;
65+
--sidebar-action-bg: #332A87;
5866
}
5967

6068
&.sidebar-fourth {
61-
--logo-color: #0D2B47;
62-
--sidebar-bg-color: #ccdde9;
63-
--sidebar-action-bg: #bacedc;
64-
--sidebar-item-active-bg: #0D2B47;
69+
--logo-color: #0C2236;
70+
--sidebar-bg-color: #EFF2F5;
71+
--sidebar-action-bg: #E2E7EC;
72+
--sidebar-item-active-bg: #6FB0F9;
6573
}
6674

6775
&.sidebar-fifth {
68-
--logo-color: #0D2B47;
69-
--sidebar-bg-color: #d6dfe6;
70-
--sidebar-action-bg: #bdc9d4;
76+
--logo-color: $white;
77+
--sidebar-bg-color: #20AE8C;
78+
--sidebar-action-bg: #119475;
7179
--sidebar-item-active-bg: #0D2B47;
80+
--sidebar-color: #F6F6E9 !important;
7281
}
7382

74-
&.sidebar-sixth {
75-
--sidebar-bg-color: #13191d;
76-
--sidebar-color: #f6f6e9;
77-
--sidebar-action-bg: #080c0f;
78-
--sidebar-item-active-bg: #5CB0FF;
79-
}
83+
//&.sidebar-sixth {
84+
// --sidebar-bg-color: #13191d;
85+
// --sidebar-color: #f6f6e9;
86+
// --sidebar-action-bg: #080c0f;
87+
// --sidebar-item-active-bg: #5CB0FF;
88+
//}
8089

8190
&.sidebar-seventh {
8291
--sidebar-bg-color: #20ae8c;

0 commit comments

Comments
 (0)