diff options
author | Kirill Rogovoy <[email protected]> | 2021-07-19 20:06:08 +0300 |
---|---|---|
committer | Kirill Rogovoy <[email protected]> | 2021-07-19 20:06:08 +0300 |
commit | f0bf4e7afdcd8b02a62be45ab3e7d047ed865a79 (patch) | |
tree | 575c0ff2cbb846252bd2e494c81c396846aab2f6 /app/theme | |
parent | 67ad38d0a7cd319623e9f41c0c381ed5c5f6f973 (diff) |
Apply Prettier
Diffstat (limited to 'app/theme')
-rw-r--r-- | app/theme/color.ts | 4 | ||||
-rw-r--r-- | app/theme/index.ts | 8 | ||||
-rw-r--r-- | app/theme/palette.ts | 18 | ||||
-rw-r--r-- | app/theme/typography.ts | 8 |
4 files changed, 19 insertions, 19 deletions
diff --git a/app/theme/color.ts b/app/theme/color.ts index 7cbb7c7..aa582e7 100644 --- a/app/theme/color.ts +++ b/app/theme/color.ts @@ -1,4 +1,4 @@ -import { palette } from "./palette" +import { palette } from './palette' /** * Roles for colors. Prefer using these over the palette. It makes it easier @@ -19,7 +19,7 @@ export const color = { * can cause older Android devices to slow down due to the excessive compositing required * by their under-powered GPUs. */ - transparent: "rgba(0, 0, 0, 0)", + transparent: 'rgba(0, 0, 0, 0)', /** * The screen background. */ diff --git a/app/theme/index.ts b/app/theme/index.ts index 46bf684..95cca26 100644 --- a/app/theme/index.ts +++ b/app/theme/index.ts @@ -1,4 +1,4 @@ -export * from "./color" -export * from "./spacing" -export * from "./typography" -export * from "./timing" +export * from './color' +export * from './spacing' +export * from './typography' +export * from './timing' diff --git a/app/theme/palette.ts b/app/theme/palette.ts index ee16af4..b2b075d 100644 --- a/app/theme/palette.ts +++ b/app/theme/palette.ts @@ -1,11 +1,11 @@ export const palette = { - black: "#1d1d1d", - white: "#ffffff", - offWhite: "#e6e6e6", - orange: "#FBA928", - orangeDarker: "#EB9918", - lightGrey: "#939AA4", - lighterGrey: "#CDD4DA", - angry: "#dd3333", - deepPurple: "#5D2555", + black: '#1d1d1d', + white: '#ffffff', + offWhite: '#e6e6e6', + orange: '#FBA928', + orangeDarker: '#EB9918', + lightGrey: '#939AA4', + lighterGrey: '#CDD4DA', + angry: '#dd3333', + deepPurple: '#5D2555', } diff --git a/app/theme/typography.ts b/app/theme/typography.ts index 5f7de85..1695777 100644 --- a/app/theme/typography.ts +++ b/app/theme/typography.ts @@ -1,4 +1,4 @@ -import { Platform } from "react-native" +import { Platform } from 'react-native' /** * You can find a list of available fonts on both iOS and Android here: @@ -17,15 +17,15 @@ export const typography = { /** * The primary font. Used in most places. */ - primary: Platform.select({ ios: "Helvetica", android: "normal" }), + primary: Platform.select({ ios: 'Helvetica', android: 'normal' }), /** * An alternate font used for perhaps titles and stuff. */ - secondary: Platform.select({ ios: "Arial", android: "sans-serif" }), + secondary: Platform.select({ ios: 'Arial', android: 'sans-serif' }), /** * Lets get fancy with a monospace font! */ - code: Platform.select({ ios: "Courier", android: "monospace" }), + code: Platform.select({ ios: 'Courier', android: 'monospace' }), } |