Skip to content

Commit c3eb550

Browse files
committed
feat(docs): add smart accounts icons for light and dark themes
1 parent cea482a commit c3eb550

File tree

3 files changed

+113
-1
lines changed

3 files changed

+113
-1
lines changed

src/css/custom.css

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,8 @@ div[class^="searchBar_"] div[class*="hitFooter"] a:hover {
344344
/* Sidebar icons */
345345
.menu__link[href*="/ftso/overview"]::before,
346346
.menu__link[href*="/fdc/overview"]::before,
347-
.menu__link[href*="/fassets/overview"]::before {
347+
.menu__link[href*="/fassets/overview"]::before,
348+
.menu__link[href*="/smart-accounts/overview"]::before {
348349
content: " ";
349350
display: block;
350351
flex-shrink: 0;
@@ -386,6 +387,17 @@ div[class^="searchBar_"] div[class*="hitFooter"] a:hover {
386387
background-image: url("/img/ui/fassets.dark.svg");
387388
}
388389

390+
.menu__link[href*="/smart-accounts/overview"]::before {
391+
width: 26px;
392+
height: 26px;
393+
background-size: 26px 26px;
394+
background-image: url("/img/ui/smart-accounts.light.svg");
395+
}
396+
397+
[data-theme="dark"] .menu__link[href*="/smart-accounts/overview"]::before {
398+
background-image: url("/img/ui/smart-accounts.dark.svg");
399+
}
400+
389401
/* TOC */
390402
.table-of-contents__link {
391403
padding: 4px 12px;
Lines changed: 50 additions & 0 deletions
Loading
Lines changed: 50 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)