1
0

Update SCSS compiler

This commit is contained in:
Christer Warén 2025-01-01 17:34:46 +02:00
parent 6378d4f12a
commit 404ddc8795
3 changed files with 3 additions and 3 deletions

View File

@ -100,7 +100,7 @@ if(class_exists('Page')){
<?php
$scss = new ScssPhp\ScssPhp\Compiler();
$file = __DIR__."/assets/css/main.scss";
echo $scss->compile(file_get_contents($file));
echo $scss->compileString(file_get_contents($file))->getCss();
?>
/* MAIN.SCSS END */

View File

@ -9,7 +9,7 @@ class Page {
public function style() {
$scss = new ScssPhp\ScssPhp\Compiler();
$file = __DIR__."/../../assets/css/player.scss";
echo $scss->compile(file_get_contents($file));
echo $scss->compileString(file_get_contents($file))->getCss();
echo '
main section#player audio::-webkit-media-controls {

View File

@ -14,7 +14,7 @@ class Page {
public function style() {
$scss = new ScssPhp\ScssPhp\Compiler();
$file = __DIR__."/../../assets/css/player.scss";
echo $scss->compile(file_get_contents($file));
echo $scss->compileString(file_get_contents($file))->getCss();
echo "
main {