1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Poll working

But did not re-render
This commit is contained in:
Zhiyuan Zheng
2020-12-03 01:28:56 +01:00
parent 8986680c6d
commit 7d7c907fa3
35 changed files with 1125 additions and 766 deletions

View File

@ -2,11 +2,13 @@ import { DefaultTheme, DarkTheme } from '@react-navigation/native'
export type ColorDefinitions =
| 'primary'
| 'primaryOverlay'
| 'secondary'
| 'disabled'
| 'background'
| 'backgroundGradientStart'
| 'backgroundGradientEnd'
| 'backgroundOverlay'
| 'link'
| 'border'
| 'separator'
@ -24,6 +26,10 @@ const themeColors: {
light: 'rgb(0, 0, 0)',
dark: 'rgb(255, 255, 255)'
},
primaryOverlay: {
light: 'rgb(255, 255, 255)',
dark: 'rgb(0, 0, 0)'
},
secondary: {
light: 'rgb(153, 153, 153)',
dark: 'rgb(117, 117, 117)'
@ -44,6 +50,10 @@ const themeColors: {
light: 'rgba(255, 255, 255, 1)',
dark: 'rgba(0, 0, 0, 1)'
},
backgroundOverlay: {
light: 'rgba(0, 0, 0, 0.5)',
dark: 'rgb(255, 255, 255, 0.5)'
},
link: {
light: 'rgb(0, 122, 255)',
dark: 'rgb(10, 132, 255)'