From e265e6e0399395040dd218a6d8d93ae794a77974 Mon Sep 17 00:00:00 2001 From: Benedikt Kulmann Date: Thu, 6 Feb 2020 22:10:45 +0100 Subject: [PATCH] Align sizes of oc-spinner with those of oc-icon. --- src/elements/OcIcon.vue | 6 ++--- src/elements/OcSpinner.vue | 12 +++++----- src/styles/theme/oc-icon.scss | 28 ++++++++++++++--------- src/styles/theme/oc-spinner.scss | 38 ++++++++++++++++++++++---------- 4 files changed, 53 insertions(+), 31 deletions(-) diff --git a/src/elements/OcIcon.vue b/src/elements/OcIcon.vue index c0aeb6539..aa8373598 100644 --- a/src/elements/OcIcon.vue +++ b/src/elements/OcIcon.vue @@ -59,13 +59,13 @@ export default { }, /** * The size of the icon. Defaults to small. - * `small, medium, large` + * `xsmall, small, medium, large, xlarge, xxlarge` */ size: { type: String, default: "small", validator: value => { - return value.match(/(small|medium|large|xlarge|xxlarge)/) + return value.match(/(xsmall|small|medium|large|xlarge|xxlarge)/) }, }, /** @@ -169,7 +169,7 @@ export default { Size Icons - + {{size}} diff --git a/src/elements/OcSpinner.vue b/src/elements/OcSpinner.vue index 4a3129011..f804e4d1d 100644 --- a/src/elements/OcSpinner.vue +++ b/src/elements/OcSpinner.vue @@ -1,5 +1,5 @@