mirror of
https://github.com/thejakubruzicka/MNotes.git
synced 2025-07-10 22:44:05 +02:00
New version. Add Material UI implementation with theme customization, about dialog, and news system
This commit is contained in:
parent
5bc9c9bdb1
commit
1d58835a65
190 changed files with 12296 additions and 54 deletions
22
components-wiki/figures/checkbox/theming.html
Normal file
22
components-wiki/figures/checkbox/theming.html
Normal file
|
@ -0,0 +1,22 @@
|
|||
<div class="figure-wrapper">
|
||||
<figure
|
||||
style="justify-content: center; align-items: center"
|
||||
class="styled-example"
|
||||
aria-label="Image of a checkbox with a different theme applied"
|
||||
>
|
||||
<style>
|
||||
.styled-example {
|
||||
background-color: white;
|
||||
border-radius: 28px;
|
||||
/* System tokens */
|
||||
--md-sys-color-primary: #006a6a;
|
||||
--md-sys-color-on-primary: #ffffff;
|
||||
--md-sys-color-on-surface-variant: #3f4948;
|
||||
/* Component tokens */
|
||||
--md-checkbox-container-shape: 0px;
|
||||
}
|
||||
</style>
|
||||
<md-checkbox touch-target="wrapper"></md-checkbox>
|
||||
<md-checkbox touch-target="wrapper" checked></md-checkbox>
|
||||
</figure>
|
||||
</div>
|
13
components-wiki/figures/checkbox/usage-label.html
Normal file
13
components-wiki/figures/checkbox/usage-label.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<div class="figure-wrapper">
|
||||
<figure
|
||||
style="justify-content: center; align-items: center"
|
||||
aria-label="Two checkboxes with labels"
|
||||
>
|
||||
<label style="display: flex; align-items: center">
|
||||
<md-checkbox touch-target="wrapper"></md-checkbox>
|
||||
Checkbox one
|
||||
</label>
|
||||
<md-checkbox id="checkbox-two" touch-target="wrapper"></md-checkbox>
|
||||
<label for="checkbox-two">Checkbox two</label>
|
||||
</figure>
|
||||
</div>
|
9
components-wiki/figures/checkbox/usage.html
Normal file
9
components-wiki/figures/checkbox/usage.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
<div class="figure-wrapper">
|
||||
<figure
|
||||
style="justify-content:center;"
|
||||
aria-label="Three checkboxes in a row that are unselected, selected, and indeterminate">
|
||||
<md-checkbox touch-target="wrapper"></md-checkbox>
|
||||
<md-checkbox touch-target="wrapper" checked></md-checkbox>
|
||||
<md-checkbox touch-target="wrapper" indeterminate></md-checkbox>
|
||||
</figure>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue