Skip to content

Commit 7e04d9f

Browse files
committed
theme: change the orange color to yellow
1 parent 427994f commit 7e04d9f

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

app/src/__tests__/components/loop/ChannelBalance.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ describe('ChannelBalance component', () => {
4040
const { el, remote, local } = render(0.52);
4141
expect(el.children.length).toBe(3);
4242
expect(width(local)).toBe('52%');
43-
expect(bgColor(local)).toBe('rgb(246, 107, 28)');
44-
expect(bgColor(remote)).toBe('rgb(246, 107, 28)');
43+
expect(bgColor(local)).toBe('rgb(255, 249, 23)');
44+
expect(bgColor(remote)).toBe('rgb(255, 249, 23)');
4545
});
4646

4747
it('should display a bad balance', () => {

app/src/components/base/shared.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ export const Badge = styled.span`
3030
margin-left: 10px;
3131
font-family: ${props => props.theme.fonts.open.light};
3232
font-size: ${props => props.theme.sizes.xxs};
33-
color: ${props => props.theme.colors.orange};
34-
border: 1px solid ${props => props.theme.colors.orange};
33+
color: ${props => props.theme.colors.pink};
34+
border: 1px solid ${props => props.theme.colors.pink};
3535
border-radius: 4px;
3636
padding: 3px 5px 5px;
3737
text-transform: lowercase;

app/src/components/common/StatusDot.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const Styled = {
88
color: ${props => props.theme.colors.green};
99
}
1010
&.warn {
11-
color: ${props => props.theme.colors.orange};
11+
color: ${props => props.theme.colors.yellow};
1212
}
1313
&.error {
1414
color: ${props => props.theme.colors.pink};

app/src/components/loop/processing/SwapProgress.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const Styled = {
4848
height: 1px;
4949
width: ${props => props.pct}%;
5050
background-color: ${props =>
51-
props.state === SUCCESS ? props.theme.colors.green : props.theme.colors.orange};
51+
props.state === SUCCESS ? props.theme.colors.green : props.theme.colors.yellow};
5252
transition: all 1s;
5353
`,
5454
};

app/src/components/theme.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export interface Theme {
3535
offWhite: string;
3636
pink: string;
3737
green: string;
38-
orange: string;
38+
yellow: string;
3939
purple: string;
4040
overlay: string;
4141
gradient: string;
@@ -75,7 +75,7 @@ const theme: Theme = {
7575
offWhite: '#f5f5f5',
7676
pink: '#f5406e',
7777
green: '#46E80E',
78-
orange: '#f66b1c',
78+
yellow: '#fff917',
7979
purple: '#57038d',
8080
overlay: 'rgba(245,245,245,0.04)',
8181
gradient: 'linear-gradient(325.53deg, #252F4A 0%, #46547B 100%);',

app/src/util/balances.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ export const statusToColor = (level: BalanceStatus, active: boolean, theme: Them
4848
if (!active) return theme.colors.gray;
4949

5050
if (level === BalanceStatus.danger) return theme.colors.pink;
51-
if (level === BalanceStatus.warn) return theme.colors.orange;
51+
if (level === BalanceStatus.warn) return theme.colors.yellow;
5252
return theme.colors.green;
5353
};

0 commit comments

Comments
 (0)