docs/components/title.rb in phlex-0.3.2 vs docs/components/title.rb in phlex-0.4.0
- old
+ new
@@ -1,9 +1,9 @@
# frozen_string_literal: true
module Components
class Title < Phlex::View
def template(&block)
- h1(class: "text-2xl font-bold my-5", &block)
+ h1(class: "text-3xl font-semibold my-5") { raw(&block) }
end
end
end