# Allow direct access to theme files
<Files ~ "\.(jpg|jpeg|png|gif|css|scss|json)$">
    Order allow,deny
    Allow from all
    Satisfy any
</Files>

# Disable PHP execution in themes directory
<Files ~ "\.php$">
    Order deny,allow
    Deny from all
</Files>