From 4f617533fbb4dcfcd4dc4d981d3e31c951fe43d2 Mon Sep 17 00:00:00 2001
From: Cagatay Civici <cagatay.civici@gmail.com>
Date: Sun, 12 May 2024 02:08:10 +0300
Subject: [PATCH] Tokens for PickList and OrderList

---
 components/lib/orderlist/style/OrderListStyle.js | 4 ++--
 components/lib/picklist/style/PickListStyle.js   | 4 ++--
 components/lib/themes/aura/orderlist/index.js    | 9 ++++++++-
 components/lib/themes/aura/picklist/index.js     | 9 ++++++++-
 components/lib/themes/lara/orderlist/index.js    | 9 ++++++++-
 components/lib/themes/lara/picklist/index.js     | 9 ++++++++-
 6 files changed, 36 insertions(+), 8 deletions(-)

diff --git a/components/lib/orderlist/style/OrderListStyle.js b/components/lib/orderlist/style/OrderListStyle.js
index 5966c5280..0c95dc392 100644
--- a/components/lib/orderlist/style/OrderListStyle.js
+++ b/components/lib/orderlist/style/OrderListStyle.js
@@ -3,14 +3,14 @@ import BaseStyle from 'primevue/base/style';
 const theme = ({ dt }) => `
 .p-orderlist {
     display: flex;
-    gap: 1.125rem;
+    gap: ${dt('orderlist.gap')};
 }
 
 .p-orderlist-controls {
     display: flex;
     flex-direction: column;
     justify-content: center;
-    gap: 0.5rem;
+    gap: ${dt('orderlist.controls.gap')};
 }
 `;
 
diff --git a/components/lib/picklist/style/PickListStyle.js b/components/lib/picklist/style/PickListStyle.js
index 32edfb11e..c255ebcab 100644
--- a/components/lib/picklist/style/PickListStyle.js
+++ b/components/lib/picklist/style/PickListStyle.js
@@ -3,14 +3,14 @@ import BaseStyle from 'primevue/base/style';
 const theme = ({ dt }) => `
 .p-picklist {
     display: flex;
-    gap: 1.125rem;
+    gap: ${dt('picklist.gap')};
 }
 
 .p-picklist-controls {
     display: flex;
     flex-direction: column;
     justify-content: center;
-    gap: 0.5rem;
+    gap: ${dt('picklist.controls.gap')};
 }
 
 .p-picklist-list-container {
diff --git a/components/lib/themes/aura/orderlist/index.js b/components/lib/themes/aura/orderlist/index.js
index ff8b4c563..bf6621055 100644
--- a/components/lib/themes/aura/orderlist/index.js
+++ b/components/lib/themes/aura/orderlist/index.js
@@ -1 +1,8 @@
-export default {};
+export default {
+    root: {
+        gap: '1.125rem'
+    },
+    controls: {
+        gap: '0.5rem'
+    }
+};
diff --git a/components/lib/themes/aura/picklist/index.js b/components/lib/themes/aura/picklist/index.js
index ff8b4c563..bf6621055 100644
--- a/components/lib/themes/aura/picklist/index.js
+++ b/components/lib/themes/aura/picklist/index.js
@@ -1 +1,8 @@
-export default {};
+export default {
+    root: {
+        gap: '1.125rem'
+    },
+    controls: {
+        gap: '0.5rem'
+    }
+};
diff --git a/components/lib/themes/lara/orderlist/index.js b/components/lib/themes/lara/orderlist/index.js
index ff8b4c563..bf6621055 100644
--- a/components/lib/themes/lara/orderlist/index.js
+++ b/components/lib/themes/lara/orderlist/index.js
@@ -1 +1,8 @@
-export default {};
+export default {
+    root: {
+        gap: '1.125rem'
+    },
+    controls: {
+        gap: '0.5rem'
+    }
+};
diff --git a/components/lib/themes/lara/picklist/index.js b/components/lib/themes/lara/picklist/index.js
index ff8b4c563..bf6621055 100644
--- a/components/lib/themes/lara/picklist/index.js
+++ b/components/lib/themes/lara/picklist/index.js
@@ -1 +1,8 @@
-export default {};
+export default {
+    root: {
+        gap: '1.125rem'
+    },
+    controls: {
+        gap: '0.5rem'
+    }
+};