From b2a5787d4aaa30601b92f66109a97c1b940e70e9 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Sat, 4 May 2024 19:14:05 +0300 Subject: [PATCH] Refactored file upload tokens --- .../lib/themes/aura/fileupload/index.js | 40 +++++-------------- components/lib/themes/aura/panel/index.js | 2 +- 2 files changed, 12 insertions(+), 30 deletions(-) diff --git a/components/lib/themes/aura/fileupload/index.js b/components/lib/themes/aura/fileupload/index.js index 763692301..fe85ff4c4 100644 --- a/components/lib/themes/aura/fileupload/index.js +++ b/components/lib/themes/aura/fileupload/index.js @@ -1,32 +1,14 @@ export default { - colorScheme: { - light: { - root: { - background: '{surface.0}', - borderColor: '{surface.200}', - color: '{surface.700}' - }, - content: { - highlightBackground: '{highlight.background}', - highlightBorderColor: '{highlight.color}' - }, - file: { - borderColor: '{surface.200}' - } - }, - dark: { - root: { - background: '{surface.900}', - borderColor: '{surface.700}', - color: '{surface.0}' - }, - content: { - highlightBackground: '{highlight.background}', - highlightBorderColor: '{highlight.color}' - }, - file: { - borderColor: '{surface.700}' - } - } + root: { + background: '{content.background}', + borderColor: '{content.border.color}', + color: '{content.color}' + }, + content: { + highlightBackground: '{highlight.background}', + highlightBorderColor: '{highlight.color}' + }, + file: { + borderColor: '{content.border.color}' } }; diff --git a/components/lib/themes/aura/panel/index.js b/components/lib/themes/aura/panel/index.js index a91e1f5e4..f6ad4d3ea 100644 --- a/components/lib/themes/aura/panel/index.js +++ b/components/lib/themes/aura/panel/index.js @@ -2,6 +2,6 @@ export default { root: { background: '{content.background}', borderColor: '{content.border.color}', - color: '{text.color}' + color: '{content.color}' } };