Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Commit

Permalink
add Tailwind Sizing settings as hard-coded data, based on #44
Browse files Browse the repository at this point in the history
  • Loading branch information
shahryarjb committed Mar 7, 2023
1 parent 5394177 commit 266bdef
Showing 1 changed file with 219 additions and 1 deletion.
220 changes: 219 additions & 1 deletion lib/mishka_template_creator/components/blocks/settings.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1558,7 +1558,225 @@ defmodule MishkaTemplateCreator.Components.Blocks.Settings do
"space-x-reverse"
], [:hover, :media_queries]}
]},
{"sizing", "Sizing", "Heroicons.swatch", []},
{"sizing", "Sizing", "Heroicons.swatch",
[
{"width", "Width", "Utilities for setting the width of an element.",
[
"w-0",
"w-px",
"w-0.5",
"w-1",
"w-1.5",
"w-2",
"w-2.5",
"w-3",
"w-3.5",
"w-4",
"w-5",
"w-6",
"w-7",
"w-8",
"w-9",
"w-10",
"w-11",
"w-12",
"w-14",
"w-16",
"w-20",
"w-24",
"w-28",
"w-32",
"w-36",
"w-40",
"w-44",
"w-48",
"w-52",
"w-56",
"w-60",
"w-64",
"w-72",
"w-80",
"w-96",
"w-auto",
"w-1/2",
"w-1/3",
"w-2/3",
"w-1/4",
"w-2/4",
"w-3/4",
"w-1/5",
"w-2/5",
"w-3/5",
"w-4/5",
"w-1/6",
"w-2/6",
"w-3/6",
"w-4/6",
"w-5/6",
"w-1/12",
"w-2/12",
"w-3/12",
"w-4/12",
"w-5/12",
"w-6/12",
"w-7/12",
"w-8/12",
"w-9/12",
"w-10/12",
"w-11/12",
"w-full",
"w-screen",
"w-min",
"w-max",
"w-fit"
], [:hover, :media_queries]},
{"min-width", "Min-Width", "Utilities for setting the minimum width of an element.",
[
"min-w-0",
"min-w-full",
"min-w-min",
"min-w-max",
"min-w-fit"
], [:hover, :media_queries]},
{"max-width", "Max-Width", "Utilities for setting the maximum width of an element.",
[
"max-w-0",
"max-w-none",
"max-w-xs",
"max-w-sm",
"max-w-md",
"max-w-lg",
"max-w-xl",
"max-w-2xl",
"max-w-3xl",
"max-w-4xl",
"max-w-5xl",
"max-w-6xl",
"max-w-7xl",
"max-w-full",
"max-w-min",
"max-w-max",
"max-w-fit",
"max-w-prose",
"max-w-screen-sm",
"max-w-screen-md",
"max-w-screen-lg",
"max-w-screen-xl",
"max-w-screen-2xl"
], [:hover, :media_queries]},
{"height", "Height", "Utilities for setting the height of an element.",
[
"h-0",
"h-px",
"h-0.5",
"h-1",
"h-1.5",
"h-2",
"h-2.5",
"h-3",
"h-3.5",
"h-4",
"h-5",
"h-6",
"h-7",
"h-8",
"h-9",
"h-10",
"h-11",
"h-12",
"h-14",
"h-16",
"h-20",
"h-24",
"h-28",
"h-32",
"h-36",
"h-40",
"h-44",
"h-48",
"h-52",
"h-56",
"h-60",
"h-64",
"h-72",
"h-80",
"h-96",
"h-auto",
"h-1/2",
"h-1/3",
"h-2/3",
"h-1/4",
"h-2/4",
"h-3/4",
"h-1/5",
"h-2/5",
"h-3/5",
"h-4/5",
"h-1/6",
"h-2/6",
"h-3/6",
"h-4/6",
"h-5/6",
"h-full",
"h-screen",
"h-min",
"h-max",
"h-fit"
], [:hover, :media_queries]},
{"min-height", "Min-Height", "Utilities for setting the minimum height of an element.",
[
"min-h-0",
"min-h-full",
"min-h-screen",
"min-h-min",
"min-h-max",
"min-h-fit"
], [:hover, :media_queries]},
{"max-height", "Max-Height", "Utilities for setting the maximum height of an element.",
[
"max-h-0",
"max-h-px",
"max-h-0.5",
"max-h-1",
"max-h-1.5",
"max-h-2",
"max-h-2.5",
"max-h-3",
"max-h-3.5",
"max-h-4",
"max-h-5",
"max-h-6",
"max-h-7",
"max-h-8",
"max-h-9",
"max-h-10",
"max-h-11",
"max-h-12",
"max-h-14",
"max-h-16",
"max-h-20",
"max-h-24",
"max-h-28",
"max-h-32",
"max-h-36",
"max-h-40",
"max-h-44",
"max-h-48",
"max-h-52",
"max-h-56",
"max-h-60",
"max-h-64",
"max-h-72",
"max-h-80",
"max-h-96",
"max-h-none",
"max-h-full",
"max-h-screen",
"max-h-min",
"max-h-max",
"max-h-fit"
], [:hover, :media_queries]}
]},
{"typography", "Typography", "Heroicons.chat_bubble_bottom_center", []},
{"backgrounds", "Backgrounds", "Heroicons.window", []},
{"borders", "Borders", "Heroicons.bars_2", []},
Expand Down

0 comments on commit 266bdef

Please sign in to comment.