|
12 | 12 | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
|
13 | 13 | <link rel="stylesheet" href="./assets/css/root.css">
|
14 | 14 | <link rel="stylesheet" href="./assets/css/style.css">
|
| 15 | + <link rel="stylesheet" href="./assets/css/colormode.css"> |
15 | 16 |
|
16 | 17 | <title>Surprise</title>
|
17 | 18 | </head>
|
18 | 19 |
|
19 |
| -<body> |
| 20 | +<body class="light-mode"> |
| 21 | + |
20 | 22 | <!-- <div class="nav-container">
|
21 | 23 | <button>All</button>
|
22 | 24 | <button>About</button>
|
23 | 25 | <button>Projects</button>
|
| 26 | +
|
24 | 27 | </div> -->
|
25 | 28 |
|
26 | 29 | <div class="container" id="cardContainer">
|
27 |
| - <div class="card" draggable="true"> |
| 30 | + <div class="card light-mode" draggable="true"> |
28 | 31 | <div class="card-body">
|
29 | 32 | <h5 class="card-title">Card 1</h5>
|
30 | 33 | <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's
|
31 | 34 | content.</p>
|
32 | 35 | </div>
|
33 | 36 | </div>
|
34 |
| - <div class="card" draggable="true"> |
| 37 | + <div class="card light-mode" draggable="true"> |
35 | 38 | <div class="card-body">
|
36 | 39 | <h5 class="card-title">Card 2</h5>
|
37 | 40 | <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's
|
38 | 41 | content.</p>
|
39 | 42 | </div>
|
40 | 43 | </div>
|
41 |
| - <div class="card" draggable="true"> |
| 44 | + <div class="card light-mode" draggable="true"> |
42 | 45 | <div class="card-body">
|
43 | 46 | <h5 class="card-title">Card 3</h5>
|
44 | 47 | <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's
|
45 | 48 | content.</p>
|
46 | 49 | </div>
|
47 | 50 | </div>
|
48 |
| - <div class="card" draggable="true"> |
| 51 | + <div class="card light-mode" draggable="true"> |
49 | 52 | <div class="card-body">
|
50 | 53 | <h5 class="card-title">Card 4</h5>
|
51 | 54 | <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's
|
52 | 55 | content.</p>
|
53 | 56 | </div>
|
54 | 57 | </div>
|
55 |
| - <div class="card" draggable="true"> |
| 58 | + <div class="card light-mode" draggable="true"> |
56 | 59 | <div class="card-body">
|
57 | 60 | <h5 class="card-title">Card 5</h5>
|
58 | 61 | <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's
|
59 | 62 | content.</p>
|
60 | 63 | </div>
|
61 | 64 | </div>
|
62 |
| - <div class="card" draggable="true"> |
| 65 | + <div class="card light-mode" draggable="true"> |
63 | 66 | <div class="card-body">
|
64 | 67 | <h5 class="card-title">Card 6</h5>
|
65 | 68 | <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's
|
66 | 69 | content.</p>
|
67 | 70 | </div>
|
68 | 71 | </div>
|
69 |
| - <div class="card" draggable="true"> |
70 |
| - <div class="card-body"> |
71 |
| - <h5 class="card-title">Card 7</h5> |
72 |
| - <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's |
73 |
| - content.</p> |
| 72 | + <div class="card light-mode" draggable="true"> |
| 73 | + <div class="theme-toggle"> |
| 74 | + <input type="checkbox" id="theme-switch"> |
| 75 | + <label for="theme-switch" class="switch"></label> |
74 | 76 | </div>
|
75 | 77 | </div>
|
76 | 78 | </div>
|
77 | 79 |
|
78 | 80 |
|
79 | 81 | <script src="./assets/js/main.js"></script>
|
| 82 | + <script src="./assets/js/color-mode.js"></script> |
80 | 83 | <script src=" https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
|
81 | 84 | integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
|
82 | 85 | crossorigin="anonymous"></script>
|
|
0 commit comments