From bad87a4f2f97c6d66c7d7ac5d239ba63f00d06e5 Mon Sep 17 00:00:00 2001 From: Aman Harwara Date: Tue, 2 Nov 2021 19:55:28 +0530 Subject: [PATCH] feat: Replace border-gray-300 with border-neutral (#716) --- app/assets/javascripts/components/FloatingLabelInput.tsx | 2 +- app/assets/javascripts/components/NotesListOptionsMenu.tsx | 2 +- app/assets/javascripts/purchaseFlow/PurchaseFlowView.tsx | 2 +- app/assets/stylesheets/_menus.scss | 2 +- app/assets/stylesheets/_sn.scss | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/assets/javascripts/components/FloatingLabelInput.tsx b/app/assets/javascripts/components/FloatingLabelInput.tsx index 024c70656..4bde0c292 100644 --- a/app/assets/javascripts/components/FloatingLabelInput.tsx +++ b/app/assets/javascripts/components/FloatingLabelInput.tsx @@ -44,7 +44,7 @@ export const FloatingLabelInput: FunctionComponent = forwardRef( const INPUT_CLASSNAME = `w-full h-full ${ focused || value ? 'pt-6 pb-2' : 'py-2.5' - } px-3 text-input border-1 border-solid border-gray-300 rounded placeholder-medium text-input focus:ring-info ${ + } px-3 text-input border-1 border-solid border-neutral rounded placeholder-medium text-input focus:ring-info ${ isInvalid ? 'border-dark-red placeholder-dark-red' : '' } ${inputClassName}`; diff --git a/app/assets/javascripts/components/NotesListOptionsMenu.tsx b/app/assets/javascripts/components/NotesListOptionsMenu.tsx index 1d22e14f2..5c9ddc0e4 100644 --- a/app/assets/javascripts/components/NotesListOptionsMenu.tsx +++ b/app/assets/javascripts/components/NotesListOptionsMenu.tsx @@ -17,7 +17,7 @@ export const NotesListOptionsMenu: FunctionComponent = observer( ({ setShowMenuFalse, application }) => { const menuClassName = 'sn-dropdown sn-dropdown--animated min-w-70 overflow-y-auto \ -border-1 border-solid border-gray-300 text-sm z-index-dropdown-menu \ +border-1 border-solid border-neutral text-sm z-index-dropdown-menu \ flex flex-col py-2 bottom-0 left-2 absolute'; const [sortBy, setSortBy] = useState(() => application.getPreference(PrefKey.SortNotesBy, CollectionSort.CreatedAt) diff --git a/app/assets/javascripts/purchaseFlow/PurchaseFlowView.tsx b/app/assets/javascripts/purchaseFlow/PurchaseFlowView.tsx index a8539c51e..3ca2eb232 100644 --- a/app/assets/javascripts/purchaseFlow/PurchaseFlowView.tsx +++ b/app/assets/javascripts/purchaseFlow/PurchaseFlowView.tsx @@ -36,7 +36,7 @@ export const PurchaseFlowView: FunctionComponent = return (
-
+