diff --git a/webapp/components/_new/generic/BaseIcon/BaseIcon.vue b/webapp/components/_new/generic/BaseIcon/BaseIcon.vue index a1c34555e..c01cefe1e 100644 --- a/webapp/components/_new/generic/BaseIcon/BaseIcon.vue +++ b/webapp/components/_new/generic/BaseIcon/BaseIcon.vue @@ -1,6 +1,6 @@ @@ -16,6 +16,13 @@ export default { return iconNames.includes(value) }, }, + size: { + type: String, + default: 'regular', + validator(value) { + return value.match(/(small|regular|large)/) + }, + }, }, computed: { svgIcon() { @@ -42,6 +49,20 @@ export default { > .svg { height: 1.2em; fill: currentColor; + + &.--small { + height: 0.8em; + } + + &.--regular { + height: 1.2em; + } + + &.--large { + margin-top: 2.5px; + margin-left: 3px; + height: 45.4px; + } } }