diff --git a/src/components/Icons/index.stories.js b/src/components/Icons/index.stories.js index 56285d6d9..bc2d7d03c 100644 --- a/src/components/Icons/index.stories.js +++ b/src/components/Icons/index.stories.js @@ -10,7 +10,7 @@ export default { export const AllIcons = () => (
-

Basic Icons

+

{IconsConfig.basic.length} Basic Icons

{IconsConfig.basic.map((v, i) => (
@@ -19,7 +19,7 @@ export const AllIcons = () => (
))}
-

Outline Icons

+

{IconsConfig.outline.length} Outline Icons

{IconsConfig.outline.map((v, i) => (
@@ -28,7 +28,7 @@ export const AllIcons = () => (
))}
-

Filled Icons

+

{IconsConfig.filled.length} Filled Icons

{IconsConfig.filled.map((v, i) => (
diff --git a/src/styles/stories.scss b/src/styles/stories.scss index 09a7cf1c8..fb2891f06 100644 --- a/src/styles/stories.scss +++ b/src/styles/stories.scss @@ -1,3 +1,5 @@ +@import './colors.scss'; + body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, @@ -64,25 +66,44 @@ body { justify-content: center; align-items: center; text-align: center; - width: 150px; + height: 125px; + width: 125px; margin: 15px; border-radius: 25px; padding: 12px 8px; background-color: #fff; - transition-duration: 0.2s; + transition-duration: 0.4s; box-shadow: 2px 2px 5px #eee; + * { + transition-duration: 0.2s; + } + + i { + font-size: 42px !important; + color: $black !important; + } + &:hover { background-color: #fff; - box-shadow: 2px 2px 20px #eee; + box-shadow: 4px 4px 50px #eee; cursor: pointer; + + i { + color: $primary !important; + } + + .icon-name { + color: $primary; + } } } .icon-name { - font-size: 14px; + color: $black; + font-size: 12px; display: block; - margin-top: 5px; + margin-top: 15px; font-weight: 100; } }