@@ -208,21 +212,24 @@
🖖 Il mio approccio!
--bs-border-radius: 0.25rem;
}
-
Scarica e inserisci nella head del tuo progetto il file CSS di seguito.
-
+
Facile da mantenere o modificare in seguito, semplicemnte modificando le variabili native presenti in cima al file CSS.
+
+
Come usarlo
+
Scarica e inserisci nella head del tuo progetto il file CSS di seguito.
+
-
+
-
Includi il file JS di Bootstrap per le funzionalità javascript.
+
Includi il file JS di Bootstrap per le funzionalità javascript (accordion, modal...).
diff --git a/script.js b/script.js
index 13179b9..1ce647c 100644
--- a/script.js
+++ b/script.js
@@ -138,8 +138,8 @@ function handleCustomStyleChange() {
--bs-body-color-rgb: {{FONT_COLOR_RGB}};
--bs-btn-color: {{LINK_COLOR}};
--bs-btn-color-rgb: {{LINK_COLOR_RGB}};
- --bs-body-font-size: {{FONT_SIZE}};
- --bs-border-radius: {{BORDER_RADIUS}};
+ --bs-body-font-size: {{FONT_SIZE}}rem;
+ --bs-border-radius: {{BORDER_RADIUS}}rem;
}
`;
const customCss = replaceCustomSettings(cssTemplate, customSettings);