This repository provides a custom CSS stylesheet that integrates Shadcn's design system with Bootstrap components, optimized for light and dark themes. The theme enhances the visual consistency across Bootstrap components by applying Shadcn's colors and design principles.
- Custom styles for Bootstrap components, including:
- Cards
- Buttons
- Forms
- Alerts
- Modals
- Support for both light and dark themes.
- Responsive design principles built-in.
- Simple, easy-to-use class naming conventions.
Light Theme | Dark Theme |
---|---|
To integrate the custom Shadcn Bootstrap theme into your project, follow these steps:
git clone https://github.com/samueleruggeri/custom-shadcn-bootstrap-theme.git
<link rel="stylesheet" href="path/to/custom-shadcn-bootstrap.css">
Replace "path/to/custom-shadcn-bootstrap.css"
with the actual path to the downloaded CSS file.
If you haven’t already added Bootstrap to your project, include it in your HTML:
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/5.1.0/css/bootstrap.min.css">
Apply the provided custom classes in your HTML markup, as you would with regular Bootstrap classes.
For example:
<button class="btn btn-primary">Click Me</button>
This will render the button with Shadcn's customized styles.
Contributions are welcome! If you have suggestions for improvements or new features, feel free to:
- Open an issue to discuss changes.
- Submit a pull request with your updates.