Skip to content

Commit

Permalink
🧹 use class attribute instead of constant to correct failing specs
Browse files Browse the repository at this point in the history
  • Loading branch information
ShanaLMoore committed Dec 13, 2023
1 parent 2f2f4dc commit 0f67c4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/forms/hyrax/forms/admin/appearance.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

# OVERRIDE Hyrax 3.4.0 ot add custom theming
# OVERRIDE Hyrax 3.4.0 to add custom theming

# rubocop:disable Metrics/ClassLength
module Hyrax
Expand Down Expand Up @@ -439,7 +439,7 @@ def convert_to_rgba(hex_color, alpha = 0.5)
end

def default_values
@default_values ||= DEFAULT_FONTS.merge(DEFAULT_COLORS)
@default_values ||= default_fonts.merge(default_colors)
end

def block_for(name, dynamic_default = nil)
Expand Down

0 comments on commit 0f67c4c

Please sign in to comment.