Renamed text to paragraph

This commit is contained in:
reverend 2020-08-01 00:09:09 +02:00
parent afb1397f4a
commit 8048aea9df
6 changed files with 25 additions and 8 deletions

View File

@ -1,6 +1,6 @@
@import 'link/link'; @import 'link/link';
@import 'headline/headline'; @import 'headline/headline';
@import 'text/text'; @import 'paragraph/paragraph';
@import 'icon/icon'; @import 'icon/icon';
@import 'button/button'; @import 'button/button';
@import 'checkbox/checkbox'; @import 'checkbox/checkbox';

View File

@ -0,0 +1,13 @@
.LP-Paragraph {
color: black;
font-family: $-primary-serif-font;
font-size: 1.2rem;
&--teaser{
font-family: $-primary-sans-serif-font;
padding: 0;
margin: 0;
margin-top: 5px;
font-size: 0.9rem;
}
}

View File

@ -1,5 +1,14 @@
{ {
"context": { "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." "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."
} },
"variants": [
{
"name": "Teaser",
"context":{
"text": "Hamm (Westf)",
"modifier": "--teaser"
}
}
]
} }

View File

@ -0,0 +1 @@
<p class="LP-Paragraph LP-Paragraph{{modifier}}">{{text}}</p>

View File

@ -1,5 +0,0 @@
.LP-Text {
color: black;
font-family: $-primary-serif-font;
font-size: 1.2rem;
}

View File

@ -1 +0,0 @@
<p class="LP-Text LP-Content">{{text}}</p>