fix: breadcrumbs

This commit is contained in:
Caio Cabral committed 2025-01-09 08:40:25 -05:00
1 parent 3ffcadc06e
commit 7686b1ecf5
5 files changed
+22 -15

No files matched your search

+13 -3
View File
@@ -1,4 +1,4 @@
import { light } from "@mui/material/styles/createPalette";
/* import { light } from "@mui/material/styles/createPalette"; */
const typographyBase = 14;
@@ -259,6 +259,7 @@ const semanticColors = {
const newColors = {
offWhite: "#FEFEFE",
offBlack: "#131315",
gray100: "#EFEFEF",
gray200: "#E3E3E3",
gray500: "#A2A3A3",
blueGray50: "#E8F0FE",
@@ -315,6 +316,16 @@ const newSemanticColors = {
dark: newColors.blueGray600,
},
},
secondary: {
main: {
light: newColors.gray100,
dark: newColors.gray100,
},
contrastText: {
light: newColors.blueGray600,
dark: newColors.gray200,
},
},
/* For success, warning and error, contrastText works wll with main, and with the theme primary main color. Accent is to be used in graphs */
success: {
main: {
@@ -358,6 +369,7 @@ const newSemanticColors = {
dark: newColors.orange600,
},
},
/* These are temporary, just for everything not to break */
gradient: {
color1: {
light: paletteColors.gray90,
@@ -394,6 +406,4 @@ const newSemanticColors = {
},
};
/* TODO proximo passo: quebrar o projeto */
export { typographyLevels, semanticColors as colors, newSemanticColors };
+1 -1
View File
@@ -1,6 +1,6 @@
import { createTheme } from "@mui/material";
import { baseTheme } from "./globalTheme";
import { colors, newSemanticColors } from "./constants";
import { /* colors, */ newSemanticColors } from "./constants";
function extractThemeColors(themeType, colorObject) {
if (!["light", "dark"].includes(themeType)) {
+1 -1
View File
@@ -1,6 +1,6 @@
import { createTheme } from "@mui/material";
import { baseTheme } from "./globalTheme";
import { colors, newSemanticColors } from "./constants";
import { /* colors, */ newSemanticColors } from "./constants";
function extractThemeColors(themeType, colorObject) {
if (!["light", "dark"].includes(themeType)) {