Changement des ilink vers markdown pur

This commit is contained in:
2025-11-12 20:17:43 +01:00
parent 6585b1765a
commit a09b73e4f1
25 changed files with 803 additions and 315 deletions

View File

@ -1,3 +1,4 @@
import { debug, debugError } from './debug.js';
/**
* ThemeManager - Gère le système de thèmes de l'application
* Permet de changer entre différents thèmes et persiste le choix dans localStorage
@ -70,7 +71,7 @@ class ThemeManager {
}
});
console.log('ThemeManager initialized with theme:', this.currentTheme);
debug('ThemeManager initialized with theme:', this.currentTheme);
}
loadTheme() {
@ -91,7 +92,7 @@ class ThemeManager {
// Mettre à jour les cartes de thème si la modale est ouverte
this.updateThemeCards();
console.log('Theme applied:', themeId);
debug('Theme applied:', themeId);
}
openThemeModal() {
@ -163,7 +164,7 @@ window.selectTheme = function(themeId) {
};
window.switchSettingsTab = function(tabName) {
console.log('Switching to tab:', tabName);
debug('Switching to tab:', tabName);
// Désactiver tous les onglets
const tabs = document.querySelectorAll('.settings-tab');
@ -191,7 +192,7 @@ window.switchSettingsTab = function(tabName) {
const section = document.getElementById(sectionId);
if (section) {
section.style.display = 'block';
console.log('Showing section:', sectionId);
debug('Showing section:', sectionId);
} else {
console.error('Section not found:', sectionId);
}