Compare commits

...

2 Commits

10 changed files with 70 additions and 1 deletions

View File

@ -2,4 +2,7 @@
@import 'headline/headline';
@import 'text/text';
@import 'icon/icon';
@import 'input/input';
@import 'textField/textField';
@import 'button/button';
@import 'checkbox/checkbox';
@import 'input/input';

View File

@ -0,0 +1,13 @@
.LP-Button{
background-color: $-secondary-accent-color;
color: $-secondary-color;
border: none;
padding: 8px 14px;
border-radius: 2px;
font-weight: bold;
&:active {
background-color: $-primary-accent-color;
color: $-secondary-accent-color;
}
}

View File

@ -0,0 +1,3 @@
{
}

View File

@ -0,0 +1 @@
<button class="LP-Button">Click Me</button>

View File

@ -0,0 +1,13 @@
.LP-Form{
.LP-Form__Checkbox{
display: none;
}
.LP-Form__CheckBox__CheckMark{
height: 1em;
width: 1em;
border: 1px solid black;
padding: 0 calc(.5em + 2px);
margin-right: .7em;
}
}

View File

@ -0,0 +1,3 @@
{
}

View File

@ -0,0 +1,3 @@
<form class="LP-Form">
<label for="wurstwasser" class="LP-Form__Label"><span class="LP-Form__CheckBox__CheckMark"></span><input id="wurstwasser" type="checkbox" class="LP-Form__Checkbox"/>Check me</label>
</form>

View File

@ -0,0 +1,10 @@
.LP-Form{
.LP-Form__Input--text{
border: none;
border-bottom: 1px solid $-secondary-accent-color;
&:active, &:focus{
border-bottom: 1px solid $-primary-accent-color;
}
}
}

View File

@ -0,0 +1,17 @@
{
"title": "TextField",
"variants": [
{
"name": "default",
"context": {
"type": "text"
}
},
{
"name": "Password",
"context": {
"type": "password"
}
}
]
}

View File

@ -0,0 +1,3 @@
<form class="LP-Form">
<input type="{{type}}" class="LP-Form__Input LP-Form__Input--text"/>
</form>