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