From e656f97c2857a8a372e1ffbdfc74669383ba6dcb Mon Sep 17 00:00:00 2001 From: Umar Abid <75561750+umrkhn@users.noreply.github.com> Date: Thu, 23 Nov 2023 21:11:31 +0500 Subject: [PATCH] [FEAT-1092]: Update color names and box-shadows to match Design-System (#1143) * feat: update colors in tailwind config * fix: update color class-names to match new palette * fix: update primary & secondary color class-names to match new palette * fix: update box-shadows to match design system * fix: update tailwind config and class-names --- .../account-details/AwsAccountDetails.tsx | 6 +- .../account-details/AzureAccountDetails.tsx | 4 +- .../account-details/CivoAccountDetails.tsx | 4 +- .../DigitalOceanAccountDetails.tsx | 4 +- .../account-details/GcpAccountDetails.tsx | 4 +- .../KubernetesAccountDetails.tsx | 4 +- .../account-details/LinodeAccountDetails.tsx | 4 +- .../MongoDBAtlasAccountDetails.tsx | 4 +- .../account-details/OciAccountDetails.tsx | 4 +- .../ScalewayAccountDetails.tsx | 4 +- .../account-details/TencentAccountDetails.tsx | 4 +- dashboard/components/banner/Banner.tsx | 6 +- dashboard/components/button/Button.tsx | 12 +- dashboard/components/card/Card.tsx | 6 +- dashboard/components/card/CardSkeleton.tsx | 6 +- dashboard/components/checkbox/Checkbox.tsx | 2 +- .../components/CloudAccountDeleteContents.tsx | 2 +- .../components/CloudAccountItem.tsx | 10 +- .../components/CloudAccountsHeader.tsx | 2 +- .../components/CloudAccountsLayout.tsx | 8 +- .../components/CloudAccountsSidePanel.tsx | 8 +- .../dashboard/components/DashboardLayout.tsx | 2 +- .../cloud-map/DashboardCloudMapCard.tsx | 12 +- .../cloud-map/DashboardCloudMapError.tsx | 10 +- .../cloud-map/DashboardCloudMapSkeleton.tsx | 16 +- .../cloud-map/DashboardCloudMapTooltip.tsx | 4 +- .../DashboardCostExplorerCard.tsx | 6 +- .../DashboardCostExplorerError.tsx | 24 +-- .../DashboardCostExplorerSkeleton.tsx | 32 ++-- .../DashboardResourcesManagerCard.tsx | 8 +- .../DashboardResourcesManagerError.tsx | 24 +-- .../DashboardResourcesManagerSkeleton.tsx | 26 +-- .../top-stats/DashboardTopStatsError.tsx | 2 +- .../components/empty-state/EmptyState.tsx | 4 +- .../components/error-state/ErrorState.tsx | 4 +- .../components/explorer/DependencyGraph.tsx | 10 +- .../explorer/DependencyGraphError.tsx | 8 +- .../explorer/DependencyGraphSkeleton.tsx | 4 +- .../explorer/DependencyGraphWrapper.tsx | 8 +- .../filter/DependencyGraphFilterDropdown.tsx | 4 +- .../filter/DependencyGraphFilterSummary.tsx | 4 +- .../filter/DependendencyGraphFilter.tsx | 10 +- .../feedback-widget/FeedbackWidget.tsx | 19 +- .../components/icons/ClearFilterIcon.tsx | 2 +- dashboard/components/input/Input.tsx | 8 +- .../components/InventoryActiveFilters.tsx | 10 +- .../components/InventoryFilterDropdown.tsx | 4 +- .../inventory/components/InventoryHeader.tsx | 2 +- .../inventory/components/InventoryLayout.tsx | 14 +- .../components/InventorySearchBar.tsx | 2 +- .../components/InventorySearchNoResults.tsx | 4 +- .../components/InventorySidePanel.tsx | 34 ++-- .../components/InventoryStatsCards.tsx | 24 +-- .../inventory/components/InventoryTable.tsx | 4 +- .../components/InventoryTableBulkActions.tsx | 2 +- .../components/InventoryTableRow.tsx | 4 +- .../components/InventoryTableTags.tsx | 14 +- .../filter/InventoryFilterBreadcrumbs.tsx | 14 +- .../filter/InventoryFilterSummary.tsx | 4 +- .../components/view/InventoryView.tsx | 16 +- .../components/view/InventoryViewHeader.tsx | 12 +- .../InventoryViewAlertsChooseAlertMethod.tsx | 12 +- .../alerts/InventoryViewAlertsDeleteAlert.tsx | 6 +- .../alerts/InventoryViewAlertsDisplay.tsx | 6 +- .../alerts/InventoryViewAlertsEditAlert.tsx | 36 ++-- .../view/alerts/InventoryViewAlertsError.tsx | 4 +- .../alerts/InventoryViewAlertsHasNoAlerts.tsx | 4 +- .../alerts/InventoryViewAlertsSkeleton.tsx | 10 +- dashboard/components/layout/Layout.tsx | 2 +- dashboard/components/modal/Modal.tsx | 4 +- dashboard/components/navbar/Navbar.tsx | 16 +- .../components/number-input/NumberInput.tsx | 8 +- .../DatabaseErrorMessage.tsx | 2 +- .../onboarding-wizard/DatabasePurplin.tsx | 2 +- .../onboarding-wizard/InputFileSelect.tsx | 12 +- .../onboarding-wizard/LabelledInput.tsx | 4 +- .../OnboardingWizardLayout.tsx | 4 +- .../onboarding-wizard/ProgressBar.tsx | 2 +- .../onboarding-wizard/ProviderContent.tsx | 2 +- .../onboarding-wizard/SelectInput.tsx | 14 +- .../select-checkbox/SelectCheckbox.tsx | 30 ++-- dashboard/components/select/Select.tsx | 16 +- dashboard/components/sidepanel/Sidepanel.tsx | 4 +- .../components/sidepanel/SidepanelHeader.tsx | 8 +- .../components/sidepanel/SidepanelPage.tsx | 2 +- .../components/sidepanel/SidepanelTabs.tsx | 6 +- .../components/skeleton/SkeletonFilters.tsx | 8 +- .../components/skeleton/SkeletonInventory.tsx | 14 +- .../components/skeleton/SkeletonStats.tsx | 6 +- dashboard/components/template/Template.tsx | 2 +- dashboard/components/toast/Toast.tsx | 16 +- dashboard/components/tooltip/Tooltip.tsx | 2 +- dashboard/components/upload/Upload.tsx | 10 +- dashboard/pages/cloud-accounts.tsx | 2 +- .../pages/onboarding/choose-database.tsx | 6 +- .../pages/onboarding/cloud-accounts/index.tsx | 66 +++---- dashboard/pages/onboarding/complete.tsx | 2 +- dashboard/tailwind.config.js | 169 +++++++++++++----- 98 files changed, 562 insertions(+), 480 deletions(-) diff --git a/dashboard/components/account-details/AwsAccountDetails.tsx b/dashboard/components/account-details/AwsAccountDetails.tsx index b64bcecc5..fe0e829ad 100644 --- a/dashboard/components/account-details/AwsAccountDetails.tsx +++ b/dashboard/components/account-details/AwsAccountDetails.tsx @@ -103,7 +103,7 @@ function AwsAccountDetails({
@@ -117,7 +117,7 @@ function AwsAccountDetails({ values={options.map(option => option.value)} /> {[options[2].value, options[3].value].includes(credentialType) && ( -
+
{credentialType === options[3].value ? 'Komiser will fetch the credentials from AWS' : 'Komiser will load credentials from AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.'} @@ -180,7 +180,7 @@ function AwsAccountDetails({ )}
{hasError && ( -
+
We couldn't connect to your AWS account. Please check if the file is correct.
diff --git a/dashboard/components/account-details/AzureAccountDetails.tsx b/dashboard/components/account-details/AzureAccountDetails.tsx index 19cfe0652..3799a7690 100644 --- a/dashboard/components/account-details/AzureAccountDetails.tsx +++ b/dashboard/components/account-details/AzureAccountDetails.tsx @@ -27,7 +27,7 @@ function AzureAccountDetails({
{hasError && ( -
+
We couldn't connect to your Azure account. Please check if the file is correct.
diff --git a/dashboard/components/account-details/CivoAccountDetails.tsx b/dashboard/components/account-details/CivoAccountDetails.tsx index 1d8fb3a7e..274d12466 100644 --- a/dashboard/components/account-details/CivoAccountDetails.tsx +++ b/dashboard/components/account-details/CivoAccountDetails.tsx @@ -27,7 +27,7 @@ function CivoAccountDetails({
{hasError && ( -
+
We couldn't connect to your Civo account. Please check if the file is correct.
diff --git a/dashboard/components/account-details/DigitalOceanAccountDetails.tsx b/dashboard/components/account-details/DigitalOceanAccountDetails.tsx index 4db9ad4b1..1ad505cd4 100644 --- a/dashboard/components/account-details/DigitalOceanAccountDetails.tsx +++ b/dashboard/components/account-details/DigitalOceanAccountDetails.tsx @@ -27,7 +27,7 @@ function DigitalOceanAccountDetails({
{hasError && ( -
+
We couldn't connect to your Digital Ocean account. Please check if the file is correct.
diff --git a/dashboard/components/account-details/GcpAccountDetails.tsx b/dashboard/components/account-details/GcpAccountDetails.tsx index 366a64180..f83c61029 100644 --- a/dashboard/components/account-details/GcpAccountDetails.tsx +++ b/dashboard/components/account-details/GcpAccountDetails.tsx @@ -60,7 +60,7 @@ function GcpAccountDetails({
@@ -83,7 +83,7 @@ function GcpAccountDetails({
{hasError && ( -
+
We couldn't connect to your GCP account. Please check if the file is correct.
diff --git a/dashboard/components/account-details/KubernetesAccountDetails.tsx b/dashboard/components/account-details/KubernetesAccountDetails.tsx index b906a66cd..1699edcfd 100644 --- a/dashboard/components/account-details/KubernetesAccountDetails.tsx +++ b/dashboard/components/account-details/KubernetesAccountDetails.tsx @@ -83,7 +83,7 @@ function KubernetesAccountDetails({
{hasError && ( -
+
We couldn't connect to your Kubernetes account. Please check if the file is correct.
diff --git a/dashboard/components/account-details/LinodeAccountDetails.tsx b/dashboard/components/account-details/LinodeAccountDetails.tsx index 200c9e5ab..ad63de8ea 100644 --- a/dashboard/components/account-details/LinodeAccountDetails.tsx +++ b/dashboard/components/account-details/LinodeAccountDetails.tsx @@ -26,7 +26,7 @@ function LinodeAccountDetails({
{hasError && ( -
+
We couldn't connect to your Linode account. Please check if the file is correct.
diff --git a/dashboard/components/account-details/MongoDBAtlasAccountDetails.tsx b/dashboard/components/account-details/MongoDBAtlasAccountDetails.tsx index 31b6dbfbf..24a669a53 100644 --- a/dashboard/components/account-details/MongoDBAtlasAccountDetails.tsx +++ b/dashboard/components/account-details/MongoDBAtlasAccountDetails.tsx @@ -26,7 +26,7 @@ function MongoDbAtlasAccountDetails({
{hasError && ( -
+
We couldn't connect to your MongoDB Atlas account. Please check if the file is correct.
diff --git a/dashboard/components/account-details/OciAccountDetails.tsx b/dashboard/components/account-details/OciAccountDetails.tsx index 1cd052786..37fa56678 100644 --- a/dashboard/components/account-details/OciAccountDetails.tsx +++ b/dashboard/components/account-details/OciAccountDetails.tsx @@ -60,7 +60,7 @@ function OciAccountDetails({
@@ -83,7 +83,7 @@ function OciAccountDetails({
{hasError && ( -
+
We couldn't connect to your OCI account. Please check if the file is correct.
diff --git a/dashboard/components/account-details/ScalewayAccountDetails.tsx b/dashboard/components/account-details/ScalewayAccountDetails.tsx index 3152a2b69..384ae864d 100644 --- a/dashboard/components/account-details/ScalewayAccountDetails.tsx +++ b/dashboard/components/account-details/ScalewayAccountDetails.tsx @@ -26,7 +26,7 @@ function ScalewayAccountDetails({
{hasError && ( -
+
We couldn't connect to your Scaleway account. Please check if the file is correct.
diff --git a/dashboard/components/account-details/TencentAccountDetails.tsx b/dashboard/components/account-details/TencentAccountDetails.tsx index e3a3cd513..abdaeebad 100644 --- a/dashboard/components/account-details/TencentAccountDetails.tsx +++ b/dashboard/components/account-details/TencentAccountDetails.tsx @@ -26,7 +26,7 @@ function TencentAccountDetails({
{hasError && ( -
+
We couldn't connect to your Tencent account. Please check if the file is correct.
diff --git a/dashboard/components/banner/Banner.tsx b/dashboard/components/banner/Banner.tsx index 7f3f78275..ff4e32b04 100644 --- a/dashboard/components/banner/Banner.tsx +++ b/dashboard/components/banner/Banner.tsx @@ -15,7 +15,7 @@ function Banner({ githubStars }: BannerProps) { return (
{formatNumber(githubStars)}
@@ -53,7 +53,7 @@ function Banner({ githubStars }: BannerProps) { @@ -204,11 +204,11 @@ function InventoryView({ {hiddenResources.map(item => ( currentId === item.id) - ? 'border-black-200/70 bg-komiser-120' - : 'border-black-200/30 bg-white hover:bg-black-100/50' + ? 'border-gray-300 bg-darkcyan-100' + : 'border-gray-300 bg-white hover:bg-gray-50' } border-b last:border-none`} > @@ -263,7 +263,7 @@ function InventoryView({ )} {hiddenResources && hiddenResources.length === 0 && ( -
+
-

+

No hidden resources in this view

-

+

To hide a resource from this view, select and hide them on the inventory table.

diff --git a/dashboard/components/inventory/components/view/InventoryViewHeader.tsx b/dashboard/components/inventory/components/view/InventoryViewHeader.tsx index 711731b01..13ef875ce 100644 --- a/dashboard/components/inventory/components/view/InventoryViewHeader.tsx +++ b/dashboard/components/inventory/components/view/InventoryViewHeader.tsx @@ -75,7 +75,7 @@ function InventoryViewHeader({
{currentView && ( <> -
+
{currentView.name}
-
+
{label && ( - + {label} )}
{isValid === false && ( -

{error}

+

{error}

)}
); diff --git a/dashboard/components/onboarding-wizard/DatabaseErrorMessage.tsx b/dashboard/components/onboarding-wizard/DatabaseErrorMessage.tsx index 8939b9b76..297da06f5 100644 --- a/dashboard/components/onboarding-wizard/DatabaseErrorMessage.tsx +++ b/dashboard/components/onboarding-wizard/DatabaseErrorMessage.tsx @@ -1,6 +1,6 @@ function DatabaseErrorMessage() { return ( -
+
We're sorry, but we were unable to connect to your database using the information provided. Please ensure that the information are correct and try again. If you continue to experience issues, please{' '} diff --git a/dashboard/components/onboarding-wizard/DatabasePurplin.tsx b/dashboard/components/onboarding-wizard/DatabasePurplin.tsx index f81391554..5ff1514a1 100644 --- a/dashboard/components/onboarding-wizard/DatabasePurplin.tsx +++ b/dashboard/components/onboarding-wizard/DatabasePurplin.tsx @@ -7,7 +7,7 @@ interface DatabasePurplinProps { function DatabasePurplin({ database }: DatabasePurplinProps) { return (
-
+
{subLabel && ( - + {subLabel} )} @@ -68,9 +68,9 @@ function InputFileSelect({ placeholder={placeholder} className={classNames( hasError - ? 'outline-error-600 focus:outline-error-700' - : 'outline-gray-200 focus:outline-primary', - 'block w-full rounded border py-4 pl-5 text-sm text-black-900 outline focus:outline-2 ' + ? 'outline-red-500 focus:outline-red-500' + : 'outline-gray-200 focus:outline-darkcyan-500', + 'block w-full rounded border py-4 pl-5 text-sm text-gray-950 outline focus:outline-2 ' )} onChange={handleInputChange} /> @@ -78,14 +78,14 @@ function InputFileSelect({ {icon && ( )}
{hasError && errorMessage && ( -
+
{errorMessage}
diff --git a/dashboard/components/onboarding-wizard/LabelledInput.tsx b/dashboard/components/onboarding-wizard/LabelledInput.tsx index 2e98f107e..629028be6 100644 --- a/dashboard/components/onboarding-wizard/LabelledInput.tsx +++ b/dashboard/components/onboarding-wizard/LabelledInput.tsx @@ -34,7 +34,7 @@ function LabelledInput({ {subLabel && ( - + {subLabel} )} @@ -53,7 +53,7 @@ function LabelledInput({ disabled={disabled} placeholder={placeholder} required={required} - className={`block w-full rounded py-[14.5px] text-sm text-black-900 outline outline-black-200 focus:outline-2 focus:outline-primary ${ + className={`block w-full rounded py-[14.5px] text-sm text-gray-950 outline outline-gray-300 focus:outline-2 focus:outline-darkcyan-500 ${ icon ? 'pl-10' : 'pl-3' }`} onChange={onChange} diff --git a/dashboard/components/onboarding-wizard/OnboardingWizardLayout.tsx b/dashboard/components/onboarding-wizard/OnboardingWizardLayout.tsx index 1b2d9de58..8c949264d 100644 --- a/dashboard/components/onboarding-wizard/OnboardingWizardLayout.tsx +++ b/dashboard/components/onboarding-wizard/OnboardingWizardLayout.tsx @@ -47,11 +47,11 @@ function RightSideLayout({ return ( <> {isCustom ? ( -
+
{children}
) : ( -
+
{children}
)} diff --git a/dashboard/components/onboarding-wizard/ProgressBar.tsx b/dashboard/components/onboarding-wizard/ProgressBar.tsx index 108d0f876..26ee3c505 100644 --- a/dashboard/components/onboarding-wizard/ProgressBar.tsx +++ b/dashboard/components/onboarding-wizard/ProgressBar.tsx @@ -1,7 +1,7 @@ function OnboardingWizardProgressBar({ width }: { width: string }) { return (
-
+
); } diff --git a/dashboard/components/onboarding-wizard/ProviderContent.tsx b/dashboard/components/onboarding-wizard/ProviderContent.tsx index 94b18a6db..91bdf6711 100644 --- a/dashboard/components/onboarding-wizard/ProviderContent.tsx +++ b/dashboard/components/onboarding-wizard/ProviderContent.tsx @@ -55,7 +55,7 @@ export default function ProviderContent({
adding an {providerName} account to Komiser. diff --git a/dashboard/components/onboarding-wizard/SelectInput.tsx b/dashboard/components/onboarding-wizard/SelectInput.tsx index 913854a39..d634a5f96 100644 --- a/dashboard/components/onboarding-wizard/SelectInput.tsx +++ b/dashboard/components/onboarding-wizard/SelectInput.tsx @@ -38,7 +38,7 @@ function SelectInput({
{icon}
@@ -49,11 +49,11 @@ function SelectInput({
diff --git a/dashboard/components/select/Select.tsx b/dashboard/components/select/Select.tsx index 969a96518..d05ae8d1c 100644 --- a/dashboard/components/select/Select.tsx +++ b/dashboard/components/select/Select.tsx @@ -28,22 +28,22 @@ function Select({
@@ -54,7 +54,7 @@ function Select({ onClick={toggle} className="fixed inset-0 z-20 hidden animate-fade-in bg-transparent opacity-0 sm:block" >
-
+
{values.map((item, idx) => { const isActive = value === item; @@ -62,8 +62,8 @@ function Select({
-

+

{title}

diff --git a/dashboard/components/sidepanel/SidepanelPage.tsx b/dashboard/components/sidepanel/SidepanelPage.tsx index 124fbe6e3..3fe551318 100644 --- a/dashboard/components/sidepanel/SidepanelPage.tsx +++ b/dashboard/components/sidepanel/SidepanelPage.tsx @@ -18,7 +18,7 @@ function SidepanelPage({ {page === param && (
{children}
diff --git a/dashboard/components/sidepanel/SidepanelTabs.tsx b/dashboard/components/sidepanel/SidepanelTabs.tsx index 5b40e4d9d..01e9b5d28 100644 --- a/dashboard/components/sidepanel/SidepanelTabs.tsx +++ b/dashboard/components/sidepanel/SidepanelTabs.tsx @@ -8,7 +8,7 @@ export type SidepanelTabsProps = { function SidepanelTabs({ goTo, page, tabs }: SidepanelTabsProps) { return ( -
+
    {tabs.map((tab, idx) => (
  • @@ -17,8 +17,8 @@ function SidepanelTabs({ goTo, page, tabs }: SidepanelTabsProps) { className={`inline-block cursor-pointer select-none rounded-t-lg border-b-2 px-2 py-4 sm:p-4 ${ page === tab.toLowerCase() - ? 'border-komiser-600 text-komiser-600 hover:text-komiser-600' - : 'border-transparent hover:text-komiser-700' + ? 'border-darkcyan-500 text-darkcyan-500 hover:text-darkcyan-500' + : 'border-transparent hover:text-darkcyan-700' }`} > {capitalizeString(tab)} {/* capitalize first letter */} diff --git a/dashboard/components/skeleton/SkeletonFilters.tsx b/dashboard/components/skeleton/SkeletonFilters.tsx index a97721ef5..ae1b260e3 100644 --- a/dashboard/components/skeleton/SkeletonFilters.tsx +++ b/dashboard/components/skeleton/SkeletonFilters.tsx @@ -1,10 +1,10 @@ function SkeletonFilters() { return (
    -
    Filters
    -
    -
    -
    +
    Filters
    +
    +
    +
    ); diff --git a/dashboard/components/skeleton/SkeletonInventory.tsx b/dashboard/components/skeleton/SkeletonInventory.tsx index e6f8a0bfd..2074afb54 100644 --- a/dashboard/components/skeleton/SkeletonInventory.tsx +++ b/dashboard/components/skeleton/SkeletonInventory.tsx @@ -9,13 +9,13 @@ function SkeletonInventory() { className="flex h-[57px] items-center border-b bg-white px-6 text-sm" >
    -
    -
    -
    -
    -
    -
    -
    +
    +
    +
    +
    +
    +
    +
    ))} diff --git a/dashboard/components/skeleton/SkeletonStats.tsx b/dashboard/components/skeleton/SkeletonStats.tsx index 0df8609e3..a4b4db7c0 100644 --- a/dashboard/components/skeleton/SkeletonStats.tsx +++ b/dashboard/components/skeleton/SkeletonStats.tsx @@ -17,10 +17,10 @@ function SkeletonStats({ NumOfCards = 3 }) { className="flex h-[7.5rem] animate-pulse items-center rounded-lg bg-white px-6 text-sm" >
    -
    +
    -
    -
    +
    +
diff --git a/dashboard/components/template/Template.tsx b/dashboard/components/template/Template.tsx index aa6a64604..aa511df10 100644 --- a/dashboard/components/template/Template.tsx +++ b/dashboard/components/template/Template.tsx @@ -4,7 +4,7 @@ export type TemplateProps = { function Template({ sampleTextProp }: TemplateProps) { return ( -
+
{sampleTextProp}
); diff --git a/dashboard/components/toast/Toast.tsx b/dashboard/components/toast/Toast.tsx index 4a4ccc702..1e4fca092 100644 --- a/dashboard/components/toast/Toast.tsx +++ b/dashboard/components/toast/Toast.tsx @@ -19,10 +19,10 @@ function Toast({ hasError, title, message, dismissToast }: ToastProp) { <>
@@ -30,16 +30,16 @@ function Toast({ hasError, title, message, dismissToast }: ToastProp) { className={classNames( 'absolute bottom-0 left-0 h-1 animate-width-to-fit', { - 'bg-error-600/60': hasError, - 'bg-success-600/60': !hasError + 'bg-red-50': hasError, + 'bg-green-500': !hasError } )} >
{hasError ? ( @@ -51,7 +51,7 @@ function Toast({ hasError, title, message, dismissToast }: ToastProp) {

{title}

diff --git a/dashboard/components/tooltip/Tooltip.tsx b/dashboard/components/tooltip/Tooltip.tsx index 7fdec818a..eb9c1035e 100644 --- a/dashboard/components/tooltip/Tooltip.tsx +++ b/dashboard/components/tooltip/Tooltip.tsx @@ -20,7 +20,7 @@ function Tooltip({ )} @@ -198,7 +200,7 @@ function Upload({

{file.name}

-

+

{(file.size / (1024 * 1024)).toFixed(2)} MB

@@ -280,7 +282,7 @@ function Upload({

{(fileOrFiles as File).name}

-

+

{((fileOrFiles as File).size / (1024 * 1024)).toFixed(2)} MB

diff --git a/dashboard/pages/cloud-accounts.tsx b/dashboard/pages/cloud-accounts.tsx index 79be7073b..7164ccdb9 100644 --- a/dashboard/pages/cloud-accounts.tsx +++ b/dashboard/pages/cloud-accounts.tsx @@ -126,7 +126,7 @@ function CloudAccounts() { {/* Delete Modal */} closeRemoveModal()}> -
+
{cloudAccountItem && ( Add cloud account @@ -72,24 +72,24 @@ export default function CloudAccounts() { {cloudAccounts.map(account => (
-

+

{account.name}

-

+

{platform.getLabel(account.provider)}

))}
-
+
@@ -112,68 +112,68 @@ export default function CloudAccounts() {
-
+
{/* Row 2 */}
-
-
-
+
+
+
-
-
+
+
{/* Row 3 */} -
-
-
+
+
+
-
-
+
+
-
+
{/* Row 4 */}
-
-
-
+
+
+
-
+
{/* Row 5 */} -
-
-
-
-
+
+
+
+
+
-
+
{/* Row 6 */}
-
-
+
+
-
+
@@ -181,7 +181,7 @@ export default function CloudAccounts() {
-
+
@@ -190,7 +190,7 @@ export default function CloudAccounts() { closeRemoveModal()}> -
+
{cloudAccountItem && ( -

+

Your data is being synced

diff --git a/dashboard/tailwind.config.js b/dashboard/tailwind.config.js index a90bf1875..236ac5349 100644 --- a/dashboard/tailwind.config.js +++ b/dashboard/tailwind.config.js @@ -6,51 +6,132 @@ module.exports = { './components/**/*.{js,ts,jsx,tsx}' ], theme: { - extend: { - colors: { - primary: '#008484', - secondary: '#065555', - komiser: { - 100: '#F5FDFD', - 120: '#e5f8f8', - 130: '#E2F6F6', - 150: '#DFF5F5', - 200: '#CCF2F2', - 300: '#99E5E5', - 400: '#66D9D9', - 500: '#33CCCC', - 600: '#008484', - 700: '#065555' - }, - info: { - 600: '#387BEB' - }, - warning: { - 100: '#FFF5DA', - 600: '#EDC16B' - }, - error: { - 100: '#FFE8E8', - 600: '#DE5E5E', - 700: '#ae4242', - 900: '#362033' - }, - success: { - 100: '#E1FFE3', - 600: '#56BA5B' - }, - black: { - 100: '#F4F9F9', - 130: '#F4F2F7', - 150: '#F5F5F5', - 170: '#EDEBEE', - 200: '#CFD7D7', - 300: '#95A3A3', - 400: '#697372', - 800: '#0C1717', - 900: '#070011' - } + colors: { + inherit: 'inherit', + transparent: 'transparent', + current: 'currentColor', + black: '#000000', + white: '#FFFFFF', + cyan: { + 50: '#ECFAFA', + 100: '#DFF5F5', + 200: '#CCF2F2', + 300: '#99E5E5', + 400: '#66D9D9', + 500: '#33CCCC', + 600: '#2AA7A7', + 700: '#208282', + 800: '#175D5D', + 900: '#0E3838', + 950: '#051313' + }, + darkcyan: { + 50: '#EDFAFA', + 100: '#E2F6F6', + 200: '#B6EAEA', + 300: '#63CBCB', + 400: '#2EA8A8', + 500: '#008484', + 600: '#006D6E', + 700: '#065555', + 800: '#004344', + 900: '#002E2F', + 950: '#00191A' + }, + gray: { + 50: '#F4F9F9', + 100: '#F4F2F7', + 200: '#EDEBEE', + 300: '#CFD7D7', + 400: '#B3BDBD', + 500: '#95A3A3', + 600: '#7F8B8B', + 700: '#697372', + 800: '#515959', + 900: '#3A4040', + 950: '#0C1717' }, + red: { + 50: '#FFE8E8', + 100: '#F7D1D1', + 200: '#F2BABA', + 300: '#EDA3A3', + 400: '#E37575', + 500: '#DE5E5E', + 600: '#BF4F4F', + 700: '#9D4040', + 800: '#7B3131', + 900: '#592222', + 950: '#371313' + }, + green: { + 50: '#EEFDEE', + 100: '#E1FFE3', + 200: '#CAF5CA', + 300: '#A3E7A6', + 400: '#81CF84', + 500: '#56BA5B', + 600: '#489E4E', + 700: '#3B8240', + 800: '#2E6632', + 900: '#214A24', + 950: '#142E16' + }, + orange: { + 50: '#FFF8EB', + 100: '#FFF5DA', + 200: '#FCE0AC', + 300: '#F6C879', + 400: '#ECAD4E', + 500: '#ED8F2B', + 600: '#D5721F', + 700: '#A85924', + 800: '#844B2A', + 900: '#664029', + 950: '#422D24' + }, + blue: { + 50: '#E8EFFD', + 100: '#D4E4FF', + 200: '#ACC7F7', + 300: '#72A1F1', + 400: '#558EEE', + 500: '#387BEB', + 600: '#2F69C6', + 700: '#2656A3', + 800: '#1D4380', + 900: '#14305D', + 950: '#0B1D3A' + }, + purple: { + 50: '#F7F6FE', + 100: '#EDE8FC', + 200: '#E0DBFB', + 300: '#C9BDF4', + 400: '#AF99EA', + 500: '#9470E0', + 600: '#8157C5', + 700: '#714DA6', + 800: '#5F4585', + 900: '#4B3966', + 950: '#372B4A' + }, + background: { + DEFAULT: '#F2FFFF', + base: '#F2F7F8', + disabled: '#EFEDF1', + ds: '#F5F5F5' /* ds => design-system */ + }, + komiser: { + dark: '#009999' + } + }, + boxShadow: { + right: '2px 4px 8px 0px rgba(105, 115, 114, 0.16)', + left: '-2px 4px 8px 0px rgba(105, 115, 114, 0.16)', + none: '0 0 #0000' + }, + extend: { fontFamily: { sans: [ 'Noto Sans',