From 5e6ce1e87db036d8d4dcbbf8bedee56a0a60562c Mon Sep 17 00:00:00 2001 From: zuzannaszymanda <32640873+zuzannaszymanda@users.noreply.github.com> Date: Fri, 21 May 2021 15:33:14 +0200 Subject: [PATCH] Feature/update label (#312) * update label * update label tests * add primary as default label variant * update tailwind config & link colors --- src/atoms/label/Label.css | 13 --------- src/atoms/label/Label.html | 4 +-- src/atoms/label/Label.js | 28 +++++++++++++++++-- src/atoms/label/Label.selectors.json | 10 ------- src/atoms/label/Label.spec.js | 2 -- src/atoms/label/Label.stories.js | 41 +++++++++++++++------------- src/atoms/label/Label.vue | 2 -- src/atoms/link/Link.js | 4 +-- tailwind.config.js | 18 ++++++------ 9 files changed, 60 insertions(+), 62 deletions(-) delete mode 100644 src/atoms/label/Label.css delete mode 100644 src/atoms/label/Label.selectors.json diff --git a/src/atoms/label/Label.css b/src/atoms/label/Label.css deleted file mode 100644 index f76765d48..000000000 --- a/src/atoms/label/Label.css +++ /dev/null @@ -1,13 +0,0 @@ -.a-label { - @apply block; - @apply mb-1; - @apply text-gray-600 leading-relaxed; -} - -.a-label--inline { - @apply mr-2; -} - -.a-label--hidden { - @apply sr-only; -} diff --git a/src/atoms/label/Label.html b/src/atoms/label/Label.html index 26f54399a..331698cde 100644 --- a/src/atoms/label/Label.html +++ b/src/atoms/label/Label.html @@ -1,6 +1,4 @@ -