Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Commit

Permalink
fix(error-messages): fix error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mg901 committed Jan 23, 2019
1 parent ef26a60 commit 0ea8058
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/error-messages.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// @flow

export const BASE_ERROR_MESSAGE = `'base: ' must be a string with a value in pixels or ems or an array of strings.
// Example 'base': ['1em', '32px'] or 'base': '16px'.`;
Example 'base': ['1em', '32px'] or 'base': '16px'.`;

export const BREAKPOINT_ERROR_MESSAGE = `'breakpoint: ' must be a string with a value in pixels or ems.
// Example 'breakpoint': '1024px' or 'breakpoint': '40em'.`;
Example 'breakpoint': '1024px' or 'breakpoint': '40em'.`;

export const LINE_HEIGHT_ERRROR_MESSAGE = `'lineHeight: ' must be a number.
// Example 'lineHeight': 1.5`;
Example 'lineHeight': 1.5`;

export const RATIO_ERROR_MESSAGE = `'ratio: ' must contain a number or a string containing the font size, the word 'at' and step.
// Example base: 1.25 or base: '36px at 6'.`;
Example base: 1.25 or base: '36px at 6'.`;

0 comments on commit 0ea8058

Please sign in to comment.