From 5a6906f710e9333507486df3cbb545a67a040881 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 24 May 2026 02:26:17 +0000
Subject: [PATCH] =Minor changes to email.php, which had info for Legacy and edmonton.ink hardcoded in it. Added a colours.php and JVB_COLOURS constant to define our base, contrast, action, and secondary colours for use within php templates

---
 jvb.php |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/jvb.php b/jvb.php
index 17669f9..d5da153 100644
--- a/jvb.php
+++ b/jvb.php
@@ -141,6 +141,13 @@
 	return IconsManager::for($source)->get($name, $options);
 }
 
+function jvbFullIcon(string $name, array $options = []):string
+{
+	$source = $options['source'] ?? 'icons';
+	unset($options['source']);
+	return IconsManager::for($source)->getRawSvg($name, $options['style']??null);
+}
+
 /**
  * Get a CSS data URI for an icon
  *

--
Gitblit v1.10.0