Jake Vanderwerf
4 days ago 5a6906f710e9333507486df3cbb545a67a040881
base/email.php
@@ -1,37 +1,22 @@
<?php
$name = get_bloginfo('name');
$desc = get_bloginfo('description');
$defaults = [
   'colours'      => [
      'action-0'     => '#ff0080',
      'action-50'    => '#ff2492',
      'action-100'   => '#ff47a4',
      'action-200'   => '#ff6bb5',
      'secondary-0'  => '#D69121',
      'secondary-50' => '#ffc421',
      'secondary-100'   => '#ffcd44',
      'secondary-200'   => '#ffd768',
      'light'        => '#efefef',
      'light-50'     => '#e2e2e2',
      'light-100'    => '#d5d5d5',
      'light-200'    => '#c9c9c9',
      'dark'         => '#151515',
      'dark-50'      => '#222222',
      'dark-100'     => '#2e2e2e',
      'dark-200'     => '#3b3b3b',
      'action-contrast'=> '',
      'secondary-contrast'=> '',
   ],
   'content'      => [
      'title'           => get_bloginfo('name'),
      'subjectPrefix'      => '['.get_bloginfo('name').']',
      'signature'       => '<p>&emsp; —  ♡ the edmonton.ink crew</p>',
      'title'           => $name,
      'subjectPrefix'      => '['.$name.']',
      'signature'       => '<p>&emsp; —  ♡ '.$name.'</p>',
      'footer' => [
         '<p>&copy; ' . date('Y') . ' edmonton.ink — Your tattoo scene on your screen.</p>',
         '<p><a href="' . get_home_url() . '" class="text-link">edmonton.ink</a></p>'
         '<p>&copy; ' . date('Y') . ' '.$name.' — '.$desc.'</p>',
         '<p><a href="' . get_home_url() . '" class="text-link">'.get_home_url().'</a></p>'
      ]
   ],
   'types' => [
      'newUser' => [
         'subject'       => 'Welcome to Legacy! Finish creating your account.',
         'subject'       => sprintf(
            'Welcome to %s! Finish creating your account.',
            get_bloginfo('name')
         ),
         'showPrefix'    => true,
      ],
      'resetPass' => [