Skip to content

Commit

Permalink
fixes font color and defaults sans family
Browse files Browse the repository at this point in the history
  • Loading branch information
agnlez committed Sep 18, 2023
1 parent 16572a3 commit 48aa85d
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export const CompanyUploader: React.FC<CompanyUploaderProps> = ({
or <b>click here</b> to upload
</p>

<p className="mt-2 text-center text-xxs text-gray-100">{`Recommended file size < ${bytesToKilobytes(
<p className="mt-2 text-center text-xxs text-gray-400">{`Recommended file size < ${bytesToKilobytes(
COMPANY_LOGO_UPLOADER_MAX_SIZE
)} KB`}</p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ export const CostSurfaceUploadModal = ({
or <b>click here</b> to upload
</p>

<p className="mt-2 text-center text-xxs text-gray-100">{`Recommended file size < ${bytesToMegabytes(
<p className="mt-2 text-center text-xxs text-gray-400">{`Recommended file size < ${bytesToMegabytes(
COST_SURFACE_UPLOADER_MAX_SIZE
)} MB`}</p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ export const FeatureUploadModal = ({
or <b>click here</b> to upload
</p>

<p className="mt-2 text-center text-xxs text-gray-100">{`Recommended file size < ${bytesToMegabytes(
<p className="mt-2 text-center text-xxs text-gray-400">{`Recommended file size < ${bytesToMegabytes(
UPLOADER_MAX_SIZE
)} MB`}</p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ export const WDPAUploadModal = ({
or <b>click here</b> to upload
</p>

<p className="mt-2 text-center text-xxs text-gray-100">{`Recommended file size < ${bytesToMegabytes(
<p className="mt-2 text-center text-xxs text-gray-400">{`Recommended file size < ${bytesToMegabytes(
PROTECTED_AREA_UPLOADER_SHAPEFILE_MAX_SIZE
)} MB`}</p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ export const GridSetupCostSurface = (): JSX.Element => {
or <b>click here</b> to upload
</p>

<p className="mt-2 text-center text-xxs text-gray-100">{`Recommended file size < ${bytesToMegabytes(
<p className="mt-2 text-center text-xxs text-gray-400">{`Recommended file size < ${bytesToMegabytes(
COST_SURFACE_UPLOADER_MAX_SIZE
)} MB`}</p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ export const ScenariosFeaturesAddUploader = (): JSX.Element => {
or <b>click here</b> to upload
</p>

<p className="mt-2 text-center text-xxs text-gray-100">{`Recommended file size < ${bytesToMegabytes(
<p className="mt-2 text-center text-xxs text-gray-400">{`Recommended file size < ${bytesToMegabytes(
FEATURES_UPLOADER_SHAPEFILE_MAX_SIZE
)} MB`}</p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export const UploadPUMethod = (): JSX.Element => {
Drag and drop your polygon data file <br /> or click here to upload
</p>

<p className="text-xs text-gray-100">{`Recommended file size < ${bytesToMegabytes(
<p className="text-xs text-gray-400">{`Recommended file size < ${bytesToMegabytes(
PLANNING_UNIT_UPLOADER_MAX_SIZE
)} MB`}</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ export const ProtectedAreaUploader: React.FC<ProtectedAreaUploaderProps> = ({
or <b>click here</b> to upload
</p>

<p className="mt-2 text-center text-xxs text-gray-100">{`Recommended file size < ${bytesToMegabytes(
<p className="mt-2 text-center text-xxs text-gray-400">{`Recommended file size < ${bytesToMegabytes(
PROTECTED_AREA_UPLOADER_SHAPEFILE_MAX_SIZE
)} MB`}</p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export const UploadItem: React.FC<UploadItemProps> = ({ f, input, ...fprops }: U
or <b>click here</b> to upload
</p>

<p className="mt-2 text-center text-xxs text-gray-100">{`Recommended file size < ${bytesToMegabytes(
<p className="mt-2 text-center text-xxs text-gray-400">{`Recommended file size < ${bytesToMegabytes(
f.maxSize
)} MB`}</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export const UploadModal: React.FC<UploadModalProps> = ({ onDismiss }: UploadMod
or <b>click here</b> to upload
</p>

<p className="mt-2 text-center text-xxs text-gray-100">{`Recommended file size < ${bytesToMegabytes(
<p className="mt-2 text-center text-xxs text-gray-400">{`Recommended file size < ${bytesToMegabytes(
PROJECT_UPLOADER_MAX_SIZE
)} MB`}</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ export const PlanningAreaGridUploader: React.FC<PlanningAreaGridUploaderProps> =
</motion.div>
)}

<ul className="ml-3 mt-3 flex list-disc flex-col items-start text-center text-xxs leading-5 text-gray-100">
<ul className="ml-3 mt-3 flex list-disc flex-col items-start text-center text-xxs leading-5 text-gray-400">
<li>
{`Recommended file size < ${bytesToMegabytes(
PLANNING_AREA_GRID_UPLOADER_MAX_SIZE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ export const PlanningAreUploader: React.FC<PlanningAreUploaderProps> = ({
or <b>click here</b> to upload
</p>

<p className="mt-2 text-center text-xxs text-gray-100">{`Recommended file size < ${bytesToMegabytes(
<p className="mt-2 text-center text-xxs text-gray-400">{`Recommended file size < ${bytesToMegabytes(
PLANNING_AREA_UPLOADER_MAX_SIZE
)} MB`}</p>

Expand Down
3 changes: 2 additions & 1 deletion app/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* eslint-disable @typescript-eslint/no-var-requires */
const defaultTheme = require('tailwindcss/defaultTheme');
const forms = require('@tailwindcss/forms')({
strategy: 'class',
});
Expand Down Expand Up @@ -115,7 +116,7 @@ module.exports = {
},
fontFamily: {
heading: 'Poppins',
sans: 'Basier Circle',
sans: ['Basier Circle', ...defaultTheme.fontFamily.sans],
},
fontSize: {
xxs: ['0.625rem', { lineHeight: '0.75rem' }],
Expand Down

0 comments on commit 48aa85d

Please sign in to comment.