From 91dbd0e88f2bf3c6b5f4b397359d3b9d0f37cec5 Mon Sep 17 00:00:00 2001 From: Ivan <8611739+IRBorisov@users.noreply.github.com> Date: Mon, 16 Dec 2024 23:52:11 +0300 Subject: [PATCH] F: Rework colors using tailwind configs --- .../frontend/src/app/ApplicationLayout.tsx | 2 +- rsconcept/frontend/src/app/ErrorFallback.tsx | 2 +- .../src/app/Navigation/Navigation.tsx | 1 - .../src/app/Navigation/UserDropdown.tsx | 1 + .../frontend/src/components/DomainIcons.tsx | 28 +- .../src/components/RSInput/RSInput.tsx | 25 +- .../src/components/RSInput/bracketMatching.ts | 10 +- .../src/components/RefsInput/RefsInput.tsx | 19 +- .../src/components/RefsInput/tooltip.ts | 9 +- .../src/components/info/BadgeConstituenta.tsx | 13 +- .../src/components/info/BadgeGrammeme.tsx | 10 +- .../src/components/info/InfoCstClass.tsx | 5 +- .../src/components/info/InfoCstStatus.tsx | 5 +- .../src/components/info/InfoError.tsx | 3 +- .../components/select/PickConstituenta.tsx | 7 +- .../select/PickMultiConstituenta.tsx | 4 +- .../src/components/select/PickSchema.tsx | 5 +- .../components/select/PickSubstitutions.tsx | 20 +- .../frontend/src/components/ui/Checkbox.tsx | 2 +- .../src/components/ui/CheckboxTristate.tsx | 2 +- .../ui/DataTable/PaginationTools.tsx | 4 +- .../src/components/ui/DataTable/TableBody.tsx | 8 +- .../components/ui/DataTable/TableHeader.tsx | 2 +- .../frontend/src/components/ui/Loader.tsx | 7 +- .../frontend/src/components/ui/Modal.tsx | 4 +- .../src/components/ui/SelectMulti.tsx | 15 +- .../src/components/ui/SelectSingle.tsx | 13 +- .../frontend/src/components/ui/TextURL.tsx | 2 +- .../src/components/wrap/ExpectedAnonymous.tsx | 2 +- .../src/context/ConceptOptionsContext.tsx | 11 - .../DlgConstituentaTemplate/TabArguments.tsx | 6 +- .../dialogs/DlgCreateCst/FormCreateCst.tsx | 2 +- .../dialogs/DlgEditOperation/TabSynthesis.tsx | 5 +- .../dialogs/DlgEditVersions/TableVersions.tsx | 6 +- .../src/dialogs/DlgShowAST/DlgShowAST.tsx | 5 +- .../src/dialogs/DlgShowAST/graph/ASTNode.tsx | 8 +- .../DlgShowTypeGraph/graph/CartesianEdge.tsx | 7 +- .../DlgShowTypeGraph/graph/MGraphNode.tsx | 9 +- .../pages/LibraryPage/TableLibraryItems.tsx | 9 +- rsconcept/frontend/src/pages/LoginPage.tsx | 2 +- .../ManualsPage/items/ui/HelpFormulaTree.tsx | 15 +- .../ManualsPage/items/ui/HelpLibrary.tsx | 5 +- .../ManualsPage/items/ui/HelpRSEditor.tsx | 9 +- .../ManualsPage/items/ui/HelpRSGraphTerm.tsx | 5 +- .../ManualsPage/items/ui/HelpTypeGraph.tsx | 9 +- .../pages/OssPage/EditorOssGraph/OssFlow.tsx | 5 +- .../OssPage/EditorOssGraph/graph/NodeCore.tsx | 2 +- .../frontend/src/pages/PasswordChangePage.tsx | 4 +- .../EditorConstituenta/FormConstituenta.tsx | 4 +- .../EditorRSExpression/ParsingResult.tsx | 2 +- .../EditorRSExpression/StatusBar.tsx | 6 +- .../EditorRSFormCard/EditorLibraryItem.tsx | 4 +- .../EditorRSFormCard/RSFormStats.tsx | 6 +- .../EditorRSFormCard/ToolbarItemAccess.tsx | 2 +- .../RSFormPage/EditorRSList/TableRSList.tsx | 4 +- .../EditorTermGraph/SchemasGuide.tsx | 6 +- .../RSFormPage/EditorTermGraph/TGFlow.tsx | 13 +- .../EditorTermGraph/ToolbarFocusedCst.tsx | 5 +- .../RSFormPage/EditorTermGraph/ViewHidden.tsx | 8 +- .../EditorTermGraph/graph/TGNode.tsx | 9 +- .../TableSideConstituents.tsx | 17 +- .../src/pages/RegisterPage/FormSignup.tsx | 6 +- .../src/pages/RestorePasswordPage.tsx | 2 +- .../pages/UserProfilePage/EditorPassword.tsx | 4 +- .../pages/UserProfilePage/EditorProfile.tsx | 2 +- rsconcept/frontend/src/styling/color.ts | 372 ++++++------------ rsconcept/frontend/src/styling/constants.css | 142 ++++--- rsconcept/frontend/src/styling/overrides.css | 97 ++--- rsconcept/frontend/src/styling/setup.css | 63 ++- rsconcept/frontend/src/styling/styles.css | 143 ++----- rsconcept/frontend/src/utils/codemirror.ts | 9 +- rsconcept/frontend/src/utils/utils.ts | 2 +- rsconcept/frontend/tailwind.config.js | 31 ++ rsconcept/frontend/vite.config.ts | 5 +- 74 files changed, 536 insertions(+), 782 deletions(-) diff --git a/rsconcept/frontend/src/app/ApplicationLayout.tsx b/rsconcept/frontend/src/app/ApplicationLayout.tsx index a4b6ec07..a9c0d87c 100644 --- a/rsconcept/frontend/src/app/ApplicationLayout.tsx +++ b/rsconcept/frontend/src/app/ApplicationLayout.tsx @@ -13,7 +13,7 @@ function ApplicationLayout() { const { viewportHeight, mainHeight, showScroll } = useConceptOptions(); return ( -
+
+

Что-то пошло не так!