Skip to content

Commit

Permalink
feat: update theme neutral colors
Browse files Browse the repository at this point in the history
  • Loading branch information
abelflopes committed Nov 2, 2023
1 parent df35a26 commit b91da4c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/components/button/src/styles/index.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
}

.primary {
background: linear-gradient(220deg, get-color(highlight-primary), get-color(highlight-secondary));
background-color: get-color(highlight-primary);
color: #fff;
}

.secondary {
background: get-color(neutral100);
background: get-color(neutral200);
color: get-color(text-alt);
}

Expand Down
2 changes: 1 addition & 1 deletion packages/components/input/src/styles/index.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
.root {
@include font-base;

background: var(--color-neutral100);
background: var(--color-neutral200);
color: var(--color-text);
font: inherit;
font-family: var(--font-family);
Expand Down
9 changes: 7 additions & 2 deletions packages/components/theme/src/themes/default.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
import type { Theme } from "../types";

// colorPrimary: "#783192",
// colorSecondary: "#59BCC8",
// textColor: "#1E2232",

export const defaultTheme: Theme = {
color: {
highlightPrimary: "#9e51f0",
highlightPrimary: "#59BCC8",
highlightSecondary: "#3e86d4",
text: "#1E2232",
textAlt: "#323646",
neutral100: "#DBDEEB",
neutral100: "#edf2f7",
neutral200: "#DBDEEB",
},
font: {
family: "system-ui, sans-serif",
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/pages/src/theme.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ All theme colors applied by the default theme
title="Neutral"
subtitle="Multi purpose neutral colors"
colors={{
neutral100: defaultTheme.color.neutral100,
neutral200: defaultTheme.color.neutral200,
}}
/>
</ColorPalette>

0 comments on commit b91da4c

Please sign in to comment.