Skip to content

Commit 5fe2f78

Browse files
feat(units): add DPI constants/presets
1 parent 2bc65e7 commit 5fe2f78

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/units/src/constants/paper-sizes.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,10 @@ export const US_ARCH_E_LANDSCAPE = $(US_ARCH_E);
7272
export const US_ARCH_E1_LANDSCAPE = $(US_ARCH_E1);
7373
export const US_ARCH_E2_LANDSCAPE = $(US_ARCH_E2);
7474
export const US_ARCH_E3_LANDSCAPE = $(US_ARCH_E3);
75+
76+
// screen/print densities
77+
78+
export const DPI_72 = quantity(72, "dpi");
79+
export const DPI_150 = quantity(150, "dpi");
80+
export const DPI_300 = quantity(300, "dpi");
81+
export const DPI_600 = quantity(600, "dpi");

0 commit comments

Comments
 (0)