-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[generator-emakinacee-react] adapt sample components to use css-modules
- Loading branch information
Florian Bacher
committed
Jan 23, 2018
1 parent
f74e6d1
commit f33983d
Showing
6 changed files
with
38 additions
and
41 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
28 changes: 28 additions & 0 deletions
28
...rator-emakinacee-react/generators/app/templates/static/src/components/App/App.module.scss
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,28 @@ | ||
@import "../../scss/base-imports"; | ||
|
||
.app { | ||
@include mq($from: tablet) { | ||
text-align: center; | ||
} | ||
} | ||
|
||
.logo { | ||
animation: app-logo-spin infinite 20s linear; | ||
height: rem(80); | ||
} | ||
|
||
.header { | ||
background-color: map_get($color-greyscale, darkest); | ||
height: rem(150); | ||
padding: rem(20); | ||
color: map_get($color-greyscale, white); | ||
} | ||
|
||
.intro { | ||
font-size: large; | ||
} | ||
|
||
@keyframes app-logo-spin { | ||
from { transform: rotate(0deg); } | ||
to { transform: rotate(360deg); } | ||
} |
28 changes: 0 additions & 28 deletions
28
...es/generator-emakinacee-react/generators/app/templates/static/src/components/App/App.scss
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
3 changes: 3 additions & 0 deletions
3
...tor-emakinacee-react/generators/app/templates/static/src/components/Home/Home.module.scss
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,3 @@ | ||
.intro { | ||
font-size: large; | ||
} |
6 changes: 0 additions & 6 deletions
6
.../generator-emakinacee-react/generators/app/templates/static/src/components/Home/Home.scss
This file was deleted.
Oops, something went wrong.