Skip to content

Commit c308d48

Browse files
New black_50 + brown_75 (keybase#15357)
* merged black_40 and black_60 into black_50 * updated storybook * updated storytests * darkened brown * replaced colors * updated storybook
1 parent 45c1244 commit c308d48

103 files changed

Lines changed: 2080 additions & 2116 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/attachment-fullscreen/index.desktop.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class _Fullscreen extends React.Component<Props & OverlayParentProps, State> {
5353
common: {marginLeft: globalMargins.tiny},
5454
isElectron: {cursor: 'pointer'},
5555
})}
56-
color={globalColors.black_40}
56+
color={globalColors.black_50}
5757
onClick={this.props.toggleShowingMenu}
5858
/>
5959
<MessagePopup
@@ -103,7 +103,7 @@ class _Fullscreen extends React.Component<Props & OverlayParentProps, State> {
103103
{!this._isLoaded() && <ProgressIndicator style={{margin: 'auto'}} />}
104104
<Box style={headerFooterStyle}>
105105
{!!this.props.progressLabel && (
106-
<Text type="BodySmall" style={{color: globalColors.black_60, marginRight: globalMargins.tiny}}>
106+
<Text type="BodySmall" style={{color: globalColors.black_50, marginRight: globalMargins.tiny}}>
107107
{this.props.progressLabel}
108108
</Text>
109109
)}
@@ -127,7 +127,7 @@ class _Fullscreen extends React.Component<Props & OverlayParentProps, State> {
127127
const Fullscreen: any = KeyHandler(OverlayParentHOC((_Fullscreen: any)))
128128

129129
const linkStyle = platformStyles({
130-
isElectron: {color: globalColors.black_60, cursor: 'pointer'},
130+
isElectron: {color: globalColors.black_50, cursor: 'pointer'},
131131
})
132132

133133
const containerStyle = {

‎shared/chat/conversation/header-area/normal/index.desktop.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const ChannelHeader = (props: Props) => (
2929
>
3030
<Text
3131
type={props.smallTeam ? 'BodyBig' : 'BodySmallSemibold'}
32-
style={props.smallTeam ? {color: globalColors.black_75} : {color: globalColors.black_40}}
32+
style={props.smallTeam ? {color: globalColors.black_75} : {color: globalColors.black_50}}
3333
>
3434
{props.teamName}
3535
</Text>
@@ -58,7 +58,7 @@ const UsernameHeader = (props: Props) => (
5858
colorFollowing={true}
5959
underline={true}
6060
inline={false}
61-
commaColor={globalColors.black_40}
61+
commaColor={globalColors.black_50}
6262
type="BodyBig"
6363
usernames={props.participants}
6464
containerStyle={styleCenter}

‎shared/chat/conversation/header-area/normal/index.native.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const Wrapper = (props: {
3131
<Icon
3232
type="iconfont-arrow-left"
3333
fontSize={24}
34-
color={globalColors.black_40}
34+
color={globalColors.black_50}
3535
style={iconCastPlatformStyles(styles.arrow)}
3636
/>
3737
{!!props.badgeNumber && <Badge badgeNumber={props.badgeNumber} />}
@@ -94,7 +94,7 @@ const UsernameHeader = (props: Props) => (
9494
<ConnectedUsernames
9595
colorFollowing={true}
9696
inline={false}
97-
commaColor={globalColors.black_40}
97+
commaColor={globalColors.black_50}
9898
type={isMobile ? 'BodySemibold' : 'BodyBig'}
9999
usernames={props.participants}
100100
containerStyle={styles.center}
@@ -123,7 +123,7 @@ const styles = styleSheetCreate({
123123
color: globalColors.black_75,
124124
},
125125
channelNameLight: {
126-
color: globalColors.black_40,
126+
color: globalColors.black_50,
127127
},
128128
container: {
129129
alignItems: 'stretch',

‎shared/chat/conversation/messages/attachment/file/index.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,14 @@ const styles = Styles.styleSheetCreate({
7575
marginRight: Styles.globalMargins.tiny,
7676
},
7777
linkStyle: {
78-
color: Styles.globalColors.black_60,
78+
color: Styles.globalColors.black_50,
7979
},
8080
progressContainerStyle: {
8181
...Styles.globalStyles.flexBoxRow,
8282
alignItems: 'center',
8383
},
8484
progressLabelStyle: {
85-
color: Styles.globalColors.black_40,
85+
color: Styles.globalColors.black_50,
8686
marginRight: Styles.globalMargins.tiny,
8787
},
8888
titleStyle: {

‎shared/chat/conversation/messages/attachment/image/index.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ const styles = Styles.styleSheetCreate({
221221
},
222222
durationContainer: {
223223
alignSelf: 'flex-start',
224-
backgroundColor: Styles.globalColors.black_60,
224+
backgroundColor: Styles.globalColors.black_50,
225225
borderRadius: 2,
226226
bottom: Styles.globalMargins.tiny,
227227
padding: 1,
@@ -248,7 +248,7 @@ const styles = Styles.styleSheetCreate({
248248
width: '100%',
249249
},
250250
link: {
251-
color: Styles.globalColors.black_60,
251+
color: Styles.globalColors.black_50,
252252
},
253253
playButton: {
254254
bottom: '50%',
@@ -278,7 +278,7 @@ const styles = Styles.styleSheetCreate({
278278
alignItems: 'center',
279279
},
280280
progressLabel: {
281-
color: Styles.globalColors.black_40,
281+
color: Styles.globalColors.black_50,
282282
marginRight: Styles.globalMargins.tiny,
283283
},
284284
title: Styles.platformStyles({

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ const MessagePopupHeader = (props: {
4949
<Kb.Box style={Styles.globalStyles.flexBoxRow}>
5050
<Kb.Text
5151
type="BodySmall"
52-
style={{color: deviceRevokedAt ? Styles.globalColors.black_40 : Styles.globalColors.green}}
52+
style={{color: deviceRevokedAt ? Styles.globalColors.black_50 : Styles.globalColors.green}}
5353
>
5454
ENCRYPTED
5555
</Kb.Text>
5656
<Kb.Text
5757
type="BodySmall"
58-
style={{color: deviceRevokedAt ? Styles.globalColors.black_40 : Styles.globalColors.green}}
58+
style={{color: deviceRevokedAt ? Styles.globalColors.black_50 : Styles.globalColors.green}}
5959
>
6060
&nbsp;& SIGNED
6161
</Kb.Text>
@@ -102,7 +102,7 @@ const MessagePopupHeader = (props: {
102102

103103
const styles = Styles.styleSheetCreate({
104104
alignItemsCenter: {alignItems: 'center'},
105-
colorBlack40: {color: Styles.globalColors.black_40},
105+
colorBlack40: {color: Styles.globalColors.black_50},
106106
headerContainer: Styles.platformStyles({
107107
common: {
108108
...Styles.globalStyles.flexBoxColumn,

‎shared/chat/conversation/messages/react-button/index.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const ReactButton = (props: Props) => (
7373
</Box2>
7474
<Text
7575
type="BodyTinyBold"
76-
style={{color: props.active ? Styles.globalColors.blue : Styles.globalColors.black_40}}
76+
style={{color: props.active ? Styles.globalColors.blue : Styles.globalColors.black_50}}
7777
>
7878
{props.count}
7979
</Text>
@@ -183,7 +183,7 @@ export class NewReactionButton extends React.Component<NewReactionButtonProps, N
183183
{Styles.isMobile ? (
184184
<Icon
185185
type="iconfont-reacji"
186-
color={Styles.globalColors.black_40}
186+
color={Styles.globalColors.black_50}
187187
fontSize={16}
188188
style={iconCastPlatformStyles(styles.emojiIconWrapper)}
189189
/>
@@ -192,7 +192,7 @@ export class NewReactionButton extends React.Component<NewReactionButtonProps, N
192192
<Icon
193193
key={iconName}
194194
type={iconName}
195-
color={this.state.hovering ? Styles.globalColors.black_60 : Styles.globalColors.black_40}
195+
color={this.state.hovering ? Styles.globalColors.black_50 : Styles.globalColors.black_50}
196196
fontSize={16}
197197
style={iconCastPlatformStyles(
198198
Styles.collapseStyles([

‎shared/chat/conversation/messages/reaction-tooltip/index.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export const ReactionTooltip = (props: Props) => {
7474
>
7575
<Kb.Icon
7676
type="iconfont-reacji"
77-
color={Styles.globalColors.black_40}
77+
color={Styles.globalColors.black_50}
7878
fontSize={22}
7979
style={Kb.iconCastPlatformStyles(styles.addReactionButtonIcon)}
8080
/>
@@ -152,7 +152,7 @@ const styles = Styles.styleSheetCreate({
152152
marginRight: Styles.globalMargins.tiny,
153153
},
154154
addReactionButtonText: {
155-
color: Styles.globalColors.black_40,
155+
color: Styles.globalColors.black_50,
156156
},
157157
buttonContainer: {
158158
alignItems: 'center',
@@ -167,7 +167,7 @@ const styles = Styles.styleSheetCreate({
167167
padding: Styles.globalMargins.small,
168168
},
169169
emojiText: {
170-
color: Styles.globalColors.black_40,
170+
color: Styles.globalColors.black_50,
171171
flex: -1,
172172
},
173173
list: Styles.platformStyles({

‎shared/chat/conversation/messages/system-added-to-team/index.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,21 +80,21 @@ const YouAddedToTeam = (props: Props) => {
8080
<Kb.Text
8181
type="BodySmallSemibold"
8282
backgroundMode="Announcements"
83-
style={{color: Styles.globalColors.black_40}}
83+
style={{color: Styles.globalColors.black_50}}
8484
>
8585
{formatTimeForMessages(props.timestamp)}
8686
</Kb.Text>
8787
<Kb.Box style={{...Styles.globalStyles.flexBoxColumn, alignItems: 'center'}}>
8888
<Kb.Text
8989
type="BodySmallSemibold"
9090
backgroundMode="Announcements"
91-
style={{color: Styles.globalColors.black_40, textAlign: 'center'}}
91+
style={{color: Styles.globalColors.black_50, textAlign: 'center'}}
9292
>
9393
<YouOrUsername username={adder} you={you} capitalize={true} /> added{' '}
9494
<YouOrUsername username={addee} adder={adder} you={you} capitalize={false} /> to{' '}
9595
<Kb.Text
9696
onClick={onViewTeam}
97-
style={{color: Styles.globalColors.black_60}}
97+
style={{color: Styles.globalColors.black_50}}
9898
type="BodySmallSemiboldSecondaryLink"
9999
>
100100
{teamname}

‎shared/chat/conversation/messages/system-git-push/index.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const GitPushCreate = ({pusher, repo, repoID, team, onViewGitRepo}) => {
3535
{` `} created a new team repository called {` `}
3636
<Text
3737
type="BodySmallSemibold"
38-
style={repoID ? {color: globalColors.black_60} : undefined}
38+
style={repoID ? {color: globalColors.black_50} : undefined}
3939
onClick={repoID ? () => onViewGitRepo(repoID, team) : undefined}
4040
>
4141
{repo}
@@ -55,7 +55,7 @@ const GitPushDefault = ({pusher, commitRef, repo, repoID, team, branchName, onVi
5555
{`commit${!!commitRef.commits && commitRef.commits.length !== 1 ? 's' : ''}`} to
5656
<Text
5757
type="BodySmallSemibold"
58-
style={repoID ? {color: globalColors.black_60} : undefined}
58+
style={repoID ? {color: globalColors.black_50} : undefined}
5959
onClick={repoID ? () => onViewGitRepo(repoID, team) : undefined}
6060
>{` ${repo}/${branchName}`}</Text>
6161
:
@@ -121,7 +121,7 @@ const GitPushCommon = ({children, pusher, timestamp, onClickUserAvatar}: PushCom
121121
onClickAvatar={() => onClickUserAvatar(pusher)}
122122
>
123123
{!isMobile && <Icon type="icon-team-git-16" style={{marginLeft: 20, marginTop: -12, zIndex: 999}} />}
124-
<Text type="BodySmallSemibold" backgroundMode="Announcements" style={{color: globalColors.black_40}}>
124+
<Text type="BodySmallSemibold" backgroundMode="Announcements" style={{color: globalColors.black_50}}>
125125
{formatTimeForMessages(timestamp)}
126126
</Text>
127127
{children}

0 commit comments

Comments
 (0)