From 036b6e8e34adcb94ceb265032630aec059db3baf Mon Sep 17 00:00:00 2001 From: Kurtis Holsapple Date: Wed, 7 May 2025 20:39:12 -0700 Subject: [PATCH] better singleton instance --- style.css | 44 ------------------- .../rad-theme-engine/src/Site.php | 2 +- 2 files changed, 1 insertion(+), 45 deletions(-) diff --git a/style.css b/style.css index 220c160..39ef525 100644 --- a/style.css +++ b/style.css @@ -8,47 +8,3 @@ Requires PHP: 7.4 Version: 1.0 Text Domain: ofc */ - -@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,400;1,500&display=swap"); - - -.title-logo { - max-width: 350px; - width: 100%; -} - -body{ - text-align: center; - background-color: #212529; -} -p{ - font-family:"Roboto", sans-serif; - color:lightgray; -} -h1{ - font-family:"Roboto", sans-serif; - color:#ee0099; - font-style: italic; - text-decoration: none; - font-size:3em; -} -h2{ - font-family:"Roboto", sans-serif; - color:lightgray; -} -#rad-tag{ - font-family:"Roboto", sans-serif; - font-weight: bold; - /* font-style: italic; */ - color: lightgray; -} -a { - text-decoration: none; -} - -.bottom-link{ - color: #ee0099; -} -hr { - border-color: #343a40; -} \ No newline at end of file diff --git a/vendor/open-function-computers-llc/rad-theme-engine/src/Site.php b/vendor/open-function-computers-llc/rad-theme-engine/src/Site.php index 6b3deb7..b509739 100644 --- a/vendor/open-function-computers-llc/rad-theme-engine/src/Site.php +++ b/vendor/open-function-computers-llc/rad-theme-engine/src/Site.php @@ -24,6 +24,7 @@ class Site { if (self::$instance === null) { self::$instance = new self([]); + self::$instance->bootstrap(); } return self::$instance; } @@ -35,7 +36,6 @@ class Site } $this->config = $config; - $this->bootstrap(); } private function bootstrap()