-
Notifications
You must be signed in to change notification settings - Fork 601
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add the new logo and inline logo for FAST as the favicon and i…
…nline logo in Creator, Component Explorer and Tooling examples (#3313)
- Loading branch information
Showing
18 changed files
with
143 additions
and
45 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
Binary file not shown.
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
Binary file not shown.
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
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
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
export * from "./accent-color-picker"; | ||
export * from "./dimension"; | ||
export * from "./direction-switch"; | ||
export * from "./logo"; | ||
export * from "./theme-selector"; | ||
export * from "./transparency-toggle"; |
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,37 @@ | ||
import React from "react"; | ||
import { | ||
Background, | ||
Badge, | ||
Heading, | ||
HeadingSize, | ||
} from "@microsoft/fast-components-react-msft"; | ||
import { LogoProps } from "./logo.props"; | ||
|
||
const backgroundStyle = { | ||
display: "flex", | ||
height: "32px", | ||
alignItems: "center", | ||
justifyContent: "space-between", | ||
padding: "8px", | ||
}; | ||
const imageStyle = { verticalAlign: "middle" }; | ||
const spanStyle = { verticalAlign: "middle", margin: "0 10px" }; | ||
|
||
export const Logo: React.FC<LogoProps> = ({ | ||
backgroundColor, | ||
logo, | ||
title, | ||
version, | ||
}: React.PropsWithChildren<LogoProps>): React.ReactElement => { | ||
return ( | ||
<Background value={backgroundColor} drawBackground={true} style={backgroundStyle}> | ||
<Heading size={HeadingSize._6}> | ||
<img src={logo} style={imageStyle} /> | ||
<span style={spanStyle}>{title}</span> | ||
</Heading> | ||
{version ? <Badge>{version}</Badge> : null} | ||
</Background> | ||
); | ||
}; | ||
|
||
export * from "./logo.props"; |
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,21 @@ | ||
export interface LogoProps { | ||
/** | ||
* The background color | ||
*/ | ||
backgroundColor: string; | ||
|
||
/** | ||
* The version | ||
*/ | ||
version?: string; | ||
|
||
/** | ||
* The logo location | ||
*/ | ||
logo: string; | ||
|
||
/** | ||
* The title | ||
*/ | ||
title: string; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.