-
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.
chore(fg-169): sync and fixes with release/5.x.x branch
- Loading branch information
Showing
16 changed files
with
314 additions
and
28 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
import {Meta} from '@storybook/addon-docs'; | ||
|
||
<Meta title="Styleguide/V4/Shadows"/> | ||
|
||
# Shadows | ||
|
||
CSS **box-shadow** is a style property used to add a shadow effect to an element's box (such as a div or an image) on a web page. The property allows you to create a visually appealing 3D-like effect, making the element appear elevated or floating. | ||
|
||
To use our shadows scss variables add in your *.scss | ||
```css | ||
@import '~@ironsource/fusion-ui/style/v4/vars/shadows'; | ||
``` | ||
Or Import css file for *.css with shadow classes | ||
```css | ||
@import '~@ironsource/fusion-ui/style/v4/shadows.css'; | ||
``` | ||
|
||
## Shadows: | ||
<div class="sb-unstyled"> | ||
<div class="fu-shadow-examples"> | ||
<div class="fu-shadow-example fu-shadow-xs"> | ||
<div class="font-v4-subtitle-2">x small</div> | ||
<div>$boxShadowXS</div> | ||
<div>.fu-shadow-xs</div> | ||
</div> | ||
<div class="fu-shadow-example fu-shadow-sm"> | ||
<div class="font-v4-subtitle-2">small</div> | ||
<div>$boxShadowSM</div> | ||
<div>.fu-shadow-sm</div> | ||
</div> | ||
<div class="fu-shadow-example fu-shadow-md"> | ||
<div class="font-v4-subtitle-2">medium</div> | ||
<div>$boxShadowMD</div> | ||
<div>.fu-shadow-md</div> | ||
</div> | ||
<div class="fu-shadow-example fu-shadow-lg"> | ||
<div class="font-v4-subtitle-2">large</div> | ||
<div>$boxShadowLG</div> | ||
<div>.fu-shadow-lg</div> | ||
</div> | ||
<div class="fu-shadow-hr"></div> | ||
<div class="fu-shadow-example fu-shadow-xl"> | ||
<div class="font-v4-subtitle-2">x large</div> | ||
<div>$boxShadowXL</div> | ||
<div>.fu-shadow-xl</div> | ||
</div> | ||
<div class="fu-shadow-example fu-shadow-xxl"> | ||
<div class="font-v4-subtitle-2">xx large</div> | ||
<div>$boxShadowXXL</div> | ||
<div>.fu-shadow-xxl</div> | ||
</div> | ||
<div class="fu-shadow-example fu-shadow-xxxl"> | ||
<div class="font-v4-subtitle-2">xxx large</div> | ||
<div>$boxShadowXXXL</div> | ||
<div>.fu-shadow-xxxl</div> | ||
</div> | ||
<div class="fu-shadow-example fu-shadow-slg"> | ||
<div class="font-v4-subtitle-2">super large</div> | ||
<div>$boxShadowSLG</div> | ||
<div>.fu-shadow-slg</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
|
Oops, something went wrong.