Introduce color variables

Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
hossainemruz 2023-09-29 04:22:23 +06:00
parent b34c6860be
commit 6d5d1b9851
35 changed files with 696 additions and 909 deletions

View file

@ -33,7 +33,7 @@
{{ end }}
{{ if $sections }}
{{ $background:= "bg-white"}}
{{ $background:= "bg-primary"}}
{{ range sort $sections "section.weight" }}
{{ if .section.enable }}
<div class="container-fluid section-holder d-flex {{ $background }}">
@ -44,10 +44,10 @@
{{ end }}
</div>
<!--- alter background color for next section --->
{{ if eq $background "bg-white" }}
{{ $background = "bg-dimmed" }}
{{ if eq $background "bg-primary" }}
{{ $background = "bg-secondary" }}
{{ else }}
{{ $background = "bg-white" }}
{{ $background = "bg-primary" }}
{{end}}
{{ end }}
{{ end }}