color-logger script

This commit is contained in:
2025-05-28 09:51:52 +02:00
parent 669a96174c
commit 437a054d3b
5 changed files with 47 additions and 71 deletions

View File

@@ -0,0 +1,6 @@
console.log('[CSS] Base colors loaded');
document.addEventListener('DOMContentLoaded', function() {
console.log('[CSS] All CSS files loaded');
console.log('[CSS] Primary color:', getComputedStyle(document.documentElement).getPropertyValue('--primary-color').trim());
console.log('[CSS] Secondary color:', getComputedStyle(document.documentElement).getPropertyValue('--secondary-color').trim());
});