documentation for all JS files

This commit is contained in:
2025-05-28 16:01:18 +02:00
parent 1134f5b099
commit 5c5829c487
22 changed files with 984 additions and 26 deletions

View File

@@ -1,4 +1,22 @@
/**
* @fileoverview Provides logging functionality for CSS color variables.
* This file handles:
* - Logging of base color loading status
* - Logging of CSS file loading status
* - Logging of primary and secondary color values
*/
// Log initial base colors loading
console.log('[CSS] Base colors loaded');
/**
* Logs CSS color information when the DOM is fully loaded.
* Reports:
* - CSS files loading status
* - Primary color value from CSS variables
* - Secondary color value from CSS variables
* @function
*/
document.addEventListener('DOMContentLoaded', function() {
console.log('[CSS] All CSS files loaded');
console.log('[CSS] Primary color:', getComputedStyle(document.documentElement).getPropertyValue('--primary-color').trim());