From b4adf52f82e25beabee8dfabc3e2e23b1a7df913 Mon Sep 17 00:00:00 2001 From: Taylor Bantle Date: Tue, 27 Feb 2024 16:37:28 -0800 Subject: [PATCH 1/2] components: Clean up colors --- .../src/tailwind/theme/dolthub/colors.ts | 54 ------------------- .../src/tailwind/theme/hosted/colors.ts | 19 ------- 2 files changed, 73 deletions(-) diff --git a/packages/components/src/tailwind/theme/dolthub/colors.ts b/packages/components/src/tailwind/theme/dolthub/colors.ts index cb797bf4..fcd08ee6 100644 --- a/packages/components/src/tailwind/theme/dolthub/colors.ts +++ b/packages/components/src/tailwind/theme/dolthub/colors.ts @@ -1,63 +1,9 @@ -import c from "tailwindcss/colors"; - export const colors = { - ...c, - // "ld-darkerblue": "#1e2842", - // "ld-darkestblue": "#182134", - // "ld-blue": "#6db0fc", - // "ld-green": "#5deda2", "ld-pink": "#fc42c9", "ld-darkblue": "#010a40", "acc-altlightgreen": "#defbe4", "acc-lightred": "#ffeaec", - // "acc-linkblue": "#1f6dc6", - // "acc-hoverlinkblue": "#3d91f0", "acc-darkblue": "#183362", - // "acc-hoverblue": "#1d2c7f", - // "acc-darkgrey": "#5d6280", - // "acc-hovergreen": "#6fdda4", - // "acc-lightgreen": "#d4f5e4", - // "acc-hoverred": "#fca8a7", - // "acc-code": "#575662", - // "acc-orange": "#ed8936", - // "acc-pink": "#d588d5", - // "acc-bright-green": "#29e3c1", - // "acc-purple": "#805EDD", "acc-light-text": "#999db3", - - // Merged from @dolthub/react-components - // primary: "#010a40", - // "acc-red": "#ff9a99", - // "acc-green": "#5ac58d", - // "acc-grey": "#b2c0c4", - // "acc-lightgrey": "#c6cdd0", - // "ld-darkgrey": "#95a3a7", - // "ld-lightgrey": "#e1e5e7", - // "ld-lightpurple": "#f1f3f8", - // "ld-lightblue": "#f6f8f9", - // "ld-darkergrey": "#384B52", - - // Configurable colors, set using env variables in dolthub - // "acc-1": "#fc42c9", - // "background-acc-1": "#182134", - // "background-acc-start": "#1F2942", - // "button-1": "#3d91f0", - // "link-1": "#1f6dc6", - // "button-2": "#1f6dc6", - // "link-2": "#3d91f0", - // "link-light": "#6db0fc", }; - -// same as base -// export const baseColors = { -// "rgb-primary": "1, 10, 64", -// "rgb-acc-1": "252, 66, 201", // ld-pink -// "rgb-background-acc-1": "24, 33, 52", // ld-darkestblue -// "rgb-background-acc-start": "31, 41, 66", -// "rgb-button-1": "61, 145, 240", // acc-hoverlinkblue -// "rgb-link-1": "31, 109, 198", // acc-linkblue -// "rgb-button-2": "31, 109, 198", // acc-linkblue -// "rgb-link-2": "61, 145, 240", // acc-hoverlinkblue -// "rgb-link-light": "109, 176, 252", // ld-blue -// }; diff --git a/packages/components/src/tailwind/theme/hosted/colors.ts b/packages/components/src/tailwind/theme/hosted/colors.ts index fc2c27fc..d180d201 100644 --- a/packages/components/src/tailwind/theme/hosted/colors.ts +++ b/packages/components/src/tailwind/theme/hosted/colors.ts @@ -1,29 +1,10 @@ export const colors = { - // "ld-darkerblue": "#1e2842", "ld-darkblue": "#183362", "ld-mediumblue": "#2b5db6", - // "ld-blue": "#6db0fc", "ld-bluegrey": "#284f94", "ld-grey": "#f2f5fb", "ld-brightgreen": "#29e3c1", "ld-orange": "#ff820f", - - // Database page colors - // "ld-darkestblue": "#182134", - // "ld-green": "#5deda2", - // "ld-pink": "#fc42c9", // not used - // "acc-hoverlinkblue": "#3d91f0", - // "acc-hoverblue": "#1d2c7f", - // "acc-linkblue": "#1f6dc6", - // "acc-darkgrey": "#5d6280", - // "acc-hovergreen": "#6fdda4", - // "acc-lightgreen": "#d4f5e4", - // "acc-hoverred": "#fca8a7", - // "acc-code": "#575662", - // "acc-orange": "#ed8936", - // "acc-pink": "#d588d5", - // "acc-bright-green": "#29e3c1", - // "acc-purple": "#805edd", }; export const tailwindColorTheme = { From c7f3449e84714334409d2b97ae910b91ce179b6f Mon Sep 17 00:00:00 2001 From: Taylor Bantle Date: Wed, 28 Feb 2024 10:11:50 -0800 Subject: [PATCH 2/2] components: Publish 0.1.4 --- packages/components/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/package.json b/packages/components/package.json index a77f7430..0d69769a 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -2,7 +2,7 @@ "name": "@dolthub/react-components", "author": "DoltHub", "description": "A collection of React components for common tasks", - "version": "0.1.3", + "version": "0.1.4", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/index.d.ts",