feat(component): New checkbox component (#151)

* feat(component): New component checkbox

* feat(component): checkbox docs and link checkbox

* added gradient to home page

* remove unused props

* code refactor

* code refactor

* fix type error

* convert div to label
This commit is contained in:
Vasu Singh
2023-06-16 18:50:45 +05:30
committed by GitHub
parent 1b88bc99d3
commit c3e8826253
11 changed files with 189 additions and 3 deletions

View File

@@ -65,7 +65,7 @@ function getComponents() {
function getFormComponents() {
return [
{ text: 'Input', link: 'components/input' },
{ text: 'Select', link: 'components/select' },
{ text: 'Checkbox', link: 'components/checkbox' },
]
}

View File

@@ -3,5 +3,11 @@ input,
optgroup,
select,
textarea {
border: inherit; /* border: 0 by default in vitepress removes all border for border class */
border: inherit;
/* border: 0 by default in vitepress removes all border for border class */
}
:root {
--vp-home-hero-image-background-image: linear-gradient( -45deg, #41b88380 30%, #35495e80 );
--vp-home-hero-image-filter: blur(72px);
}