Skip to content

Commit

Permalink
#74 (style) - Add switch list mode speaker list
Browse files Browse the repository at this point in the history
  • Loading branch information
robinlopez authored and fcamblor committed Aug 27, 2024
1 parent 8a05480 commit 7a31af9
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
32 changes: 32 additions & 0 deletions mobile/src/styles/components/_listModeSwitch.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
.listModesSwitch {
background-color: var(--app-background);
border-radius: 44px;
border: 1px solid var(--app-beige-line);

&-button {
height: 38px;
width: 38px;
margin: 0;
--background: transparent;
--color: var(--app-primary);
--padding-start: 0;
--padding-end: 0;

@media (prefers-color-scheme: dark) {
&.button-solid {
--background: transparent;
--color: var(--app-white);
}
}

&._active {
--background: var(--app-primary);
--color: var(--app-white);

@media (prefers-color-scheme: dark) {
--background: var(--app-white);
--color: var(--app-primary);
}
}
}
}
1 change: 1 addition & 0 deletions mobile/src/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
@import "@/styles/components/avatar.scss";
@import "@/styles/components/bulletTag.scss";
@import "@/styles/components/listCardsButtons.scss";
@import "@/styles/components/listModeSwitch.scss";
@import "@/styles/components/tabsSelection.scss";

/* ~ BASE */
Expand Down

0 comments on commit 7a31af9

Please sign in to comment.