-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(tabs): integrate v2 design (#895)
* refactor(tabs): integrate v2 design closes db-ui/design-feedback#85 Co-Authored-By: Nicolas Merget <[email protected]> * refactor: corrected styling Co-Authored-By: Nicolas Merget <[email protected]> * feat: added icon * refactor: added small size * feat: added small items with icons * refactor: added correct color value * refactor: button vertical alignment * refactor: added pressed state * Update tab-bar.scss * refactor: simplification * Update tab-bar.scss * refactor: added missing parameter * refactor: add relevant comment * refactor: simply enabled multi-line content * style: feedback * refactor: we don't want to advertise for this one * style: adaptions out of feedback * refactor: corrected these declarations --------- Co-authored-by: Nicolas Merget <[email protected]>
- Loading branch information
Showing
8 changed files
with
71 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...components/tab-bar/tab-bar.listitems.json → ...tterns/02-components/tab-bar/tab-bar.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"identifier": "regular", | ||
"tabs": [ | ||
{ | ||
"label": "Tab 01", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
source/_patterns/02-components/tab-bar/tab-bar~item-icon.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"identifier": "small-icon", | ||
"icon": "account" | ||
} |
5 changes: 5 additions & 0 deletions
5
source/_patterns/02-components/tab-bar/tab-bar~small-item-icon.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"identifier": "icon", | ||
"icon": "account", | ||
"size": "small" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"identifier": "small", | ||
"size": "small" | ||
} |