Skip to content

Commit

Permalink
Align colors with JS
Browse files Browse the repository at this point in the history
  • Loading branch information
antonis committed Dec 13, 2024
1 parent f8a82fd commit 30a7b10
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions packages/core/src/js/feedback/FeedbackForm.styles.ts
Original file line number Diff line number Diff line change
@@ -1,43 +1,52 @@
import type { FeedbackFormStyles } from './FeedbackForm.types';

const PURPLE = 'rgba(88, 74, 192, 1)';
const FORGROUND_COLOR = '#2b2233';
const BACKROUND_COLOR = '#fff';
const BORDER_COLOR = 'rgba(41, 35, 47, 0.13)';

const defaultStyles: FeedbackFormStyles = {
container: {
flex: 1,
padding: 20,
backgroundColor: '#fff',
backgroundColor: BACKROUND_COLOR,
},
title: {
fontSize: 24,
fontWeight: 'bold',
marginBottom: 20,
textAlign: 'center',
color: FORGROUND_COLOR,
},
label: {
marginBottom: 4,
fontSize: 16,
color: FORGROUND_COLOR,
},
input: {
height: 50,
borderColor: '#ccc',
borderColor: BORDER_COLOR,
borderWidth: 1,
borderRadius: 5,
paddingHorizontal: 10,
marginBottom: 15,
fontSize: 16,
color: FORGROUND_COLOR,
},
textArea: {
height: 100,
textAlignVertical: 'top',
color: FORGROUND_COLOR,
},
submitButton: {
backgroundColor: '#6a1b9a',
backgroundColor: PURPLE,
paddingVertical: 15,
borderRadius: 5,
alignItems: 'center',
marginBottom: 10,
},
submitText: {
color: '#fff',
color: BACKROUND_COLOR,
fontSize: 18,
fontWeight: 'bold',
},
Expand All @@ -46,7 +55,7 @@ const defaultStyles: FeedbackFormStyles = {
alignItems: 'center',
},
cancelText: {
color: '#6a1b9a',
color: FORGROUND_COLOR,
fontSize: 16,
},
};
Expand Down

0 comments on commit 30a7b10

Please sign in to comment.