✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.
update colors
AykutSarac32e793c9cd1f
diff --git a/src/components/ErrorContainer/ErrorContainer.tsx b/src/components/ErrorContainer/ErrorContainer.tsxindex c56b6e98..1eac29dc 100644--- a/src/components/ErrorContainer/ErrorContainer.tsx+++ b/src/components/ErrorContainer/ErrorContainer.tsx@@ -29,14 +29,14 @@ const StyledErrorExpand = styled.button<{ error: boolean }>`border-radius: 0;justify-content: space-between;align-items: center;- color: ${({ theme, error }) => (error ? theme.DANGER : theme.TEXT_POSITIVE)};+ color: ${({ theme, error }) => (error ? theme.TEXT_DANGER : theme.TEXT_POSITIVE)};pointer-events: ${({ error }) => !error && "none"};background: ${({ theme }) => theme.BACKGROUND_SECONDARY};box-shadow: 0 1px 0px ${({ theme }) => theme.BACKGROUND_TERTIARY};cursor: pointer;&:hover {- color: ${({ theme }) => theme.DANGER};+ color: ${({ theme }) => theme.TEXT_DANGER};box-shadow: none;}`;@@ -51,7 +51,7 @@ const StyledTitle = styled.span``;const StyledError = styled.pre`- color: ${({ theme }) => theme.DANGER};+ color: ${({ theme }) => theme.TEXT_DANGER};border-bottom: 1px solid ${({ theme }) => theme.SILVER_DARK};font-size: 12px;padding: 12px;diff --git a/src/constants/theme.ts b/src/constants/theme.tsindex 23a48397..60cc11f7 100644--- a/src/constants/theme.ts+++ b/src/constants/theme.ts@@ -9,13 +9,13 @@ const fixedColors = {BLACK_LIGHT: "#2F3136",BLACK_PRIMARY: "#36393f",DARK_SALMON: "#E9967A",- DANGER: "#db662e",+ DANGER: "hsl(359,calc(var(--saturation-factor, 1)*66.7%),54.1%)",LIGHTGREEN: "#90EE90",SEAGREEN: "#3BA55D",ORANGE: "#FAA81A",SILVER: "#B9BBBE",PRIMARY: "#4D4D4D",- TEXT_DANGER: "hsl(359,calc(var(--saturation-factor, 1)*82%),73.9%)",+ TEXT_DANGER: "#db662e",};export const darkTheme: DefaultTheme = {