feat: basic forms

This commit is contained in:
Damillora 2021-05-15 14:40:19 +07:00
parent cc4febf595
commit fa7253e18b
5 changed files with 9954 additions and 1 deletions

9925
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -35,6 +35,8 @@
"url": "https://github.com/Damillora/Shian.git"
},
"release": {
"branches": ["main"]
"branches": [
"main"
]
}
}

View File

@ -20,3 +20,5 @@
@import './components/copyarea';
@import './components/floatingyuriko';
@import './components/tag';
@import './components/forms';
@import './components/button';

View File

@ -0,0 +1,12 @@
.button {
border: solid 2px var(--accent-color);
background: var(--accent-color);
color: var(--accent-bg-color);
padding: 0.25rem 1rem;
font-size: 1.125rem;
@include transition;
}
.button:hover {
background: var(--highlight-bg-color);
color: var(--highlight-color);
}

View File

@ -0,0 +1,12 @@
.input {
border: solid 1px var(--accent-color);
padding: 0.5rem;
font-size: 1rem;
width: 100%;
border-radius: 0.25rem;
resize: none;
}
.input:focus-within {
outline: none;
}