minor fixes
This commit is contained in:
parent
b24265246f
commit
5e4262ef49
@ -63,8 +63,8 @@ export const penaMuiTheme = createTheme({
|
||||
textTransform: "none",
|
||||
color: "white",
|
||||
"&:hover": {
|
||||
backgroundColor: "#944FEE",
|
||||
border: `1px solid #944FEE`,
|
||||
backgroundColor: theme.palette.purple.main,
|
||||
border: `1px solid ${theme.palette.purple.main}`,
|
||||
},
|
||||
"&:active": {
|
||||
backgroundColor: "#FFFFFF",
|
||||
@ -182,10 +182,11 @@ export const penaMuiTheme = createTheme({
|
||||
textTransform: "none",
|
||||
color: "white",
|
||||
"&:hover": {
|
||||
color: "#944FEE",
|
||||
color: theme.palette.purple.main,
|
||||
backgroundColor: "rgb(0 0 0 / 0)",
|
||||
},
|
||||
"&:active": {
|
||||
color: "#944FEE",
|
||||
color: theme.palette.purple.main,
|
||||
}
|
||||
}),
|
||||
},
|
||||
@ -202,6 +203,7 @@ export const penaMuiTheme = createTheme({
|
||||
color: "black",
|
||||
"&:hover": {
|
||||
color: theme.palette.purple.dark,
|
||||
backgroundColor: "rgb(0 0 0 / 0)",
|
||||
},
|
||||
"&:active": {
|
||||
color: theme.palette.purple.dark,
|
||||
|
5
lib/utils/getInitials.ts
Normal file
5
lib/utils/getInitials.ts
Normal file
@ -0,0 +1,5 @@
|
||||
export function getInitials(firstname: string, secondname: string) {
|
||||
return firstname[0] && secondname[0]
|
||||
? firstname[0] + secondname[0]
|
||||
: "АА";
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
export * from "./backendMessageHandler";
|
||||
export * from "./cart";
|
||||
export * from "./devlog";
|
||||
export * from "./getInitials";
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@frontend/kitui",
|
||||
"version": "1.0.32",
|
||||
"version": "1.0.33",
|
||||
"description": "test",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.js",
|
||||
|
Loading…
Reference in New Issue
Block a user