Theme update

This commit is contained in:
2024-11-04 13:11:27 -05:00
Unverified
parent 5d7bf3b3c9
commit 22920b60dc
9 changed files with 26 additions and 53 deletions

1
.gitignore vendored
View File

@@ -7,3 +7,4 @@
/public/ /public/
assets/jsconfig.json assets/jsconfig.json
/.idea/ /.idea/
/content/.obsidian/

View File

@@ -26,15 +26,6 @@ url = "https://www.youtube.com/channel/UCIk0qQcaVTxhfTD9sK_0PtQ"
[social.params] [social.params]
icon = "brand-youtube" icon = "brand-youtube"
[[social]]
identifier = "discord"
name = "Discord"
weight = 4
url = "https://discord.com/invite/b48D4m8jNs"
[social.params]
icon = "brand-discord"
[[social]] [[social]]
identifier = "email" identifier = "email"
name = "Email" name = "Email"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 299 KiB

View File

@@ -1,19 +0,0 @@
---
title: "Butter Engine: April 2023"
date: 2022-08-21T15:02:56-04:00
lastmod: 2022-08-21T16:02:56-04:00
# date: YEAR-MONTH-DAYTHOUR:MINUTE:SECOND-04:00
draft: true
# author: "LitlToast"
# authorLink: "https://higgy999.github.io"
description: "A lot has changed, let's jump right in."
image: "featured-image.png"
tags: ["Butter Engine", "Update", "Programming"]
categories: ["butterengine"]
---
Butter Engine (Java): UI, Physics, and Maps Post
Now in Rust, Java struggles
Whats Rust Like

View File

@@ -1,7 +1,7 @@
--- ---
title: "The Ultimate Beeper-iMessage Guide: 2024" title: "The Ultimate Beeper-iMessage Guide: 2024"
date: 2024-03-24T01:00:00-04:00 date: 2024-03-24T01:00:00-04:00
lastmod: 2024-05-4T01:00:00-04:00 lastmod: 2024-05-04T01:00:00-04:00
draft: false draft: false
description: "The One Guide to Rule Them All (for at least 2024)" description: "The One Guide to Rule Them All (for at least 2024)"

View File

@@ -34,14 +34,14 @@
} }
} }
@for $i from 1 through length($defaultTagBackgrounds) { //@for $i from 1 through length($defaultTagBackgrounds) {
&:nth-child(#{length($defaultTagBackgrounds)}n + #{$i}) { // &:nth-child(#{length($defaultTagBackgrounds)}n + #{$i}) {
.article-category a { // .article-category a {
background: nth($defaultTagBackgrounds, $i); // background: nth($defaultTagBackgrounds, $i);
color: nth($defaultTagColors, $i); // color: nth($defaultTagColors, $i);
} // }
} // }
} //}
} }
} }

View File

@@ -11,12 +11,12 @@ $defaultTagColors: #fff, #fff, #fff, #fff, #fff;
--main-top-padding: 50px; --main-top-padding: 50px;
} }
--body-background: #fbfbfe; --body-background: #faf8f5;
--accent-color: #443dff; --accent-color: #6daf62;
--accent-color-darker: #2f27ce; --accent-color-darker: #5f5735;
--accent-color-text: #fff; --accent-color-text: #1d1a11; //9dc497
--body-text-color: #040316; --body-text-color: #1d1a11;
--tag-border-radius: 4px; --tag-border-radius: 4px;
@@ -27,11 +27,11 @@ $defaultTagColors: #fff, #fff, #fff, #fff, #fff;
--scrollbar-track: var(--body-background); --scrollbar-track: var(--body-background);
&[data-scheme="dark"] { &[data-scheme="dark"] {
--body-background: #010104; --body-background: #0a0805;
--accent-color: #443dff; --accent-color: #5fa56c;
--accent-color-darker: #3a31d8; --accent-color-darker: #cac2a0;
--accent-color-text: #fff; --accent-color-text: #eeebe2; //41683b
--body-text-color: #eae9fc; --body-text-color: #eeebe2;
//--scrollbar-thumb: hsl(0, 0%, 40%); //--scrollbar-thumb: hsl(0, 0%, 40%);
--scrollbar-thumb: var(--card-background); --scrollbar-thumb: var(--card-background);
--scrollbar-track: var(--body-background); --scrollbar-track: var(--body-background);
@@ -58,8 +58,8 @@ $defaultTagColors: #fff, #fff, #fff, #fff, #fff;
* Card style * Card style
*/ */
:root { :root {
--card-background: #cfcdf0; --card-background: #acdfa4;
--card-background-selected: #dddbff; --card-background-selected: #c8dec4;
--card-text-color-main: #040316; --card-text-color-main: #040316;
--card-text-color-secondary: #747474; --card-text-color-secondary: #747474;
@@ -91,7 +91,7 @@ $defaultTagColors: #fff, #fff, #fff, #fff, #fff;
// --accent: #0600c2; // --accent: #0600c2;
&[data-scheme="dark"] { &[data-scheme="dark"] {
--card-background: #171530; //020024 --card-background: #204427; //020024
--card-background-selected: rgba(255, 255, 255, 0.16); --card-background-selected: rgba(255, 255, 255, 0.16);
--card-text-color-main: rgba(255, 255, 255, 0.9); --card-text-color-main: rgba(255, 255, 255, 0.9);
--card-text-color-secondary: rgba(255, 255, 255, 0.7); --card-text-color-secondary: rgba(255, 255, 255, 0.7);

View File

@@ -2,7 +2,7 @@
{{ if .Params.categories }} {{ if .Params.categories }}
<header class="article-category"> <header class="article-category">
{{ range (.GetTerms "categories") }} {{ range (.GetTerms "categories") }}
<a href="{{ .RelPermalink }}" {{ with .Params.style }}style="background-color: {{ .background }}; color: {{ .color }};"{{ end }}> <a href="{{ .RelPermalink }}">
{{ .LinkTitle }} {{ .LinkTitle }}
</a> </a>
{{ end }} {{ end }}

View File

@@ -32,8 +32,8 @@
<meta property='article:modified_time' content='{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }}'/> <meta property='article:modified_time' content='{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }}'/>
{{- end -}} {{- end -}}
{{- else -}} {{- else -}}
{{- if not .Site.LastChange.IsZero -}} {{- if not .Site.Lastmod.IsZero -}}
<meta property='og:updated_time' content='{{ .Site.LastChange.Format " 2006-01-02T15:04:05-07:00 " | safeHTML }}'/> <meta property='og:updated_time' content='{{ .Site.Lastmod.Format " 2006-01-02T15:04:05-07:00 " | safeHTML }}'/>
{{- end -}} {{- end -}}
{{- end -}} {{- end -}}