UNPKG

@nurl/panda-preset

Version:

Official Panda-CSS preset for the Ganglion Design System.

1 lines 3.06 kB
{"version":3,"sources":["../../../src/theme/tokens.ts"],"sourcesContent":["export const fonts = {\n display: {\n description: 'Primary font reserved for display headings',\n value: 'var(--font-nurl)',\n },\n sans: {\n description: 'Primary font used for body and headings',\n value: 'var(--font-nurl)',\n },\n mono: {\n description: 'Code font used for any code related scenarios',\n value: 'var(--font-nurl-mono)',\n },\n monoStrong: {\n description: 'Code font used for any code related scenarios',\n value: 'var(--font-nurl-mono-strong)',\n },\n}\n\nexport const zIndex = {\n hide: {\n description: 'Used for when you need to hide elements in the layer stack',\n value: -1,\n },\n base: { description: 'Initial layer value', value: 0 },\n\n // pseudo-elements, borders, etc.\n decorator: {\n description:\n 'Used for positioning pseudo-elements, borders, and other similar elements in the layer stack',\n value: 50,\n },\n\n // elements\n dropdown: {\n description:\n 'Used for positioning any dropdown like elements in the layer stack',\n value: 1000,\n },\n sticky: {\n description:\n 'Used for positioning elements that need to stick to their nearest scrolling ancestor in the layer stack',\n value: 1200,\n },\n banner: {\n description:\n 'Used for positioning any elements that are used like a admonition in the layer stack',\n value: 1300,\n },\n overlay: {\n description: 'Used for positioning overlay elements in the layer stack',\n value: 1400,\n },\n modal: {\n description: 'Used for positioning modal elements in the layer stack',\n value: 1500,\n },\n popover: {\n description: 'Used for positioning popover elements in the layer stack',\n value: 1600,\n },\n toast: {\n description: 'Used for positioning toast elements in the layer stack',\n value: 1700,\n },\n tooltip: {\n description: 'Used for positioning tooltip elements in the layer stack',\n value: 1800,\n },\n}\n\nexport const tokens = {\n fonts,\n zIndex,\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,IAAM,QAAQ;AAAA,EACnB,SAAS;AAAA,IACP,aAAa;AAAA,IACb,OAAO;AAAA,EACT;AAAA,EACA,MAAM;AAAA,IACJ,aAAa;AAAA,IACb,OAAO;AAAA,EACT;AAAA,EACA,MAAM;AAAA,IACJ,aAAa;AAAA,IACb,OAAO;AAAA,EACT;AAAA,EACA,YAAY;AAAA,IACV,aAAa;AAAA,IACb,OAAO;AAAA,EACT;AACF;AAEO,IAAM,SAAS;AAAA,EACpB,MAAM;AAAA,IACJ,aAAa;AAAA,IACb,OAAO;AAAA,EACT;AAAA,EACA,MAAM,EAAE,aAAa,uBAAuB,OAAO,EAAE;AAAA;AAAA,EAGrD,WAAW;AAAA,IACT,aACE;AAAA,IACF,OAAO;AAAA,EACT;AAAA;AAAA,EAGA,UAAU;AAAA,IACR,aACE;AAAA,IACF,OAAO;AAAA,EACT;AAAA,EACA,QAAQ;AAAA,IACN,aACE;AAAA,IACF,OAAO;AAAA,EACT;AAAA,EACA,QAAQ;AAAA,IACN,aACE;AAAA,IACF,OAAO;AAAA,EACT;AAAA,EACA,SAAS;AAAA,IACP,aAAa;AAAA,IACb,OAAO;AAAA,EACT;AAAA,EACA,OAAO;AAAA,IACL,aAAa;AAAA,IACb,OAAO;AAAA,EACT;AAAA,EACA,SAAS;AAAA,IACP,aAAa;AAAA,IACb,OAAO;AAAA,EACT;AAAA,EACA,OAAO;AAAA,IACL,aAAa;AAAA,IACb,OAAO;AAAA,EACT;AAAA,EACA,SAAS;AAAA,IACP,aAAa;AAAA,IACb,OAAO;AAAA,EACT;AACF;AAEO,IAAM,SAAS;AAAA,EACpB;AAAA,EACA;AACF;","names":[]}