fix: fixing button color text on dark mode

This commit is contained in:
Caio Cabral committed 2024-12-02 19:14:26 -05:00
1 parent 8e831bdb65
commit a4d64d8e05
3 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
import React, { useState } from "react"; import { useState } from "react";
import PropTypes from "prop-types"; import PropTypes from "prop-types";
import { useNavigate } from "react-router"; import { useNavigate } from "react-router";
import { useSelector } from "react-redux"; import { useSelector } from "react-redux";
+3 -1
View File
@@ -206,12 +206,14 @@ const semanticColors = {
light: { light: {
light: paletteColors.gray200, light: paletteColors.gray200,
dark: paletteColors.gray800, dark: paletteColors.gray800,
/* TODO this should live in a different key (border.disabled.light and .dark) */
disabled: paletteColors.gray150, disabled: paletteColors.gray150,
}, },
dark: { dark: {
light: paletteColors.gray200, light: paletteColors.gray200,
dark: paletteColors.gray750, dark: paletteColors.gray750,
disabled: paletteColors.gray800, /* TODO this should live in a different key (border.disabled.light and .dark) */
disabled: paletteColors.gray150,
}, },
}, },
unresolved: { unresolved: {
+1
View File
@@ -28,6 +28,7 @@ const {
} = colors; } = colors;
const palette = { const palette = {
/* TODO check if we need the addition of a new color gray150 for this. Also, this color would probably fit for primary contrastText */
action: { action: {
disabled: border.light.disabled, disabled: border.light.disabled,
}, },