Skip to content

Commit

Permalink
Change default themes to light-blue and dark-blue
Browse files Browse the repository at this point in the history
  • Loading branch information
brunolemos committed Feb 2, 2019
1 parent d37ee26 commit d1b2d49
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 15 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/utils/constants.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { ThemePair } from '../types'

export const COLUMNS_LIMIT = 20
export const DEFAULT_DARK_THEME = 'dark-gray'
export const DEFAULT_LIGHT_THEME = 'light-gray'
export const DEFAULT_DARK_THEME = 'light-blue'
export const DEFAULT_LIGHT_THEME = 'dark-blue'
export const DEFAULT_PAGINATION_PER_PAGE = 10
export const DEFAULT_THEME_PAIR: ThemePair = { id: 'auto', color: '' }
export const MAX_COLUMN_WIDTH = 360
Expand Down
2 changes: 1 addition & 1 deletion packages/desktop/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function getBrowserWindowOptions() {
const options: Electron.BrowserWindowConstructorOptions = {
minWidth: 320,
minHeight: 450,
backgroundColor: '#292c33',
backgroundColor: '#242b38',
darkTheme: true,
icon:
process.platform === 'darwin' || process.platform === 'win32'
Expand Down
10 changes: 4 additions & 6 deletions packages/mobile/android/app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@
<color name="brand_background">#49d3b4</color>
<color name="brand_foreground">#141C26</color>

<color name="background_color_dark">#292c33</color>
<color name="background_color_less08_dark">#3b404a</color>
<color name="foreground_color_dark">#f9fafb</color>
<color name="background_color_dark">#242B38</color>
<color name="foreground_color_dark">#E9ECF1</color>

<color name="background_color_light">#F0F0F0</color>
<color name="background_color_less08_light">#dcdcdc</color>
<color name="foreground_color_light">#242424</color>
<color name="background_color_light">#ECF0F1</color>
<color name="foreground_color_light">#283436</color>
</resources>
5 changes: 4 additions & 1 deletion packages/mobile/ios/devhub/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
moduleName:@"devhub"
initialProperties:nil
launchOptions:launchOptions];
rootView.backgroundColor = [UIColor colorWithRed:0.16 green:0.17 blue:0.20 alpha:1.0];


// #242b38 (dark-blue)
rootView.backgroundColor = [UIColor colorWithRed:0.14 green:0.17 blue:0.22 alpha:1.0];

self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
UIViewController *rootViewController = [UIViewController new];
Expand Down
2 changes: 1 addition & 1 deletion packages/mobile/ios/devhub/Base.lproj/LaunchScreen.xib
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</constraints>
</imageView>
</subviews>
<color key="backgroundColor" red="0.16078431372549018" green="0.17254901960784313" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<color key="backgroundColor" red="0.14117647058823529" green="0.16862745098039217" blue="0.2196078431372549" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="zch-fU-eGV" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="Do9-BS-cLl"/>
<constraint firstItem="zch-fU-eGV" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" constant="-80" id="HV4-1R-3p3"/>
Expand Down
4 changes: 2 additions & 2 deletions packages/web/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="application-name" content="DevHub">
<meta name="apple-mobile-web-app-title" content="DevHub">
<meta name="theme-color" content="#292c33">
<meta name="msapplication-navbutton-color" content="#292c33">
<meta name="theme-color" content="#242b38">
<meta name="msapplication-navbutton-color" content="#242b38">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="msapplication-starturl" content="https://devhubapp.com/">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, shrink-to-fit=no">
Expand Down
2 changes: 1 addition & 1 deletion packages/web/public/static/css/error.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ body {
display: flex;
align-content: center;
align-items: center;
background-color: #292c33;
background-color: #242b38;
text-align: center;
color: #fff;
font-family: sans-serif;
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ html {
}

body {
background-color: #292c33;
background-color: #242b38;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
Expand Down

0 comments on commit d1b2d49

Please sign in to comment.