ForEvolve / bootstrap-dark

Bootstrap 4 dark theme that supports togging dark/light themes as well. There is no fluff, it changes the color of Bootstrap and that's it, no new thing to learn or unlearn, just Bootstrap, but Dark!
MIT License
298 stars 44 forks source link

is there a way to use this without downloading it to your computer. Github Pages? #46

Closed godalming123 closed 3 years ago

godalming123 commented 3 years ago

Sorry if this is the wrong place to ask this question (I'm a bit of a noob to contributing in GitHub) but I've looked on Github pages here and got a 404 and as far as I can tell there is no documentation in the readme.

godalming123 commented 3 years ago

thanks in advance

Carl-Hugo commented 3 years ago

Hi @godalming123 welcome to this project. We all started as a "noob" someday 😉

Where did you found that URL? (so I can fix it if it's on my side).

That said, try browsing the project on GitHub instead. You should then be able to reach the dist/css directory and find what you seek there.

Here is how: image image image image

Enjoy!

godalming123 commented 3 years ago

To find this URL I assumed you were hosting this on GitHub pages so typed the Github pages URL https://ForEvolve.github.io/bootstrap-dark/dist/css/bootstrap-dark.css and chrome must have redirected me to your site so no error on your part. Maybe I wasn't clear enough in my original issue but l don't see how this fixes my problem as I want a URL so I can use a CSS link to import your library but you haven't given me one? ...unless I'm missing something.

godalming123 commented 3 years ago

and how do you get GitHub dark theme?

Carl-Hugo commented 3 years ago

You have two choices:

  1. Download the files that you want from the dist directory and add them to your website like you would do with any css.
  2. You can also use npm.

You can also leverage cdn.jsdelivr.net, like this: https://cdn.jsdelivr.net/npm/@forevolve/bootstrap-dark@1.0.0-alpha.1091/dist/css/bootstrap-dark.css