Skip to content

Commit 1ec9d92

Browse files
committed
style: change yellow color to marigold
1 parent 766ae68 commit 1ec9d92

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
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(255, 249, 23)');
44-
expect(bgColor(remote)).toBe('rgb(255, 249, 23)');
43+
expect(bgColor(local)).toBe('rgb(239, 160, 11)');
44+
expect(bgColor(remote)).toBe('rgb(239, 160, 11)');
4545
});
4646

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

app/src/components/common/StatusArrow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const BaseIcon = styled.span`
99
color: ${props => props.theme.colors.green};
1010
}
1111
&.warn {
12-
color: ${props => props.theme.colors.yellow};
12+
color: ${props => props.theme.colors.gold};
1313
}
1414
&.error {
1515
color: ${props => props.theme.colors.pink};

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.yellow};
11+
color: ${props => props.theme.colors.gold};
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.yellow};
51+
props.state === SUCCESS ? props.theme.colors.green : props.theme.colors.gold};
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-
yellow: string;
38+
gold: 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-
yellow: '#fff917',
78+
gold: '#efa00b',
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.yellow;
51+
if (level === BalanceStatus.warn) return theme.colors.gold;
5252
return theme.colors.green;
5353
};

0 commit comments

Comments
 (0)