Skip to content

Commit

Permalink
Merge pull request #125 from Pindagus/apply-theme-to-content
Browse files Browse the repository at this point in the history
Apply theme to content_css
  • Loading branch information
mohamedsabil83 authored Mar 28, 2024
2 parents 61df218 + a1cf083 commit 659fe09
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions resources/views/tiny-editor.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ class="relative z-0"
dark: 'oxide-dark',
system: window.matchMedia('(prefers-color-scheme: dark)').matches ? 'oxide-dark' : 'oxide',
}[typeof theme === 'undefined' ? 'light' : theme],
content_css: {
light: 'default',
dark: 'dark',
system: window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'default',
}[typeof theme === 'undefined' ? 'light' : theme],
max_height: {{ $getMaxHeight() }},
min_height: {{ $getMinHeight() }},
menubar: {{ $getShowMenuBar() ? 'true' : 'false' }},
Expand Down

0 comments on commit 659fe09

Please sign in to comment.