src_constants.js

/** @module constants */

/**
 * @constant
 * @type {Object}
 * @property {number} X_LEFT=0 X position of gist on the left
 * @property {number} X_RIGHT=200 X position of gist on the right
 * @property {number} Y_DOWN=25 Y line break size of gist
 * @property {number} MAX_GISTS=30 Maximum number of gists to display
 * @property {string} [DEFAULT_THEME=default] Default theme
 * @property {string} [DEFAULT_TITLE=My Gists] Default title
 * @property {number} CARD_WIDTH=495 Width of the card
 * @property {number} CARD_HEIGHT=100 Height of the card
 * @property {number} PIN_WIDTH=400 Width of the pin
 * @property {number} PIN_HEIGHT=120 Height of the pin
 * @property {number} PIN_STATS_Y=45 Y position of pin stats
 * @property {number} BREAK_SIZE=15 Size of the line break
 * @property {number} CHARS_WRAP=60 Wrap after characters
 */
export const CONSTANTS = {
  X_LEFT: 0,
  X_RIGHT: 200,
  Y_DOWN: 25,
  MAX_GISTS: 30,
  DEFAULT_THEME: "default",
  DEFAULT_TITLE: "My Gists",
  CARD_WIDTH: 445,
  CARD_HEIGHT: 100,
  PIN_WIDTH: 400,
  PIN_HEIGHT: 120,
  PIN_STATS_Y: 45,
  BREAK_SIZE: 15,
  CHARS_WRAP: 60
};