mirror of
https://github.com/xodivorce/infra-xodivorce-in.git
synced 2026-02-05 06:32:24 +05:30
chore: initial MVP release
This commit is contained in:
19
src/assets/_debug_kit.php
Normal file
19
src/assets/_debug_kit.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<!-- /**
|
||||
* Debug Kit (Borders)
|
||||
* This section conditionally includes styles for debugging purposes.
|
||||
*/
|
||||
/*
|
||||
* If the DEBUG_MODE environment variable is set to 'true', it applies a green outline to all elements.
|
||||
-->
|
||||
|
||||
<?php
|
||||
$debug_mode = ($_ENV['DEBUG_MODE'] === 'true');
|
||||
|
||||
if ($debug_mode):
|
||||
?>
|
||||
<style>
|
||||
* {
|
||||
outline: 1px solid rgba(0, 255, 0, 0.05);
|
||||
}
|
||||
</style>
|
||||
<?php endif; ?>
|
||||
Reference in New Issue
Block a user