From 087d5cdbef6fd02d757c0b49608e0aff40188217 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Fri, 1 Oct 2021 05:23:50 +0200 Subject: [PATCH] Add a strt to package.json for when tailwind JIT isn't needed --- css/index-tailwind-output.css | 410 +++++++++++++++++----------------- package.json | 1 + 2 files changed, 206 insertions(+), 205 deletions(-) diff --git a/css/index-tailwind-output.css b/css/index-tailwind-output.css index 4ed8a97b92..4cbe196aed 100644 --- a/css/index-tailwind-output.css +++ b/css/index-tailwind-output.css @@ -716,30 +716,6 @@ video { left: 0px; } -.top-0 { - top: 0px; -} - -.left-0 { - left: 0px; -} - -.right-0 { - right: 0px; -} - -.top-2 { - top: 0.5rem; -} - -.right-3 { - right: 0.75rem; -} - -.bottom-0 { - bottom: 0px; -} - .bottom-3 { bottom: 0.75rem; } @@ -764,6 +740,30 @@ video { top: 14rem; } +.top-0 { + top: 0px; +} + +.left-0 { + left: 0px; +} + +.right-0 { + right: 0px; +} + +.top-2 { + top: 0.5rem; +} + +.right-3 { + right: 0.75rem; +} + +.bottom-0 { + bottom: 0px; +} + .isolate { isolation: isolate; } @@ -788,22 +788,6 @@ video { float: none; } -.m-2 { - margin: 0.5rem; -} - -.m-1 { - margin: 0.25rem; -} - -.m-0 { - margin: 0px; -} - -.m-3 { - margin: 0.75rem; -} - .m-8 { margin: 2rem; } @@ -812,6 +796,10 @@ video { margin: 2.75rem; } +.m-1 { + margin: 0.25rem; +} + .m-5 { margin: 1.25rem; } @@ -820,10 +808,27 @@ video { margin: 0.125rem; } +.m-0 { + margin: 0px; +} + +.m-2 { + margin: 0.5rem; +} + +.m-3 { + margin: 0.75rem; +} + .m-4 { margin: 1rem; } +.my-2 { + margin-top: 0.5rem; + margin-bottom: 0.5rem; +} + .mx-10 { margin-left: 2.5rem; margin-right: 2.5rem; @@ -839,15 +844,26 @@ video { margin-right: 1rem; } -.my-2 { - margin-top: 0.5rem; - margin-bottom: 0.5rem; +.-ml-1 { + margin-left: -0.25rem; +} + +.mr-3 { + margin-right: 0.75rem; +} + +.ml-3 { + margin-left: 0.75rem; } .mb-2 { margin-bottom: 0.5rem; } +.mr-4 { + margin-right: 1rem; +} + .mt-3 { margin-top: 0.75rem; } @@ -860,6 +876,10 @@ video { margin-right: 0.5rem; } +.mt-2 { + margin-top: 0.5rem; +} + .mb-10 { margin-bottom: 2.5rem; } @@ -868,42 +888,6 @@ video { margin-top: 0.25rem; } -.ml-3 { - margin-left: 0.75rem; -} - -.mt-4 { - margin-top: 1rem; -} - -.mb-8 { - margin-bottom: 2rem; -} - -.mr-0 { - margin-right: 0px; -} - -.mb-1 { - margin-bottom: 0.25rem; -} - -.mr-3 { - margin-right: 0.75rem; -} - -.-ml-1 { - margin-left: -0.25rem; -} - -.mr-4 { - margin-right: 1rem; -} - -.mt-2 { - margin-top: 0.5rem; -} - .mt-0 { margin-top: 0px; } @@ -912,10 +896,26 @@ video { margin-left: 0.5rem; } +.mt-4 { + margin-top: 1rem; +} + +.mb-8 { + margin-bottom: 2rem; +} + .ml-1 { margin-left: 0.25rem; } +.mr-0 { + margin-right: 0px; +} + +.mb-1 { + margin-bottom: 0.25rem; +} + .mb-4 { margin-bottom: 1rem; } @@ -968,18 +968,34 @@ video { height: 100%; } -.h-12 { - height: 3rem; -} - .h-5 { height: 1.25rem; } +.h-24 { + height: 6rem; +} + +.h-10 { + height: 2.5rem; +} + +.h-8 { + height: 2rem; +} + +.h-12 { + height: 3rem; +} + .h-screen { height: 100vh; } +.h-11 { + height: 2.75rem; +} + .h-32 { height: 8rem; } @@ -996,22 +1012,6 @@ video { height: 1.5rem; } -.h-10 { - height: 2.5rem; -} - -.h-8 { - height: 2rem; -} - -.h-24 { - height: 6rem; -} - -.h-11 { - height: 2.75rem; -} - .h-3 { height: 0.75rem; } @@ -1032,6 +1032,18 @@ video { width: 100%; } +.w-5 { + width: 1.25rem; +} + +.w-10 { + width: 2.5rem; +} + +.w-8 { + width: 2rem; +} + .w-12 { width: 3rem; } @@ -1040,6 +1052,10 @@ video { width: 100vw; } +.w-11 { + width: 2.75rem; +} + .w-0 { width: 0px; } @@ -1068,32 +1084,16 @@ video { width: 50%; } -.w-10 { - width: 2.5rem; -} - -.w-8 { - width: 2rem; -} - -.w-5 { - width: 1.25rem; -} - -.w-11 { - width: 2.75rem; -} - -.min-w-\[20em\] { - min-width: 20em; -} - .min-w-min { min-width: -webkit-min-content; min-width: -moz-min-content; min-width: min-content; } +.min-w-\[20em\] { + min-width: 20em; +} + .max-w-full { max-width: 100%; } @@ -1156,14 +1156,14 @@ video { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; } -.cursor-wait { - cursor: wait; -} - .cursor-pointer { cursor: pointer; } +.cursor-wait { + cursor: wait; +} + .resize { resize: both; } @@ -1247,10 +1247,6 @@ video { word-break: break-all; } -.rounded { - border-radius: 0.25rem; -} - .rounded-full { border-radius: 9999px; } @@ -1259,22 +1255,26 @@ video { border-radius: 1.5rem; } -.rounded-xl { - border-radius: 0.75rem; +.rounded { + border-radius: 0.25rem; } .rounded-lg { border-radius: 0.5rem; } -.border-4 { - border-width: 4px; +.rounded-xl { + border-radius: 0.75rem; } .border { border-width: 1px; } +.border-4 { + border-width: 4px; +} + .border-2 { border-width: 2px; } @@ -1311,14 +1311,24 @@ video { --tw-border-opacity: 0.5; } +.bg-white { + --tw-bg-opacity: 1; + background-color: rgba(255, 255, 255, var(--tw-bg-opacity)); +} + .bg-blue-50 { --tw-bg-opacity: 1; background-color: rgba(239, 246, 255, var(--tw-bg-opacity)); } -.bg-white { +.bg-blue-100 { --tw-bg-opacity: 1; - background-color: rgba(255, 255, 255, var(--tw-bg-opacity)); + background-color: rgba(219, 234, 254, var(--tw-bg-opacity)); +} + +.bg-gray-400 { + --tw-bg-opacity: 1; + background-color: rgba(156, 163, 175, var(--tw-bg-opacity)); } .bg-indigo-100 { @@ -1336,6 +1346,11 @@ video { background-color: rgba(0, 0, 0, var(--tw-bg-opacity)); } +.bg-gray-200 { + --tw-bg-opacity: 1; + background-color: rgba(229, 231, 235, var(--tw-bg-opacity)); +} + .bg-gray-100 { --tw-bg-opacity: 1; background-color: rgba(243, 244, 246, var(--tw-bg-opacity)); @@ -1351,21 +1366,6 @@ video { background-color: rgba(254, 202, 202, var(--tw-bg-opacity)); } -.bg-blue-100 { - --tw-bg-opacity: 1; - background-color: rgba(219, 234, 254, var(--tw-bg-opacity)); -} - -.bg-gray-400 { - --tw-bg-opacity: 1; - background-color: rgba(156, 163, 175, var(--tw-bg-opacity)); -} - -.bg-gray-200 { - --tw-bg-opacity: 1; - background-color: rgba(229, 231, 235, var(--tw-bg-opacity)); -} - .p-1\.5 { padding: 0.375rem; } @@ -1374,14 +1374,18 @@ video { padding: 0.25rem; } -.p-2 { - padding: 0.5rem; +.p-3 { + padding: 0.75rem; } .p-4 { padding: 1rem; } +.p-2 { + padding: 0.5rem; +} + .p-0\.5 { padding: 0.125rem; } @@ -1390,8 +1394,12 @@ video { padding: 0px; } -.p-3 { - padding: 0.75rem; +.pt-3 { + padding-top: 0.75rem; +} + +.pb-3 { + padding-bottom: 0.75rem; } .pl-4 { @@ -1402,12 +1410,16 @@ video { padding-bottom: 0px; } -.pt-6 { - padding-top: 1.5rem; +.pl-1 { + padding-left: 0.25rem; } -.pb-3 { - padding-bottom: 0.75rem; +.pr-1 { + padding-right: 0.25rem; +} + +.pt-6 { + padding-top: 1.5rem; } .pl-2 { @@ -1430,6 +1442,10 @@ video { padding-left: 0.75rem; } +.pr-0 { + padding-right: 0px; +} + .pb-2 { padding-bottom: 0.5rem; } @@ -1442,22 +1458,6 @@ video { padding-top: 0px; } -.pt-3 { - padding-top: 0.75rem; -} - -.pl-1 { - padding-left: 0.25rem; -} - -.pr-1 { - padding-right: 0.25rem; -} - -.pr-0 { - padding-right: 0px; -} - .pr-2 { padding-right: 0.5rem; } @@ -1474,6 +1474,16 @@ video { vertical-align: middle; } +.text-xl { + font-size: 1.25rem; + line-height: 1.75rem; +} + +.text-sm { + font-size: 0.875rem; + line-height: 1.25rem; +} + .text-2xl { font-size: 1.5rem; line-height: 2rem; @@ -1489,16 +1499,6 @@ video { line-height: 1.75rem; } -.text-xl { - font-size: 1.25rem; - line-height: 1.75rem; -} - -.text-sm { - font-size: 0.875rem; - line-height: 1.25rem; -} - .text-4xl { font-size: 2.25rem; line-height: 2.5rem; @@ -1508,10 +1508,6 @@ video { font-weight: 700; } -.font-medium { - font-weight: 500; -} - .font-extrabold { font-weight: 800; } @@ -1520,6 +1516,10 @@ video { font-weight: 600; } +.font-medium { + font-weight: 500; +} + .uppercase { text-transform: uppercase; } @@ -1553,26 +1553,26 @@ video { letter-spacing: -0.025em; } -.text-gray-900 { - --tw-text-opacity: 1; - color: rgba(17, 24, 39, var(--tw-text-opacity)); -} - -.text-gray-500 { - --tw-text-opacity: 1; - color: rgba(107, 114, 128, var(--tw-text-opacity)); -} - .text-white { --tw-text-opacity: 1; color: rgba(255, 255, 255, var(--tw-text-opacity)); } +.text-gray-900 { + --tw-text-opacity: 1; + color: rgba(17, 24, 39, var(--tw-text-opacity)); +} + .text-gray-800 { --tw-text-opacity: 1; color: rgba(31, 41, 55, var(--tw-text-opacity)); } +.text-gray-500 { + --tw-text-opacity: 1; + color: rgba(107, 114, 128, var(--tw-text-opacity)); +} + .text-green-600 { --tw-text-opacity: 1; color: rgba(5, 150, 105, var(--tw-text-opacity)); @@ -2170,16 +2170,16 @@ li::marker { width: unset; } -.hover\:bg-indigo-200:hover { - --tw-bg-opacity: 1; - background-color: rgba(199, 210, 254, var(--tw-bg-opacity)); -} - .hover\:bg-blue-200:hover { --tw-bg-opacity: 1; background-color: rgba(191, 219, 254, var(--tw-bg-opacity)); } +.hover\:bg-indigo-200:hover { + --tw-bg-opacity: 1; + background-color: rgba(199, 210, 254, var(--tw-bg-opacity)); +} + .hover\:text-blue-800:hover { --tw-text-opacity: 1; color: rgba(30, 64, 175, var(--tw-text-opacity)); @@ -2214,14 +2214,14 @@ li::marker { height: 6rem; } - .sm\:w-auto { - width: auto; - } - .sm\:w-24 { width: 6rem; } + .sm\:w-auto { + width: auto; + } + .sm\:max-w-sm { max-width: 24rem; } diff --git a/package.json b/package.json index 6081d4af3f..2505a2740f 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "scripts": { "increase-memory": "export NODE_OPTIONS=--max_old_space_size=6182", "start": "npm run start:prepare && npm-run-all --parallel start:parallel:*", + "strt": "npm run start:prepare && npm run start:parallel:parcel", "start:prepare": "ts-node scripts/generateLayerOverview.ts --no-fail && npm run increase-memory", "start:parallel:parcel": "parcel *.html UI/** Logic/** assets/*.json assets/svg/* assets/generated/* assets/layers/*/*.svg assets/tagRenderings/*.json assets/themes/*/*.svg assets/themes/*/*.png vendor/* vendor/*/*", "start:parallel:tailwindcli": "tailwindcss -i index.css -o css/index-tailwind-output.css --watch",