mirror of
https://github.com/priyanshujain/margin.git
synced 2026-10-02 11:07:04 +00:00
feat(library): show themed logo mark in the banner
This commit is contained in:
1 parent
5e7b782f59
commit
40d4c9f279
2 files changed
+11
-1
No files matched your search
@@ -20,6 +20,7 @@ export function Library({ onOpen }: { onOpen: (book: Book) => void }) {
|
||||
return (
|
||||
<div className="library">
|
||||
<header className="library-head">
|
||||
<span className="logo" aria-hidden="true" />
|
||||
<span className="mark">margin</span>
|
||||
<span className="dot" />
|
||||
</header>
|
||||
|
||||
+10
-1
@@ -820,15 +820,24 @@ button {
|
||||
.library-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
gap: 11px;
|
||||
padding: 30px 44px 8px;
|
||||
}
|
||||
|
||||
.library-head .logo {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
background-color: var(--ink);
|
||||
-webkit-mask: url("/margin-mark.png") center / contain no-repeat;
|
||||
mask: url("/margin-mark.png") center / contain no-repeat;
|
||||
}
|
||||
|
||||
.library-head .mark {
|
||||
font-family: var(--font-book);
|
||||
font-size: 23px;
|
||||
font-weight: 500;
|
||||
letter-spacing: -0.01em;
|
||||
margin-left: -3px;
|
||||
}
|
||||
|
||||
.library-head .dot {
|
||||
|
||||
Reference in new issue
Block a user