hensei-web/components/common/ToolbarButton/index.module.scss
Justin Edmund 516b34752f Add ToolbarButton component
This is to standardize adding Toolbar icons so it wasn't a miserable mess in the Editor file
2023-07-06 01:53:30 -07:00

36 lines
678 B
SCSS

.button {
background: var(--toolbar-item-bg);
border-radius: $bubble-menu-item-corner;
color: var(--toolbar-item-text);
display: flex;
align-items: center;
justify-content: center;
font-weight: $medium;
font-size: $font-small;
padding: $unit-half;
&:hover {
background: var(--toolbar-item-bg-hover);
color: var(--toolbar-item-text-hover);
cursor: pointer;
svg {
fill: var(--text-primary);
}
}
&.active {
background: var(--toolbar-item-bg-active);
color: var(--toolbar-item-text-active);
svg {
fill: white;
}
}
svg {
fill: var(--text-tertiary);
height: $unit-2x;
width: $unit-2x;
}
}