mirror of
https://github.com/balzack/databag.git
synced 2025-02-14 12:39:17 +00:00
fixing build
This commit is contained in:
parent
a0b07bfed8
commit
622111e697
@ -14,19 +14,19 @@ const LightColors = {
|
|||||||
screenBase: '#dddddd',
|
screenBase: '#dddddd',
|
||||||
areaBase: '#ffffff',
|
areaBase: '#ffffff',
|
||||||
headerBar: '#eeeeee',
|
headerBar: '#eeeeee',
|
||||||
primaryButton '#448866',
|
primaryButton: '#448866',
|
||||||
inputBase: '#ffffff',
|
inputBase: '#ffffff',
|
||||||
inputPlaceholder: '#888888',
|
inputPlaceholder: '#888888',
|
||||||
inputText: '#444444',
|
inputText: '#444444',
|
||||||
connectedIndicator: '#41d041',
|
connectedIndicator: '#41d041',
|
||||||
connectingIndicator: '#0000cc',
|
connectingIndicator: '#0000cc',
|
||||||
requestedIndicator: '#00bbbb'
|
requestedIndicator: '#00bbbb',
|
||||||
pendingIndicator: '#bbbb00',
|
pendingIndicator: '#bbbb00',
|
||||||
confirmedIndicator: '#88bb00',
|
confirmedIndicator: '#88bb00',
|
||||||
unknownIndicator: '#dddddd',
|
unknownIndicator: '#dddddd',
|
||||||
errorIndicator: '#ffaaaa',
|
errorIndicator: '#ffaaaa',
|
||||||
horizontalDivider: '#eeeeee',
|
horizontalDivider: '#eeeeee',
|
||||||
verticalDivider: '#aaaaaa'
|
verticalDivider: '#aaaaaa',
|
||||||
unreadIndicator: '#00aa00',
|
unreadIndicator: '#00aa00',
|
||||||
disconnectedIndicator: '#aa0000',
|
disconnectedIndicator: '#aa0000',
|
||||||
};
|
};
|
||||||
@ -37,21 +37,21 @@ const DarkColors = {
|
|||||||
idleTabIcon: '#aaaaaa',
|
idleTabIcon: '#aaaaaa',
|
||||||
linkText: '#88eecc',
|
linkText: '#88eecc',
|
||||||
dangerText: '#ffaaaa',
|
dangerText: '#ffaaaa',
|
||||||
labelText: "#eeeeee',
|
labelText: '#eeeeee',
|
||||||
iconText: '#fffff',
|
iconText: '#fffff',
|
||||||
unsetText: '#aaaaaa',
|
unsetText: '#aaaaaa',
|
||||||
descriptionText: '#bbbbbb',
|
descriptionText: '#bbbbbb',
|
||||||
text: '#ffffff',
|
text: '#ffffff',
|
||||||
screenBase: '#333333',
|
screenBase: '#333333',
|
||||||
areaBase: '#555555',
|
areaBase: '#555555',
|
||||||
headerBar '#555555',
|
headerBar: '#555555',
|
||||||
primaryButton: '#448866',
|
primaryButton: '#448866',
|
||||||
inputBase: '#ffffff',
|
inputBase: '#ffffff',
|
||||||
inputPlaceholder: '#888888',
|
inputPlaceholder: '#888888',
|
||||||
inputText: '#444444',
|
inputText: '#444444',
|
||||||
connectedIndicator: '#00cc00',
|
connectedIndicator: '#00cc00',
|
||||||
connectingIndicator: '#0000cc',
|
connectingIndicator: '#0000cc',
|
||||||
requestedIndicator: '#00bbbb'
|
requestedIndicator: '#00bbbb',
|
||||||
pendingIndicator: '#bbbb00',
|
pendingIndicator: '#bbbb00',
|
||||||
confirmedIndicator: '#88bb00',
|
confirmedIndicator: '#88bb00',
|
||||||
unknownIndicator: '#dddddd',
|
unknownIndicator: '#dddddd',
|
||||||
@ -63,7 +63,7 @@ const DarkColors = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
function getColor(label) {
|
function getColor(label) {
|
||||||
return Appearance.getColorsScheme() === 'dark' ? DarkColors[label] : LightColors[label];
|
return Appearance.getColorScheme() === 'dark' ? DarkColors[label] : LightColors[label];
|
||||||
}
|
}
|
||||||
|
|
||||||
export const Colors = {
|
export const Colors = {
|
||||||
@ -79,7 +79,7 @@ export const Colors = {
|
|||||||
text: getColor('text'),
|
text: getColor('text'),
|
||||||
screenBase: getColor('screenBase'),
|
screenBase: getColor('screenBase'),
|
||||||
areaBase: getColor('areaBase'),
|
areaBase: getColor('areaBase'),
|
||||||
headerBar getColor('headerBar'),
|
headerBar: getColor('headerBar'),
|
||||||
primaryButton: getColor('primaryButton'),
|
primaryButton: getColor('primaryButton'),
|
||||||
inputBase: getColor('inputBase'),
|
inputBase: getColor('inputBase'),
|
||||||
inputPlaceholder: getColor('inputPlaceholder'),
|
inputPlaceholder: getColor('inputPlaceholder'),
|
||||||
|
Loading…
Reference in New Issue
Block a user