beatprints.js
Version:
A Node.js version of the original Python BeatPrints project (https://github.com/TrueMyst/BeatPrints/) by TrueMyst. Create eye-catching, Pinterest-style music posters effortlessly. BeatPrints integrates with Spotify and LRClib API to help you design custom
54 lines (53 loc) • 1.86 kB
TypeScript
export declare const __filename: string;
export declare const __dirname: string;
export declare namespace Size {
const HEADING_WIDTH = 1760;
const COVER: readonly [2040, 2040];
const SCANCODE: readonly [660, 170];
const TRACKS = 83;
const HEADING = 160;
const ARTIST = 110;
const DURATION = 90;
const LYRICS = 95;
const LABEL = 60;
const MAX_ROWS = 5;
const MAX_WIDTH = 2040;
const SPACING = 70;
const PL_WIDTH = 340;
const PL_HEIGHT = 85;
}
export declare namespace Position {
const COVER: readonly [120, 120];
const HEADING: readonly [120, 2400];
const ARTIST: readonly [120, 2575];
const LYRICS: readonly [120, 2750];
const TRACKS: readonly [120, 2750];
const LABEL: readonly [2160, 3230];
const DURATION: readonly [2160, 2550];
const PALETTE: readonly [120, 2240];
const ACCENT: readonly [0, 3440, 2280, 3480];
const SCANCODE: readonly [90, 3220];
}
export declare namespace Color {
const DARK: readonly [193, 189, 178];
const LIGHT: readonly [50, 47, 48];
const CATPPUCCIN: readonly [205, 214, 244];
const GRUVBOX: readonly [221, 199, 161];
const NORD: readonly [216, 222, 233];
const ROSEPINE: readonly [224, 222, 244];
const EVERFOREST: readonly [211, 198, 170];
const WHITE: readonly [255, 255, 255, 255];
const TRANSPARENT: readonly [0, 0, 0, 0];
}
export declare namespace ThemesSelector {
const THEMES: {
readonly Light: readonly [50, 47, 48];
readonly Dark: readonly [193, 189, 178];
readonly Catppuccin: readonly [205, 214, 244];
readonly Gruvbox: readonly [221, 199, 161];
readonly Nord: readonly [216, 222, 233];
readonly RosePine: readonly [224, 222, 244];
readonly Everforest: readonly [211, 198, 170];
};
type Options = keyof typeof THEMES;
}