Skip to content

Commit

Permalink
Merge pull request #52 from dolthub/taylor/colors
Browse files Browse the repository at this point in the history
components: Clean up colors
  • Loading branch information
tbantle22 authored Feb 28, 2024
2 parents a715477 + c7f3449 commit aeaaf9d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 74 deletions.
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
54 changes: 0 additions & 54 deletions packages/components/src/tailwind/theme/dolthub/colors.ts
Original file line number Diff line number Diff line change
@@ -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
// };
19 changes: 0 additions & 19 deletions packages/components/src/tailwind/theme/hosted/colors.ts
Original file line number Diff line number Diff line change
@@ -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 = {
Expand Down

0 comments on commit aeaaf9d

Please sign in to comment.