Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Commit 659fe09

Browse files
Merge pull request #125 from Pindagus/apply-theme-to-content
Apply theme to content_css
2 parents 61df218 + a1cf083 commit 659fe09

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

resources/views/tiny-editor.blade.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ class="relative z-0"
2020
dark: 'oxide-dark',
2121
system: window.matchMedia('(prefers-color-scheme: dark)').matches ? 'oxide-dark' : 'oxide',
2222
}[typeof theme === 'undefined' ? 'light' : theme],
23+
content_css: {
24+
light: 'default',
25+
dark: 'dark',
26+
system: window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'default',
27+
}[typeof theme === 'undefined' ? 'light' : theme],
2328
max_height: {{ $getMaxHeight() }},
2429
min_height: {{ $getMinHeight() }},
2530
menubar: {{ $getShowMenuBar() ? 'true' : 'false' }},

0 commit comments

Comments
 (0)