about summary refs log tree commit diff
path: root/app/helpers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-06-08 15:30:06 +0200
committermultiple creatures <dev@multiple-creature.party>2019-11-19 16:49:06 -0600
commita8dfe4e490a59458823d64d2ae3c93a4689d5683 (patch)
tree835cd83d552bada5f3cbb280323f17922d8e6ae8 /app/helpers
parentc66472bd6683415bef40560a3b732617733cde28 (diff)
Change full logo to use primary text color of the given theme (#10994)
* Change full logo to use primary text color of the given theme

* Fix colors of public layout header in light theme
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/stream_entries_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/stream_entries_helper.rb b/app/helpers/stream_entries_helper.rb
index 068db95de..31ab03a65 100644
--- a/app/helpers/stream_entries_helper.rb
+++ b/app/helpers/stream_entries_helper.rb
@@ -38,6 +38,10 @@ module StreamEntriesHelper
     content_tag(:svg, tag(:use, 'xlink:href' => '#mastodon-svg-logo'), 'viewBox' => '0 0 216.4144 232.00976')
   end
 
+  def svg_logo_full
+    content_tag(:svg, tag(:use, 'xlink:href' => '#mastodon-svg-logo-full'), 'viewBox' => '0 0 713.35878 175.8678')
+  end
+
   def account_badge(account, all: false)
     content_tag(:div, class: 'roles') do
       froze = account.local? ? (account&.user.nil? ? true : account.user.disabled?) : account.froze?