Comments (6)
Ah thanks, that seems like a nice solution.
from bootswatch.
Looking in a bit more detail, it appears some additional styles are required for this. e.g. get-boostrap uses https://github.com/twbs/bootstrap/blob/ad0cc68b7e226d9e1c1feb39ca68c0404c304365/site/assets/scss/_navbar.scss#L2
These seems to be site specific settings the main one appears to be the use of the .bd-navbar class to add additional styling when using offcanvas for menu items (this is a little different for no menu items.
from bootswatch.
Not sure this is included with npm
from bootswatch.
One workaround it seems is to apply the bg-primary class to the off canvas element.
from bootswatch.
Hi @2dareis2do, is there any css on your site that might be making the offcanvas text color white?
It looks ok here
from bootswatch.
Thanks @thomaspark
The issue is that if you use off canvas for the nav, similar to get-bootstrap.com, then the background colour is also white and the text is white. The workaround i have is to add the background class similar to how it is done on the on screen nav. get bootstrap seems to have site specific scss to handle this.
I have attached 2 screen shots that so nav working in both light and dark modes (media query).
from bootswatch.
Related Issues (20)
- cerulean theme checkboxes barely change color HOT 2
- how to properly space content below a navbar HOT 1
- nav nav-pills class in R Shiny HOT 2
- Darkly - Table Text 5.3 HOT 2
- more contrast for text-dark in cerulean
- Unwelcome Border Color on Headers and Footers HOT 1
- input group size with slate theme and pagination input HOT 4
- The input box has an inappropriate background color under a dark theme. HOT 2
- Superhero: floating labels are jumpy HOT 3
- form-group still being referenced in version 5
- modals widget don't appear HOT 2
- Bootstrap 5.3.3 HOT 1
- Packagist doesn't auto-update HOT 1
- bootstrap2 slate theme, ordered list is difficult to read HOT 1
- compile error in Materia theme with vite HOT 4
- Cosmo: Range slider thumb is not themed in Mozilla browsers HOT 2
- support for dark mode and _variables-dark.scss HOT 1
- nav-underline are not well handled for active items HOT 1
- Poor contrast with sketchy in dark mode HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootswatch.