Several Form elements
This commit is contained in:
10
components/01_Atoms/textField/_textField.scss
Normal file
10
components/01_Atoms/textField/_textField.scss
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
17
components/01_Atoms/textField/textField.config.json
Normal file
17
components/01_Atoms/textField/textField.config.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"title": "TextField",
|
||||
"variants": [
|
||||
{
|
||||
"name": "default",
|
||||
"context": {
|
||||
"type": "text"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Password",
|
||||
"context": {
|
||||
"type": "password"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
3
components/01_Atoms/textField/textField.hbs
Normal file
3
components/01_Atoms/textField/textField.hbs
Normal file
@@ -0,0 +1,3 @@
|
||||
<form class="LP-Form">
|
||||
<input type="{{type}}" class="LP-Form__Input LP-Form__Input--text"/>
|
||||
</form>
|
Reference in New Issue
Block a user