diff --git a/www/i18n/en.json b/www/i18n/en.json index b4c688b55..be884a2a5 100644 --- a/www/i18n/en.json +++ b/www/i18n/en.json @@ -356,6 +356,11 @@ "error-loading-config-app-start": "Error loading config on app start", "survey-missing-formpath": "Error while fetching resources in config: survey_info.surveys has a survey without a formPath" }, + "errors": { + "while-populating-composite": "Error while populating composite trips", + "while-loading-another-week": "Error while loading travel of {{when}} week", + "while-loading-specific-week": "Error while loading travel for the week of {{day}}" + }, "consent-text": { "title":"NREL OPENPATH PRIVACY POLICY/TERMS OF USE", "introduction":{ diff --git a/www/js/appTheme.ts b/www/js/appTheme.ts index 2fa1ab3f7..7571a564c 100644 --- a/www/js/appTheme.ts +++ b/www/js/appTheme.ts @@ -62,12 +62,15 @@ const flavorOverrides = { }, } }, - draft: { // for draft TripCards; a greyish color scheme + draft: { // for TripCards and LabelDetailsScreen of draft trips; a greyish color scheme colors: { primary: '#616971', // lch(44 6 250) primaryContainer: '#b6bcc2', // lch(76 4 250) + background: '#eef1f4', // lch(95 2 250) + surface: '#eef1f4', // lch(95 2 250) + surfaceDisabled: '#c7cacd', // lch(81 2 250) elevation: { - level1: '#dbddde', // lch(88 1 250) + level1: '#e1e3e4', // lch(90 1 250) level2: '#d2d5d8', // lch(85 2 250) }, } diff --git a/www/js/components/DiaryButton.tsx b/www/js/components/DiaryButton.tsx index 00a097295..16c716f93 100644 --- a/www/js/components/DiaryButton.tsx +++ b/www/js/components/DiaryButton.tsx @@ -8,18 +8,13 @@ type Props = ButtonProps & { fillColor?: string, borderColor?: string }; const DiaryButton = ({ children, fillColor, borderColor, icon, ...rest } : Props) => { const { colors } = useTheme(); - - const blackAlpha15 = color('black').alpha(0.15).rgb().string(); - const style = { - borderColor: borderColor || (fillColor ? blackAlpha15 : colors.primary), - borderWidth: 1.5, - }; const textColor = rest.textColor || (fillColor ? colors.onPrimary : colors.primary); return (