From 87b6b38f8c1412c4d47b5a8ed8b5db5680b8fce0 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Sun, 5 May 2024 18:58:31 +0300 Subject: [PATCH] Refactored Slider tokens --- components/lib/themes/aura/slider/index.js | 26 +++++++++------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/components/lib/themes/aura/slider/index.js b/components/lib/themes/aura/slider/index.js index baef2ee1d..a90a3d656 100644 --- a/components/lib/themes/aura/slider/index.js +++ b/components/lib/themes/aura/slider/index.js @@ -1,29 +1,23 @@ export default { + track: { + background: '{content.border.color}' + }, + range: { + background: '{primary.color}' + }, + handle: { + background: '{content.border.color}', + hoverBackground: '{content.border.color}' + }, colorScheme: { light: { - track: { - background: '{surface.200}' - }, handle: { - background: '{surface.200}', - hoverBackground: '{surface.200}', contentBackground: '{surface.0}' - }, - range: { - background: '{primary.color}' } }, dark: { - track: { - background: '{surface.700}' - }, handle: { - background: '{surface.700}', - hoverBackground: '{surface.700}', contentBackground: '{surface.950}' - }, - range: { - background: '{primary.color}' } } }