Skip to content

Badge colour in sidebar2 #808

Answered by gvreddy04
curtic00 asked this question in Q&A
Discussion options

You must be logged in to vote

@curtic00 Thank you for using BlazorBootstrap. Here is the example:

Sample Code

<style>
	:root {
		--bb-sidebar2-width: 270px;
		--bb-sidebar2-collapsed-width: 50px;
		--bb-sidebar2-background-color: rgba(234, 234, 234, 1);
		--bb-sidebar2-top-row-background-color: rgba(0,0,0,0.08);
		--bb-sidebar2-top-row-border-color: rgb(194,192,192);
		--bb-sidebar2-title-text-color: rgb(0,0,0);
		--bb-sidebar2-brand-icon-color: #6f42c1;
		--bb-sidebar2-brand-image-width: 24px;
		--bb-sidebar2-brand-image-height: 24px;
		--bb-sidebar2-title-badge-text-color: rgb(255,255,255);
		--bb-sidebar2-title-badge-background-color: rgba(25,135,84,var(--bs-bg-opacity,1));
		--bb-sidebar2-navbar-toggler-icon-color: 

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by gvreddy04
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment