From 1bf4b34cd9fee0ebf486c3cee66d0112ae4e9427 Mon Sep 17 00:00:00 2001 From: mahdi Date: Sat, 28 May 2022 14:24:04 +0430 Subject: [PATCH] update ItemColor.js, src/components/ThemeColor/index.js and tailwind.config.js --- src/components/ThemeColor/index.js | 13 +++++++------ tailwind.config.js | 23 +++++++---------------- 2 files changed, 14 insertions(+), 22 deletions(-) diff --git a/src/components/ThemeColor/index.js b/src/components/ThemeColor/index.js index af74b68..fd96a6f 100644 --- a/src/components/ThemeColor/index.js +++ b/src/components/ThemeColor/index.js @@ -26,19 +26,20 @@ const ThemeColor = ({ inputFields }) => { Version: 1

+ {/* rightLeft */}
{/* right */}

Screens

-

- بعد از نوشتن عدد مورد نظر حتما از - px - استفاده کنید. -


-

+

+ بعد از نوشتن عدد مورد نظر حتما از + px + استفاده کنید. +

+

برای مثال: 444px

diff --git a/tailwind.config.js b/tailwind.config.js index 34edbfa..c4f96db 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -34,22 +34,13 @@ module.exports = { error: "var(--theme-error)", errorText: "var(--theme-errorText)", }, - screens: { - sm: "640px", - // => @media (min-width: 640px) { ... } - - md: "768px", - // => @media (min-width: 768px) { ... } - - lg: "1024px", - // => @media (min-width: 1024px) { ... } - - xl: "1280px", - // => @media (min-width: 1280px) { ... } - - "2xl": "1536px", - // => @media (min-width: 1536px) { ... } - }, + // screens: { + // sm: "var(--theme-sm)", + // md: "var(--theme-md)", + // lg: "var(--theme-lg)", + // xl: "var(--theme-xl)", + // "2xl": "var(--theme-2xl)", + // }, }, plugins: [ require("@themesberg/flowbite/plugin"),