From a3292d5c932377742013d96baa54f97a8ffd147f Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Mon, 27 May 2024 10:41:36 +0300 Subject: [PATCH] Cosmetics --- components/lib/togglebutton/style/ToggleButtonStyle.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/components/lib/togglebutton/style/ToggleButtonStyle.js b/components/lib/togglebutton/style/ToggleButtonStyle.js index 0347e8143..36a054e8e 100644 --- a/components/lib/togglebutton/style/ToggleButtonStyle.js +++ b/components/lib/togglebutton/style/ToggleButtonStyle.js @@ -16,9 +16,8 @@ const theme = ({ dt }) => ` font-size: 1rem; font-family: inherit; font-feature-settings: inherit; - transition: background ${dt('togglebutton.transition.duration')}, color ${dt('togglebutton.transition.duration')}, border-color ${dt('togglebutton.transition.duration')}, outline-color ${dt('togglebutton.transition.duration')}, box-shadow ${dt( - 'togglebutton.transition.duration' -)}; + transition: background ${dt('togglebutton.transition.duration')}, color ${dt('togglebutton.transition.duration')}, border-color ${dt('togglebutton.transition.duration')}, + outline-color ${dt('togglebutton.transition.duration')}, box-shadow ${dt('togglebutton.transition.duration')}; border-radius: ${dt('togglebutton.border.radius')}; outline-color: transparent; font-weight: ${dt('togglebutton.font.weight')}; @@ -41,9 +40,8 @@ const theme = ({ dt }) => ` .p-togglebutton::before { content: ""; background: transparent; - transition: background ${dt('togglebutton.transition.duration')}, color ${dt('togglebutton.transition.duration')}, border-color ${dt('togglebutton.transition.duration')}, outline-color ${dt('togglebutton.transition.duration')}, box-shadow ${dt( - 'togglebutton.transition.duration' -)}; + transition: background ${dt('togglebutton.transition.duration')}, color ${dt('togglebutton.transition.duration')}, border-color ${dt('togglebutton.transition.duration')}, + outline-color ${dt('togglebutton.transition.duration')}, box-shadow ${dt('togglebutton.transition.duration')}; position: absolute; left: ${dt('togglebutton.content.left')}; top: ${dt('togglebutton.content.top')};