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
Remove data-bs-theme="light" from example dialog elements to rely on global theming and avoid redundant attributes. Adjust heading sizes for better visual hierarchy: reduce "What's new" from fs-3xl to fs-2xl and add fs-xl fw-bold to the "Sign up for free" title. No other functional changes.
Refine example themes, accessibility, and layout
Unify dark-theme styling and improve accessibility/layout across example pages. Replaced various text-bg-dark/nav classes with bg-black, added fg-white and data-bs-theme="dark" where appropriate, and swapped a header div for a semantic <nav> with an aria-label in the album example. Updated Chart.js to v4.5.1 and changed the dashboard search input type to "search"; adjusted border-right to border-end. Removed an outdated paragraph from the grid example and cleaned up hero/header text classes. Sidebars: made main scrollable with overflow helpers, applied bg-black and fg-white to the sidebar, simplified nav classes, added flex-fill to icon links, and updated sidebars.css to use -webkit-fill-available for height while removing explicit overflow rules.
Use fg-* color classes; tweak sidebar alignment
Replace instances of text-white/text-secondary with the fg-white/fg-secondary utility across example pages for consistent foreground color utilities. Updated: site/src/assets/examples/{cover,drawer-navbar,features,headers,sidebars}/index.astro. Also added align-items-start to sidebar <ul> elements to improve item alignment.
<pclass="fg-2">Add some information about the album below, the author, or any other background context. Make it a few sentences long so folks can pick up some informative tidbits. Then, link them off to some social networking sites or contact information.</p>
15
15
</div>
16
16
<divclass="sm:col-4 md:offset-1 py-4">
17
-
<h4>Contact</h4>
17
+
<h4class="fg-white">Contact</h4>
18
18
<ulclass="list-unstyled">
19
19
<li><ahref="#"class="fg-white">Follow on X</a></li>
20
20
<li><ahref="#"class="fg-white">Like on Facebook</a></li>
@@ -24,7 +24,7 @@ import Placeholder from "@shortcodes/Placeholder.astro"
<p>Cover template for <ahref="https://getbootstrap.com/"class="text-white">Bootstrap</a>, by <ahref="https://x.com/mdo"class="text-white">@mdo</a>.</p>
29
+
<p>Cover template for <ahref="https://getbootstrap.com/"class="fg-white">Bootstrap</a>, by <ahref="https://x.com/mdo"class="fg-white">@mdo</a>.</p>
<p>Additional classes added in Bootstrap v4.4 allow containers that are 100% wide until a particular breakpoint. v5 adds a new <code>2xl</code> breakpoint.</p>
<h1class="display-5 fw-bold text-white">Dark color hero</h1>
117
+
<h1class="display-5 fw-bold fg-white">Dark color hero</h1>
118
118
<divclass="lg:col-6 mx-auto">
119
-
<pclass="fs-lg mb-4">Quickly design and customize responsive mobile-first sites with Bootstrap, the world’s most popular front-end open source toolkit, featuring Sass variables and mixins, responsive grid system, extensive prebuilt components, and powerful JavaScript plugins.</p>
119
+
<pclass="mb-4">Quickly design and customize responsive mobile-first sites with Bootstrap, the world’s most popular front-end open source toolkit, featuring Sass variables and mixins, responsive grid system, extensive prebuilt components, and powerful JavaScript plugins.</p>
0 commit comments