Skip to content

Commit 301e519

Browse files
Improve index.html content
1 parent 69dbd78 commit 301e519

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

sass-js/index.html

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,23 @@ <h1 class="h4">
2525
<h1>Get started with Bootstrap</h1>
2626
<div class="col-lg-8 px-0">
2727
<p class="fs-4">You've successfully loaded up a Bootstrap example! It's loaded up with <a href="https://getbootstrap.com/">Bootstrap 5</a> and tooling for compiling our Sass and JavaScript to your needs.</p>
28-
<p>If this button appears blue and the link appears purple, you've done it!</p>
28+
<p>If this button and this link appear blue, you've done it! You've loaded Bootstrap Sass.</p>
2929
</div>
3030

3131
<button type="button" class="btn btn-primary me-3" data-bs-toggle="offcanvas" data-bs-target="#offcanvasExample">Toggle offcanvas</button>
32-
<a href="#" class="text-success">Example link</a>
32+
<a href="#" class="text-primary">Example primary link</a>
33+
34+
<hr>
35+
36+
<h2>Customize Bootstrap</h2>
37+
38+
<div class="col-lg-8 px-0">
39+
<p class="fs-4">You've successfully <a href="https://getbootstrap.com/docs/5.3/customize/sass/">customized Bootstrap 5</a> by changing red danger color to deep pink!</p>
40+
<p>If this button and this link appear pink, you've done it! You've customized Bootstrap danger color.</p>
41+
</div>
42+
43+
<button type="button" class="btn btn-danger me-3" data-bs-toggle="offcanvas" data-bs-target="#offcanvasExample">Toggle offcanvas</button>
44+
<a href="#" class="text-danger">Example customized danger link</a>
3345

3446
<div class="offcanvas offcanvas-end" tabindex="-1" id="offcanvasExample" aria-labelledby="offcanvasExampleLabel">
3547
<div class="offcanvas-header">

sass-js/scss/styles.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ $offcanvas-box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
3333
// Customize some defaults
3434
$body-color: #333;
3535
$body-bg: #fff;
36-
$border-radius: .4rem;
37-
$success: #7952b3;
36+
$danger: deeppink;
3837

3938
// Required
4039
@import "bootstrap/scss/functions";

0 commit comments

Comments
 (0)