Unverified Commit 70ae09c0 authored by gabriellsh's avatar gabriellsh Committed by GitHub
Browse files

feat: Added login icon, added badge wrapper (#303)


Co-authored-by: default avatarGuilherme Gazzo <guilherme@gazzo.xyz>
parent b0ca72eb
......@@ -20,6 +20,8 @@ const Title = ({ className, ...props }) => <div className={`rc-box rcx-box--full
const Time = ({ className, ...props }) => <div className={`rc-box rcx-box--full rcx-sidebar-item__time ${ className }`} {...props}/>;
const Badge = ({ className, ...props }) => <div className={`rc-box rcx-box--full rcx-sidebar-item__badge ${ className }`} {...props}/>;
const Subtitle = ({ className, ...props }) => <div className={`rc-box rcx-box--full rcx-sidebar-item__subtitle ${ className }`} {...props}/>;
const Wrapper = ({ className, ...props }) => <div className={`rc-box rcx-box--full rcx-sidebar-item__wrapper ${ className }`} {...props}/>;
......@@ -44,6 +46,7 @@ Object.assign(Item, {
Avatar,
Actions,
Action,
Badge,
});
export default Item;
......@@ -139,7 +139,11 @@ $sidebar-item-color-selected: theme('sidebar-item-color-selected', colors.foregr
&__time {
@include typography.use-font-scale(micro);
margin-inline: lengths.margin(8);
margin-inline: lengths.margin(4);
}
&__badge {
margin-inline: lengths.margin(4);
}
&:hover &__menu-wraper,
......
......@@ -691,5 +691,8 @@
},
"message-disabled": {
"start": "\ue0b7"
},
"login": {
"start": "\ue0b8"
}
}
\ No newline at end of file
<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.5 3C4.94772 3 4.5 3.44772 4.5 4V28C4.5 28.5523 4.94772 29 5.5 29H21.5C22.0523 29 22.5 28.5523 22.5 28V25C22.5 24.4477 22.0523 24 21.5 24C20.9477 24 20.5 24.4477 20.5 25V27H6.5V5H20.5V7C20.5 7.55228 20.9477 8 21.5 8C22.0523 8 22.5 7.55228 22.5 7V4C22.5 3.44772 22.0523 3 21.5 3H5.5ZM16.2929 10.2929C16.6834 9.90237 17.3166 9.90237 17.7071 10.2929C18.0976 10.6834 18.0976 11.3166 17.7071 11.7071L14.4142 15H27.5C28.0523 15 28.5 15.4477 28.5 16C28.5 16.5523 28.0523 17 27.5 17H14.4142L17.7071 20.2929C18.0976 20.6834 18.0976 21.3166 17.7071 21.7071C17.3166 22.0976 16.6834 22.0976 16.2929 21.7071L11.2929 16.7071C10.9024 16.3166 10.9024 15.6834 11.2929 15.2929L16.2929 10.2929Z" fill="#6C727A"/>
</svg>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment