Files
Testing/vidchat/style.php
sean 343b4a3f3f
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-19 18:32:17 -05:00

31 lines
511 B
PHP

<?php
if(!isset($doNotEcho)){
header("Content-type: text/css");
}
//Here you can set the path to the AVChat theme
$pathToTheme = "themes/light/style.xml";
$cssFile = simplexml_load_file($pathToTheme);
foreach ($cssFile->children() as $property) {
$values=array();
foreach ($property->children() as $tag) {
$values[$tag->getName()] = $tag;
}
echo '.'.$property->getName()."{"."\n";
foreach ($values AS $tag) {
echo "\t".$tag->getName().":".$tag.";"."\n";
}
echo "} \n";
}
?>