Skip to content

Commit

Permalink
cambio de ubicacion de color
Browse files Browse the repository at this point in the history
  • Loading branch information
williamSaya-J committed Aug 15, 2023
1 parent 19a9474 commit aceabd6
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 21 deletions.
40 changes: 20 additions & 20 deletions src/components/LoadingFullScreen/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import {StyleSheet, Modal, ModalProps, Text, View} from 'react-native';
import Loading from '../Loading';
import Svg from '../Svg';
import {grey} from '../../theme/palette';
import {grey, white} from '../../theme/palette';
import {Names} from '../../ts/interfaces/svgs';

interface ILoadingFullScreen extends ModalProps {
Expand All @@ -12,6 +12,25 @@ interface ILoadingFullScreen extends ModalProps {
spinnerDuration?: number;
}

const styles = StyleSheet.create({
ContainerStyles: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: white.semiTransparent,
},
TextStyles: {
fontSize: 16,
lineHeight: 24,
fontFamily: 'Roboto',
color: grey[700],
textAlign: 'center',
fontWeight: '500',
width: '50%',
marginTop: 25,
},
});

const LoadingFullScreen = ({
text,
isLoading,
Expand All @@ -32,23 +51,4 @@ const LoadingFullScreen = ({
);
};

const styles = StyleSheet.create({
ContainerStyles: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: 'rgba(255, 255, 255, 0.75)',
},
TextStyles: {
fontSize: 16,
lineHeight: 24,
fontFamily: 'Roboto',
color: grey[700],
textAlign: 'center',
fontWeight: '500',
width: '50%',
marginTop: 25,
},
});

export default LoadingFullScreen;
1 change: 1 addition & 0 deletions src/theme/palette.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const white: White = {
main: '#E8EAF6',
dark: '#D0D3E3',
light: '#F4F5FB',
semiTransparent: 'rgba(255, 255, 255, 0.75)',
};
const grey: GreyScale = {
100: '#DDDFE2',
Expand Down
4 changes: 3 additions & 1 deletion src/ts/interfaces/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,6 @@ export interface Alert extends gamaColor {}
export interface Primary extends gamaColor {
light: string;
}
export interface White extends Primary {}
export interface White extends Primary {
semiTransparent: string;
}

0 comments on commit aceabd6

Please sign in to comment.