Skip to content

Commit 4ea7de4

Browse files
authored
Merge pull request #163 from joyofrails/css/syntax-entrypoint
Extract separate entrypoint for dracula syntax
2 parents 9734975 + 2822218 commit 4ea7de4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@import '../../css/theme/code/dracula.css';
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
<style>
2-
<%= File.read(Rails.root.join("app", "javascript", "css", "theme", "code", "dracula.css")) %>
3-
</style>
1+
<%= vite_stylesheet_tag "entrypoints/code/dracula.css", media: "all", "data-turbo-track": "reload" %>

0 commit comments

Comments
 (0)