You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any chance we can get an overload on this to inject our own bootstrap css? We use an updated bootstrap css with custom colors. Or is there another way we haven't discovered yet?:)
setBootstrapCss: function (theme, version) { if (link === undefined) { link = document.createElement('link'); document.head.insertBefore(link, document.head.firstChild); link.type = 'text/css'; link.rel = 'stylesheet'; } if (theme === 'bootstrap') { link.href = "https://stackpath.bootstrapcdn.com/bootstrap/" + version + "/css/bootstrap.min.css"; } else { link.href = "https://stackpath.bootstrapcdn.com/bootswatch/" + version + "/" + theme + "/bootstrap.min.css"; } return true; },
The text was updated successfully, but these errors were encountered:
Ah sweet, will do that then. Sorry I haven't pulled your code otherwise !'d do the pull request. Just started rebuilding our app in Blazor. If your code works out good, i'll happily pull the code and do the PR.
Is there any chance we can get an overload on this to inject our own bootstrap css? We use an updated bootstrap css with custom colors. Or is there another way we haven't discovered yet?:)
setBootstrapCss: function (theme, version) { if (link === undefined) { link = document.createElement('link'); document.head.insertBefore(link, document.head.firstChild); link.type = 'text/css'; link.rel = 'stylesheet'; } if (theme === 'bootstrap') { link.href = "https://stackpath.bootstrapcdn.com/bootstrap/" + version + "/css/bootstrap.min.css"; } else { link.href = "https://stackpath.bootstrapcdn.com/bootswatch/" + version + "/" + theme + "/bootstrap.min.css"; } return true; },
The text was updated successfully, but these errors were encountered: