Skip to content

Commit

Permalink
adjusted colors
Browse files Browse the repository at this point in the history
  • Loading branch information
tbsbdr committed Jun 16, 2024
1 parent 2d2ba61 commit dfd8b59
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 15 deletions.
1 change: 0 additions & 1 deletion content/english/blog/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
title: "My Notes"
meta_title: "Notes to myself and to anyone who might find them interesting"
url: "/"
description: "Notes to myself and to anyone who might find them interesting"
---
28 changes: 14 additions & 14 deletions data/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,41 +4,41 @@
"theme_color": {
"primary": "#121212",
"body": "#fff",
"border": "#eaeaea",
"border": "#1e293b",
"theme_light": "#f6f6f6",
"theme_dark": ""
"theme_dark": "#1e293b"
},
"text_color": {
"default": "#444444",
"dark": "#040404",
"light": "#717171"
"dark": "#1e293b",
"light": "#1e293b"
}
},
"darkmode": {
"theme_color": {
"primary": "#fff",
"body": "#1c1c1c",
"border": "#3E3E3E",
"theme_light": "#222222",
"body": "#1e293b",
"border": "#ffffff",
"theme_light": "#1b2636",
"theme_dark": ""
},
"text_color": {
"default": "#B4AFB6",
"dark": "#fff",
"light": "#B4AFB6"
"default": "#ffffff",
"dark": "#ffffff",
"light": ""
}
}
},
"fonts": {
"font_family": {
"primary": "Heebo:wght@400;600",
"primary": "Inter:wght@400;700",
"primary_type": "sans-serif",
"secondary": "Signika:wght@500;700",
"secondary": "Inter:wght@500;700",
"secondary_type": "sans-serif"
},
"font_size": {
"base": "16",
"scale": "1.2"
"base": "19",
"scale": "1.22"
}
}
}
32 changes: 32 additions & 0 deletions layouts/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{{ define "main" }}

{{ with site.GetPage "blog" }}

<section class="section">
<div class="container">
<div class="row gx-5">
<!-- blog posts -->
<div class="lg:col-8">
<div class="row">
{{ range .Data.Pages }}
<div class="md:col-6 mb-14">
{{ partial "components/blog-card" . }}
</div>
{{ end }}
</div>
</div>
<!-- sidebar -->
<div class="lg:col-4">
<!-- widget -->
{{ $widget:= site.Params.widgets.sidebar }}
{{ partialCached "widgets/widget-wrapper" ( dict "Widgets" $widget "Scope" . ) }}
</div>
</div>
</div>
</section>

{{end}}


<!-- Testimonials -->
{{ end }}

0 comments on commit dfd8b59

Please sign in to comment.