From bc043c757c1447dcef7940c0fb55b884de0e9029 Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Wed, 19 Mar 2025 20:32:15 +0200 Subject: [PATCH] feat: utilize project status, cleanup tailwind colours --- content/felu/_index.md | 2 +- content/laurelin/_index.md | 2 -- content/tixe/_index.md | 2 +- css/style.css | 49 -------------------------------------- templates/project.html | 7 ++++++ 5 files changed, 9 insertions(+), 53 deletions(-) diff --git a/content/felu/_index.md b/content/felu/_index.md index 344e7ea..f1c25b0 100644 --- a/content/felu/_index.md +++ b/content/felu/_index.md @@ -9,7 +9,7 @@ template = "project.html" [extra] id = "felu" -status = "active" +status = "inactive" git = "https://git.src.quest/~liljamo/felu" docs = "https://man.src.quest/~liljamo/felu/" diff --git a/content/laurelin/_index.md b/content/laurelin/_index.md index 00bc867..d07ce42 100644 --- a/content/laurelin/_index.md +++ b/content/laurelin/_index.md @@ -9,8 +9,6 @@ template = "project.html" [extra] id = "laurelin" -status = "unknown" - git = "https://git.src.quest/~liljamo/deck-builder" +++ diff --git a/content/tixe/_index.md b/content/tixe/_index.md index 795bd3c..14635bb 100644 --- a/content/tixe/_index.md +++ b/content/tixe/_index.md @@ -9,7 +9,7 @@ template = "project.html" [extra] id = "tixe" -status = "active" +status = "inactive" git = "https://git.src.quest/~liljamo/tixe" +++ diff --git a/css/style.css b/css/style.css index 5c66a9c..fe82be2 100644 --- a/css/style.css +++ b/css/style.css @@ -8,55 +8,6 @@ --font-serif: DejaVu, serif; --font-mono: DejaVu, monospace; - --color-*: initial; - --color-amber-50: #fffbeb; - --color-amber-100: #fef3c7; - --color-amber-200: #fde68a; - --color-amber-300: #fcd34d; - --color-amber-400: #fbbf24; - --color-amber-500: #f59e0b; - --color-amber-600: #d97706; - --color-amber-700: #b45309; - --color-amber-800: #92400e; - --color-amber-900: #78350f; - --color-amber-950: #451a03; - - --color-emerald-50: #ecfdf5; - --color-emerald-100: #d1fae5; - --color-emerald-200: #a7f3d0; - --color-emerald-300: #6ee7b7; - --color-emerald-400: #34d399; - --color-emerald-500: #10b981; - --color-emerald-600: #059669; - --color-emerald-700: #047857; - --color-emerald-800: #065f46; - --color-emerald-900: #064e3b; - --color-emerald-950: #022c22; - - --color-orange-50: #fff7ed; - --color-orange-100: #ffedd5; - --color-orange-200: #fed7aa; - --color-orange-300: #fdba74; - --color-orange-400: #fb923c; - --color-orange-500: #f97316; - --color-orange-600: #ea580c; - --color-orange-700: #c2410c; - --color-orange-800: #9a3412; - --color-orange-900: #7c2d12; - --color-orange-950: #431407; - - --color-sky-50: #f0f9ff; - --color-sky-100: #e0f2fe; - --color-sky-200: #bae6fd; - --color-sky-300: #7dd3fc; - --color-sky-400: #38bdf8; - --color-sky-500: #0ea5e9; - --color-sky-600: #0284c7; - --color-sky-700: #0369a1; - --color-sky-800: #075985; - --color-sky-900: #0c4a6e; - --color-sky-950: #082f49; - --color-text-50: hsl(200, 60%, 95%); --color-text-100: hsl(199, 61%, 90%); --color-text-200: hsl(200, 61%, 80%); diff --git a/templates/project.html b/templates/project.html index d8e66de..cd51716 100644 --- a/templates/project.html +++ b/templates/project.html @@ -7,6 +7,13 @@

{{ section.title }}

+ {% if section.extra.status and section.extra.status == "active" %} +

active

+ {% elif section.extra.status and section.extra.status == "inactive" %} +

inactive

+ {% else %} +

unknown

+ {% endif %} {% if section.extra.external_link %}

See it in action: {{ section.extra.external_link_visual }} -- 2.44.1