From f75dd1995eedbe6465e2f35ce7fd41d4a000c3ca Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 30 Sep 2021 14:13:09 +0200 Subject: [PATCH] Changed some components classes to use new theme --- client/package.json | 3 +-- client/src/components/Snippets/SnippetCard.tsx | 9 +++++++-- client/src/components/Snippets/SnippetCode.tsx | 2 +- client/src/components/Snippets/SnippetDetails.tsx | 11 ++++++++--- client/src/components/Snippets/SnippetForm.tsx | 2 +- client/src/components/Snippets/SnippetPin.tsx | 4 ++-- client/src/components/UI/EmptyState.tsx | 4 ++-- client/src/components/UI/Layout.tsx | 2 +- client/src/components/UI/PageHeader.tsx | 2 +- client/src/containers/Home.tsx | 2 +- client/src/containers/Snippets.tsx | 6 ++++-- 11 files changed, 29 insertions(+), 18 deletions(-) diff --git a/client/package.json b/client/package.json index c9de3b3..55380c4 100644 --- a/client/package.json +++ b/client/package.json @@ -26,8 +26,7 @@ "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", - "eject": "react-scripts eject", - "postbuild": "purgecss --css build/static/css/*.css --content build/index.html build/static/js/*.js --output build/static/css" + "eject": "react-scripts eject" }, "eslintConfig": { "extends": [ diff --git a/client/src/components/Snippets/SnippetCard.tsx b/client/src/components/Snippets/SnippetCard.tsx index d880a30..22cf44c 100644 --- a/client/src/components/Snippets/SnippetCard.tsx +++ b/client/src/components/Snippets/SnippetCard.tsx @@ -51,7 +51,7 @@ export const SnippetCard = (props: Props): JSX.Element => { >