Skip to content

Commit

Permalink
fix: wrong warning colors (#735)
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztofzuraw authored Jan 23, 2024
1 parent 93954fa commit a49a07b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/theme/contract.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export const vars = createGlobalThemeContract(
defaultDisabled: null,
info1: null,
success1: null,
// warning1: null,
warning1: null,
},
},
fontSize: {
Expand Down
5 changes: 3 additions & 2 deletions src/theme/themes/defaultDark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const defaultDark = {
defaultDisabled: "hsla(211, 32%, 21%, 1)",
info1: "hsla(215, 100%, 62%, 1)",
success1: "hsla(173, 100%, 32%, 1)",
warning1: "hsla(36, 44%, 50%, 1)",
warning1: "hsla(42, 100%, 84%, 1)",
},
text: {
accent1: "hsla(215, 100%, 83%, 1)",
Expand All @@ -63,7 +63,7 @@ export const defaultDark = {
defaultDisabled: "hsla(212, 19%, 39%, 1)",
info1: "hsla(215, 100%, 83%, 1)",
success1: "hsla(173, 79%, 62%, 1)",
warning1: "hsla(42, 100%, 84%, 1)",
warning1: "hsla(36, 44%, 50%, 1)",
},
border: {
accent1: "hsla(215, 100%, 39%, 1)",
Expand All @@ -75,6 +75,7 @@ export const defaultDark = {
default2: "hsla(211, 21%, 39%, 1)",
info1: "hsla(210, 32%, 25%, 1)",
success1: "hsl(173, 79%, 62%, 1)",
warning1: "hsla(36, 44%, 50%, 1)",
},
},
fontSize,
Expand Down
5 changes: 3 additions & 2 deletions src/theme/themes/defaultLight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const defaultLight = {
defaultDisabled: "hsla(211, 16%, 94%, 1)",
info1: "hsla(233, 100%, 91%, 1)",
success1: "hsla(173, 43%, 80%, 1)",
warning1: "hsla(36, 44%, 50%, 1)",
warning1: "hsla(42, 100%, 84%, 1)",
},
text: {
accent1: "hsla(234, 96%, 56%, 1)",
Expand All @@ -63,7 +63,7 @@ export const defaultLight = {
defaultDisabled: "hsla(212, 14%, 67%, 1)",
info1: "hsla(234, 100%, 42%, 1)",
success1: "hsla(169, 42%, 20%, 1)",
warning1: "hsla(42, 100%, 84%, 1)",
warning1: "hsla(36, 44%, 50%, 1)",
},
border: {
accent1: "hsla(215, 100%, 74%, 1)",
Expand All @@ -75,6 +75,7 @@ export const defaultLight = {
defaultDisabled: "hsla(210, 15%, 87%, 1)",
info1: "hsla(234, 100%, 42%, 1)",
success1: "hsla(173, 97%, 15%, 1)",
warning1: "hsla(36, 44%, 50%, 1)",
},
},
fontSize,
Expand Down

1 comment on commit a49a07b

@vercel
Copy link

@vercel vercel bot commented on a49a07b Jan 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.