Updated AGPL logo (#1235)

This commit is contained in:
Alex
2025-05-15 19:47:56 -06:00
committed by GitHub
parent 0ddc7d5e00
commit fd9b8b4b20
4 changed files with 103 additions and 65 deletions
File diff suppressed because one or more lines are too long
@@ -21,9 +21,11 @@ import { LogoBaseProps } from "./LogoBase.types";
const LogoBase = styled.svg<SVGProps<any> & LogoBaseProps>((props) => {
let mainColor = get(props, "theme.logoLabelColor", "#000");
let contrast = get(props, "theme.logoContrast", "#fff");
if (props.inverse) {
mainColor = get(props, "theme.logoLabelInverse", "#fff");
contrast = get(props, "theme.logoContrastInverse", "#000");
}
return {
@@ -33,6 +35,9 @@ const LogoBase = styled.svg<SVGProps<any> & LogoBaseProps>((props) => {
"& .minioApplicationName": {
fill: mainColor,
},
"& .contrast": {
fill: contrast,
},
};
});
+2
View File
@@ -339,6 +339,8 @@ export interface ThemeDefinitionProps {
logoColor: string;
logoLabelColor: string;
logoLabelInverse: string;
logoContrast: string;
logoContrastInverse: string;
loaderColor: string;
linkColor?: string;
boxBackground: string;
+4
View File
@@ -192,6 +192,8 @@ export const lightTheme: ThemeDefinitionProps = {
logoColor: lightColors.mainRed,
logoLabelColor: lightColors.logoLabel,
logoLabelInverse: lightColors.logoLabelInverse,
logoContrast: lightColors.white,
logoContrastInverse: lightColors.logoLabel,
loaderColor: lightColors.loaderColor,
linkColor: lightColors.linkColor,
boxBackground: lightColors.boxBackground,
@@ -668,6 +670,8 @@ export const darkTheme: ThemeDefinitionProps = {
logoColor: darkColors.mainRed,
logoLabelColor: darkColors.logoLabel,
logoLabelInverse: darkColors.logoLabelInverse,
logoContrast: darkColors.dark,
logoContrastInverse: darkColors.dark,
loaderColor: darkColors.loaderColor,
linkColor: darkColors.linkColor,
boxBackground: darkColors.boxBackground,