Skip to content

Commit

Permalink
feat(units): add DPI constants/presets
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed May 23, 2024
1 parent 2bc65e7 commit 5fe2f78
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/units/src/constants/paper-sizes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,10 @@ export const US_ARCH_E_LANDSCAPE = $(US_ARCH_E);
export const US_ARCH_E1_LANDSCAPE = $(US_ARCH_E1);
export const US_ARCH_E2_LANDSCAPE = $(US_ARCH_E2);
export const US_ARCH_E3_LANDSCAPE = $(US_ARCH_E3);

// screen/print densities

export const DPI_72 = quantity(72, "dpi");
export const DPI_150 = quantity(150, "dpi");
export const DPI_300 = quantity(300, "dpi");
export const DPI_600 = quantity(600, "dpi");

0 comments on commit 5fe2f78

Please sign in to comment.