Skip to content

Commit 04c197e

Browse files
committed
edit branding theme
1 parent 24a73ed commit 04c197e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

adminforth/documentation/docs/tutorial/03-Customization/01-branding.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ In `index.ts` file set the `styles` property in the configuration:
7676

7777
const admin = new AdminForth({
7878
...
79-
//diff-add
80-
customization:{
79+
customization: {
8180
//diff-add
8281
styles: {
8382
//diff-add
@@ -86,10 +85,14 @@ const admin = new AdminForth({
8685
light: {
8786
//diff-add
8887
// color for links, icons etc.
88+
//diff-remove
89+
primary: '#1a56db',
8990
//diff-add
9091
primary: '#b400b8',
9192
//diff-add
9293
// color for sidebar and text
94+
//diff-remove
95+
sidebar: { main: '#f9fafb', text: '#213045' },
9396
//diff-add
9497
sidebar: {main:'#571e58', text:'white'},
9598
//diff-add
@@ -98,7 +101,6 @@ const admin = new AdminForth({
98101
}
99102
//diff-add
100103
}
101-
//diff-add
102104
},
103105
...
104106
});

0 commit comments

Comments
 (0)