diff --git a/lib/components/ViewPublicationPage/questions/Emoji/EmojiVariant.tsx b/lib/components/ViewPublicationPage/questions/Emoji/EmojiVariant.tsx index e13635e..20645db 100644 --- a/lib/components/ViewPublicationPage/questions/Emoji/EmojiVariant.tsx +++ b/lib/components/ViewPublicationPage/questions/Emoji/EmojiVariant.tsx @@ -62,6 +62,10 @@ const OwnInput = ({ questionId, variant, largeCheck, ownPlaceholder }: OwnInputP "&::-webkit-scrollbar": { width: "4px", }, + "&::placeholder": { + color: theme.palette.ownPlaceholder.main, + opacity: 0.65, + }, "&::-webkit-scrollbar-thumb": { backgroundColor: theme.palette.primary.main, }, diff --git a/lib/components/ViewPublicationPage/questions/Images/ImageVariant.tsx b/lib/components/ViewPublicationPage/questions/Images/ImageVariant.tsx index 881f8ca..d552067 100644 --- a/lib/components/ViewPublicationPage/questions/Images/ImageVariant.tsx +++ b/lib/components/ViewPublicationPage/questions/Images/ImageVariant.tsx @@ -51,6 +51,10 @@ const OwnInput = ({ questionId, variant, largeCheck, ownPlaceholder }: OwnInputP "&::-webkit-scrollbar": { width: "4px", }, + "&::placeholder": { + color: theme.palette.ownPlaceholder.main, + opacity: 0.65, + }, "&::-webkit-scrollbar-thumb": { backgroundColor: theme.palette.primary.main, }, diff --git a/lib/components/ViewPublicationPage/questions/Variant/VariantItem.tsx b/lib/components/ViewPublicationPage/questions/Variant/VariantItem.tsx index d258d8a..3e2afb3 100644 --- a/lib/components/ViewPublicationPage/questions/Variant/VariantItem.tsx +++ b/lib/components/ViewPublicationPage/questions/Variant/VariantItem.tsx @@ -50,6 +50,10 @@ const OwnInput = ({ questionId, variant, largeCheck, ownPlaceholder }: OwnInputP "&::-webkit-scrollbar": { width: "4px", }, + "&::placeholder": { + color: theme.palette.ownPlaceholder.main, + opacity: "0.65!important", + }, "&::-webkit-scrollbar-thumb": { backgroundColor: theme.palette.primary.main, }, diff --git a/lib/components/ViewPublicationPage/questions/Varimg/VarimgVariant.tsx b/lib/components/ViewPublicationPage/questions/Varimg/VarimgVariant.tsx index 8eca0b5..9a597aa 100644 --- a/lib/components/ViewPublicationPage/questions/Varimg/VarimgVariant.tsx +++ b/lib/components/ViewPublicationPage/questions/Varimg/VarimgVariant.tsx @@ -60,6 +60,10 @@ const OwnInput = ({ questionId, variant, largeCheck, ownPlaceholder }: OwnInputP "&::-webkit-scrollbar": { width: "4px", }, + "&::placeholder": { + color: theme.palette.ownPlaceholder.main, + opacity: "0.65", + }, "&::-webkit-scrollbar-thumb": { backgroundColor: theme.palette.primary.main, }, diff --git a/lib/utils/themes/dark.ts b/lib/utils/themes/dark.ts index 91b4b4e..05033b8 100644 --- a/lib/utils/themes/dark.ts +++ b/lib/utils/themes/dark.ts @@ -43,7 +43,7 @@ const darkTheme = createTheme({ main: "#333647", }, ownPlaceholder: { - main: "#333647", + main: "(51, 54, 71, 0.65)", }, }, }); diff --git a/lib/utils/themes/light.ts b/lib/utils/themes/light.ts index 744ee46..15e7b78 100644 --- a/lib/utils/themes/light.ts +++ b/lib/utils/themes/light.ts @@ -47,7 +47,7 @@ const lightTheme = createTheme({ main: "#FB5607", }, ownPlaceholder: { - main: "#FFFFFF", + main: "1,1,1,0.65", }, navbarbg: { main: "#FFFFFF", diff --git a/package.json b/package.json index 5c88c7e..6c6600b 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@frontend/squzanswerer", - "version": "1.0.55", + "version": "1.0.56", "type": "module", "main": "./dist-package/index.js", "module": "./dist-package/index.js",