-
Notifications
You must be signed in to change notification settings - Fork 127
Styling Guide
Murhaf Sousli edited this page Aug 26, 2021
·
6 revisions
There are several classes that help you to create your custom styles
.sb-moon-theme {
// share button wrapper
.sb-wrapper {
// Content wrapper
.sb-content {
// Icon wrapper
.sb-icon {
}
// Text wrapper
.sb-text {
}
}
// For conditional styles
// E.g. Apply when icon, text are shown
&.sb-show-icon.sb-show-text {
// Icon wrapper
.sb-icon {
}
// Text wrapper
.sb-text {
}
}
}
}
If you use .sb-moon-theme
then the theme name will become moon
:
<share-buttons theme="moon"></share-buttons>