diff --git a/dash_bootstrap_components/themes.py b/dash_bootstrap_components/themes.py index 957d9385..0bc66ca9 100644 --- a/dash_bootstrap_components/themes.py +++ b/dash_bootstrap_components/themes.py @@ -1,10 +1,10 @@ BOOTSTRAP = ( - "https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/css/bootstrap.min.css" + "https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" ) -GRID = "https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/css/bootstrap-grid.min.css" # noqa +GRID = "https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap-grid.min.css" # noqa -_BOOTSWATCH_BASE = "https://cdn.jsdelivr.net/npm/bootswatch@5.3.1/dist/" +_BOOTSWATCH_BASE = "https://cdn.jsdelivr.net/npm/bootswatch@5.3.3/dist/" CERULEAN = _BOOTSWATCH_BASE + "cerulean/bootstrap.min.css" COSMO = _BOOTSWATCH_BASE + "cosmo/bootstrap.min.css" diff --git a/docs/content/docs/themes.md b/docs/content/docs/themes.md index cffb860a..b5a2e62b 100644 --- a/docs/content/docs/themes.md +++ b/docs/content/docs/themes.md @@ -39,7 +39,7 @@ See the [available themes](#available-themes) for more. Each theme such as is simply a BootstrapCDN URL stored as a string, so using the themes module is really equivalent to doing something like the following. ```python -BS = "https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/css/bootstrap.min.css" +BS = "https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" app = dash.Dash(external_stylesheets=[BS]) ``` @@ -81,7 +81,7 @@ Here's a callback to change the theme: ```python clientside_callback( - " " " + " " " (switchOn) => { switchOn ? document.documentElement.setAttribute('data-bs-theme', 'light') diff --git a/docs/templates/partials/head.html b/docs/templates/partials/head.html index cbddeea7..e8938f06 100644 --- a/docs/templates/partials/head.html +++ b/docs/templates/partials/head.html @@ -1,6 +1,6 @@ - + diff --git a/docs/templates/partials/scripts.html b/docs/templates/partials/scripts.html index e4f419c9..ef86db14 100644 --- a/docs/templates/partials/scripts.html +++ b/docs/templates/partials/scripts.html @@ -1,4 +1,4 @@ - +