File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 body .home-page {
1212 -webkit-font-smoothing : antialiased;
1313 -moz-osx-font-smoothing : grayscale;
14- background-color : # f4f6fa !important ;
15- color : # 1e293b !important ;
14+ background-color : # 0f172a !important ;
15+ color : # e2e8f0 !important ;
1616 }
1717
1818 [data-theme = "light" ] body .home-page {
Original file line number Diff line number Diff line change 33 * Loaded on every page alongside Tailwind + theme override sheets.
44 */
55
6- /* Light (default) */
7- : root ,
6+ /* Light */
87[data-theme = "light" ] {
98 color-scheme : light;
109 --bg-primary : # f4f6fa ;
6463 --text-on-accent : # ffffff ;
6564}
6665
67- /* Dark */
66+ /* Dark (default) */
67+ : root ,
6868[data-theme = "dark" ] {
6969 color-scheme : dark;
7070 --bg-primary : # 0f172a ;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 11<!DOCTYPE html>
2- < html lang ="{{ .Site.Language.Lang | default "en " }}">
2+ < html lang ="{{ .Site.Language.Lang | default "en " }}" data-theme=" dark " >
33< head >
44 {{ partial "header.html" . }}
55 {{ partial "home/head.html" . }}
2828 {{- end -}}
2929 {{ partial "home/testimonials.html" . }}
3030 {{ partial "home/cta-coffee.html" . }}
31- {{ partial "home/marquee.html" . }}
3231 {{ partial "home/why.html" . }}
3332 {{ partial "home/faq.html" . }}
33+ {{ partial "home/marquee.html" . }}
3434 </ main >
3535
3636 {{ partial "home/footer.html" . }}
Original file line number Diff line number Diff line change 11{{- $cat := .category -}}
22{{- $slug := $cat.slug | default ($cat.name | anchorize) -}}
33{{- $subtitle := $cat.subtitle | default $cat.name -}}
4- {{- $seeAll := $cat.seeAllUrl | default (printf "/#%s " $slug) -}}
4+ {{- $seeAll := $cat.seeAllUrl | default (printf "/browse/%s/ " $slug) | relLangURL -}}
55{{- $previewCount := $cat.previewCount | default 12 -}}
66{{- $defaultIcon := $cat.phosphorIcon | default "app-window" -}}
77{{- $visible := where $cat.items "hidden" "!=" true -}}
Original file line number Diff line number Diff line change 77{{- with $navActive -}}{{- $page.Scratch.Set "navActive" . -}}{{- end -}}
88
99<!DOCTYPE html>
10- < html lang ="{{ $page.Site.Language.Lang | default "en " }}">
10+ < html lang ="{{ $page.Site.Language.Lang | default "en " }}" data-theme=" dark " >
1111< head >
1212 {{ partial "header.html" $page }}
1313 {{ partial "home/head.html" $page }}
Original file line number Diff line number Diff line change 11/* Focus ring tokens (complement theme-tokens.css) */
2- : root ,
32[data-theme = "light" ] body .home-page {
43 --link-color : # 2563eb ;
54 --focus-ring : # 2563eb ;
109 --focus-ring : # 0284c7 ;
1110}
1211
12+ : root body .home-page ,
1313[data-theme = "dark" ] body .home-page {
1414 --link-color : # 38bdf8 ;
1515 --focus-ring : # 38bdf8 ;
You can’t perform that action at this time.
0 commit comments