update ItemColor.js, src/components/ThemeColor/index.js and tailwind.config.js

master
mahdi 3 years ago
parent 2dc03e4885
commit 1bf4b34cd9
  1. 9
      src/components/ThemeColor/index.js
  2. 23
      tailwind.config.js

@ -26,19 +26,20 @@ const ThemeColor = ({ inputFields }) => {
Version: Version:
<span className="ml-1">1</span> <span className="ml-1">1</span>
</p> </p>
{/* rightLeft */}
<div className="w-full flex flex-row-reverse items-start justify-between mt-7 divide-x-2 divide-[#b8dff3] divide-x-reverse"> <div className="w-full flex flex-row-reverse items-start justify-between mt-7 divide-x-2 divide-[#b8dff3] divide-x-reverse">
{/* right */} {/* right */}
<div className="flex-grow flex flex-col p-4"> <div className="flex-grow flex flex-col p-4">
<div className="w-full flex flex-row items-center justify-between"> <div className="w-full flex flex-row items-center justify-between">
<p className="text-2xl">Screens</p> <p className="text-2xl">Screens</p>
<p className=" px-2 py-0.5 bg-surface text-surfaceText text-xs rtl border border-dashed"> </div>
<hr className="my-2 border border-[#b8dff3]" />
<p className="w-fit self-end px-2 py-0.5 bg-surface text-surfaceText text-xs rtl border border-dashed">
بعد از نوشتن عدد مورد نظر حتما از بعد از نوشتن عدد مورد نظر حتما از
<span className="mx-1 font-bold">px</span> <span className="mx-1 font-bold">px</span>
استفاده کنید. استفاده کنید.
</p> </p>
</div> <p className="w-fit px-2 mt-2 py-0.5 bg-secondary text-secondaryText text-xs rtl border border-dashed">
<hr className="my-2 border border-[#b8dff3]" />
<p className="w-fit self-center px-2 py-0.5 bg-secondary text-secondaryText text-xs rtl border border-dashed">
برای مثال: برای مثال:
<span className="mx-1 font-bold">444px</span> <span className="mx-1 font-bold">444px</span>
</p> </p>

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

Loading…
Cancel
Save