web_lib

Common web application libraries
git clone https://radroots.dev/git/web_lib.git
Log | Files | Refs | LICENSE

glyphs.ts (601B)


      1 import type { GeometryGlyphDimension } from "$lib/types/lib";
      2 
      3 export const GLYPH_STYLE_MAP: Map<GeometryGlyphDimension, { gl_1: number; dim_1?: number; }> = new Map([
      4     ["xs--", { gl_1: 12 }],
      5     ["xs-", { gl_1: 12, dim_1: 17 }],
      6     ["xs", { gl_1: 15, dim_1: 18 }],
      7     ["xs+", { gl_1: 18, dim_1: 20 }],
      8     ["sm-", { gl_1: 19, dim_1: 22 }],
      9     ["sm", { gl_1: 20, dim_1: 24 }],
     10     ["sm+", { gl_1: 21 }],
     11     ["md-", { gl_1: 23 }],
     12     ["md", { gl_1: 24 }],
     13     ["md+", { gl_1: 26 }],
     14     ["lg-", { gl_1: 27 }],
     15     ["lg", { gl_1: 28 }],
     16     ["xl", { gl_1: 30 }],
     17     ["xl+", { gl_1: 40 }],
     18 ]);