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

Commit

Permalink
feat(ratios): add ratios
Browse files Browse the repository at this point in the history
  • Loading branch information
mg901 committed Feb 6, 2019
1 parent 85eb278 commit 8f75c2e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,23 @@ export { toSnakeCase } from './convertors/to-snake-case';
export { isNumeric } from './helpers/is-numeric';
export type { BreakpointsMap, Breakpoint } from './models/breakpoints';
export type { UserConfig } from './models/user-config';

export const ratios = {
AUGMENTED_FOURTH: 1.41421,
DOUBLE_OCTAVE: 4,
GOLDEN_SECTION: 1.618034,
MAJOR_ELEVENTH: 2.666666667,
MAJOR_SECOND: 1.125,
MAJOR_SEVENTH: 1.875,
MAJOR_SIXTH: 1.666666667,
MAJOR_TENTH: 2.5,
MAJOR_THIRD: 1.25,
MAJOR_TWELFTH: 3,
MINOR_SECOND: 1.066666667,
MINOR_SEVENTH: 1.777777778,
MINOR_THIRD: 1.2,
OCTAVE: 2,
PERFECT_FIFTH: 1.5,
PERFECT_FOURTH: 1.333333333,
PHI: 1.618034,
};

0 comments on commit 8f75c2e

Please sign in to comment.