0
murat.kebabci created
Hi,
I want to use your themes style variables (scss, sass etc.) for creating new special page. You are supporting themes settings but i didn't find any style pages!
1 Answer(s)
-
0
There's an enum for Lepton styles. You can use it in backend
Volo.Abp.LeptonTheme.Management.LeptonStyle
To change the lepton theme style you can use appsettings.json
{ "ConnectionStrings": { "Default": "Server=localhost;Database=TestDatabase;Trusted_Connection=True;MultipleActiveResultSets=true" }, "Settings": { "Volo.Abp.LeptonTheme.Layout.MenuPlacement": "Top", "Volo.Abp.LeptonTheme.Style": "Style5", "Volo.Abp.LeptonTheme.Layout.Boxed": "True", "Volo.Abp.LeptonTheme.Layout.MenuStatus": "AlwaysOpened" } }
Alternatively you can set it in the database.
Table name: AbpSettings
| Name | Value | ProviderName | | --- | --- | --- | |
Volo.Abp.LeptonTheme.Layout.Boxed
|True
,False
|T
| |Volo.Abp.LeptonTheme.Layout.MenuPlacement
|Top
,Left
|T
|Volo.Abp.LeptonTheme.Style
|Style1
,Style2
,Style3
,Style4
,Style5
|T
|Volo.Abp.LeptonTheme.Layout.MenuStatus
|AlwaysOpened
orOpenOnHover
|T