Skip to content

Commit fae6cde

Browse files
author
muammertopcu
committed
#103 sidebar options for toger
1 parent 4c105d9 commit fae6cde

File tree

6 files changed

+316
-521
lines changed

6 files changed

+316
-521
lines changed

resources/config/settings/sections.php

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,35 @@
77
'general_setting' => [
88
'title' => 'visiosoft.theme.defaultadmin::section.general_setting.name',
99
'fields' => [
10-
'title', 'interactive_side_menu','sidebar_hover', 'login_icon', 'panel_icon', 'footer_copyright_org_name'
10+
'title',
11+
'interactive_side_menu',
12+
'sidebar_hover',
13+
'login_icon',
14+
'panel_icon',
15+
'footer_copyright_org_name'
1116
],
1217
],
1318
'light_mode' => [
1419
'title' => 'visiosoft.theme.defaultadmin::section.light_mode.name',
1520
'fields' => [
16-
'active_sidebar_border_color', 'primary_color', 'secondary_color',
17-
'background_color', 'block_background_color', 'negative_color',
18-
'positive_color', 'warning_color', 'info_color', 'menu_link_color', 'links_color',
19-
'links_hover_active_color', 'text_color', 'input_background_color', 'input_placeholder_color',
20-
'input_focused_background_color', 'input_focused_border_color'
21+
'active_sidebar_border_color',
22+
'primary_color',
23+
'secondary_color',
24+
'background_color',
25+
'block_background_color',
26+
'negative_color',
27+
'positive_color',
28+
'warning_color',
29+
'info_color',
30+
'menu_link_color',
31+
'menu_icon_color',
32+
'links_color',
33+
'links_hover_active_color',
34+
'text_color',
35+
'input_background_color',
36+
'input_placeholder_color',
37+
'input_focused_background_color',
38+
'input_focused_border_color'
2139
]
2240
],
2341
'help' => [

resources/config/settings/settings.php

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@
5151
"primary_color" => [
5252
"type" => "anomaly.field_type.colorpicker",
5353
"config" => [
54-
"default_value" => '#1d3557',
54+
"format" => "rgba",
55+
"default_value" => "rgba(29, 53, 87, 1)",
5556
]
5657
],
5758
"secondary_color" => [
@@ -69,7 +70,8 @@
6970
"block_background_color" => [
7071
"type" => "anomaly.field_type.colorpicker",
7172
"config" => [
72-
"default_value" => '#FFF',
73+
"format" => "rgba",
74+
"default_value" => 'rgba(255, 255, 255, 1)',
7375
]
7476
],
7577
"negative_color" => [
@@ -102,6 +104,12 @@
102104
'default_value' => '#ffffff'
103105
]
104106
],
107+
'menu_icon_color' => [
108+
'type' => 'anomaly.field_type.colorpicker',
109+
'config' => [
110+
'default_value' => '#ffffff'
111+
]
112+
],
105113
'links_color' => [
106114
'type' => 'anomaly.field_type.colorpicker',
107115
'config' => [
@@ -111,7 +119,8 @@
111119
'links_hover_active_color' => [
112120
'type' => 'anomaly.field_type.colorpicker',
113121
'config' => [
114-
'default_value' => '#1d3557'
122+
"format" => "rgba",
123+
'default_value' => 'rgba(29, 53, 87, 1)'
115124
]
116125
],
117126
'text_color' => [

0 commit comments

Comments
 (0)