diff --git a/resources/styles/atoms/avatar/_index.scss b/resources/styles/atoms/avatar/_index.scss index 9fa5f74a..59616130 100644 --- a/resources/styles/atoms/avatar/_index.scss +++ b/resources/styles/atoms/avatar/_index.scss @@ -8,7 +8,6 @@ &__container { display: grid; grid: "photo name" 1fr "photo title" 1fr; - gap: config.$thin-v-space 0; } &__name { @@ -26,6 +25,7 @@ } &__title { + color: config.$gray-400; grid-area: title; padding: 0 config.$thin-h-space; } @@ -40,4 +40,15 @@ justify-self: end; } } + + &.-small { + #{$b}__name { + font-size: 1rem; + line-height: 1.5; + } + + #{$b}__photo { + max-height: 4rem; + } + } } diff --git a/resources/styles/atoms/avatar/avatar.config.js b/resources/styles/atoms/avatar/avatar.config.js index 3737d24c..49ccfc31 100644 --- a/resources/styles/atoms/avatar/avatar.config.js +++ b/resources/styles/atoms/avatar/avatar.config.js @@ -5,5 +5,10 @@ module.exports = { label: 'Reversed', context: { class: '-reversed' }, }, + { + name: 'small', + label: 'Small', + context: { class: '-small' }, + }, ], } diff --git a/resources/styles/atoms/avatar/avatar.twig b/resources/styles/atoms/avatar/avatar.twig index ebcd5224..58822c66 100644 --- a/resources/styles/atoms/avatar/avatar.twig +++ b/resources/styles/atoms/avatar/avatar.twig @@ -1,6 +1,6 @@
- Jane Doe + Jane Doe
Jane Doe
diff --git a/resources/styles/atoms/banner/banner.twig b/resources/styles/atoms/banner/banner.twig index 5edb2add..a312a91c 100644 --- a/resources/styles/atoms/banner/banner.twig +++ b/resources/styles/atoms/banner/banner.twig @@ -4,10 +4,12 @@ Sit quisquam error ipsum atque odit ex At eum eius autem perspiciatis sit! Sint ab!
diff --git a/resources/styles/atoms/button/_index.scss b/resources/styles/atoms/button/_index.scss index aa9b1376..d222354f 100644 --- a/resources/styles/atoms/button/_index.scss +++ b/resources/styles/atoms/button/_index.scss @@ -23,11 +23,14 @@ cursor: pointer; display: inline-block; font-weight: 700; - padding: config.$padding; + line-height: 1; + padding: 1rem 2rem; + border-radius: 4em; transition: background-color var(--duration-fast) config.$fade-easing; &:hover, &:focus { + color: var(--button-color-contrast); background-color: var(--button-color-hover); } @@ -86,4 +89,14 @@ color: var(--button-color-contrast); } } + + &.-icon { + align-items: center; + border-radius: 100%; + display: inline-grid; + height: 3rem; + justify-items: center; + padding: 0; + width: 3rem; + } } diff --git a/resources/styles/atoms/button/button--ghost.twig b/resources/styles/atoms/button/button--ghost.twig index 25d1d2fa..d43519f7 100644 --- a/resources/styles/atoms/button/button--ghost.twig +++ b/resources/styles/atoms/button/button--ghost.twig @@ -1,4 +1,10 @@ - + diff --git a/resources/styles/atoms/button/button--icon.twig b/resources/styles/atoms/button/button--icon.twig new file mode 100644 index 00000000..12c7e992 --- /dev/null +++ b/resources/styles/atoms/button/button--icon.twig @@ -0,0 +1,29 @@ + + + + + + + + + diff --git a/resources/styles/atoms/checkbox/_index.scss b/resources/styles/atoms/checkbox/_index.scss index 0226ac7b..0e2f4492 100644 --- a/resources/styles/atoms/checkbox/_index.scss +++ b/resources/styles/atoms/checkbox/_index.scss @@ -26,12 +26,14 @@ } &__checkbox { - pointer-events: none; - grid-area: checkbox; + background: var(--checkbox-color); border-radius: .25em; border: 2px solid var(--checkbox-color); display: inline-block; + grid-area: checkbox; height: #{config.$line-height * 1em}; + padding: .25rem; + pointer-events: none; vertical-align: middle; width: #{config.$line-height * 1em}; } diff --git a/resources/styles/atoms/checkbox/checkbox--radio.twig b/resources/styles/atoms/checkbox/checkbox--radio.twig index 3229ec5a..66ae6b6c 100644 --- a/resources/styles/atoms/checkbox/checkbox--radio.twig +++ b/resources/styles/atoms/checkbox/checkbox--radio.twig @@ -1,8 +1,8 @@
- - + +