Change modal and card to dark theme

This commit is contained in:
2024-03-18 18:08:29 +01:00
parent ed720f20e5
commit a9a0856822
2 changed files with 32 additions and 32 deletions
+2 -2
View File
@@ -96,7 +96,7 @@ document.addEventListener('htmx:afterSwap', function(event) {
articleFichiers.innerHTML = '';
articleFichiers.insertAdjacentHTML('beforeend', '<h3 class="title is-4 has-text-centered">Documents</h3>');
articleFichiers.insertAdjacentHTML('beforeend', '<h3 class="title is-4 has-text-centered has-text-light">Documents</h3>');
fichiers.forEach(fichier => {
articleFichiers.insertAdjacentHTML('beforeend', `
@@ -104,7 +104,7 @@ document.addEventListener('htmx:afterSwap', function(event) {
<span class="icon">
<ion-icon name="document"></ion-icon>
</span>
<a href="http://localhost:1337${fichier.attributes.url}">${fichier.attributes.name}</a>
<a class="has-text-success" href="http://localhost:1337${fichier.attributes.url}">${fichier.attributes.name}</a>
</p>
`);
});