Skip to content

Commit 1aa4817

Browse files
committed
Render critical css inline for color scheme editor
1 parent 4249703 commit 1aa4817

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/views/color_schemes/show_view.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,11 @@ def initialize(
2323

2424
def view_template
2525
content_for :head do
26-
render("application/theme/color")
26+
style do
27+
render ColorSchemes::Css.new(color_scheme: @color_scheme)
28+
end
2729
end
30+
2831
render Pages::Header.new(title: "Theme: Color")
2932
div(class: "section-content container py-gap") do
3033
if previewing? || preserving?

0 commit comments

Comments
 (0)