From 42bf6db71cfc073e13cb16ac00ac39401269c433 Mon Sep 17 00:00:00 2001 From: Subhajit Ghosh <99127578+subhajit20@users.noreply.github.com> Date: Mon, 18 Sep 2023 06:12:59 +0000 Subject: [PATCH 01/31] Converted all the css to tailwind css of ErrorDisplay page --- components/ErrorDisplay/ErrorDisplay.js | 12 ++++--- .../ErrorDisplay/ErrorDisplay.module.css | 34 ------------------ .../__snapshots__/ErrorDisplay.test.js.snap | 36 ++++++++++++++++--- tailwind.config.js | 6 ++++ 4 files changed, 44 insertions(+), 44 deletions(-) diff --git a/components/ErrorDisplay/ErrorDisplay.js b/components/ErrorDisplay/ErrorDisplay.js index 135c9f5a0..411c83a85 100644 --- a/components/ErrorDisplay/ErrorDisplay.js +++ b/components/ErrorDisplay/ErrorDisplay.js @@ -21,11 +21,13 @@ function ErrorDisplay({ statusCode }) { -
+
We're so ashamed. You definitely weren't supposed to see this...
+ We're so ashamed. You definitely weren't supposed to see this... +
+We're so ashamed. You definitely weren't supposed to see this...
diff --git a/tailwind.config.js b/tailwind.config.js index 6723d5942..255270922 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -9,6 +9,12 @@ module.exports = { './src/**/*.{js,ts,jsx,tsx,mdx}', ], theme: { + screens: { + sm: '576px', + md: '768px', + lg: '992px', + xl: '1200px', + }, extend: {}, }, plugins: [], From 827b21d24dded3a2904b6f3fcc4ece9fa34ab824 Mon Sep 17 00:00:00 2001 From: Subhajit Ghosh <99127578+subhajit20@users.noreply.github.com> Date: Mon, 18 Sep 2023 06:21:30 +0000 Subject: [PATCH 02/31] Converted all the css to tailwind css of ErrorDisplay page --- .../__snapshots__/ErrorDisplay.test.js.snap | 26 ------------------- 1 file changed, 26 deletions(-) diff --git a/components/ErrorDisplay/__tests__/__snapshots__/ErrorDisplay.test.js.snap b/components/ErrorDisplay/__tests__/__snapshots__/ErrorDisplay.test.js.snap index 0ed365849..c7526f17c 100644 --- a/components/ErrorDisplay/__tests__/__snapshots__/ErrorDisplay.test.js.snap +++ b/components/ErrorDisplay/__tests__/__snapshots__/ErrorDisplay.test.js.snap @@ -1,31 +1,5 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`ErrorDisplay should render with just Received props 1`] = ` -- We're so ashamed. You definitely weren't supposed to see this... -
-+
We're so ashamed. You definitely weren't supposed to see this...
We're so ashamed. You definitely weren't supposed to see this...
diff --git a/tailwind.config.js b/tailwind.config.js index 255270922..70ab870b5 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -15,6 +15,10 @@ module.exports = { lg: '992px', xl: '1200px', }, + colors: { + themeGray: '#121212', + white: '#FFFFFF', + }, extend: {}, }, plugins: [], From 23a6499970b3038ec15724eaf6dbb913de507f55 Mon Sep 17 00:00:00 2001 From: Subhajit Ghosh <99127578+subhajit20@users.noreply.github.com> Date: Mon, 18 Sep 2023 14:52:21 +0000 Subject: [PATCH 04/31] Replace all styling with Tailwind --- .lintstagedrc | 10 ++-------- components/ErrorDisplay/ErrorDisplay.js | 6 +++--- .../__snapshots__/ErrorDisplay.test.js.snap | 6 +++--- cypress/downloads/downloads.html | Bin 45085 -> 6 bytes tailwind.config.js | 8 ++++---- 5 files changed, 12 insertions(+), 18 deletions(-) diff --git a/.lintstagedrc b/.lintstagedrc index 8d79dfc0a..90027c770 100644 --- a/.lintstagedrc +++ b/.lintstagedrc @@ -1,10 +1,4 @@ { - "*.js": [ - "prettier --write", - "eslint --fix", - ], - "*.css": [ - "prettier --write", - "stylelint --fix", - ] + "*.js": ["prettier --write", "eslint --fix"], + "*.css": ["prettier --write", "stylelint --fix"] } diff --git a/components/ErrorDisplay/ErrorDisplay.js b/components/ErrorDisplay/ErrorDisplay.js index 3947b1de7..728aff959 100644 --- a/components/ErrorDisplay/ErrorDisplay.js +++ b/components/ErrorDisplay/ErrorDisplay.js @@ -23,12 +23,12 @@ function ErrorDisplay({ statusCode }) {+
We're so ashamed. You definitely weren't supposed to see this...
We're so ashamed. You definitely weren't supposed to see this...
diff --git a/cypress/downloads/downloads.html b/cypress/downloads/downloads.html index 27610fe289fcc2b3c7bba5d8301d99ffa240e049..18d3040b4695e5d1cc0444139ff9b7b41672b535 100644 GIT binary patch literal 6 NcmZ=RGBRQ20ssX@0Vx0g literal 45085 zcmZ^JLyRyCtnJvgZQHhO+qP}n_RKf7ZQHhO-hcDn=H@nO(lkxlo+hV@R@jM&1sDJT zKokT30I3=Rstkl72#AOQ77UUqOd{+J77!2+6aY8~2p-@+KNL_95FkK17Z%ftdN(Cy z#r~os*z^^vzAA+zyPel^(A_nY_Dvi&N|r