-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add default avatar, clean up some design stories (#1393)
- Loading branch information
1 parent
799e874
commit 59c9c13
Showing
6 changed files
with
35 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@cloudfour/patterns': minor | ||
--- | ||
|
||
Add default avatar asset |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,16 +1,14 @@ | ||
import { Story, Canvas, Meta } from '@storybook/addon-docs/blocks'; | ||
// Importing a `.svg` directly, results in a failed build and importing | ||
// the `.svg.twig` file causes linting errors (since they are not tracked). | ||
// Therefore, we must track a twig file to satisfy CI. | ||
import brandLogo from './demo/logo.twig'; | ||
import logoSrc from '../assets/brand/logo.svg'; | ||
|
||
<Meta title="Design/Brand" /> | ||
|
||
# Logo | ||
# Brand | ||
|
||
Cloud Four logo in SVG format. The logo fill color can be modified via the CSS | ||
`color` property. | ||
These elements are used to signify Cloud Four projects. | ||
|
||
## Logo | ||
|
||
<Canvas> | ||
<Story name="Logo">{brandLogo}</Story> | ||
<Story name="Logo">{`<img src="${logoSrc}" alt="Cloud Four">`}</Story> | ||
</Canvas> |
5 changes: 3 additions & 2 deletions
5
src/design/demo/fallback_images.twig → src/design/demo/fallback-feature-images.twig
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 was deleted.
Oops, something went wrong.
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