From b9f8a3aa8ead4c484a1ed85f666722940ae8e40c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dabiel=20Gonz=C3=A1lez=20Ramos?= Date: Tue, 25 Jul 2023 22:01:01 +0300 Subject: [PATCH] refactor: set leading-regular (large before) and small (regular before) --- packages/bee-q/src/components/badge/bq-badge.tsx | 2 +- .../breadcrumb-item/scss/bq-breadcrumb-item.variables.scss | 2 +- packages/bee-q/src/components/button/scss/bq-button.scss | 2 +- packages/bee-q/src/components/checkbox/bq-checkbox.tsx | 2 +- packages/bee-q/src/components/notification/bq-notification.tsx | 2 +- packages/bee-q/src/components/radio/scss/bq-radio.scss | 2 +- packages/bee-q/src/components/spinner/bq-spinner.tsx | 2 +- packages/bee-q/src/components/status/bq-status.tsx | 2 +- packages/bee-q/src/components/switch/scss/bq-switch.scss | 2 +- packages/bee-q/src/components/tab/scss/bq-tab-variables.scss | 2 +- .../bee-q/src/components/tooltip/scss/bq-tooltip.variables.scss | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/packages/bee-q/src/components/badge/bq-badge.tsx b/packages/bee-q/src/components/badge/bq-badge.tsx index d1ad15492..c6da4db22 100644 --- a/packages/bee-q/src/components/badge/bq-badge.tsx +++ b/packages/bee-q/src/components/badge/bq-badge.tsx @@ -130,7 +130,7 @@ export class BqBadge { }} part="base" > - (this.spanElement = element)} class="text-xs font-bold leading-regular" part="number"> + (this.spanElement = element)} class="text-xs font-bold leading-small" part="number"> diff --git a/packages/bee-q/src/components/breadcrumb-item/scss/bq-breadcrumb-item.variables.scss b/packages/bee-q/src/components/breadcrumb-item/scss/bq-breadcrumb-item.variables.scss index a168b2364..c4cf43762 100644 --- a/packages/bee-q/src/components/breadcrumb-item/scss/bq-breadcrumb-item.variables.scss +++ b/packages/bee-q/src/components/breadcrumb-item/scss/bq-breadcrumb-item.variables.scss @@ -24,7 +24,7 @@ --bq-breadcrumb-item--background: theme('colors.transparent'); --bq-breadcrumb-item--font-size: theme('fontSize.s'); - --bq-breadcrumb-item--line-height: theme('lineHeight.large'); + --bq-breadcrumb-item--line-height: theme('lineHeight.regular'); --bq-breadcrumb-item--border-color: theme('colors.transparent'); --bq-breadcrumb-item--border-style: none; diff --git a/packages/bee-q/src/components/button/scss/bq-button.scss b/packages/bee-q/src/components/button/scss/bq-button.scss index 11c58f18a..d09e34c61 100644 --- a/packages/bee-q/src/components/button/scss/bq-button.scss +++ b/packages/bee-q/src/components/button/scss/bq-button.scss @@ -7,7 +7,7 @@ @layer components { // Common button base style .bq-button { - @apply box-border flex cursor-[inherit] items-center justify-center rounded-m border-2 border-solid border-transparent text-m font-medium leading-large; + @apply box-border flex cursor-[inherit] items-center justify-center rounded-m border-2 border-solid border-transparent text-m font-medium leading-regular; @apply transition-[background-color,border-color,color] duration-300; @apply disabled:cursor-not-allowed; @apply focus-visible:focus; diff --git a/packages/bee-q/src/components/checkbox/bq-checkbox.tsx b/packages/bee-q/src/components/checkbox/bq-checkbox.tsx index 6a30ec2fe..9cd4f9fed 100644 --- a/packages/bee-q/src/components/checkbox/bq-checkbox.tsx +++ b/packages/bee-q/src/components/checkbox/bq-checkbox.tsx @@ -246,7 +246,7 @@ export class BqCheckbox { diff --git a/packages/bee-q/src/components/notification/bq-notification.tsx b/packages/bee-q/src/components/notification/bq-notification.tsx index fbe960883..4bcaaf5aa 100644 --- a/packages/bee-q/src/components/notification/bq-notification.tsx +++ b/packages/bee-q/src/components/notification/bq-notification.tsx @@ -247,7 +247,7 @@ export class BqNotification {