Skip to content

Commit

Permalink
Jia/_/fix not available page color (#756)
Browse files Browse the repository at this point in the history
* fix: hamburger menu icon

* fix: color

* chore: fix format

* chore: clean up code
  • Loading branch information
jia-deriv authored Aug 5, 2024
1 parent 14fea7a commit a55678e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/javascript/app/pages/trade/not-available.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import contractManager from '../../common/contract_manager.js';
const NotAvailable = ({ title, body }) => (
<div className='not-available-container'>
<section className='not-available-section'>
<Text size='xl' bold centered>
<Text size='xl' bold centered color='not-available-section-text'>
{title}
</Text>
<Text size='lg' centered>
<Text size='lg' centered color='not-available-section-text'>
{body}
</Text>
<Button
Expand Down
6 changes: 5 additions & 1 deletion src/sass/_common/reskin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -920,6 +920,10 @@ html.test {
max-width: 940px;
}

.not-available-section-text {
color: var(--component-textIcon-normal-prominent);
}

.main-loader {
display: flex;
flex-direction: column;
Expand Down Expand Up @@ -1059,4 +1063,4 @@ html.test {
&:hover {
background: var(--core-color-solid-green-1100);
}
}
}

0 comments on commit a55678e

Please sign in to comment.