Skip to content

Commit fccdc41

Browse files
authored
Update green and remove green2. (keybase#14084)
* Update green and remove green2. * Update icons. * Add follower images. * Optimize images.
1 parent cf7bba4 commit fccdc41

451 files changed

Lines changed: 477 additions & 752 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎shared/chat/conversation/messages/account-payment/container.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const mapStateToProps = (state, ownProps: OwnProps) => {
3535
amount: paymentInfo.worth ? paymentInfo.worth : paymentInfo.amountDescription,
3636
balanceChange: `${paymentInfo.delta === 'increase' ? '+' : '-'}${paymentInfo.amountDescription}`,
3737
balanceChangeColor:
38-
paymentInfo.delta === 'increase' ? Styles.globalColors.green2 : Styles.globalColors.red,
38+
paymentInfo.delta === 'increase' ? Styles.globalColors.green : Styles.globalColors.red,
3939
icon: 'iconfont-stellar-send',
4040
loading: false,
4141
memo: paymentInfo.note.stringValue(),

‎shared/chat/conversation/messages/message-popup/header.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ const MessagePopupHeader = (props: {
4242
<Kb.Box style={Styles.globalStyles.flexBoxRow}>
4343
<Kb.Text
4444
type="BodySmall"
45-
style={{color: deviceRevokedAt ? Styles.globalColors.black_40 : Styles.globalColors.green2}}
45+
style={{color: deviceRevokedAt ? Styles.globalColors.black_40 : Styles.globalColors.green}}
4646
>
4747
ENCRYPTED
4848
</Kb.Text>
4949
<Kb.Text
5050
type="BodySmall"
51-
style={{color: deviceRevokedAt ? Styles.globalColors.black_40 : Styles.globalColors.green2}}
51+
style={{color: deviceRevokedAt ? Styles.globalColors.black_40 : Styles.globalColors.green}}
5252
>
5353
&nbsp;& SIGNED
5454
</Kb.Text>

‎shared/chat/conversation/messages/message-popup/payment/container.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const sendMergeProps = (stateProps, dispatchProps, ownProps: SendOwnProps) => {
8686
attachTo: ownProps.attachTo,
8787
balanceChange: `${paymentInfo.delta === 'increase' ? '+' : '-'}${paymentInfo.amountDescription}`,
8888
balanceChangeColor:
89-
paymentInfo.delta === 'increase' ? Styles.globalColors.green2 : Styles.globalColors.red,
89+
paymentInfo.delta === 'increase' ? Styles.globalColors.green : Styles.globalColors.red,
9090
bottomLine: '', // TODO on asset support in payment
9191
icon: paymentInfo.delta === 'increase' ? 'receiving' : 'sending',
9292
loading: false,

‎shared/chat/conversation/messages/message-popup/payment/index.stories.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const youReceiveProps = {
3838
...commonProps,
3939
amountNominal: '$1',
4040
balanceChange: '+5.0200803 XLM',
41-
balanceChangeColor: S.globalColors.green2,
41+
balanceChangeColor: S.globalColors.green,
4242
bottomLine: '',
4343
icon: receiveIcon,
4444
onSeeDetails,
@@ -90,7 +90,7 @@ const youReceiveBTCProps = {
9090
...commonProps,
9191
amountNominal: '1 BTC',
9292
balanceChange: '+1 BTC',
93-
balanceChangeColor: S.globalColors.green2,
93+
balanceChangeColor: S.globalColors.green,
9494
bottomLine: 'stronghold.com',
9595
icon: receiveIcon,
9696
onSeeDetails,

‎shared/chat/conversation/messages/wrapper/wrapper-author/index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const colorForAuthor = (user: string, isYou: boolean, isFollowing: boolean, isBr
5151
if (isBroken) {
5252
return Styles.globalColors.red
5353
}
54-
return isFollowing ? Styles.globalColors.green2 : Styles.globalColors.blue
54+
return isFollowing ? Styles.globalColors.green : Styles.globalColors.blue
5555
}
5656

5757
const UserAvatar = ({author, onAuthorClick}) => (

‎shared/common-adapters/button.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ const containerStyles = styleSheetCreate({
171171
common: {
172172
...common,
173173
backgroundColor: globalColors.white,
174-
borderColor: globalColors.green2,
174+
borderColor: globalColors.green,
175175
borderWidth: 2,
176176
},
177177
isElectron: {borderStyle: 'solid'},
@@ -190,15 +190,15 @@ const containerStyles = styleSheetCreate({
190190
const labelStyles = styleSheetCreate({
191191
CustomLabel: {color: globalColors.black_75, textAlign: 'center'},
192192
DangerLabel: commonLabel,
193-
PrimaryGreenActiveLabel: {...commonLabel, color: globalColors.green2},
193+
PrimaryGreenActiveLabel: {...commonLabel, color: globalColors.green},
194194
PrimaryGreenLabel: commonLabel,
195195
PrimaryLabel: commonLabel,
196196
PrimaryPrivateLabel: commonLabel,
197197
SecondaryLabel: {...commonLabel, color: globalColors.black_75},
198198
SecondaryLabelOnTerminal: {...commonLabel, color: globalColors.white},
199199
WalletLabel: commonLabel,
200200
PrimaryColoredBackgroundLabelRed: {...commonLabel, color: globalColors.red},
201-
PrimaryColoredBackgroundLabelGreen: {...commonLabel, color: globalColors.green2},
201+
PrimaryColoredBackgroundLabelGreen: {...commonLabel, color: globalColors.green},
202202
PrimaryColoredBackgroundLabelBlue: {...commonLabel, color: globalColors.blue},
203203
PrimaryColoredBackgroundLabelBlack: {...commonLabel, color: globalColors.black},
204204
SecondaryColoredBackgroundLabel: {...commonLabel, color: globalColors.white},

‎shared/common-adapters/mention.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const styles = Styles.styleSheetCreate({
3131
follow: {
3232
backgroundColor: Styles.globalColors.green3,
3333
borderRadius: 2,
34-
color: Styles.globalColors.green2,
34+
color: Styles.globalColors.green,
3535
},
3636
highlight: {
3737
backgroundColor: Styles.globalColors.yellow,

‎shared/common-adapters/save-indicator.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ class SaveIndicator extends React.Component<Props, State> {
179179
return (
180180
<React.Fragment>
181181
<Icon type="iconfont-check" color={globalColors.green} />
182-
<Text type="BodySmall" style={{color: globalColors.green2}}>
182+
<Text type="BodySmall" style={{color: globalColors.green}}>
183183
&nbsp; Saved
184184
</Text>
185185
</React.Fragment>

‎shared/common-adapters/text.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@
287287
.text_BodySmallSuccess {
288288
font-size: 12px;
289289
line-height: 16px;
290-
color: rgb(52, 173, 141);
290+
color: rgb(55, 189, 153);
291291
-webkit-font-smoothing: antialiased;
292292
text-rendering: optimizeLegibility;
293293
font-family: OpenSans;

‎shared/common-adapters/text.meta.desktop.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ const metaData: {[key: TextType]: MetaType} = {
246246
styleOverride: globalStyles.fontRegular,
247247
},
248248
BodySmallSuccess: {
249-
colorForBackgroundMode: {Normal: globalColors.green2},
249+
colorForBackgroundMode: {Normal: globalColors.green},
250250
fontSize: 12,
251251
styleOverride: globalStyles.fontRegular,
252252
},

0 commit comments

Comments
 (0)