Ja...
This commit is contained in:
4
components/01_Atoms/_atoms.scss
Normal file
4
components/01_Atoms/_atoms.scss
Normal file
@@ -0,0 +1,4 @@
|
||||
@import 'link/link';
|
||||
@import 'headline/headline';
|
||||
@import 'text/text';
|
||||
@import 'icon/icon';
|
8
components/01_Atoms/headline/_headline.scss
Normal file
8
components/01_Atoms/headline/_headline.scss
Normal file
@@ -0,0 +1,8 @@
|
||||
.LP-Headline{
|
||||
font-family: $-primary-sans-serif-font;
|
||||
color: $-secondary-color;
|
||||
font-size: 1.7rem;
|
||||
padding-top: 0px;
|
||||
margin-top: 0px;
|
||||
padding-bottom: 0.2rem;
|
||||
}
|
5
components/01_Atoms/headline/headline.config.json
Normal file
5
components/01_Atoms/headline/headline.config.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"context": {
|
||||
"headline": "Hello here is my headline"
|
||||
}
|
||||
}
|
1
components/01_Atoms/headline/headline.hbs
Normal file
1
components/01_Atoms/headline/headline.hbs
Normal file
@@ -0,0 +1 @@
|
||||
<h1 class="LP-Headline">{{headline}}</h1>
|
15
components/01_Atoms/icon/_icon.scss
Normal file
15
components/01_Atoms/icon/_icon.scss
Normal file
@@ -0,0 +1,15 @@
|
||||
.LP-Icon{
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
.LP-Icon__List{
|
||||
list-style-type: none;
|
||||
display: inline-flex;
|
||||
justify-content: space-between;
|
||||
justify-items: stretch;
|
||||
|
||||
.LP-Icon__Item{
|
||||
padding: 0 3px;
|
||||
}
|
||||
}
|
1
components/01_Atoms/icon/icon.config.json
Normal file
1
components/01_Atoms/icon/icon.config.json
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
7
components/01_Atoms/icon/icon.hbs
Normal file
7
components/01_Atoms/icon/icon.hbs
Normal file
@@ -0,0 +1,7 @@
|
||||
<img class="LP-Icon" src="/icons/favourite.svg"/>
|
||||
|
||||
<ul class="LP-Icon__List">
|
||||
<li class="LP-Icon__Item"><img class="LP-Icon" src="/icons/favourite.svg"/></li>
|
||||
<li class="LP-Icon__Item"><img class="LP-Icon" src="/icons/location.svg"/></li>
|
||||
<li class="LP-Icon__Item"><img class="LP-Icon" src="/icons/flag.svg"/></li>
|
||||
</ul>
|
8
components/01_Atoms/link/_link.scss
Normal file
8
components/01_Atoms/link/_link.scss
Normal file
@@ -0,0 +1,8 @@
|
||||
.LP-Link {
|
||||
color: $-secondary-color;
|
||||
text-decoration: none;
|
||||
font-family: $-primary-accent-font;
|
||||
&:hover {
|
||||
color: $-secondary-accent-color;
|
||||
}
|
||||
}
|
6
components/01_Atoms/link/link.config.json
Normal file
6
components/01_Atoms/link/link.config.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"context": {
|
||||
"url": "#",
|
||||
"text": "Click Me"
|
||||
}
|
||||
}
|
1
components/01_Atoms/link/link.hbs
Normal file
1
components/01_Atoms/link/link.hbs
Normal file
@@ -0,0 +1 @@
|
||||
<a href="{{url}}" class="LP-Link"><span class="LP-Link__Text">{{text}}</span></a>
|
5
components/01_Atoms/text/_text.scss
Normal file
5
components/01_Atoms/text/_text.scss
Normal file
@@ -0,0 +1,5 @@
|
||||
.LP-Text {
|
||||
color: black;
|
||||
font-family: $-primary-serif-font;
|
||||
font-size: 1.2rem;
|
||||
}
|
5
components/01_Atoms/text/text.config.json
Normal file
5
components/01_Atoms/text/text.config.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"context": {
|
||||
"text": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet."
|
||||
}
|
||||
}
|
1
components/01_Atoms/text/text.hbs
Normal file
1
components/01_Atoms/text/text.hbs
Normal file
@@ -0,0 +1 @@
|
||||
<p class="LP-Text">{{text}}</p>
|
Reference in New Issue
Block a user