From c5e41acc312ef811a9a345e615e6c3f937769fcb Mon Sep 17 00:00:00 2001 From: Ivan <8611739+IRBorisov@users.noreply.github.com> Date: Sat, 12 Apr 2025 21:44:13 +0300 Subject: [PATCH] F: Merge with shadcn styling Revert "F: Merge with shadcn styling" This reverts commit b9f8143b3e0a7f4726ab7751757b31532b0834f9. F: Merge with shadcn styling --- rsconcept/frontend/src/app/footer.tsx | 2 +- rsconcept/frontend/src/app/global-Loader.tsx | 2 +- .../frontend/src/app/mutation-errors.tsx | 4 +- .../src/app/navigation/navigation-button.tsx | 5 +- .../src/app/navigation/navigation.tsx | 2 +- .../src/components/container/divider.tsx | 5 +- .../src/components/container/tooltip.tsx | 5 +- .../src/components/control/button.tsx | 9 +- .../src/components/control/mini-button.tsx | 4 +- .../components/control/selector-button.tsx | 14 +-- .../src/components/control/submit-button.tsx | 7 +- .../src/components/control/text-url.tsx | 3 +- .../src/components/data-table/data-table.tsx | 4 +- .../data-table/pagination-tools.tsx | 14 +-- .../src/components/data-table/table-body.tsx | 6 +- .../components/data-table/table-header.tsx | 2 +- .../components/dropdown/dropdown-button.tsx | 10 +- .../src/components/dropdown/dropdown.tsx | 8 +- .../frontend/src/components/info-error.tsx | 4 +- .../components/input/checkbox-tristate.tsx | 5 +- .../src/components/input/checkbox.tsx | 5 +- .../src/components/input/error-field.tsx | 2 +- .../src/components/input/search-bar.tsx | 5 +- .../src/components/input/select-tree.tsx | 4 +- .../src/components/input/text-area.tsx | 15 ++- .../src/components/input/text-input.tsx | 9 +- .../src/components/modal/modal-backdrop.tsx | 2 +- .../src/components/modal/modal-form.tsx | 7 +- .../src/components/modal/modal-loader.tsx | 2 +- .../src/components/modal/modal-view.tsx | 10 +- .../src/components/tabs/tab-label.tsx | 2 +- .../frontend/src/components/ui/combo-box.tsx | 11 +- .../frontend/src/components/ui/command.tsx | 3 +- .../frontend/src/components/ui/dialog.tsx | 2 +- .../frontend/src/components/ui/popover.tsx | 2 +- .../frontend/src/components/ui/select.tsx | 15 ++- .../frontend/src/{lib => components}/utils.ts | 0 .../src/components/view/indicator.tsx | 2 +- .../auth/components/expected-anonymous.tsx | 2 +- .../src/features/auth/pages/login-page.tsx | 2 +- .../auth/pages/password-change-page.tsx | 2 +- .../auth/pages/restore-password-page.tsx | 2 +- .../features/help/components/badge-help.tsx | 8 +- .../features/help/items/ui/help-library.tsx | 2 +- .../features/help/items/ui/help-rseditor.tsx | 2 +- .../components/editor-library-item.tsx | 4 +- .../library/components/icon-access-policy.tsx | 6 +- .../components/icon-item-visibility.tsx | 4 +- .../components/icon-library-item-type.tsx | 4 +- .../library/components/icon-location-head.tsx | 8 +- .../components/icon-show-subfolders.tsx | 4 +- .../library/components/pick-schema.tsx | 8 +- .../library/components/select-item-type.tsx | 6 +- .../components/select-location-head.tsx | 6 +- .../library/components/select-location.tsx | 11 +- .../library/components/select-version.tsx | 2 +- .../components/toolbar-item-access.tsx | 4 +- .../library/components/toolbar-item-card.tsx | 5 +- .../pages/library-page/toolbar-search.tsx | 10 +- .../library-page/use-library-columns.tsx | 2 +- .../oss/components/icon-relocation-up.tsx | 4 +- .../oss/components/pick-multi-operation.tsx | 4 +- .../dlg-create-operation.tsx | 2 +- .../dlg-edit-operation/dlg-edit-operation.tsx | 2 +- .../oss/dialogs/dlg-relocate-constituents.tsx | 2 +- .../oss-page/editor-oss-card/oss-stats.tsx | 15 ++- .../editor-oss-graph/graph/node-core.tsx | 6 +- .../editor-oss-graph/toolbar-oss-graph.tsx | 6 +- .../features/oss/pages/oss-page/menu-main.tsx | 2 +- .../features/oss/pages/oss-page/oss-tabs.tsx | 2 +- .../rsform/components/badge-grammeme.tsx | 2 +- .../rsform/components/icon-cst-match-mode.tsx | 8 +- .../rsform/components/icon-cst-type.tsx | 16 +-- .../components/icon-dependency-mode.tsx | 8 +- .../rsform/components/pick-constituenta.tsx | 6 +- .../components/pick-multi-constituenta.tsx | 6 +- .../rsform/components/pick-substitutions.tsx | 12 +-- .../rsform/components/select-cst-type.tsx | 2 +- .../rsform/components/wordform-button.tsx | 4 +- .../dlg-create-cst/form-create-cst.tsx | 2 +- .../dlg-cst-template/dlg-cst-template.tsx | 2 +- .../dialogs/dlg-cst-template/tab-template.tsx | 2 +- .../dlg-edit-reference/dlg-edit-reference.tsx | 2 +- .../dlg-inline-synthesis.tsx | 2 +- .../dialogs/dlg-show-ast/dlg-show-ast.tsx | 4 +- .../editor-constituenta/form-constituenta.tsx | 8 +- .../editor-rsexpression/parsing-result.tsx | 2 +- .../editor-rsexpression/rs-local-button.tsx | 2 +- .../editor-rsexpression/rs-token-button.tsx | 2 +- .../editor-rsform-card/rsform-stats.tsx | 34 +++--- .../editor-term-graph/graph/tg-node.tsx | 2 +- .../editor-term-graph/select-coloring.tsx | 2 +- .../editor-term-graph/view-hidden.tsx | 4 +- .../rsform/pages/rsform-page/menu-main.tsx | 2 +- .../rsform/pages/rsform-page/rstabs.tsx | 2 +- .../view-constituents/constituents-search.tsx | 4 +- .../view-constituents/select-graph-filter.tsx | 6 +- .../view-constituents/select-match-mode.tsx | 6 +- .../users/pages/register-page/form-signup.tsx | 6 +- .../user-profile-page/editor-password.tsx | 2 +- .../user-profile-page/editor-profile.tsx | 2 +- rsconcept/frontend/src/index.css | 64 ++++------- rsconcept/frontend/src/styling/components.css | 25 +++-- rsconcept/frontend/src/styling/constants.css | 13 ++- rsconcept/frontend/src/styling/utilities.css | 101 ++++++------------ rsconcept/frontend/src/utils/utils.ts | 4 +- 106 files changed, 334 insertions(+), 399 deletions(-) rename rsconcept/frontend/src/{lib => components}/utils.ts (100%) diff --git a/rsconcept/frontend/src/app/footer.tsx b/rsconcept/frontend/src/app/footer.tsx index 6d59fd54..e8be22c1 100644 --- a/rsconcept/frontend/src/app/footer.tsx +++ b/rsconcept/frontend/src/app/footer.tsx @@ -10,7 +10,7 @@ export function Footer() { 'z-navigation', 'mx-auto', 'px-3 py-2 flex flex-col items-center gap-1', - 'text-xs sm:text-sm select-none whitespace-nowrap text-prim-600 bg-prim-100' + 'text-xs sm:text-sm select-none whitespace-nowrap text-inert-foreground bg-background' )} >