Skip to content

Commit 2537d95

Browse files
committed
feat: fix modal colors
1 parent 1335228 commit 2537d95

File tree

6 files changed

+11
-5
lines changed

6 files changed

+11
-5
lines changed

apps/frontend/src/app/colors.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@
6666
--color-custom52: #eaeef2;
6767
--color-custom53: #7c7d86;
6868
--color-custom54: #afb8c1;
69+
--color-custom55: #1b263b;
70+
--color-modalCustom: #000000;
6971
}
7072
.light {
7173
--color-primary: #fff;
@@ -134,5 +136,7 @@
134136
--color-custom52: #eaeef2;
135137
--color-custom53: #7c7d86;
136138
--color-custom54: #afb8c1;
139+
--color-custom55: #d5d7e1;
140+
--color-modalCustom: transparent;
137141
}
138142
}

apps/frontend/src/app/global.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ div div .set-font-family {
438438
.tags-top .react-tags__combobox {
439439
height: 44px;
440440
display: flex;
441-
background-color: #141c2c;
441+
background-color: var(--color-input);
442442
padding-left: 10px;
443443
padding-right: 10px;
444444
min-width: 150px;

apps/frontend/src/components/new-launch/add.post.button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const AddPostButton: FC<{
2929
/>
3030
</svg>
3131
</div>
32-
<div className="text-white">{t('add_comment', 'Add comment')}</div>
32+
<div className="!text-white">{t('add_comment', 'Add comment')}</div>
3333
</Button>
3434
);
3535
};

apps/frontend/src/components/new-launch/editor.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ export const Editor: FC<{
369369
return (
370370
<>
371371
<div className="relative bg-customColor2" id={id}>
372-
<div className="flex gap-[5px] bg-[#1b263b] border-b border-t border-customColor3 justify-center items-center p-[5px]">
372+
<div className="flex gap-[5px] bg-customColor55 border-b border-t border-customColor3 justify-center items-center p-[5px]">
373373
<SignatureBox editor={newRef?.current?.editor!} />
374374
<UText
375375
editor={newRef?.current?.editor!}
@@ -426,7 +426,7 @@ export const Editor: FC<{
426426
}}
427427
/>
428428
{validateChars && props.value.length < 6 && (
429-
<div className="px-3 text-sm bg-red-600 text-red-300 mb-[4px]">
429+
<div className="px-3 text-sm bg-red-600 !text-white mb-[4px]">
430430
{t(
431431
'the_post_should_be_at_least_6_characters_long',
432432
'The post should be at least 6 characters long'

apps/frontend/src/components/new-launch/manage.modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ export const ManageModal: FC<AddEditModalProps> = (props) => {
272272
<>
273273
<div
274274
className={clsx(
275-
'flex flex-col md:flex-row p-[10px] rounded-[4px] bg-primary gap-[20px]'
275+
'flex flex-col md:flex-row p-[10px] rounded-[4px] bg-modalCustom gap-[20px]'
276276
)}
277277
>
278278
<div

apps/frontend/tailwind.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ module.exports = {
7070
customColor52: 'var(--color-custom52)',
7171
customColor53: 'var(--color-custom53)',
7272
customColor54: 'var(--color-custom54)',
73+
customColor55: 'var(--color-custom55)',
74+
modalCustom: 'var(--color-modalCustom)',
7375
},
7476
gridTemplateColumns: {
7577
13: 'repeat(13, minmax(0, 1fr));',

0 commit comments

Comments
 (0)