From 0c879fc9c07006f5fc39efcae9df4b285cd640bd Mon Sep 17 00:00:00 2001 From: Tom Ashworth Date: Wed, 23 Oct 2024 10:33:27 +0100 Subject: [PATCH] chore: update package versions --- name-badge-automater.sln | 39 + .../NameBadgeAutomater.csproj | 10 +- .../Services/PowerPointTemplateService.cs | 2 +- src/NameBadgeAutomater/wwwroot/css/app.css | 754 +++++++++--------- .../NameBadgeAutomater.Tests.csproj | 10 +- 5 files changed, 433 insertions(+), 382 deletions(-) create mode 100644 name-badge-automater.sln diff --git a/name-badge-automater.sln b/name-badge-automater.sln new file mode 100644 index 0000000..132c2b2 --- /dev/null +++ b/name-badge-automater.sln @@ -0,0 +1,39 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.5.002.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{E4D75206-EF15-49E8-91FA-87082C5348AE}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NameBadgeAutomater", "src\NameBadgeAutomater\NameBadgeAutomater.csproj", "{45EF9CA9-9E78-400A-BE8E-9B3CE69EF8D9}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{64F5CC21-FA62-4413-9631-516A52227F64}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NameBadgeAutomater.Tests", "tests\NameBadgeAutomater.Tests\NameBadgeAutomater.Tests.csproj", "{91DD47EB-0541-4A96-BD0B-B6FC4970F42D}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {45EF9CA9-9E78-400A-BE8E-9B3CE69EF8D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {45EF9CA9-9E78-400A-BE8E-9B3CE69EF8D9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {45EF9CA9-9E78-400A-BE8E-9B3CE69EF8D9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {45EF9CA9-9E78-400A-BE8E-9B3CE69EF8D9}.Release|Any CPU.Build.0 = Release|Any CPU + {91DD47EB-0541-4A96-BD0B-B6FC4970F42D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {91DD47EB-0541-4A96-BD0B-B6FC4970F42D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {91DD47EB-0541-4A96-BD0B-B6FC4970F42D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {91DD47EB-0541-4A96-BD0B-B6FC4970F42D}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {45EF9CA9-9E78-400A-BE8E-9B3CE69EF8D9} = {E4D75206-EF15-49E8-91FA-87082C5348AE} + {91DD47EB-0541-4A96-BD0B-B6FC4970F42D} = {64F5CC21-FA62-4413-9631-516A52227F64} + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {5BEF5932-9430-4556-8746-E82E96B8A51E} + EndGlobalSection +EndGlobal diff --git a/src/NameBadgeAutomater/NameBadgeAutomater.csproj b/src/NameBadgeAutomater/NameBadgeAutomater.csproj index efe3ab8..d187eaa 100644 --- a/src/NameBadgeAutomater/NameBadgeAutomater.csproj +++ b/src/NameBadgeAutomater/NameBadgeAutomater.csproj @@ -11,12 +11,12 @@ - + - - - - + + + + diff --git a/src/NameBadgeAutomater/Services/PowerPointTemplateService.cs b/src/NameBadgeAutomater/Services/PowerPointTemplateService.cs index 5901c99..eb41799 100644 --- a/src/NameBadgeAutomater/Services/PowerPointTemplateService.cs +++ b/src/NameBadgeAutomater/Services/PowerPointTemplateService.cs @@ -97,7 +97,7 @@ public byte[] GenerateFromTemplate(byte[] fileBytes, List people, int ba // Save document using var outStream = new MemoryStream(); - presentationDocument.Clone(outStream).Close(); + presentationDocument.Clone(outStream).Dispose(); return outStream.ToArray(); } diff --git a/src/NameBadgeAutomater/wwwroot/css/app.css b/src/NameBadgeAutomater/wwwroot/css/app.css index c221af4..4b71d43 100644 --- a/src/NameBadgeAutomater/wwwroot/css/app.css +++ b/src/NameBadgeAutomater/wwwroot/css/app.css @@ -1,5 +1,113 @@ +*, ::before, ::after { + --tw-border-spacing-x: 0; + --tw-border-spacing-y: 0; + --tw-translate-x: 0; + --tw-translate-y: 0; + --tw-rotate: 0; + --tw-skew-x: 0; + --tw-skew-y: 0; + --tw-scale-x: 1; + --tw-scale-y: 1; + --tw-pan-x: ; + --tw-pan-y: ; + --tw-pinch-zoom: ; + --tw-scroll-snap-strictness: proximity; + --tw-gradient-from-position: ; + --tw-gradient-via-position: ; + --tw-gradient-to-position: ; + --tw-ordinal: ; + --tw-slashed-zero: ; + --tw-numeric-figure: ; + --tw-numeric-spacing: ; + --tw-numeric-fraction: ; + --tw-ring-inset: ; + --tw-ring-offset-width: 0px; + --tw-ring-offset-color: #fff; + --tw-ring-color: rgb(59 130 246 / 0.5); + --tw-ring-offset-shadow: 0 0 #0000; + --tw-ring-shadow: 0 0 #0000; + --tw-shadow: 0 0 #0000; + --tw-shadow-colored: 0 0 #0000; + --tw-blur: ; + --tw-brightness: ; + --tw-contrast: ; + --tw-grayscale: ; + --tw-hue-rotate: ; + --tw-invert: ; + --tw-saturate: ; + --tw-sepia: ; + --tw-drop-shadow: ; + --tw-backdrop-blur: ; + --tw-backdrop-brightness: ; + --tw-backdrop-contrast: ; + --tw-backdrop-grayscale: ; + --tw-backdrop-hue-rotate: ; + --tw-backdrop-invert: ; + --tw-backdrop-opacity: ; + --tw-backdrop-saturate: ; + --tw-backdrop-sepia: ; + --tw-contain-size: ; + --tw-contain-layout: ; + --tw-contain-paint: ; + --tw-contain-style: ; +} + +::backdrop { + --tw-border-spacing-x: 0; + --tw-border-spacing-y: 0; + --tw-translate-x: 0; + --tw-translate-y: 0; + --tw-rotate: 0; + --tw-skew-x: 0; + --tw-skew-y: 0; + --tw-scale-x: 1; + --tw-scale-y: 1; + --tw-pan-x: ; + --tw-pan-y: ; + --tw-pinch-zoom: ; + --tw-scroll-snap-strictness: proximity; + --tw-gradient-from-position: ; + --tw-gradient-via-position: ; + --tw-gradient-to-position: ; + --tw-ordinal: ; + --tw-slashed-zero: ; + --tw-numeric-figure: ; + --tw-numeric-spacing: ; + --tw-numeric-fraction: ; + --tw-ring-inset: ; + --tw-ring-offset-width: 0px; + --tw-ring-offset-color: #fff; + --tw-ring-color: rgb(59 130 246 / 0.5); + --tw-ring-offset-shadow: 0 0 #0000; + --tw-ring-shadow: 0 0 #0000; + --tw-shadow: 0 0 #0000; + --tw-shadow-colored: 0 0 #0000; + --tw-blur: ; + --tw-brightness: ; + --tw-contrast: ; + --tw-grayscale: ; + --tw-hue-rotate: ; + --tw-invert: ; + --tw-saturate: ; + --tw-sepia: ; + --tw-drop-shadow: ; + --tw-backdrop-blur: ; + --tw-backdrop-brightness: ; + --tw-backdrop-contrast: ; + --tw-backdrop-grayscale: ; + --tw-backdrop-hue-rotate: ; + --tw-backdrop-invert: ; + --tw-backdrop-opacity: ; + --tw-backdrop-saturate: ; + --tw-backdrop-sepia: ; + --tw-contain-size: ; + --tw-contain-layout: ; + --tw-contain-paint: ; + --tw-contain-style: ; +} + /* -! tailwindcss v3.2.4 | MIT License | https://tailwindcss.com +! tailwindcss v3.4.14 | MIT License | https://tailwindcss.com */ /* @@ -31,9 +139,12 @@ 3. Use a more readable tab size. 4. Use the user's configured `sans` font-family by default. 5. Use the user's configured `sans` font-feature-settings by default. +6. Use the user's configured `sans` font-variation-settings by default. +7. Disable tap highlights on iOS */ -html { +html, +:host { line-height: 1.5; /* 1 */ -webkit-text-size-adjust: 100%; @@ -43,10 +154,14 @@ html { -o-tab-size: 4; tab-size: 4; /* 3 */ - font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */ font-feature-settings: normal; /* 5 */ + font-variation-settings: normal; + /* 6 */ + -webkit-tap-highlight-color: transparent; + /* 7 */ } /* @@ -118,8 +233,10 @@ strong { } /* -1. Use the user's configured `mono` font family by default. -2. Correct the odd `em` font sizing in all browsers. +1. Use the user's configured `mono` font-family by default. +2. Use the user's configured `mono` font-feature-settings by default. +3. Use the user's configured `mono` font-variation-settings by default. +4. Correct the odd `em` font sizing in all browsers. */ code, @@ -128,8 +245,12 @@ samp, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */ - font-size: 1em; + font-feature-settings: normal; /* 2 */ + font-variation-settings: normal; + /* 3 */ + font-size: 1em; + /* 4 */ } /* @@ -188,12 +309,18 @@ select, textarea { font-family: inherit; /* 1 */ + font-feature-settings: inherit; + /* 1 */ + font-variation-settings: inherit; + /* 1 */ font-size: 100%; /* 1 */ font-weight: inherit; /* 1 */ line-height: inherit; /* 1 */ + letter-spacing: inherit; + /* 1 */ color: inherit; /* 1 */ margin: 0; @@ -217,9 +344,9 @@ select { */ button, -[type='button'], -[type='reset'], -[type='submit'] { +input:where([type='button']), +input:where([type='reset']), +input:where([type='submit']) { -webkit-appearance: button; /* 1 */ background-color: transparent; @@ -338,6 +465,14 @@ menu { padding: 0; } +/* +Reset default styling for dialogs. +*/ + +dialog { + padding: 0; +} + /* Prevent resizing textareas horizontally by default. */ @@ -415,104 +550,10 @@ video { /* Make elements with the HTML hidden attribute stay hidden by default */ -[hidden] { +[hidden]:where(:not([hidden="until-found"])) { display: none; } -*, ::before, ::after { - --tw-border-spacing-x: 0; - --tw-border-spacing-y: 0; - --tw-translate-x: 0; - --tw-translate-y: 0; - --tw-rotate: 0; - --tw-skew-x: 0; - --tw-skew-y: 0; - --tw-scale-x: 1; - --tw-scale-y: 1; - --tw-pan-x: ; - --tw-pan-y: ; - --tw-pinch-zoom: ; - --tw-scroll-snap-strictness: proximity; - --tw-ordinal: ; - --tw-slashed-zero: ; - --tw-numeric-figure: ; - --tw-numeric-spacing: ; - --tw-numeric-fraction: ; - --tw-ring-inset: ; - --tw-ring-offset-width: 0px; - --tw-ring-offset-color: #fff; - --tw-ring-color: rgb(59 130 246 / 0.5); - --tw-ring-offset-shadow: 0 0 #0000; - --tw-ring-shadow: 0 0 #0000; - --tw-shadow: 0 0 #0000; - --tw-shadow-colored: 0 0 #0000; - --tw-blur: ; - --tw-brightness: ; - --tw-contrast: ; - --tw-grayscale: ; - --tw-hue-rotate: ; - --tw-invert: ; - --tw-saturate: ; - --tw-sepia: ; - --tw-drop-shadow: ; - --tw-backdrop-blur: ; - --tw-backdrop-brightness: ; - --tw-backdrop-contrast: ; - --tw-backdrop-grayscale: ; - --tw-backdrop-hue-rotate: ; - --tw-backdrop-invert: ; - --tw-backdrop-opacity: ; - --tw-backdrop-saturate: ; - --tw-backdrop-sepia: ; -} - -::backdrop { - --tw-border-spacing-x: 0; - --tw-border-spacing-y: 0; - --tw-translate-x: 0; - --tw-translate-y: 0; - --tw-rotate: 0; - --tw-skew-x: 0; - --tw-skew-y: 0; - --tw-scale-x: 1; - --tw-scale-y: 1; - --tw-pan-x: ; - --tw-pan-y: ; - --tw-pinch-zoom: ; - --tw-scroll-snap-strictness: proximity; - --tw-ordinal: ; - --tw-slashed-zero: ; - --tw-numeric-figure: ; - --tw-numeric-spacing: ; - --tw-numeric-fraction: ; - --tw-ring-inset: ; - --tw-ring-offset-width: 0px; - --tw-ring-offset-color: #fff; - --tw-ring-color: rgb(59 130 246 / 0.5); - --tw-ring-offset-shadow: 0 0 #0000; - --tw-ring-shadow: 0 0 #0000; - --tw-shadow: 0 0 #0000; - --tw-shadow-colored: 0 0 #0000; - --tw-blur: ; - --tw-brightness: ; - --tw-contrast: ; - --tw-grayscale: ; - --tw-hue-rotate: ; - --tw-invert: ; - --tw-saturate: ; - --tw-sepia: ; - --tw-drop-shadow: ; - --tw-backdrop-blur: ; - --tw-backdrop-brightness: ; - --tw-backdrop-contrast: ; - --tw-backdrop-grayscale: ; - --tw-backdrop-hue-rotate: ; - --tw-backdrop-invert: ; - --tw-backdrop-opacity: ; - --tw-backdrop-saturate: ; - --tw-backdrop-sepia: ; -} - .sr-only { position: absolute; width: 1px; @@ -553,11 +594,6 @@ video { margin: 2rem; } -.mx-auto { - margin-left: auto; - margin-right: auto; -} - .-mx-1\.5 { margin-left: -0.375rem; margin-right: -0.375rem; @@ -568,42 +604,45 @@ video { margin-bottom: -0.375rem; } -.-mx-1 { - margin-left: -0.25rem; - margin-right: -0.25rem; -} - -.-my-1 { - margin-top: -0.25rem; - margin-bottom: -0.25rem; +.mx-auto { + margin-left: auto; + margin-right: auto; } -.mb-4 { - margin-bottom: 1rem; +.-mb-px { + margin-bottom: -1px; } -.ml-3 { - margin-left: 0.75rem; +.mb-1 { + margin-bottom: 0.25rem; } -.mr-2 { - margin-right: 0.5rem; +.mb-2 { + margin-bottom: 0.5rem; } .mb-3 { margin-bottom: 0.75rem; } -.-mb-px { - margin-bottom: -1px; +.mb-4 { + margin-bottom: 1rem; +} + +.ml-3 { + margin-left: 0.75rem; } .ml-5 { margin-left: 1.25rem; } -.mb-2 { - margin-bottom: 0.5rem; +.ml-auto { + margin-left: auto; +} + +.mr-2 { + margin-right: 0.5rem; } .mr-3 { @@ -614,14 +653,6 @@ video { margin-top: 0.5rem; } -.mb-1 { - margin-bottom: 0.25rem; -} - -.ml-auto { - margin-left: auto; -} - .block { display: block; } @@ -650,18 +681,6 @@ video { display: grid; } -.h-6 { - height: 1.5rem; -} - -.h-5 { - height: 1.25rem; -} - -.h-screen { - height: 100vh; -} - .h-10 { height: 2.5rem; } @@ -670,52 +689,64 @@ video { height: 1rem; } +.h-5 { + height: 1.25rem; +} + +.h-6 { + height: 1.5rem; +} + .h-64 { height: 16rem; } +.h-8 { + height: 2rem; +} + .h-full { height: 100%; } -.h-8 { - height: 2rem; +.h-screen { + height: 100vh; } .min-h-screen { min-height: 100vh; } -.w-11 { - width: 2.75rem; +.w-10 { + width: 2.5rem; } -.w-96 { - width: 24rem; +.w-11 { + width: 2.75rem; } -.w-6 { - width: 1.5rem; +.w-4 { + width: 1rem; } .w-5 { width: 1.25rem; } -.w-10 { - width: 2.5rem; +.w-6 { + width: 1.5rem; } -.w-full { - width: 100%; +.w-8 { + width: 2rem; } -.w-4 { - width: 1rem; +.w-96 { + width: 24rem; } -.w-8 { - width: 2rem; +.w-full { + width: 100%; } .max-w-3xl { @@ -810,6 +841,10 @@ video { overflow-wrap: break-word; } +.rounded { + border-radius: 0.25rem; +} + .rounded-full { border-radius: 9999px; } @@ -818,10 +853,6 @@ video { border-radius: 0.5rem; } -.rounded { - border-radius: 0.25rem; -} - .rounded-t-lg { border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; @@ -847,28 +878,38 @@ video { border-style: dashed; } +.border-blue-600 { + --tw-border-opacity: 1; + border-color: rgb(37 99 235 / var(--tw-border-opacity)); +} + .border-gray-200 { --tw-border-opacity: 1; border-color: rgb(229 231 235 / var(--tw-border-opacity)); } -.border-blue-600 { +.border-gray-300 { --tw-border-opacity: 1; - border-color: rgb(37 99 235 / var(--tw-border-opacity)); + border-color: rgb(209 213 219 / var(--tw-border-opacity)); } .border-transparent { border-color: transparent; } -.border-gray-300 { - --tw-border-opacity: 1; - border-color: rgb(209 213 219 / var(--tw-border-opacity)); +.bg-blue-100 { + --tw-bg-opacity: 1; + background-color: rgb(219 234 254 / var(--tw-bg-opacity)); } -.bg-gray-200 { +.bg-blue-50 { --tw-bg-opacity: 1; - background-color: rgb(229 231 235 / var(--tw-bg-opacity)); + background-color: rgb(239 246 255 / var(--tw-bg-opacity)); +} + +.bg-blue-600 { + --tw-bg-opacity: 1; + background-color: rgb(37 99 235 / var(--tw-bg-opacity)); } .bg-blue-700 { @@ -881,29 +922,19 @@ video { background-color: rgb(243 244 246 / var(--tw-bg-opacity)); } -.bg-gray-50 { +.bg-gray-200 { --tw-bg-opacity: 1; - background-color: rgb(249 250 251 / var(--tw-bg-opacity)); + background-color: rgb(229 231 235 / var(--tw-bg-opacity)); } -.bg-blue-50 { +.bg-gray-50 { --tw-bg-opacity: 1; - background-color: rgb(239 246 255 / var(--tw-bg-opacity)); + background-color: rgb(249 250 251 / var(--tw-bg-opacity)); } .bg-orange-100 { --tw-bg-opacity: 1; - background-color: rgb(255 237 213 / var(--tw-bg-opacity)); -} - -.bg-white { - --tw-bg-opacity: 1; - background-color: rgb(255 255 255 / var(--tw-bg-opacity)); -} - -.bg-blue-100 { - --tw-bg-opacity: 1; - background-color: rgb(219 234 254 / var(--tw-bg-opacity)); + background-color: rgb(255 237 213 / var(--tw-bg-opacity)); } .bg-red-100 { @@ -911,9 +942,9 @@ video { background-color: rgb(254 226 226 / var(--tw-bg-opacity)); } -.bg-blue-600 { +.bg-white { --tw-bg-opacity: 1; - background-color: rgb(37 99 235 / var(--tw-bg-opacity)); + background-color: rgb(255 255 255 / var(--tw-bg-opacity)); } .fill-blue-600 { @@ -936,53 +967,54 @@ video { stroke-width: 2; } +.p-1\.5 { + padding: 0.375rem; +} + .p-2 { padding: 0.5rem; } -.p-8 { - padding: 2rem; +.p-2\.5 { + padding: 0.625rem; } .p-4 { padding: 1rem; } -.p-2\.5 { - padding: 0.625rem; -} - -.p-1\.5 { - padding: 0.375rem; +.p-8 { + padding: 2rem; } -.p-1 { - padding: 0.25rem; +.px-2 { + padding-left: 0.5rem; + padding-right: 0.5rem; } -.px-5 { - padding-left: 1.25rem; - padding-right: 1.25rem; +.px-2\.5 { + padding-left: 0.625rem; + padding-right: 0.625rem; } -.py-2\.5 { - padding-top: 0.625rem; - padding-bottom: 0.625rem; +.px-3 { + padding-left: 0.75rem; + padding-right: 0.75rem; } -.py-2 { - padding-top: 0.5rem; - padding-bottom: 0.5rem; +.px-4 { + padding-left: 1rem; + padding-right: 1rem; } -.py-4 { - padding-top: 1rem; - padding-bottom: 1rem; +.px-5 { + padding-left: 1.25rem; + padding-right: 1.25rem; } -.px-3 { - padding-left: 0.75rem; - padding-right: 0.75rem; +.px-6 { + padding-left: 1.5rem; + padding-right: 1.5rem; } .px-8 { @@ -990,24 +1022,24 @@ video { padding-right: 2rem; } -.px-2\.5 { - padding-left: 0.625rem; - padding-right: 0.625rem; -} - .py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; } -.px-2 { - padding-left: 0.5rem; - padding-right: 0.5rem; +.py-1\.5 { + padding-top: 0.375rem; + padding-bottom: 0.375rem; +} + +.py-2 { + padding-top: 0.5rem; + padding-bottom: 0.5rem; } -.py-0 { - padding-top: 0px; - padding-bottom: 0px; +.py-2\.5 { + padding-top: 0.625rem; + padding-bottom: 0.625rem; } .py-3 { @@ -1015,24 +1047,13 @@ video { padding-bottom: 0.75rem; } -.px-6 { - padding-left: 1.5rem; - padding-right: 1.5rem; -} - -.px-4 { - padding-left: 1rem; - padding-right: 1rem; -} - -.py-1\.5 { - padding-top: 0.375rem; - padding-bottom: 0.375rem; +.py-4 { + padding-top: 1rem; + padding-bottom: 1rem; } -.py-1 { - padding-top: 0.25rem; - padding-bottom: 0.25rem; +.pb-6 { + padding-bottom: 1.5rem; } .pt-16 { @@ -1043,10 +1064,6 @@ video { padding-top: 1.25rem; } -.pb-6 { - padding-bottom: 1.5rem; -} - .text-left { text-align: left; } @@ -1060,11 +1077,6 @@ video { line-height: 2rem; } -.text-sm { - font-size: 0.875rem; - line-height: 1.25rem; -} - .text-4xl { font-size: 2.25rem; line-height: 2.5rem; @@ -1075,6 +1087,11 @@ video { line-height: 1.5rem; } +.text-sm { + font-size: 0.875rem; + line-height: 1.25rem; +} + .text-xs { font-size: 0.75rem; line-height: 1rem; @@ -1108,24 +1125,19 @@ video { letter-spacing: -0.025em; } -.text-gray-900 { - --tw-text-opacity: 1; - color: rgb(17 24 39 / var(--tw-text-opacity)); -} - -.text-gray-600 { +.text-blue-500 { --tw-text-opacity: 1; - color: rgb(75 85 99 / var(--tw-text-opacity)); + color: rgb(59 130 246 / var(--tw-text-opacity)); } -.text-white { +.text-blue-600 { --tw-text-opacity: 1; - color: rgb(255 255 255 / var(--tw-text-opacity)); + color: rgb(37 99 235 / var(--tw-text-opacity)); } -.text-orange-800 { +.text-blue-700 { --tw-text-opacity: 1; - color: rgb(154 52 18 / var(--tw-text-opacity)); + color: rgb(29 78 216 / var(--tw-text-opacity)); } .text-blue-900 { @@ -1133,9 +1145,9 @@ video { color: rgb(30 58 138 / var(--tw-text-opacity)); } -.text-blue-600 { +.text-gray-200 { --tw-text-opacity: 1; - color: rgb(37 99 235 / var(--tw-text-opacity)); + color: rgb(229 231 235 / var(--tw-text-opacity)); } .text-gray-400 { @@ -1143,9 +1155,9 @@ video { color: rgb(156 163 175 / var(--tw-text-opacity)); } -.text-gray-200 { +.text-gray-600 { --tw-text-opacity: 1; - color: rgb(229 231 235 / var(--tw-text-opacity)); + color: rgb(75 85 99 / var(--tw-text-opacity)); } .text-gray-700 { @@ -1153,9 +1165,14 @@ video { color: rgb(55 65 81 / var(--tw-text-opacity)); } -.text-blue-700 { +.text-gray-900 { --tw-text-opacity: 1; - color: rgb(29 78 216 / var(--tw-text-opacity)); + color: rgb(17 24 39 / var(--tw-text-opacity)); +} + +.text-orange-800 { + --tw-text-opacity: 1; + color: rgb(154 52 18 / var(--tw-text-opacity)); } .text-red-700 { @@ -1163,9 +1180,9 @@ video { color: rgb(185 28 28 / var(--tw-text-opacity)); } -.text-blue-500 { +.text-white { --tw-text-opacity: 1; - color: rgb(59 130 246 / var(--tw-text-opacity)); + color: rgb(255 255 255 / var(--tw-text-opacity)); } .underline { @@ -1176,18 +1193,18 @@ video { opacity: 0; } -.shadow-md { - --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); - --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color); - box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); -} - .shadow { --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); } +.shadow-md { + --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); + --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color); + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); +} + .transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter; transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; @@ -1196,14 +1213,14 @@ video { transition-duration: 150ms; } -.duration-75 { - transition-duration: 75ms; -} - .duration-150 { transition-duration: 150ms; } +.duration-75 { + transition-duration: 75ms; +} + #blazor-error-ui { background: lightyellow; bottom: 0; @@ -1238,19 +1255,14 @@ video { position: absolute; } -.after\:top-0\.5::after { - content: var(--tw-content); - top: 0.125rem; -} - .after\:left-\[2px\]::after { content: var(--tw-content); left: 2px; } -.after\:top-0::after { +.after\:top-0\.5::after { content: var(--tw-content); - top: 0px; + top: 0.125rem; } .after\:top-\[2px\]::after { @@ -1312,6 +1324,11 @@ video { border-color: rgb(209 213 219 / var(--tw-border-opacity)); } +.hover\:bg-blue-700:hover { + --tw-bg-opacity: 1; + background-color: rgb(29 78 216 / var(--tw-bg-opacity)); +} + .hover\:bg-blue-800:hover { --tw-bg-opacity: 1; background-color: rgb(30 64 175 / var(--tw-bg-opacity)); @@ -1322,9 +1339,9 @@ video { background-color: rgb(243 244 246 / var(--tw-bg-opacity)); } -.hover\:bg-blue-700:hover { - --tw-bg-opacity: 1; - background-color: rgb(29 78 216 / var(--tw-bg-opacity)); +.hover\:text-blue-700:hover { + --tw-text-opacity: 1; + color: rgb(29 78 216 / var(--tw-text-opacity)); } .hover\:text-blue-800:hover { @@ -1337,11 +1354,6 @@ video { color: rgb(75 85 99 / var(--tw-text-opacity)); } -.hover\:text-blue-700:hover { - --tw-text-opacity: 1; - color: rgb(29 78 216 / var(--tw-text-opacity)); -} - .hover\:text-gray-900:hover { --tw-text-opacity: 1; color: rgb(17 24 39 / var(--tw-text-opacity)); @@ -1365,15 +1377,15 @@ video { outline-offset: 2px; } -.focus\:ring-4:focus { +.focus\:ring-2:focus { --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); - --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); } -.focus\:ring-2:focus { +.focus\:ring-4:focus { --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); - --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); } @@ -1406,14 +1418,14 @@ video { background-color: rgb(96 165 250 / var(--tw-bg-opacity)); } -.group:hover .group-hover\:text-gray-900 { +.group:hover .group-hover\:text-gray-600 { --tw-text-opacity: 1; - color: rgb(17 24 39 / var(--tw-text-opacity)); + color: rgb(75 85 99 / var(--tw-text-opacity)); } -.group:hover .group-hover\:text-gray-600 { +.group:hover .group-hover\:text-gray-900 { --tw-text-opacity: 1; - color: rgb(75 85 99 / var(--tw-text-opacity)); + color: rgb(17 24 39 / var(--tw-text-opacity)); } .peer:checked ~ .peer-checked\:bg-blue-600 { @@ -1449,202 +1461,202 @@ video { --tw-ring-color: rgb(147 197 253 / var(--tw-ring-opacity)); } -.dark .dark\:border-gray-600 { +.dark\:border-blue-500:is(.dark *) { --tw-border-opacity: 1; - border-color: rgb(75 85 99 / var(--tw-border-opacity)); + border-color: rgb(59 130 246 / var(--tw-border-opacity)); } -.dark .dark\:border-gray-700 { +.dark\:border-gray-600:is(.dark *) { --tw-border-opacity: 1; - border-color: rgb(55 65 81 / var(--tw-border-opacity)); + border-color: rgb(75 85 99 / var(--tw-border-opacity)); } -.dark .dark\:border-blue-500 { +.dark\:border-gray-700:is(.dark *) { --tw-border-opacity: 1; - border-color: rgb(59 130 246 / var(--tw-border-opacity)); + border-color: rgb(55 65 81 / var(--tw-border-opacity)); } -.dark .dark\:bg-gray-700 { +.dark\:bg-blue-200:is(.dark *) { --tw-bg-opacity: 1; - background-color: rgb(55 65 81 / var(--tw-bg-opacity)); + background-color: rgb(191 219 254 / var(--tw-bg-opacity)); } -.dark .dark\:bg-blue-600 { +.dark\:bg-blue-500:is(.dark *) { --tw-bg-opacity: 1; - background-color: rgb(37 99 235 / var(--tw-bg-opacity)); + background-color: rgb(59 130 246 / var(--tw-bg-opacity)); } -.dark .dark\:bg-gray-800 { +.dark\:bg-blue-600:is(.dark *) { --tw-bg-opacity: 1; - background-color: rgb(31 41 55 / var(--tw-bg-opacity)); + background-color: rgb(37 99 235 / var(--tw-bg-opacity)); } -.dark .dark\:bg-blue-900 { +.dark\:bg-blue-900:is(.dark *) { --tw-bg-opacity: 1; background-color: rgb(30 58 138 / var(--tw-bg-opacity)); } -.dark .dark\:bg-orange-200 { +.dark\:bg-gray-700:is(.dark *) { --tw-bg-opacity: 1; - background-color: rgb(254 215 170 / var(--tw-bg-opacity)); + background-color: rgb(55 65 81 / var(--tw-bg-opacity)); } -.dark .dark\:bg-gray-900 { +.dark\:bg-gray-800:is(.dark *) { --tw-bg-opacity: 1; - background-color: rgb(17 24 39 / var(--tw-bg-opacity)); + background-color: rgb(31 41 55 / var(--tw-bg-opacity)); } -.dark .dark\:bg-blue-200 { +.dark\:bg-gray-900:is(.dark *) { --tw-bg-opacity: 1; - background-color: rgb(191 219 254 / var(--tw-bg-opacity)); + background-color: rgb(17 24 39 / var(--tw-bg-opacity)); } -.dark .dark\:bg-red-200 { +.dark\:bg-orange-200:is(.dark *) { --tw-bg-opacity: 1; - background-color: rgb(254 202 202 / var(--tw-bg-opacity)); + background-color: rgb(254 215 170 / var(--tw-bg-opacity)); } -.dark .dark\:bg-blue-500 { +.dark\:bg-red-200:is(.dark *) { --tw-bg-opacity: 1; - background-color: rgb(59 130 246 / var(--tw-bg-opacity)); + background-color: rgb(254 202 202 / var(--tw-bg-opacity)); } -.dark .dark\:text-white { +.dark\:text-blue-300:is(.dark *) { --tw-text-opacity: 1; - color: rgb(255 255 255 / var(--tw-text-opacity)); + color: rgb(147 197 253 / var(--tw-text-opacity)); } -.dark .dark\:text-gray-400 { +.dark\:text-blue-400:is(.dark *) { --tw-text-opacity: 1; - color: rgb(156 163 175 / var(--tw-text-opacity)); + color: rgb(96 165 250 / var(--tw-text-opacity)); } -.dark .dark\:text-orange-900 { +.dark\:text-blue-500:is(.dark *) { --tw-text-opacity: 1; - color: rgb(124 45 18 / var(--tw-text-opacity)); + color: rgb(59 130 246 / var(--tw-text-opacity)); } -.dark .dark\:text-blue-400 { +.dark\:text-blue-800:is(.dark *) { --tw-text-opacity: 1; - color: rgb(96 165 250 / var(--tw-text-opacity)); + color: rgb(30 64 175 / var(--tw-text-opacity)); } -.dark .dark\:text-blue-500 { +.dark\:text-gray-300:is(.dark *) { --tw-text-opacity: 1; - color: rgb(59 130 246 / var(--tw-text-opacity)); + color: rgb(209 213 219 / var(--tw-text-opacity)); } -.dark .dark\:text-gray-600 { +.dark\:text-gray-400:is(.dark *) { --tw-text-opacity: 1; - color: rgb(75 85 99 / var(--tw-text-opacity)); + color: rgb(156 163 175 / var(--tw-text-opacity)); } -.dark .dark\:text-gray-300 { +.dark\:text-gray-600:is(.dark *) { --tw-text-opacity: 1; - color: rgb(209 213 219 / var(--tw-text-opacity)); + color: rgb(75 85 99 / var(--tw-text-opacity)); } -.dark .dark\:text-blue-800 { +.dark\:text-orange-900:is(.dark *) { --tw-text-opacity: 1; - color: rgb(30 64 175 / var(--tw-text-opacity)); + color: rgb(124 45 18 / var(--tw-text-opacity)); } -.dark .dark\:text-red-800 { +.dark\:text-red-800:is(.dark *) { --tw-text-opacity: 1; color: rgb(153 27 27 / var(--tw-text-opacity)); } -.dark .dark\:text-blue-300 { +.dark\:text-white:is(.dark *) { --tw-text-opacity: 1; - color: rgb(147 197 253 / var(--tw-text-opacity)); + color: rgb(255 255 255 / var(--tw-text-opacity)); } -.dark .dark\:placeholder-gray-400::-moz-placeholder { +.dark\:placeholder-gray-400:is(.dark *)::-moz-placeholder { --tw-placeholder-opacity: 1; color: rgb(156 163 175 / var(--tw-placeholder-opacity)); } -.dark .dark\:placeholder-gray-400::placeholder { +.dark\:placeholder-gray-400:is(.dark *)::placeholder { --tw-placeholder-opacity: 1; color: rgb(156 163 175 / var(--tw-placeholder-opacity)); } -.dark .dark\:hover\:border-gray-500:hover { +.dark\:hover\:border-gray-500:hover:is(.dark *) { --tw-border-opacity: 1; border-color: rgb(107 114 128 / var(--tw-border-opacity)); } -.dark .dark\:hover\:bg-blue-700:hover { +.dark\:hover\:bg-blue-600:hover:is(.dark *) { --tw-bg-opacity: 1; - background-color: rgb(29 78 216 / var(--tw-bg-opacity)); + background-color: rgb(37 99 235 / var(--tw-bg-opacity)); } -.dark .dark\:hover\:bg-gray-700:hover { +.dark\:hover\:bg-blue-700:hover:is(.dark *) { --tw-bg-opacity: 1; - background-color: rgb(55 65 81 / var(--tw-bg-opacity)); + background-color: rgb(29 78 216 / var(--tw-bg-opacity)); } -.dark .dark\:hover\:bg-gray-600:hover { +.dark\:hover\:bg-gray-600:hover:is(.dark *) { --tw-bg-opacity: 1; background-color: rgb(75 85 99 / var(--tw-bg-opacity)); } -.dark .dark\:hover\:bg-blue-600:hover { +.dark\:hover\:bg-gray-700:hover:is(.dark *) { --tw-bg-opacity: 1; - background-color: rgb(37 99 235 / var(--tw-bg-opacity)); + background-color: rgb(55 65 81 / var(--tw-bg-opacity)); } -.dark .dark\:hover\:text-blue-300:hover { +.dark\:hover\:text-blue-300:hover:is(.dark *) { --tw-text-opacity: 1; color: rgb(147 197 253 / var(--tw-text-opacity)); } -.dark .dark\:hover\:text-gray-300:hover { +.dark\:hover\:text-gray-300:hover:is(.dark *) { --tw-text-opacity: 1; color: rgb(209 213 219 / var(--tw-text-opacity)); } -.dark .dark\:hover\:text-white:hover { +.dark\:hover\:text-white:hover:is(.dark *) { --tw-text-opacity: 1; color: rgb(255 255 255 / var(--tw-text-opacity)); } -.dark .dark\:focus\:border-blue-500:focus { +.dark\:focus\:border-blue-500:focus:is(.dark *) { --tw-border-opacity: 1; border-color: rgb(59 130 246 / var(--tw-border-opacity)); } -.dark .dark\:focus\:ring-blue-800:focus { +.dark\:focus\:ring-blue-500:focus:is(.dark *) { --tw-ring-opacity: 1; - --tw-ring-color: rgb(30 64 175 / var(--tw-ring-opacity)); + --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity)); } -.dark .dark\:focus\:ring-blue-500:focus { +.dark\:focus\:ring-blue-800:focus:is(.dark *) { --tw-ring-opacity: 1; - --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity)); + --tw-ring-color: rgb(30 64 175 / var(--tw-ring-opacity)); } -.dark .dark\:focus\:ring-gray-700:focus { +.dark\:focus\:ring-gray-700:focus:is(.dark *) { --tw-ring-opacity: 1; --tw-ring-color: rgb(55 65 81 / var(--tw-ring-opacity)); } -.dark .disabled\:dark\:bg-blue-300:disabled { +.disabled\:dark\:bg-blue-300:is(.dark *):disabled { --tw-bg-opacity: 1; background-color: rgb(147 197 253 / var(--tw-bg-opacity)); } -.dark .group:hover .dark\:group-hover\:text-white { +.group:hover .dark\:group-hover\:text-gray-300:is(.dark *) { --tw-text-opacity: 1; - color: rgb(255 255 255 / var(--tw-text-opacity)); + color: rgb(209 213 219 / var(--tw-text-opacity)); } -.dark .group:hover .dark\:group-hover\:text-gray-300 { +.group:hover .dark\:group-hover\:text-white:is(.dark *) { --tw-text-opacity: 1; - color: rgb(209 213 219 / var(--tw-text-opacity)); + color: rgb(255 255 255 / var(--tw-text-opacity)); } -.dark .peer:focus ~ .dark\:peer-focus\:ring-blue-800 { +.peer:focus ~ .dark\:peer-focus\:ring-blue-800:is(.dark *) { --tw-ring-opacity: 1; --tw-ring-color: rgb(30 64 175 / var(--tw-ring-opacity)); } diff --git a/tests/NameBadgeAutomater.Tests/NameBadgeAutomater.Tests.csproj b/tests/NameBadgeAutomater.Tests/NameBadgeAutomater.Tests.csproj index 62a5a12..06ff9b8 100644 --- a/tests/NameBadgeAutomater.Tests/NameBadgeAutomater.Tests.csproj +++ b/tests/NameBadgeAutomater.Tests/NameBadgeAutomater.Tests.csproj @@ -9,14 +9,14 @@ - - - - + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all