Files
Testing/vidchat/style.php
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -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";
}
?>