Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Bootstrap Extensions
// Variables
@widget-padding: 10px;
@widget-background-color @whiter;
@widget-text-color: @brand-secondary;
@widget-inverted-background-color: @brand-primary;
@widget-inverted-text-color: @white;
@widget-border-radius: 5px;
// Implementation
.widget {
border-radius: @widget-border-radius;
padding: @widget-padding;
background-color: @widget-background-color;
color: @widget-text-color;
}
.widget-inverted {
background-color: @widget-inverted-background-color;
color: @widget-inverted-text-color;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment