From 4a36716574442559c99fd971db091160798fdc8c Mon Sep 17 00:00:00 2001 From: Naterfute Date: Thu, 1 Jan 2026 18:43:31 -0800 Subject: [PATCH] feat(ui): updated email templates to match Pyrodactyl theme --- .../vendor/notifications/email.blade.php | 52 +++++++++---------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/resources/views/vendor/notifications/email.blade.php b/resources/views/vendor/notifications/email.blade.php index 94f86a960..39c439e88 100644 --- a/resources/views/vendor/notifications/email.blade.php +++ b/resources/views/vendor/notifications/email.blade.php @@ -20,53 +20,53 @@ $style = [ /* Layout ------------------------------ */ - 'body' => 'margin: 0; padding: 0; width: 100%; background-color: #F2F4F6;', - 'email-wrapper' => 'width: 100%; margin: 0; padding: 0; background-color: #F2F4F6;', + 'body' => 'margin: 0; padding: 0; width: 100%; background-color: #0a0a0a;', + 'email-wrapper' => 'width: 100%; margin: 0; padding: 0; background-color: #0a0a0a;', /* Masthead ----------------------- */ 'email-masthead' => 'padding: 25px 0; text-align: center;', - 'email-masthead_name' => 'font-size: 16px; font-weight: bold; color: #2F3133; text-decoration: none; text-shadow: 0 1px 0 white;', + 'email-masthead_name' => 'font-size: 16px; font-weight: bold; color: #ef4444; text-decoration: none;', - 'email-body' => 'width: 100%; margin: 0; padding: 0; border-top: 1px solid #EDEFF2; border-bottom: 1px solid #EDEFF2; background-color: #FFF;', + 'email-body' => 'width: 100%; margin: 0; padding: 0; border-top: 1px solid #1f1f1f; border-bottom: 1px solid #1f1f1f; background-color: #141414;', 'email-body_inner' => 'width: auto; max-width: 570px; margin: 0 auto; padding: 0;', 'email-body_cell' => 'padding: 35px;', 'email-footer' => 'width: auto; max-width: 570px; margin: 0 auto; padding: 0; text-align: center;', - 'email-footer_cell' => 'color: #AEAEAE; padding: 35px; text-align: center;', + 'email-footer_cell' => 'color: #6b7280; padding: 35px; text-align: center;', /* Body ------------------------------ */ 'body_action' => 'width: 100%; margin: 30px auto; padding: 0; text-align: center;', - 'body_sub' => 'margin-top: 25px; padding-top: 25px; border-top: 1px solid #EDEFF2;', + 'body_sub' => 'margin-top: 25px; padding-top: 25px; border-top: 1px solid #1f1f1f;', /* Type ------------------------------ */ - 'anchor' => 'color: #3869D4;', - 'header-1' => 'margin-top: 0; color: #2F3133; font-size: 19px; font-weight: bold; text-align: left;', - 'paragraph' => 'margin-top: 0; color: #74787E; font-size: 16px; line-height: 1.5em;', - 'paragraph-sub' => 'margin-top: 0; color: #74787E; font-size: 12px; line-height: 1.5em;', + 'anchor' => 'color: #ef4444; text-decoration: underline;', + 'header-1' => 'margin-top: 0; color: #f9fafb; font-size: 19px; font-weight: bold; text-align: left;', + 'paragraph' => 'margin-top: 0; color: #9ca3af; font-size: 16px; line-height: 1.5em;', + 'paragraph-sub' => 'margin-top: 0; color: #6b7280; font-size: 12px; line-height: 1.5em;', 'paragraph-center' => 'text-align: center;', /* Buttons ------------------------------ */ - 'button' => 'display: block; display: inline-block; width: 200px; min-height: 20px; padding: 10px; - background-color: #3869D4; border-radius: 3px; color: #ffffff; font-size: 15px; line-height: 25px; - text-align: center; text-decoration: none; -webkit-text-size-adjust: none;', + 'button' => 'display: inline-block; width: 200px; min-height: 20px; padding: 10px; + background-color: #ef4444; border-radius: 3px; color: #ffffff; font-size: 15px; line-height: 25px; + text-align: center; text-decoration: none;', - 'button--green' => 'background-color: #22BC66;', - 'button--red' => 'background-color: #dc4d2f;', - 'button--blue' => 'background-color: #3869D4;', + 'button--green' => 'background-color: #10b981;', + 'button--red' => 'background-color: #dc2626;', + 'button--blue' => 'background-color: #ef4444;', ]; ?> - +
- +
@@ -79,7 +79,7 @@ $style = [
- +
@@ -104,7 +104,7 @@ $style = [ @if (isset($actionText)) - +
@@ -145,16 +145,16 @@ $style = [ @if (isset($actionText)) -
+ target="_blank" rel="noopener"> {{ $actionText }}
+

- If you’re having trouble clicking the "{{ $actionText }}" button, + If you're having trouble clicking the "{{ $actionText }}" button, copy and paste the URL below into your web browser:

- + {{ $actionUrl }}

@@ -171,12 +171,12 @@ $style = [
- +

© {{ date('Y') }} - {{ config('app.name') }}. + {{ config('app.name') }}. All rights reserved.