How to Add Dark Light Mode Using Bootstrap in 2 Steps | Dark Theme Website | Bootstrap Tutorial

  Рет қаралды 19,714

Learn And Code Together

Learn And Code Together

Жыл бұрын

In this video we will learn how to design a website made using bootstrap to support Dark Mode/Theme. We will be using a toggle switch as well to toggle between dark and light mode/theme.
Bootstrap 5 supports two color modes
a. Dark
b. Light.
c. custom
With support of dark/light mode you can easily create design which will suits your needs rather than writing custom css styles which are more error prone.
Code Link : github.com/ssnegi15/Resume
Demo Url: ssnegi15.github.io/Resume/
#darkmode #lightmode #bootstrap #bootstrap5 #toggleswitch #css #bootstraptutorial #toggleswitch #tutorial

Пікірлер: 23
@heathenfire
@heathenfire 11 ай бұрын
Thank you! This was exactly what I wanted
@learnandcodetogether
@learnandcodetogether 10 ай бұрын
Glad I could help!
@jdzreacts836
@jdzreacts836 9 ай бұрын
Super helpful. Thanks!
@learnandcodetogether
@learnandcodetogether 9 ай бұрын
Glad it was helpful!
@steven8667
@steven8667 3 ай бұрын
It worked perfectly!!!
@marklouis7222
@marklouis7222 Ай бұрын
Thank you so much.
@colinpayne9994
@colinpayne9994 3 ай бұрын
This was amazing
@My.Daisy.
@My.Daisy. 7 ай бұрын
love you
@kidistkifle236
@kidistkifle236 2 ай бұрын
thanks
@caiosalles9997
@caiosalles9997 11 ай бұрын
THANKS
@learnandcodetogether
@learnandcodetogether 11 ай бұрын
You're welcome!
@SanskritiGuptaInTech
@SanskritiGuptaInTech 6 ай бұрын
can we customise the colors?
@learnandcodetogether
@learnandcodetogether 6 ай бұрын
Yes you can. getbootstrap.com/docs/5.3/customize/color-modes/ for your reference
@user-mo9bc8lo6b
@user-mo9bc8lo6b 3 ай бұрын
Thanks, get a like!
@adazr5190
@adazr5190 10 ай бұрын
how to change color on dark mode ????
@learnandcodetogether
@learnandcodetogether 10 ай бұрын
You need to override global colors based on you are using css or sass.
@error12p
@error12p 11 күн бұрын
If you are using sass, and install bootstrap with NPM, the variables you have to replace the color value you want is in this file: node_modules\bootstrap\scss\ _variates-dark.scss
@Anuj_Hindu_10k
@Anuj_Hindu_10k 8 ай бұрын
Not working for me
@learnandcodetogether
@learnandcodetogether 8 ай бұрын
what?
@sunderbonthu4669
@sunderbonthu4669 10 ай бұрын
upload css
@learnandcodetogether
@learnandcodetogether 10 ай бұрын
which css? only one index.html file and bootstrap
@md.abirhasan7089
@md.abirhasan7089 7 ай бұрын
didnt worked
@learnandcodetogether
@learnandcodetogether 7 ай бұрын
maybe something missing, check the repo and version
Dark mode with TailwindCSS in under 7 minutes
6:58
Built With Code
Рет қаралды 24 М.
React Dark Mode Toggle/Theme - Complete Guide
12:29
Code Complete
Рет қаралды 18 М.
FOOTBALL WITH PLAY BUTTONS ▶️ #roadto100m
00:29
Celine Dept
Рет қаралды 77 МЛН
Эффект Карбонаро и бесконечное пиво
01:00
История одного вокалиста
Рет қаралды 6 МЛН
100😭🎉 #thankyou
00:28
はじめしゃちょー(hajime)
Рет қаралды 56 МЛН
Subtle, yet Beautiful Scroll Animations
5:04
Beyond Fireship
Рет қаралды 1,6 МЛН
Do You Really Need Bootstrap or Tailwind?
8:28
Lama Dev
Рет қаралды 180 М.
You’re doing dark mode wrong!
7:54
Coding in Public
Рет қаралды 43 М.
CSS Dark Mode Toggle Button from scratch in 6 Minutes
6:58
Red Stapler
Рет қаралды 67 М.
Build a dark mode light mode in reactjs with context api
29:20
Hitesh Choudhary
Рет қаралды 20 М.
FOOTBALL WITH PLAY BUTTONS ▶️ #roadto100m
00:29
Celine Dept
Рет қаралды 77 МЛН