Compare commits

..

1 Commits

Author SHA1 Message Date
f61fc69382 Update theme
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
2025-09-14 23:30:06 +01:00
3 changed files with 16 additions and 20 deletions

View File

@@ -21,17 +21,17 @@
--text-900: #131d20; --text-900: #131d20;
--text-950: #090f10; --text-950: #090f10;
--background-50: #f0f5f5; --background-50: #f2f2f2;
--background-100: #e0ebeb; --background-100: #e6e6e6;
--background-200: #c2d6d6; --background-200: #cccccc;
--background-300: #a3c2c2; --background-300: #b3b3b3;
--background-400: #85adad; --background-400: #999999;
--background-500: #669999; --background-500: #808080;
--background-600: #527a7a; --background-600: #666666;
--background-700: #3d5c5c; --background-700: #4d4d4d;
--background-800: #293d3d; --background-800: #333333;
--background-900: #141f1f; --background-900: #1a1a1a;
--background-950: #0a0f0f; --background-950: #0d0d0d;
--primary-50: #eff5f5; --primary-50: #eff5f5;
--primary-100: #dfeaec; --primary-100: #dfeaec;

View File

@@ -15,6 +15,6 @@
@media (max-width: $width-mobile) { @media (max-width: $width-mobile) {
.hero { .hero {
padding: 1rem 1rem 0 1rem; padding: 1rem;
} }
} }

View File

@@ -11,17 +11,13 @@
{{- $original = ($page.Resources.Get $src) | default (resources.Get $src) -}} {{- $original = ($page.Resources.Get $src) | default (resources.Get $src) -}}
{{- end -}} {{- end -}}
{{- $rotate := images.AutoOrient -}} {{- $full := $original | images.Filter (images.Process "webp q90") -}}
{{- $processFull := images.Process "webp q90" -}} {{- $thumb := "" -}}
{{- $full := $original | images.Filter (slice $rotate $processFull) -}}
{{- $processThumb := "" -}}
{{- if gt $original.Width 2000 -}} {{- if gt $original.Width 2000 -}}
{{- $processThumb = images.Process "resize 2000x webp q75" -}} {{- $thumb = $original | images.Filter (images.Process "resize 2000x webp q75") -}}
{{- else -}} {{- else -}}
{{- $processThumb = images.Process "webp q75" -}} {{- $thumb = $original | images.Filter (images.Process "webp q75") -}}
{{- end -}} {{- end -}}
{{- $thumb := $original | images.Filter (slice $rotate $processThumb) -}}
{{- return dict "original" $original "full" $full "thumb" $thumb -}} {{- return dict "original" $original "full" $full "thumb" $thumb -}}