This repository has been archived by the owner on Mar 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6cec78e
commit 0f10ca2
Showing
3 changed files
with
12 additions
and
15 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
13 changes: 1 addition & 12 deletions
13
packages/react/src/themes/teams/components/Dropdown/dropdownItemVariables.ts
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,14 +1,3 @@ | ||
import dropdownVariables from './dropdownVariables' | ||
|
||
export interface DropdownItemVariables { | ||
headerLineHeight: string | ||
contentLineHeight: string | ||
} | ||
|
||
export default (siteVariables): DropdownItemVariables => ({ | ||
// Header | ||
// TODO: prod app uses 17.5px here, it should be 16px per the design guide! | ||
headerLineHeight: siteVariables.lineHeightSmall, | ||
contentLineHeight: siteVariables.lineHeightSmall, | ||
...dropdownVariables, | ||
}) | ||
export default dropdownVariables |
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