@ndla/preset-panda 0.0.71 → 0.0.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/styles.css CHANGED
@@ -37,6 +37,7 @@
37
37
  code {
38
38
  background: var(--colors-background-subtle);
39
39
  white-space: pre-wrap;
40
+ overflow-wrap: anywhere;
40
41
  }
41
42
 
42
43
  iframe#launcher {
@@ -797,6 +798,7 @@
797
798
  --colors-surface-action-my-ndla-current: var(--colors-light-yellow-700);
798
799
  --colors-surface-action-brand-1: var(--colors-purple-50);
799
800
  --colors-surface-action-brand-1-hover: var(--colors-purple-100);
801
+ --colors-surface-action-brand-1-hover-strong: var(--colors-purple-400);
800
802
  --colors-surface-action-brand-1-active: var(--colors-purple-300);
801
803
  --colors-surface-action-brand-1-selected: var(--colors-purple-400);
802
804
  --colors-surface-action-brand-2: var(--colors-blue-50);
package/es/globalCss.mjs CHANGED
@@ -34,7 +34,8 @@ const globalCss = defineGlobalStyles({
34
34
  },
35
35
  code: {
36
36
  background: "background.subtle",
37
- whiteSpace: "pre-wrap"
37
+ whiteSpace: "pre-wrap",
38
+ overflowWrap: "anywhere"
38
39
  },
39
40
  "iframe#launcher": { display: "none" },
40
41
  ".ndla-article": {
@@ -1 +1 @@
1
- {"version":3,"file":"globalCss.mjs","names":[],"sources":["../src/globalCss.ts"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport { defineGlobalStyles } from \"@pandacss/dev\";\n\nexport const globalCss = defineGlobalStyles({\n \":root\": {\n // Applied to html in preflight (css reset)\n \"--global-font-body\": \"fonts.sans\",\n // Code, kbd, pre, samp\n \"--global-font-mono\": \"fonts.code\",\n },\n html: {\n minHeight: \"100%\",\n fontFeatureSettings: \"'ss03' on, 'liga' off, 'clig' off\",\n // this is included in the css reset we use. We don't want it.\n \"& h1, h2, h3, h4, h5, h6\": {\n textWrap: \"unset\",\n },\n },\n body: {\n background: \"background.default\",\n color: \"text.default\",\n },\n \"a, summary,[tabindex]:not([tabindex='-1'])\": {\n outline: \"none\",\n _focusVisible: {\n outline: \"3px\",\n borderRadius: \"xsmall\",\n outlineColor: \"stroke.default\",\n outlineOffset: \"3px\",\n outlineStyle: \"solid\",\n },\n },\n code: {\n background: \"background.subtle\",\n whiteSpace: \"pre-wrap\",\n },\n /* Hide default zendesk launcher so that we can provide our own. */\n \"iframe#launcher\": {\n display: \"none\",\n },\n // For future readers: Life here would be much simpler if we could use flex.\n // However, our usage of float within the article content forces us to use margins.\n \".ndla-article\": {\n h1: {\n textStyle: \"heading.medium\",\n },\n h2: {\n textStyle: \"heading.small\",\n },\n h3: {\n textStyle: \"title.medium\",\n },\n \"h4, h5, h6\": {\n textStyle: \"title.small\",\n },\n '& p[data-align=\"center\"]': {\n textAlign: \"center\",\n },\n // TODO: This is not an actual text style. Should it be?\n blockquote: {\n textStyle: \"body.medium\",\n fontFamily: \"serif\",\n },\n '& p:has(span[dir=\"rtl\"])': {\n direction: \"rtl\",\n },\n textStyle: \"body.article\",\n width: \"100%\",\n\n // Non-figure block elements that should have margin above and below.\n '& details, :not(li) > blockquote, [data-embed-type=\"expandable-box\"], [data-embed-type=\"framed-content\"], [data-embed-type=\"factbox\"], table, [data-embed-type=\"related-content-list\"], [data-embed-type=\"link-block-list\"], [data-embed-type=\"pitch\"], [data-embed-type=\"campaign-block\"], [data-embed-type=\"key-figure\"], [data-embed-type=\"grid\"], [data-embed-type=\"contact-block\"], [data-embed-type=\"file-list\"], [data-embed-type=\"uu-disclaimer\"]':\n {\n marginBlockStart: \"xxlarge\",\n marginBlockEnd: \"xxlarge\",\n tabletDown: {\n marginBlockStart: \"xlarge\",\n marginBlockEnd: \"xlarge\",\n },\n },\n\n // Article content is usually wrapped in a section. The rest of the elements in this list contains other elements, and should add margin to them no matter where they are placed in the DOM.\n '& section:not([class]), section:not([class]) > div:not([class]), [data-embed-type=\"framed-content\"], [data-embed-type=\"grid\"] > div, [data-embed-type=\"factbox\"] > div, [data-embed-type=\"copyright\"] > [data-copyright-content], [data-embed-type=\"uu-disclaimer\"] > [data-uu-content], [data-embed-wrapper], details, [data-embed-type=\"expandable-box\"], blockquote':\n {\n '& > :is(h2, [data-embed-type=\"copy-heading\"])': {\n marginBlockStart: \"xlarge\",\n marginBlockEnd: \"small\",\n tabletDown: {\n marginBlockStart: \"large\",\n },\n },\n \"& > h3\": {\n marginBlockStart: \"large\",\n marginBlockEnd: \"xsmall\",\n tabletDown: {\n marginBlockStart: \"medium\",\n },\n },\n \"& > :is(h4, h5, h6)\": {\n marginBlockStart: \"medium\",\n marginBlockEnd: \"xsmall\",\n tabletDown: {\n marginBlockStart: \"small\",\n },\n },\n \"& > :is(figure)\": {\n marginBlockStart: \"xxlarge\",\n marginBlockEnd: \"xxlarge\",\n tabletDown: {\n marginBlockStart: \"xlarge\",\n },\n },\n '& > :is(p, ul, ol, dl, [data-embed-type=\"speech\"])': {\n marginBlockStart: \"xsmall\",\n marginBlockEnd: \"xsmall\",\n },\n '& > :is([data-embed-type=\"ordered-list\"])': {\n marginInlineStart: \"small\",\n },\n },\n '& [data-embed-type=\"framed-content\"], [data-embed-type=\"grid\"] > div, [data-embed-type=\"factbox\"] > div, [data-embed-type=\"copyright\"] > [data-copyright-content], [data-embed-type=\"uu-disclaimer\"] > [data-uu-content], details, blockquote':\n {\n \"& > :first-child\": {\n marginBlockStart: \"0\",\n },\n \"& > :last-child\": {\n marginBlockEnd: \"0\",\n },\n },\n \"& section:not([class]), section:not([class]) > div:not([class])\": {\n \"& > :first-child\": {\n marginBlockStart: \"xxlarge\",\n tabletDown: {\n marginBlockStart: \"xlarge\",\n },\n },\n \"& > :last-child\": {\n marginBlockEnd: \"xxlarge\",\n tabletDown: {\n marginBlockStart: \"xlarge\",\n },\n },\n },\n },\n // Adds default link styling to links without classes\n 'a:not([class]):not([data-unstyled]), a[class=\"\"]:not([data-unstyled])': {\n color: \"text.link\",\n textDecoration: \"underline\",\n _hover: {\n textDecoration: \"none\",\n },\n _visited: {\n color: \"text.linkVisited\",\n },\n },\n \".codeblock\": {\n border: \"1px solid\",\n borderColor: \"stroke.subtle\",\n borderLeft: \"4px solid\",\n borderLeftColor: \"stroke.default\",\n borderRadius: \"xsmall\",\n boxSizing: \"border-box\",\n overflowX: \"auto\",\n textStyle: \"label.medium\",\n fontFamily: \"code\",\n display: \"block\",\n whiteSpace: \"pre\",\n \"& .linenumber\": {\n display: \"inline-block\",\n paddingBlock: \"0\",\n paddingInline: \"small\",\n borderRight: \"1px solid\",\n borderColor: \"stroke.subtle\",\n width: \"xxlarge\",\n textAlign: \"right\",\n marginInlineEnd: \"xsmall\",\n },\n \"& :nth-child(1 of .linenumber)\": {\n paddingBlockStart: \"xsmall\",\n },\n \"& :nth-last-child(1 of .linenumber)\": {\n paddingBlockEnd: \"xsmall\",\n },\n // The remaining css is copied from the coy theme in prismjs. A lot of css is omitted due to styling clashes. TODO: Consider moving this\n \"& .token.comment, .token.block-comment, .token.prolog, .token.doctype, .token.cdata\": {\n color: \"#7d8b99\",\n },\n \"& .token.punctuation\": {\n color: \"#5f6364\",\n },\n \"& .token.property, .token.tag, .token.boolean, .token.number, .token.function-name, .token.constant, .token.symbol, .token.deleted\":\n {\n color: \"#c92c2c\",\n },\n \"& .token.selector, .token.attr-name, .token.string, .token.char, .token.function, .token.builtin, .token.inserted\":\n {\n color: \"#2f9c0a\",\n },\n \"& .token.operator, .token.entity, .token.url, .token.variable\": {\n color: \"#a67f59\",\n background: \"rgba(255, 255, 255, 0.5)\",\n },\n \"& .token.atrule, .token.attr-value, .token.keyword, .token.class-name\": {\n color: \"#1990b8\",\n },\n \"& .token.regex, .token.important\": {\n color: \"#e90\",\n },\n \"& .language-css .token.string, .style .token.string\": {\n color: \"#a67f59\",\n background: \"rgba(255, 255, 255, 0.5)\",\n },\n \"& .token.important\": {\n fontWeight: \"normal\",\n },\n \"& .token.bold\": {\n fontWeight: \"bold\",\n },\n \"& .token.italic\": {\n fontStyle: \"italic\",\n },\n \"& .token.entity\": {\n cursor: \"help\",\n },\n \"& .token.namespace\": {\n opacity: \"0.7\",\n },\n },\n});\n"],"mappings":";;;;;;;;;;AAUA,MAAa,YAAY,mBAAmB;CAC1C,SAAS;EAEP,sBAAsB;EAEtB,sBAAsB;EACvB;CACD,MAAM;EACJ,WAAW;EACX,qBAAqB;EAErB,4BAA4B,EAC1B,UAAU,SACX;EACF;CACD,MAAM;EACJ,YAAY;EACZ,OAAO;EACR;CACD,8CAA8C;EAC5C,SAAS;EACT,eAAe;GACb,SAAS;GACT,cAAc;GACd,cAAc;GACd,eAAe;GACf,cAAc;GACf;EACF;CACD,MAAM;EACJ,YAAY;EACZ,YAAY;EACb;CAED,mBAAmB,EACjB,SAAS,QACV;CAGD,iBAAiB;EACf,IAAI,EACF,WAAW,kBACZ;EACD,IAAI,EACF,WAAW,iBACZ;EACD,IAAI,EACF,WAAW,gBACZ;EACD,cAAc,EACZ,WAAW,eACZ;EACD,8BAA4B,EAC1B,WAAW,UACZ;EAED,YAAY;GACV,WAAW;GACX,YAAY;GACb;EACD,8BAA4B,EAC1B,WAAW,OACZ;EACD,WAAW;EACX,OAAO;EAGP,qdACE;GACE,kBAAkB;GAClB,gBAAgB;GAChB,YAAY;IACV,kBAAkB;IAClB,gBAAgB;IACjB;GACF;EAGH,sXACE;GACE,mDAAiD;IAC/C,kBAAkB;IAClB,gBAAgB;IAChB,YAAY,EACV,kBAAkB,SACnB;IACF;GACD,UAAU;IACR,kBAAkB;IAClB,gBAAgB;IAChB,YAAY,EACV,kBAAkB,UACnB;IACF;GACD,uBAAuB;IACrB,kBAAkB;IAClB,gBAAgB;IAChB,YAAY,EACV,kBAAkB,SACnB;IACF;GACD,mBAAmB;IACjB,kBAAkB;IAClB,gBAAgB;IAChB,YAAY,EACV,kBAAkB,UACnB;IACF;GACD,wDAAsD;IACpD,kBAAkB;IAClB,gBAAgB;IACjB;GACD,+CAA6C,EAC3C,mBAAmB,SACpB;GACF;EACH,2PACE;GACE,oBAAoB,EAClB,kBAAkB,KACnB;GACD,mBAAmB,EACjB,gBAAgB,KACjB;GACF;EACH,mEAAmE;GACjE,oBAAoB;IAClB,kBAAkB;IAClB,YAAY,EACV,kBAAkB,UACnB;IACF;GACD,mBAAmB;IACjB,gBAAgB;IAChB,YAAY,EACV,kBAAkB,UACnB;IACF;GACF;EACF;CAED,2EAAyE;EACvE,OAAO;EACP,gBAAgB;EAChB,QAAQ,EACN,gBAAgB,QACjB;EACD,UAAU,EACR,OAAO,oBACR;EACF;CACD,cAAc;EACZ,QAAQ;EACR,aAAa;EACb,YAAY;EACZ,iBAAiB;EACjB,cAAc;EACd,WAAW;EACX,WAAW;EACX,WAAW;EACX,YAAY;EACZ,SAAS;EACT,YAAY;EACZ,iBAAiB;GACf,SAAS;GACT,cAAc;GACd,eAAe;GACf,aAAa;GACb,aAAa;GACb,OAAO;GACP,WAAW;GACX,iBAAiB;GAClB;EACD,kCAAkC,EAChC,mBAAmB,UACpB;EACD,uCAAuC,EACrC,iBAAiB,UAClB;EAED,uFAAuF,EACrF,OAAO,WACR;EACD,wBAAwB,EACtB,OAAO,WACR;EACD,sIACE,EACE,OAAO,WACR;EACH,qHACE,EACE,OAAO,WACR;EACH,iEAAiE;GAC/D,OAAO;GACP,YAAY;GACb;EACD,yEAAyE,EACvE,OAAO,WACR;EACD,oCAAoC,EAClC,OAAO,QACR;EACD,uDAAuD;GACrD,OAAO;GACP,YAAY;GACb;EACD,sBAAsB,EACpB,YAAY,UACb;EACD,iBAAiB,EACf,YAAY,QACb;EACD,mBAAmB,EACjB,WAAW,UACZ;EACD,mBAAmB,EACjB,QAAQ,QACT;EACD,sBAAsB,EACpB,SAAS,OACV;EACF;CACF,CAAC"}
1
+ {"version":3,"file":"globalCss.mjs","names":[],"sources":["../src/globalCss.ts"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport { defineGlobalStyles } from \"@pandacss/dev\";\n\nexport const globalCss = defineGlobalStyles({\n \":root\": {\n // Applied to html in preflight (css reset)\n \"--global-font-body\": \"fonts.sans\",\n // Code, kbd, pre, samp\n \"--global-font-mono\": \"fonts.code\",\n },\n html: {\n minHeight: \"100%\",\n fontFeatureSettings: \"'ss03' on, 'liga' off, 'clig' off\",\n // this is included in the css reset we use. We don't want it.\n \"& h1, h2, h3, h4, h5, h6\": {\n textWrap: \"unset\",\n },\n },\n body: {\n background: \"background.default\",\n color: \"text.default\",\n },\n \"a, summary,[tabindex]:not([tabindex='-1'])\": {\n outline: \"none\",\n _focusVisible: {\n outline: \"3px\",\n borderRadius: \"xsmall\",\n outlineColor: \"stroke.default\",\n outlineOffset: \"3px\",\n outlineStyle: \"solid\",\n },\n },\n code: {\n background: \"background.subtle\",\n whiteSpace: \"pre-wrap\",\n overflowWrap: \"anywhere\",\n },\n /* Hide default zendesk launcher so that we can provide our own. */\n \"iframe#launcher\": {\n display: \"none\",\n },\n // For future readers: Life here would be much simpler if we could use flex.\n // However, our usage of float within the article content forces us to use margins.\n \".ndla-article\": {\n h1: {\n textStyle: \"heading.medium\",\n },\n h2: {\n textStyle: \"heading.small\",\n },\n h3: {\n textStyle: \"title.medium\",\n },\n \"h4, h5, h6\": {\n textStyle: \"title.small\",\n },\n '& p[data-align=\"center\"]': {\n textAlign: \"center\",\n },\n // TODO: This is not an actual text style. Should it be?\n blockquote: {\n textStyle: \"body.medium\",\n fontFamily: \"serif\",\n },\n '& p:has(span[dir=\"rtl\"])': {\n direction: \"rtl\",\n },\n textStyle: \"body.article\",\n width: \"100%\",\n\n // Non-figure block elements that should have margin above and below.\n '& details, :not(li) > blockquote, [data-embed-type=\"expandable-box\"], [data-embed-type=\"framed-content\"], [data-embed-type=\"factbox\"], table, [data-embed-type=\"related-content-list\"], [data-embed-type=\"link-block-list\"], [data-embed-type=\"pitch\"], [data-embed-type=\"campaign-block\"], [data-embed-type=\"key-figure\"], [data-embed-type=\"grid\"], [data-embed-type=\"contact-block\"], [data-embed-type=\"file-list\"], [data-embed-type=\"uu-disclaimer\"]':\n {\n marginBlockStart: \"xxlarge\",\n marginBlockEnd: \"xxlarge\",\n tabletDown: {\n marginBlockStart: \"xlarge\",\n marginBlockEnd: \"xlarge\",\n },\n },\n\n // Article content is usually wrapped in a section. The rest of the elements in this list contains other elements, and should add margin to them no matter where they are placed in the DOM.\n '& section:not([class]), section:not([class]) > div:not([class]), [data-embed-type=\"framed-content\"], [data-embed-type=\"grid\"] > div, [data-embed-type=\"factbox\"] > div, [data-embed-type=\"copyright\"] > [data-copyright-content], [data-embed-type=\"uu-disclaimer\"] > [data-uu-content], [data-embed-wrapper], details, [data-embed-type=\"expandable-box\"], blockquote':\n {\n '& > :is(h2, [data-embed-type=\"copy-heading\"])': {\n marginBlockStart: \"xlarge\",\n marginBlockEnd: \"small\",\n tabletDown: {\n marginBlockStart: \"large\",\n },\n },\n \"& > h3\": {\n marginBlockStart: \"large\",\n marginBlockEnd: \"xsmall\",\n tabletDown: {\n marginBlockStart: \"medium\",\n },\n },\n \"& > :is(h4, h5, h6)\": {\n marginBlockStart: \"medium\",\n marginBlockEnd: \"xsmall\",\n tabletDown: {\n marginBlockStart: \"small\",\n },\n },\n \"& > :is(figure)\": {\n marginBlockStart: \"xxlarge\",\n marginBlockEnd: \"xxlarge\",\n tabletDown: {\n marginBlockStart: \"xlarge\",\n },\n },\n '& > :is(p, ul, ol, dl, [data-embed-type=\"speech\"])': {\n marginBlockStart: \"xsmall\",\n marginBlockEnd: \"xsmall\",\n },\n '& > :is([data-embed-type=\"ordered-list\"])': {\n marginInlineStart: \"small\",\n },\n },\n '& [data-embed-type=\"framed-content\"], [data-embed-type=\"grid\"] > div, [data-embed-type=\"factbox\"] > div, [data-embed-type=\"copyright\"] > [data-copyright-content], [data-embed-type=\"uu-disclaimer\"] > [data-uu-content], details, blockquote':\n {\n \"& > :first-child\": {\n marginBlockStart: \"0\",\n },\n \"& > :last-child\": {\n marginBlockEnd: \"0\",\n },\n },\n \"& section:not([class]), section:not([class]) > div:not([class])\": {\n \"& > :first-child\": {\n marginBlockStart: \"xxlarge\",\n tabletDown: {\n marginBlockStart: \"xlarge\",\n },\n },\n \"& > :last-child\": {\n marginBlockEnd: \"xxlarge\",\n tabletDown: {\n marginBlockStart: \"xlarge\",\n },\n },\n },\n },\n // Adds default link styling to links without classes\n 'a:not([class]):not([data-unstyled]), a[class=\"\"]:not([data-unstyled])': {\n color: \"text.link\",\n textDecoration: \"underline\",\n _hover: {\n textDecoration: \"none\",\n },\n _visited: {\n color: \"text.linkVisited\",\n },\n },\n \".codeblock\": {\n border: \"1px solid\",\n borderColor: \"stroke.subtle\",\n borderLeft: \"4px solid\",\n borderLeftColor: \"stroke.default\",\n borderRadius: \"xsmall\",\n boxSizing: \"border-box\",\n overflowX: \"auto\",\n textStyle: \"label.medium\",\n fontFamily: \"code\",\n display: \"block\",\n whiteSpace: \"pre\",\n \"& .linenumber\": {\n display: \"inline-block\",\n paddingBlock: \"0\",\n paddingInline: \"small\",\n borderRight: \"1px solid\",\n borderColor: \"stroke.subtle\",\n width: \"xxlarge\",\n textAlign: \"right\",\n marginInlineEnd: \"xsmall\",\n },\n \"& :nth-child(1 of .linenumber)\": {\n paddingBlockStart: \"xsmall\",\n },\n \"& :nth-last-child(1 of .linenumber)\": {\n paddingBlockEnd: \"xsmall\",\n },\n // The remaining css is copied from the coy theme in prismjs. A lot of css is omitted due to styling clashes. TODO: Consider moving this\n \"& .token.comment, .token.block-comment, .token.prolog, .token.doctype, .token.cdata\": {\n color: \"#7d8b99\",\n },\n \"& .token.punctuation\": {\n color: \"#5f6364\",\n },\n \"& .token.property, .token.tag, .token.boolean, .token.number, .token.function-name, .token.constant, .token.symbol, .token.deleted\":\n {\n color: \"#c92c2c\",\n },\n \"& .token.selector, .token.attr-name, .token.string, .token.char, .token.function, .token.builtin, .token.inserted\":\n {\n color: \"#2f9c0a\",\n },\n \"& .token.operator, .token.entity, .token.url, .token.variable\": {\n color: \"#a67f59\",\n background: \"rgba(255, 255, 255, 0.5)\",\n },\n \"& .token.atrule, .token.attr-value, .token.keyword, .token.class-name\": {\n color: \"#1990b8\",\n },\n \"& .token.regex, .token.important\": {\n color: \"#e90\",\n },\n \"& .language-css .token.string, .style .token.string\": {\n color: \"#a67f59\",\n background: \"rgba(255, 255, 255, 0.5)\",\n },\n \"& .token.important\": {\n fontWeight: \"normal\",\n },\n \"& .token.bold\": {\n fontWeight: \"bold\",\n },\n \"& .token.italic\": {\n fontStyle: \"italic\",\n },\n \"& .token.entity\": {\n cursor: \"help\",\n },\n \"& .token.namespace\": {\n opacity: \"0.7\",\n },\n },\n});\n"],"mappings":";;;;;;;;;;AAUA,MAAa,YAAY,mBAAmB;CAC1C,SAAS;EAEP,sBAAsB;EAEtB,sBAAsB;EACvB;CACD,MAAM;EACJ,WAAW;EACX,qBAAqB;EAErB,4BAA4B,EAC1B,UAAU,SACX;EACF;CACD,MAAM;EACJ,YAAY;EACZ,OAAO;EACR;CACD,8CAA8C;EAC5C,SAAS;EACT,eAAe;GACb,SAAS;GACT,cAAc;GACd,cAAc;GACd,eAAe;GACf,cAAc;GACf;EACF;CACD,MAAM;EACJ,YAAY;EACZ,YAAY;EACZ,cAAc;EACf;CAED,mBAAmB,EACjB,SAAS,QACV;CAGD,iBAAiB;EACf,IAAI,EACF,WAAW,kBACZ;EACD,IAAI,EACF,WAAW,iBACZ;EACD,IAAI,EACF,WAAW,gBACZ;EACD,cAAc,EACZ,WAAW,eACZ;EACD,8BAA4B,EAC1B,WAAW,UACZ;EAED,YAAY;GACV,WAAW;GACX,YAAY;GACb;EACD,8BAA4B,EAC1B,WAAW,OACZ;EACD,WAAW;EACX,OAAO;EAGP,qdACE;GACE,kBAAkB;GAClB,gBAAgB;GAChB,YAAY;IACV,kBAAkB;IAClB,gBAAgB;IACjB;GACF;EAGH,sXACE;GACE,mDAAiD;IAC/C,kBAAkB;IAClB,gBAAgB;IAChB,YAAY,EACV,kBAAkB,SACnB;IACF;GACD,UAAU;IACR,kBAAkB;IAClB,gBAAgB;IAChB,YAAY,EACV,kBAAkB,UACnB;IACF;GACD,uBAAuB;IACrB,kBAAkB;IAClB,gBAAgB;IAChB,YAAY,EACV,kBAAkB,SACnB;IACF;GACD,mBAAmB;IACjB,kBAAkB;IAClB,gBAAgB;IAChB,YAAY,EACV,kBAAkB,UACnB;IACF;GACD,wDAAsD;IACpD,kBAAkB;IAClB,gBAAgB;IACjB;GACD,+CAA6C,EAC3C,mBAAmB,SACpB;GACF;EACH,2PACE;GACE,oBAAoB,EAClB,kBAAkB,KACnB;GACD,mBAAmB,EACjB,gBAAgB,KACjB;GACF;EACH,mEAAmE;GACjE,oBAAoB;IAClB,kBAAkB;IAClB,YAAY,EACV,kBAAkB,UACnB;IACF;GACD,mBAAmB;IACjB,gBAAgB;IAChB,YAAY,EACV,kBAAkB,UACnB;IACF;GACF;EACF;CAED,2EAAyE;EACvE,OAAO;EACP,gBAAgB;EAChB,QAAQ,EACN,gBAAgB,QACjB;EACD,UAAU,EACR,OAAO,oBACR;EACF;CACD,cAAc;EACZ,QAAQ;EACR,aAAa;EACb,YAAY;EACZ,iBAAiB;EACjB,cAAc;EACd,WAAW;EACX,WAAW;EACX,WAAW;EACX,YAAY;EACZ,SAAS;EACT,YAAY;EACZ,iBAAiB;GACf,SAAS;GACT,cAAc;GACd,eAAe;GACf,aAAa;GACb,aAAa;GACb,OAAO;GACP,WAAW;GACX,iBAAiB;GAClB;EACD,kCAAkC,EAChC,mBAAmB,UACpB;EACD,uCAAuC,EACrC,iBAAiB,UAClB;EAED,uFAAuF,EACrF,OAAO,WACR;EACD,wBAAwB,EACtB,OAAO,WACR;EACD,sIACE,EACE,OAAO,WACR;EACH,qHACE,EACE,OAAO,WACR;EACH,iEAAiE;GAC/D,OAAO;GACP,YAAY;GACb;EACD,yEAAyE,EACvE,OAAO,WACR;EACD,oCAAoC,EAClC,OAAO,QACR;EACD,uDAAuD;GACrD,OAAO;GACP,YAAY;GACb;EACD,sBAAsB,EACpB,YAAY,UACb;EACD,iBAAiB,EACf,YAAY,QACb;EACD,mBAAmB,EACjB,WAAW,UACZ;EACD,mBAAmB,EACjB,QAAQ,QACT;EACD,sBAAsB,EACpB,SAAS,OACV;EACF;CACF,CAAC"}
package/es/index.mjs CHANGED
@@ -47,8 +47,7 @@ const preset = definePreset({
47
47
  containerSizes: breakpoints
48
48
  }
49
49
  });
50
- var src_default = preset;
51
50
 
52
51
  //#endregion
53
- export { src_default as default, forwardCssPropPlugin };
52
+ export { preset as default, forwardCssPropPlugin };
54
53
  //# sourceMappingURL=index.mjs.map
package/es/index.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport { breakpoints } from \"@ndla/core\";\nimport { definePreset } from \"@pandacss/dev\";\nimport { animations, durations, easings, keyframes } from \"./animations\";\nimport { boxShadows } from \"./boxShadows\";\nimport { colors } from \"./colors\";\nimport { conditions } from \"./conditions\";\nimport { globalCss } from \"./globalCss\";\nimport { radii } from \"./radii\";\nimport { semanticTokens } from \"./semanticTokens\";\nimport { spacing } from \"./spacing\";\nimport { fontWeights, textStyles, fonts, fontSizes, lineHeights } from \"./typography\";\nimport { zIndex } from \"./zIndex\";\n\nconst preset = definePreset({\n name: \"ndla/panda\",\n globalCss: globalCss,\n conditions: conditions,\n theme: {\n breakpoints: breakpoints,\n textStyles: textStyles,\n keyframes: keyframes,\n tokens: {\n colors: colors,\n easings: easings,\n durations: durations,\n radii: radii,\n spacing: spacing,\n sizes: spacing,\n lineHeights: lineHeights,\n fontWeights: fontWeights,\n fontSizes: fontSizes,\n fonts: fonts,\n animations: animations,\n shadows: boxShadows,\n zIndex: zIndex,\n },\n semanticTokens: semanticTokens,\n containerSizes: breakpoints,\n },\n});\n\nexport { forwardCssPropPlugin } from \"./plugins/forwardCssPropPlugin\";\n\nexport default preset;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAqBA,MAAM,SAAS,aAAa;CAC1B,MAAM;CACK;CACC;CACZ,OAAO;EACQ;EACD;EACD;EACX,QAAQ;GACE;GACC;GACE;GACJ;GACE;GACT,OAAO;GACM;GACA;GACF;GACJ;GACK;GACZ,SAAS;GACD;GACT;EACe;EAChB,gBAAgB;EACjB;CACF,CAAC;AAIF,kBAAe"}
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport { breakpoints } from \"@ndla/core\";\nimport { definePreset } from \"@pandacss/dev\";\nimport { animations, durations, easings, keyframes } from \"./animations\";\nimport { boxShadows } from \"./boxShadows\";\nimport { colors } from \"./colors\";\nimport { conditions } from \"./conditions\";\nimport { globalCss } from \"./globalCss\";\nimport { radii } from \"./radii\";\nimport { semanticTokens } from \"./semanticTokens\";\nimport { spacing } from \"./spacing\";\nimport { fontWeights, textStyles, fonts, fontSizes, lineHeights } from \"./typography\";\nimport { zIndex } from \"./zIndex\";\n\nconst preset = definePreset({\n name: \"ndla/panda\",\n globalCss: globalCss,\n conditions: conditions,\n theme: {\n breakpoints: breakpoints,\n textStyles: textStyles,\n keyframes: keyframes,\n tokens: {\n colors: colors,\n easings: easings,\n durations: durations,\n radii: radii,\n spacing: spacing,\n sizes: spacing,\n lineHeights: lineHeights,\n fontWeights: fontWeights,\n fontSizes: fontSizes,\n fonts: fonts,\n animations: animations,\n shadows: boxShadows,\n zIndex: zIndex,\n },\n semanticTokens: semanticTokens,\n containerSizes: breakpoints,\n },\n});\n\nexport { forwardCssPropPlugin } from \"./plugins/forwardCssPropPlugin\";\n\nexport default preset;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAqBA,MAAM,SAAS,aAAa;CAC1B,MAAM;CACK;CACC;CACZ,OAAO;EACQ;EACD;EACD;EACX,QAAQ;GACE;GACC;GACE;GACJ;GACE;GACT,OAAO;GACM;GACA;GACF;GACJ;GACK;GACZ,SAAS;GACD;GACT;EACe;EAChB,gBAAgB;EACjB;CACF,CAAC"}
@@ -155,7 +155,10 @@ const semanticTokens = defineSemanticTokens({
155
155
  brand: {
156
156
  1: {
157
157
  DEFAULT: { value: "{colors.purple.50}" },
158
- hover: { value: "{colors.purple.100}" },
158
+ hover: {
159
+ DEFAULT: { value: "{colors.purple.100}" },
160
+ strong: { value: "{colors.purple.400}" }
161
+ },
159
162
  active: { value: "{colors.purple.300}" },
160
163
  selected: { value: "{colors.purple.400}" }
161
164
  },
@@ -1 +1 @@
1
- {"version":3,"file":"semanticTokens.mjs","names":[],"sources":["../src/semanticTokens.ts"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport { defineSemanticTokens } from \"@pandacss/dev\";\n\nexport const semanticTokens = defineSemanticTokens({\n spacing: {\n \"5xsmall\": { value: \"{spacing.1}\" },\n \"4xsmall\": { value: \"{spacing.2}\" },\n \"3xsmall\": { value: \"{spacing.3}\" },\n xxsmall: { value: \"{spacing.4}\" },\n xsmall: { value: \"{spacing.6}\" },\n small: { value: \"{spacing.8}\" },\n medium: { value: \"{spacing.12}\" },\n large: { value: \"{spacing.16}\" },\n xlarge: { value: \"{spacing.18}\" },\n xxlarge: { value: \"{spacing.24}\" },\n \"3xlarge\": { value: \"{spacing.36}\" },\n \"4xlarge\": { value: \"{spacing.48}\" },\n \"5xlarge\": { value: \"{spacing.60}\" },\n surface: {\n \"4xsmall\": { value: \"{spacing.50}\" },\n \"3xsmall\": { value: \"{spacing.75}\" },\n xxsmall: { value: \"{spacing.100}\" },\n xsmall: { value: \"{spacing.150}\" },\n small: { value: \"{spacing.200}\" },\n medium: { value: \"{spacing.250}\" },\n large: { value: \"{spacing.300}\" },\n xlarge: { value: \"{spacing.350}\" },\n xxlarge: { value: \"{spacing.400}\" },\n \"3xlarge\": { value: \"{spacing.500}\" },\n \"4xlarge\": { value: \"{spacing.550}\" },\n },\n },\n sizes: {\n \"5xsmall\": { value: \"{spacing.1}\" },\n \"4xsmall\": { value: \"{spacing.2}\" },\n \"3xsmall\": { value: \"{spacing.3}\" },\n xxsmall: { value: \"{spacing.4}\" },\n xsmall: { value: \"{spacing.6}\" },\n small: { value: \"{spacing.8}\" },\n medium: { value: \"{spacing.12}\" },\n large: { value: \"{spacing.16}\" },\n xlarge: { value: \"{spacing.18}\" },\n xxlarge: { value: \"{spacing.24}\" },\n \"3xlarge\": { value: \"{spacing.36}\" },\n \"4xlarge\": { value: \"{spacing.48}\" },\n \"5xlarge\": { value: \"{spacing.60}\" },\n surface: {\n \"4xsmall\": { value: \"{spacing.50}\" },\n \"3xsmall\": { value: \"{spacing.75}\" },\n xxsmall: { value: \"{spacing.100}\" },\n xsmall: { value: \"{spacing.150}\" },\n small: { value: \"{spacing.200}\" },\n medium: { value: \"{spacing.250}\" },\n large: { value: \"{spacing.300}\" },\n xlarge: { value: \"{spacing.350}\" },\n xxlarge: { value: \"{spacing.400}\" },\n \"3xlarge\": { value: \"{spacing.500}\" },\n \"4xlarge\": { value: \"{spacing.550}\" },\n pageMax: { value: \"1128px\" },\n contentMax: { value: \"744px\" },\n articleMax: { value: \"928px\" },\n wideMax: { value: \"1440px\" },\n },\n },\n colors: {\n background: {\n default: { value: \"{colors.white}\" },\n subtle: { value: \"{colors.grey.100}\" },\n strong: { value: \"{colors.purple.50}\" },\n },\n text: {\n default: { value: \"{colors.grey.950}\" },\n subtle: { value: \"{colors.grey.700}\" },\n strong: { value: \"{colors.primary}\" },\n action: { value: \"{colors.purple.800}\" },\n onAction: { value: \"{colors.white}\" },\n link: { value: \"{colors.blue.800}\" },\n linkVisited: { value: \"{colors.purple.900}\" },\n error: { value: \"{colors.red.600}\" },\n disabled: { value: \"{colors.grey.400}\" },\n },\n icon: {\n default: { value: \"{colors.grey.950}\" },\n strong: { value: \"{colors.primary}\" },\n onAction: { value: \"{colors.white}\" },\n subtle: { value: \"{colors.grey.700}\" },\n warning: { value: \"{colors.yellow.600}\" },\n danger: { value: \"{colors.red.500}\" },\n },\n surface: {\n brand: {\n 1: {\n DEFAULT: { value: \"{colors.purple.500}\" },\n subtle: { value: \"{colors.purple.100}\" },\n moderate: { value: \"{colors.purple.300}\" },\n strong: { value: \"{colors.purple.950}\" },\n },\n 2: {\n DEFAULT: { value: \"{colors.blue.500}\" },\n subtle: { value: \"{colors.blue.50}\" },\n moderate: { value: \"{colors.blue.100}\" },\n bold: { value: \"{colors.blue.800}\" },\n strong: { value: \"{colors.blue.900}\" },\n },\n 3: {\n DEFAULT: { value: \"{colors.lightGreen.500}\" },\n subtle: { value: \"{colors.lightGreen.100}\" },\n moderate: { value: \"{colors.lightGreen.300}\" },\n strong: { value: \"{colors.lightGreen.900}\" },\n },\n 4: {\n DEFAULT: { value: \"{colors.lightYellow.500}\" },\n subtle: { value: \"{colors.lightYellow.100}\" },\n moderate: { value: \"{colors.lightYellow.300}\" },\n strong: { value: \"{colors.lightYellow.1100}\" },\n },\n 5: {\n DEFAULT: { value: \"{colors.pink.500}\" },\n subtle: { value: \"{colors.pink.100}\" },\n moderate: { value: \"{colors.pink.300}\" },\n strong: { value: \"{colors.pink.900}\" },\n },\n },\n default: { value: \"{colors.white}\" },\n hover: { value: \"{colors.purple.alpha.5}\" },\n active: { value: \"{colors.purple.alpha.10}\" },\n selected: { value: \"{colors.purple.200}\" },\n disabled: {\n DEFAULT: { value: \"{colors.grey.200}\" },\n subtle: { value: \"{colors.grey.50}\" },\n strong: { value: \"{colors.grey.700}\" },\n },\n infoSubtle: {\n DEFAULT: { value: \"{colors.grey.100}\" },\n hover: { value: \"{colors.grey.200}\" },\n active: { value: \"{colors.grey.300}\" },\n },\n action: {\n DEFAULT: { value: \"{colors.primary}\" },\n hover: { value: \"{colors.purple.900}\" },\n active: { value: \"{colors.purple.950}\" },\n selected: { value: \"{colors.purple.800}\" },\n myNdla: {\n DEFAULT: { value: \"{colors.lightYellow.300}\" },\n hover: { value: \"{colors.lightYellow.500}\" },\n current: { value: \"{colors.lightYellow.700}\" },\n },\n brand: {\n 1: {\n DEFAULT: { value: \"{colors.purple.50}\" },\n hover: { value: \"{colors.purple.100}\" },\n active: { value: \"{colors.purple.300}\" },\n selected: { value: \"{colors.purple.400}\" },\n },\n 2: {\n DEFAULT: { value: \"{colors.blue.50}\" },\n hover: { value: \"{colors.blue.100}\" },\n selected: { value: \"{colors.blue.200}\" },\n },\n },\n },\n actionSubtle: {\n DEFAULT: { value: \"{colors.purple.50}\" },\n hover: {\n DEFAULT: { value: \"{colors.purple.100}\" },\n strong: { value: \"{colors.purple.400}\" },\n },\n active: { value: \"{colors.purple.300}\" },\n selected: { value: \"{colors.purple.900}\" },\n },\n success: {\n DEFAULT: { value: \"{colors.green.500}\" },\n hover: { value: \"{colors.green.700}\" },\n selected: { value: \"{colors.green.900}\" },\n active: { value: \"{colors.green.700}\" },\n },\n successSubtle: {\n DEFAULT: { value: \"{colors.green.50}\" },\n hover: { value: \"{colors.green.100}\" },\n active: { value: \"{colors.green.300}\" },\n },\n warning: {\n DEFAULT: { value: \"{colors.yellow.400}\" },\n hover: { value: \"{colors.yellow.500}\" },\n active: { value: \"{colors.yellow.700}\" },\n },\n warningSubtle: {\n DEFAULT: { value: \"{colors.yellow.50}\" },\n hover: { value: \"{colors.yellow.100}\" },\n active: { value: \"{colors.yellow.200}\" },\n },\n danger: {\n DEFAULT: { value: \"{colors.red.500}\" },\n hover: { value: \"{colors.red.700}\" },\n selected: { value: \"{colors.red.800}\" },\n active: { value: \"{colors.red.900}\" },\n },\n dangerSubtle: {\n DEFAULT: { value: \"{colors.red.50}\" },\n hover: { value: \"{colors.red.100}\" },\n active: { value: \"{colors.red.200}\" },\n },\n error: {\n DEFAULT: { value: \"{colors.pink.500}\" },\n hover: { value: \"{colors.pink.700}\" },\n active: { value: \"{colors.pink.900}\" },\n },\n errorSubtle: {\n DEFAULT: { value: \"{colors.red.50}\" },\n hover: { value: \"{colors.pink.100}\" },\n active: { value: \"{colors.pink.200}\" },\n },\n subtle: {\n DEFAULT: { value: \"{colors.grey.50}\" },\n selected: { value: \"{colors.grey.100}\" },\n },\n },\n stroke: {\n default: { value: \"{colors.primary}\" },\n hover: { value: \"{colors.purple.800}\" },\n subtle: { value: \"{colors.grey.500}\" },\n success: { value: \"{colors.lightGreen.900}\" },\n info: { value: \"{colors.grey.500}\" },\n warning: { value: \"{colors.yellow.600}\" },\n error: { value: \"{colors.red.600}\" },\n disabled: { value: \"{colors.grey.300}\" },\n discrete: { value: \"{colors.grey.300}\" },\n },\n },\n});\n"],"mappings":";;;;;;;;;;AAUA,MAAa,iBAAiB,qBAAqB;CACjD,SAAS;EACP,WAAW,EAAE,OAAO,eAAe;EACnC,WAAW,EAAE,OAAO,eAAe;EACnC,WAAW,EAAE,OAAO,eAAe;EACnC,SAAS,EAAE,OAAO,eAAe;EACjC,QAAQ,EAAE,OAAO,eAAe;EAChC,OAAO,EAAE,OAAO,eAAe;EAC/B,QAAQ,EAAE,OAAO,gBAAgB;EACjC,OAAO,EAAE,OAAO,gBAAgB;EAChC,QAAQ,EAAE,OAAO,gBAAgB;EACjC,SAAS,EAAE,OAAO,gBAAgB;EAClC,WAAW,EAAE,OAAO,gBAAgB;EACpC,WAAW,EAAE,OAAO,gBAAgB;EACpC,WAAW,EAAE,OAAO,gBAAgB;EACpC,SAAS;GACP,WAAW,EAAE,OAAO,gBAAgB;GACpC,WAAW,EAAE,OAAO,gBAAgB;GACpC,SAAS,EAAE,OAAO,iBAAiB;GACnC,QAAQ,EAAE,OAAO,iBAAiB;GAClC,OAAO,EAAE,OAAO,iBAAiB;GACjC,QAAQ,EAAE,OAAO,iBAAiB;GAClC,OAAO,EAAE,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uBAAuB;GACzC,OAAO,EAAE,OAAO,oBAAoB;GACpC,UAAU,EAAE,OAAO,qBAAqB;GACxC,UAAU,EAAE,OAAO,qBAAqB;GACzC;EACF;CACF,CAAC"}
1
+ {"version":3,"file":"semanticTokens.mjs","names":[],"sources":["../src/semanticTokens.ts"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport { defineSemanticTokens } from \"@pandacss/dev\";\n\nexport const semanticTokens = defineSemanticTokens({\n spacing: {\n \"5xsmall\": { value: \"{spacing.1}\" },\n \"4xsmall\": { value: \"{spacing.2}\" },\n \"3xsmall\": { value: \"{spacing.3}\" },\n xxsmall: { value: \"{spacing.4}\" },\n xsmall: { value: \"{spacing.6}\" },\n small: { value: \"{spacing.8}\" },\n medium: { value: \"{spacing.12}\" },\n large: { value: \"{spacing.16}\" },\n xlarge: { value: \"{spacing.18}\" },\n xxlarge: { value: \"{spacing.24}\" },\n \"3xlarge\": { value: \"{spacing.36}\" },\n \"4xlarge\": { value: \"{spacing.48}\" },\n \"5xlarge\": { value: \"{spacing.60}\" },\n surface: {\n \"4xsmall\": { value: \"{spacing.50}\" },\n \"3xsmall\": { value: \"{spacing.75}\" },\n xxsmall: { value: \"{spacing.100}\" },\n xsmall: { value: \"{spacing.150}\" },\n small: { value: \"{spacing.200}\" },\n medium: { value: \"{spacing.250}\" },\n large: { value: \"{spacing.300}\" },\n xlarge: { value: \"{spacing.350}\" },\n xxlarge: { value: \"{spacing.400}\" },\n \"3xlarge\": { value: \"{spacing.500}\" },\n \"4xlarge\": { value: \"{spacing.550}\" },\n },\n },\n sizes: {\n \"5xsmall\": { value: \"{spacing.1}\" },\n \"4xsmall\": { value: \"{spacing.2}\" },\n \"3xsmall\": { value: \"{spacing.3}\" },\n xxsmall: { value: \"{spacing.4}\" },\n xsmall: { value: \"{spacing.6}\" },\n small: { value: \"{spacing.8}\" },\n medium: { value: \"{spacing.12}\" },\n large: { value: \"{spacing.16}\" },\n xlarge: { value: \"{spacing.18}\" },\n xxlarge: { value: \"{spacing.24}\" },\n \"3xlarge\": { value: \"{spacing.36}\" },\n \"4xlarge\": { value: \"{spacing.48}\" },\n \"5xlarge\": { value: \"{spacing.60}\" },\n surface: {\n \"4xsmall\": { value: \"{spacing.50}\" },\n \"3xsmall\": { value: \"{spacing.75}\" },\n xxsmall: { value: \"{spacing.100}\" },\n xsmall: { value: \"{spacing.150}\" },\n small: { value: \"{spacing.200}\" },\n medium: { value: \"{spacing.250}\" },\n large: { value: \"{spacing.300}\" },\n xlarge: { value: \"{spacing.350}\" },\n xxlarge: { value: \"{spacing.400}\" },\n \"3xlarge\": { value: \"{spacing.500}\" },\n \"4xlarge\": { value: \"{spacing.550}\" },\n pageMax: { value: \"1128px\" },\n contentMax: { value: \"744px\" },\n articleMax: { value: \"928px\" },\n wideMax: { value: \"1440px\" },\n },\n },\n colors: {\n background: {\n default: { value: \"{colors.white}\" },\n subtle: { value: \"{colors.grey.100}\" },\n strong: { value: \"{colors.purple.50}\" },\n },\n text: {\n default: { value: \"{colors.grey.950}\" },\n subtle: { value: \"{colors.grey.700}\" },\n strong: { value: \"{colors.primary}\" },\n action: { value: \"{colors.purple.800}\" },\n onAction: { value: \"{colors.white}\" },\n link: { value: \"{colors.blue.800}\" },\n linkVisited: { value: \"{colors.purple.900}\" },\n error: { value: \"{colors.red.600}\" },\n disabled: { value: \"{colors.grey.400}\" },\n },\n icon: {\n default: { value: \"{colors.grey.950}\" },\n strong: { value: \"{colors.primary}\" },\n onAction: { value: \"{colors.white}\" },\n subtle: { value: \"{colors.grey.700}\" },\n warning: { value: \"{colors.yellow.600}\" },\n danger: { value: \"{colors.red.500}\" },\n },\n surface: {\n brand: {\n 1: {\n DEFAULT: { value: \"{colors.purple.500}\" },\n subtle: { value: \"{colors.purple.100}\" },\n moderate: { value: \"{colors.purple.300}\" },\n strong: { value: \"{colors.purple.950}\" },\n },\n 2: {\n DEFAULT: { value: \"{colors.blue.500}\" },\n subtle: { value: \"{colors.blue.50}\" },\n moderate: { value: \"{colors.blue.100}\" },\n bold: { value: \"{colors.blue.800}\" },\n strong: { value: \"{colors.blue.900}\" },\n },\n 3: {\n DEFAULT: { value: \"{colors.lightGreen.500}\" },\n subtle: { value: \"{colors.lightGreen.100}\" },\n moderate: { value: \"{colors.lightGreen.300}\" },\n strong: { value: \"{colors.lightGreen.900}\" },\n },\n 4: {\n DEFAULT: { value: \"{colors.lightYellow.500}\" },\n subtle: { value: \"{colors.lightYellow.100}\" },\n moderate: { value: \"{colors.lightYellow.300}\" },\n strong: { value: \"{colors.lightYellow.1100}\" },\n },\n 5: {\n DEFAULT: { value: \"{colors.pink.500}\" },\n subtle: { value: \"{colors.pink.100}\" },\n moderate: { value: \"{colors.pink.300}\" },\n strong: { value: \"{colors.pink.900}\" },\n },\n },\n default: { value: \"{colors.white}\" },\n hover: { value: \"{colors.purple.alpha.5}\" },\n active: { value: \"{colors.purple.alpha.10}\" },\n selected: { value: \"{colors.purple.200}\" },\n disabled: {\n DEFAULT: { value: \"{colors.grey.200}\" },\n subtle: { value: \"{colors.grey.50}\" },\n strong: { value: \"{colors.grey.700}\" },\n },\n infoSubtle: {\n DEFAULT: { value: \"{colors.grey.100}\" },\n hover: { value: \"{colors.grey.200}\" },\n active: { value: \"{colors.grey.300}\" },\n },\n action: {\n DEFAULT: { value: \"{colors.primary}\" },\n hover: { value: \"{colors.purple.900}\" },\n active: { value: \"{colors.purple.950}\" },\n selected: { value: \"{colors.purple.800}\" },\n myNdla: {\n DEFAULT: { value: \"{colors.lightYellow.300}\" },\n hover: { value: \"{colors.lightYellow.500}\" },\n current: { value: \"{colors.lightYellow.700}\" },\n },\n brand: {\n 1: {\n DEFAULT: { value: \"{colors.purple.50}\" },\n hover: {\n DEFAULT: { value: \"{colors.purple.100}\" },\n strong: { value: \"{colors.purple.400}\" },\n },\n active: { value: \"{colors.purple.300}\" },\n selected: { value: \"{colors.purple.400}\" },\n },\n 2: {\n DEFAULT: { value: \"{colors.blue.50}\" },\n hover: { value: \"{colors.blue.100}\" },\n selected: { value: \"{colors.blue.200}\" },\n },\n },\n },\n actionSubtle: {\n DEFAULT: { value: \"{colors.purple.50}\" },\n hover: {\n DEFAULT: { value: \"{colors.purple.100}\" },\n strong: { value: \"{colors.purple.400}\" },\n },\n active: { value: \"{colors.purple.300}\" },\n selected: { value: \"{colors.purple.900}\" },\n },\n success: {\n DEFAULT: { value: \"{colors.green.500}\" },\n hover: { value: \"{colors.green.700}\" },\n selected: { value: \"{colors.green.900}\" },\n active: { value: \"{colors.green.700}\" },\n },\n successSubtle: {\n DEFAULT: { value: \"{colors.green.50}\" },\n hover: { value: \"{colors.green.100}\" },\n active: { value: \"{colors.green.300}\" },\n },\n warning: {\n DEFAULT: { value: \"{colors.yellow.400}\" },\n hover: { value: \"{colors.yellow.500}\" },\n active: { value: \"{colors.yellow.700}\" },\n },\n warningSubtle: {\n DEFAULT: { value: \"{colors.yellow.50}\" },\n hover: { value: \"{colors.yellow.100}\" },\n active: { value: \"{colors.yellow.200}\" },\n },\n danger: {\n DEFAULT: { value: \"{colors.red.500}\" },\n hover: { value: \"{colors.red.700}\" },\n selected: { value: \"{colors.red.800}\" },\n active: { value: \"{colors.red.900}\" },\n },\n dangerSubtle: {\n DEFAULT: { value: \"{colors.red.50}\" },\n hover: { value: \"{colors.red.100}\" },\n active: { value: \"{colors.red.200}\" },\n },\n error: {\n DEFAULT: { value: \"{colors.pink.500}\" },\n hover: { value: \"{colors.pink.700}\" },\n active: { value: \"{colors.pink.900}\" },\n },\n errorSubtle: {\n DEFAULT: { value: \"{colors.red.50}\" },\n hover: { value: \"{colors.pink.100}\" },\n active: { value: \"{colors.pink.200}\" },\n },\n subtle: {\n DEFAULT: { value: \"{colors.grey.50}\" },\n selected: { value: \"{colors.grey.100}\" },\n },\n },\n stroke: {\n default: { value: \"{colors.primary}\" },\n hover: { value: \"{colors.purple.800}\" },\n subtle: { value: \"{colors.grey.500}\" },\n success: { value: \"{colors.lightGreen.900}\" },\n info: { value: \"{colors.grey.500}\" },\n warning: { value: \"{colors.yellow.600}\" },\n error: { value: \"{colors.red.600}\" },\n disabled: { value: \"{colors.grey.300}\" },\n discrete: { value: \"{colors.grey.300}\" },\n },\n },\n});\n"],"mappings":";;;;;;;;;;AAUA,MAAa,iBAAiB,qBAAqB;CACjD,SAAS;EACP,WAAW,EAAE,OAAO,eAAe;EACnC,WAAW,EAAE,OAAO,eAAe;EACnC,WAAW,EAAE,OAAO,eAAe;EACnC,SAAS,EAAE,OAAO,eAAe;EACjC,QAAQ,EAAE,OAAO,eAAe;EAChC,OAAO,EAAE,OAAO,eAAe;EAC/B,QAAQ,EAAE,OAAO,gBAAgB;EACjC,OAAO,EAAE,OAAO,gBAAgB;EAChC,QAAQ,EAAE,OAAO,gBAAgB;EACjC,SAAS,EAAE,OAAO,gBAAgB;EAClC,WAAW,EAAE,OAAO,gBAAgB;EACpC,WAAW,EAAE,OAAO,gBAAgB;EACpC,WAAW,EAAE,OAAO,gBAAgB;EACpC,SAAS;GACP,WAAW,EAAE,OAAO,gBAAgB;GACpC,WAAW,EAAE,OAAO,gBAAgB;GACpC,SAAS,EAAE,OAAO,iBAAiB;GACnC,QAAQ,EAAE,OAAO,iBAAiB;GAClC,OAAO,EAAE,OAAO,iBAAiB;GACjC,QAAQ,EAAE,OAAO,iBAAiB;GAClC,OAAO,EAAE,OAAO,iBAAiB;GACjC,QAAQ,EAAE,OAAO,iBAAiB;GAClC,SAAS,EAAE,OAAO,iBAAiB;GACnC,WAAW,EAAE,OAAO,iBAAiB;GACrC,WAAW,EAAE,OAAO,iBAAiB;GACtC;EACF;CACD,OAAO;EACL,WAAW,EAAE,OAAO,eAAe;EACnC,WAAW,EAAE,OAAO,eAAe;EACnC,WAAW,EAAE,OAAO,eAAe;EACnC,SAAS,EAAE,OAAO,eAAe;EACjC,QAAQ,EAAE,OAAO,eAAe;EAChC,OAAO,EAAE,OA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O,uBAAuB;IACvC,QAAQ,EAAE,OAAO,uBAAuB;IACzC;GACD,eAAe;IACb,SAAS,EAAE,OAAO,sBAAsB;IACxC,OAAO,EAAE,OAAO,uBAAuB;IACvC,QAAQ,EAAE,OAAO,uBAAuB;IACzC;GACD,QAAQ;IACN,SAAS,EAAE,OAAO,oBAAoB;IACtC,OAAO,EAAE,OAAO,oBAAoB;IACpC,UAAU,EAAE,OAAO,oBAAoB;IACvC,QAAQ,EAAE,OAAO,oBAAoB;IACtC;GACD,cAAc;IACZ,SAAS,EAAE,OAAO,mBAAmB;IACrC,OAAO,EAAE,OAAO,oBAAoB;IACpC,QAAQ,EAAE,OAAO,oBAAoB;IACtC;GACD,OAAO;IACL,SAAS,EAAE,OAAO,qBAAqB;IACvC,OAAO,EAAE,OAAO,qBAAqB;IACrC,QAAQ,EAAE,OAAO,qBAAqB;IACvC;GACD,aAAa;IACX,SAAS,EAAE,OAAO,mBAAmB;IACrC,OAAO,EAAE,OAAO,qBAAqB;IACrC,QAAQ,EAAE,OAAO,qBAAqB;IACvC;GACD,QAAQ;IACN,SAAS,EAAE,OAAO,oBAAoB;IACtC,UAAU,EAAE,OAAO,qBAAqB;IACzC;GACF;EACD,QAAQ;GACN,SAAS,EAAE,OAAO,oBAAoB;GACtC,OAAO,EAAE,OAAO,uBAAuB;GACvC,QAAQ,EAAE,OAAO,qBAAqB;GACtC,SAAS,EAAE,OAAO,2BAA2B;GAC7C,MAAM,EAAE,OAAO,qBAAqB;GACpC,SAAS,EAAE,OAAO,uBAAuB;GACzC,OAAO,EAAE,OAAO,oBAAoB;GACpC,UAAU,EAAE,OAAO,qBAAqB;GACxC,UAAU,EAAE,OAAO,qBAAqB;GACzC;EACF;CACF,CAAC"}
package/lib/globalCss.js CHANGED
@@ -34,7 +34,8 @@ const globalCss = (0, _pandacss_dev.defineGlobalStyles)({
34
34
  },
35
35
  code: {
36
36
  background: "background.subtle",
37
- whiteSpace: "pre-wrap"
37
+ whiteSpace: "pre-wrap",
38
+ overflowWrap: "anywhere"
38
39
  },
39
40
  "iframe#launcher": { display: "none" },
40
41
  ".ndla-article": {
@@ -1 +1 @@
1
- {"version":3,"file":"globalCss.js","names":[],"sources":["../src/globalCss.ts"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport { defineGlobalStyles } from \"@pandacss/dev\";\n\nexport const globalCss = defineGlobalStyles({\n \":root\": {\n // Applied to html in preflight (css reset)\n \"--global-font-body\": \"fonts.sans\",\n // Code, kbd, pre, samp\n \"--global-font-mono\": \"fonts.code\",\n },\n html: {\n minHeight: \"100%\",\n fontFeatureSettings: \"'ss03' on, 'liga' off, 'clig' off\",\n // this is included in the css reset we use. We don't want it.\n \"& h1, h2, h3, h4, h5, h6\": {\n textWrap: \"unset\",\n },\n },\n body: {\n background: \"background.default\",\n color: \"text.default\",\n },\n \"a, summary,[tabindex]:not([tabindex='-1'])\": {\n outline: \"none\",\n _focusVisible: {\n outline: \"3px\",\n borderRadius: \"xsmall\",\n outlineColor: \"stroke.default\",\n outlineOffset: \"3px\",\n outlineStyle: \"solid\",\n },\n },\n code: {\n background: \"background.subtle\",\n whiteSpace: \"pre-wrap\",\n },\n /* Hide default zendesk launcher so that we can provide our own. */\n \"iframe#launcher\": {\n display: \"none\",\n },\n // For future readers: Life here would be much simpler if we could use flex.\n // However, our usage of float within the article content forces us to use margins.\n \".ndla-article\": {\n h1: {\n textStyle: \"heading.medium\",\n },\n h2: {\n textStyle: \"heading.small\",\n },\n h3: {\n textStyle: \"title.medium\",\n },\n \"h4, h5, h6\": {\n textStyle: \"title.small\",\n },\n '& p[data-align=\"center\"]': {\n textAlign: \"center\",\n },\n // TODO: This is not an actual text style. Should it be?\n blockquote: {\n textStyle: \"body.medium\",\n fontFamily: \"serif\",\n },\n '& p:has(span[dir=\"rtl\"])': {\n direction: \"rtl\",\n },\n textStyle: \"body.article\",\n width: \"100%\",\n\n // Non-figure block elements that should have margin above and below.\n '& details, :not(li) > blockquote, [data-embed-type=\"expandable-box\"], [data-embed-type=\"framed-content\"], [data-embed-type=\"factbox\"], table, [data-embed-type=\"related-content-list\"], [data-embed-type=\"link-block-list\"], [data-embed-type=\"pitch\"], [data-embed-type=\"campaign-block\"], [data-embed-type=\"key-figure\"], [data-embed-type=\"grid\"], [data-embed-type=\"contact-block\"], [data-embed-type=\"file-list\"], [data-embed-type=\"uu-disclaimer\"]':\n {\n marginBlockStart: \"xxlarge\",\n marginBlockEnd: \"xxlarge\",\n tabletDown: {\n marginBlockStart: \"xlarge\",\n marginBlockEnd: \"xlarge\",\n },\n },\n\n // Article content is usually wrapped in a section. The rest of the elements in this list contains other elements, and should add margin to them no matter where they are placed in the DOM.\n '& section:not([class]), section:not([class]) > div:not([class]), [data-embed-type=\"framed-content\"], [data-embed-type=\"grid\"] > div, [data-embed-type=\"factbox\"] > div, [data-embed-type=\"copyright\"] > [data-copyright-content], [data-embed-type=\"uu-disclaimer\"] > [data-uu-content], [data-embed-wrapper], details, [data-embed-type=\"expandable-box\"], blockquote':\n {\n '& > :is(h2, [data-embed-type=\"copy-heading\"])': {\n marginBlockStart: \"xlarge\",\n marginBlockEnd: \"small\",\n tabletDown: {\n marginBlockStart: \"large\",\n },\n },\n \"& > h3\": {\n marginBlockStart: \"large\",\n marginBlockEnd: \"xsmall\",\n tabletDown: {\n marginBlockStart: \"medium\",\n },\n },\n \"& > :is(h4, h5, h6)\": {\n marginBlockStart: \"medium\",\n marginBlockEnd: \"xsmall\",\n tabletDown: {\n marginBlockStart: \"small\",\n },\n },\n \"& > :is(figure)\": {\n marginBlockStart: \"xxlarge\",\n marginBlockEnd: \"xxlarge\",\n tabletDown: {\n marginBlockStart: \"xlarge\",\n },\n },\n '& > :is(p, ul, ol, dl, [data-embed-type=\"speech\"])': {\n marginBlockStart: \"xsmall\",\n marginBlockEnd: \"xsmall\",\n },\n '& > :is([data-embed-type=\"ordered-list\"])': {\n marginInlineStart: \"small\",\n },\n },\n '& [data-embed-type=\"framed-content\"], [data-embed-type=\"grid\"] > div, [data-embed-type=\"factbox\"] > div, [data-embed-type=\"copyright\"] > [data-copyright-content], [data-embed-type=\"uu-disclaimer\"] > [data-uu-content], details, blockquote':\n {\n \"& > :first-child\": {\n marginBlockStart: \"0\",\n },\n \"& > :last-child\": {\n marginBlockEnd: \"0\",\n },\n },\n \"& section:not([class]), section:not([class]) > div:not([class])\": {\n \"& > :first-child\": {\n marginBlockStart: \"xxlarge\",\n tabletDown: {\n marginBlockStart: \"xlarge\",\n },\n },\n \"& > :last-child\": {\n marginBlockEnd: \"xxlarge\",\n tabletDown: {\n marginBlockStart: \"xlarge\",\n },\n },\n },\n },\n // Adds default link styling to links without classes\n 'a:not([class]):not([data-unstyled]), a[class=\"\"]:not([data-unstyled])': {\n color: \"text.link\",\n textDecoration: \"underline\",\n _hover: {\n textDecoration: \"none\",\n },\n _visited: {\n color: \"text.linkVisited\",\n },\n },\n \".codeblock\": {\n border: \"1px solid\",\n borderColor: \"stroke.subtle\",\n borderLeft: \"4px solid\",\n borderLeftColor: \"stroke.default\",\n borderRadius: \"xsmall\",\n boxSizing: \"border-box\",\n overflowX: \"auto\",\n textStyle: \"label.medium\",\n fontFamily: \"code\",\n display: \"block\",\n whiteSpace: \"pre\",\n \"& .linenumber\": {\n display: \"inline-block\",\n paddingBlock: \"0\",\n paddingInline: \"small\",\n borderRight: \"1px solid\",\n borderColor: \"stroke.subtle\",\n width: \"xxlarge\",\n textAlign: \"right\",\n marginInlineEnd: \"xsmall\",\n },\n \"& :nth-child(1 of .linenumber)\": {\n paddingBlockStart: \"xsmall\",\n },\n \"& :nth-last-child(1 of .linenumber)\": {\n paddingBlockEnd: \"xsmall\",\n },\n // The remaining css is copied from the coy theme in prismjs. A lot of css is omitted due to styling clashes. TODO: Consider moving this\n \"& .token.comment, .token.block-comment, .token.prolog, .token.doctype, .token.cdata\": {\n color: \"#7d8b99\",\n },\n \"& .token.punctuation\": {\n color: \"#5f6364\",\n },\n \"& .token.property, .token.tag, .token.boolean, .token.number, .token.function-name, .token.constant, .token.symbol, .token.deleted\":\n {\n color: \"#c92c2c\",\n },\n \"& .token.selector, .token.attr-name, .token.string, .token.char, .token.function, .token.builtin, .token.inserted\":\n {\n color: \"#2f9c0a\",\n },\n \"& .token.operator, .token.entity, .token.url, .token.variable\": {\n color: \"#a67f59\",\n background: \"rgba(255, 255, 255, 0.5)\",\n },\n \"& .token.atrule, .token.attr-value, .token.keyword, .token.class-name\": {\n color: \"#1990b8\",\n },\n \"& .token.regex, .token.important\": {\n color: \"#e90\",\n },\n \"& .language-css .token.string, .style .token.string\": {\n color: \"#a67f59\",\n background: \"rgba(255, 255, 255, 0.5)\",\n },\n \"& .token.important\": {\n fontWeight: \"normal\",\n },\n \"& .token.bold\": {\n fontWeight: \"bold\",\n },\n \"& .token.italic\": {\n fontStyle: \"italic\",\n },\n \"& .token.entity\": {\n cursor: \"help\",\n },\n \"& .token.namespace\": {\n opacity: \"0.7\",\n },\n },\n});\n"],"mappings":";;;;;;;;;;AAUA,MAAa,kDAA+B;CAC1C,SAAS;EAEP,sBAAsB;EAEtB,sBAAsB;EACvB;CACD,MAAM;EACJ,WAAW;EACX,qBAAqB;EAErB,4BAA4B,EAC1B,UAAU,SACX;EACF;CACD,MAAM;EACJ,YAAY;EACZ,OAAO;EACR;CACD,8CAA8C;EAC5C,SAAS;EACT,eAAe;GACb,SAAS;GACT,cAAc;GACd,cAAc;GACd,eAAe;GACf,cAAc;GACf;EACF;CACD,MAAM;EACJ,YAAY;EACZ,YAAY;EACb;CAED,mBAAmB,EACjB,SAAS,QACV;CAGD,iBAAiB;EACf,IAAI,EACF,WAAW,kBACZ;EACD,IAAI,EACF,WAAW,iBACZ;EACD,IAAI,EACF,WAAW,gBACZ;EACD,cAAc,EACZ,WAAW,eACZ;EACD,8BAA4B,EAC1B,WAAW,UACZ;EAED,YAAY;GACV,WAAW;GACX,YAAY;GACb;EACD,8BAA4B,EAC1B,WAAW,OACZ;EACD,WAAW;EACX,OAAO;EAGP,qdACE;GACE,kBAAkB;GAClB,gBAAgB;GAChB,YAAY;IACV,kBAAkB;IAClB,gBAAgB;IACjB;GACF;EAGH,sXACE;GACE,mDAAiD;IAC/C,kBAAkB;IAClB,gBAAgB;IAChB,YAAY,EACV,kBAAkB,SACnB;IACF;GACD,UAAU;IACR,kBAAkB;IAClB,gBAAgB;IAChB,YAAY,EACV,kBAAkB,UACnB;IACF;GACD,uBAAuB;IACrB,kBAAkB;IAClB,gBAAgB;IAChB,YAAY,EACV,kBAAkB,SACnB;IACF;GACD,mBAAmB;IACjB,kBAAkB;IAClB,gBAAgB;IAChB,YAAY,EACV,kBAAkB,UACnB;IACF;GACD,wDAAsD;IACpD,kBAAkB;IAClB,gBAAgB;IACjB;GACD,+CAA6C,EAC3C,mBAAmB,SACpB;GACF;EACH,2PACE;GACE,oBAAoB,EAClB,kBAAkB,KACnB;GACD,mBAAmB,EACjB,gBAAgB,KACjB;GACF;EACH,mEAAmE;GACjE,oBAAoB;IAClB,kBAAkB;IAClB,YAAY,EACV,kBAAkB,UACnB;IACF;GACD,mBAAmB;IACjB,gBAAgB;IAChB,YAAY,EACV,kBAAkB,UACnB;IACF;GACF;EACF;CAED,2EAAyE;EACvE,OAAO;EACP,gBAAgB;EAChB,QAAQ,EACN,gBAAgB,QACjB;EACD,UAAU,EACR,OAAO,oBACR;EACF;CACD,cAAc;EACZ,QAAQ;EACR,aAAa;EACb,YAAY;EACZ,iBAAiB;EACjB,cAAc;EACd,WAAW;EACX,WAAW;EACX,WAAW;EACX,YAAY;EACZ,SAAS;EACT,YAAY;EACZ,iBAAiB;GACf,SAAS;GACT,cAAc;GACd,eAAe;GACf,aAAa;GACb,aAAa;GACb,OAAO;GACP,WAAW;GACX,iBAAiB;GAClB;EACD,kCAAkC,EAChC,mBAAmB,UACpB;EACD,uCAAuC,EACrC,iBAAiB,UAClB;EAED,uFAAuF,EACrF,OAAO,WACR;EACD,wBAAwB,EACtB,OAAO,WACR;EACD,sIACE,EACE,OAAO,WACR;EACH,qHACE,EACE,OAAO,WACR;EACH,iEAAiE;GAC/D,OAAO;GACP,YAAY;GACb;EACD,yEAAyE,EACvE,OAAO,WACR;EACD,oCAAoC,EAClC,OAAO,QACR;EACD,uDAAuD;GACrD,OAAO;GACP,YAAY;GACb;EACD,sBAAsB,EACpB,YAAY,UACb;EACD,iBAAiB,EACf,YAAY,QACb;EACD,mBAAmB,EACjB,WAAW,UACZ;EACD,mBAAmB,EACjB,QAAQ,QACT;EACD,sBAAsB,EACpB,SAAS,OACV;EACF;CACF,CAAC"}
1
+ {"version":3,"file":"globalCss.js","names":[],"sources":["../src/globalCss.ts"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport { defineGlobalStyles } from \"@pandacss/dev\";\n\nexport const globalCss = defineGlobalStyles({\n \":root\": {\n // Applied to html in preflight (css reset)\n \"--global-font-body\": \"fonts.sans\",\n // Code, kbd, pre, samp\n \"--global-font-mono\": \"fonts.code\",\n },\n html: {\n minHeight: \"100%\",\n fontFeatureSettings: \"'ss03' on, 'liga' off, 'clig' off\",\n // this is included in the css reset we use. We don't want it.\n \"& h1, h2, h3, h4, h5, h6\": {\n textWrap: \"unset\",\n },\n },\n body: {\n background: \"background.default\",\n color: \"text.default\",\n },\n \"a, summary,[tabindex]:not([tabindex='-1'])\": {\n outline: \"none\",\n _focusVisible: {\n outline: \"3px\",\n borderRadius: \"xsmall\",\n outlineColor: \"stroke.default\",\n outlineOffset: \"3px\",\n outlineStyle: \"solid\",\n },\n },\n code: {\n background: \"background.subtle\",\n whiteSpace: \"pre-wrap\",\n overflowWrap: \"anywhere\",\n },\n /* Hide default zendesk launcher so that we can provide our own. */\n \"iframe#launcher\": {\n display: \"none\",\n },\n // For future readers: Life here would be much simpler if we could use flex.\n // However, our usage of float within the article content forces us to use margins.\n \".ndla-article\": {\n h1: {\n textStyle: \"heading.medium\",\n },\n h2: {\n textStyle: \"heading.small\",\n },\n h3: {\n textStyle: \"title.medium\",\n },\n \"h4, h5, h6\": {\n textStyle: \"title.small\",\n },\n '& p[data-align=\"center\"]': {\n textAlign: \"center\",\n },\n // TODO: This is not an actual text style. Should it be?\n blockquote: {\n textStyle: \"body.medium\",\n fontFamily: \"serif\",\n },\n '& p:has(span[dir=\"rtl\"])': {\n direction: \"rtl\",\n },\n textStyle: \"body.article\",\n width: \"100%\",\n\n // Non-figure block elements that should have margin above and below.\n '& details, :not(li) > blockquote, [data-embed-type=\"expandable-box\"], [data-embed-type=\"framed-content\"], [data-embed-type=\"factbox\"], table, [data-embed-type=\"related-content-list\"], [data-embed-type=\"link-block-list\"], [data-embed-type=\"pitch\"], [data-embed-type=\"campaign-block\"], [data-embed-type=\"key-figure\"], [data-embed-type=\"grid\"], [data-embed-type=\"contact-block\"], [data-embed-type=\"file-list\"], [data-embed-type=\"uu-disclaimer\"]':\n {\n marginBlockStart: \"xxlarge\",\n marginBlockEnd: \"xxlarge\",\n tabletDown: {\n marginBlockStart: \"xlarge\",\n marginBlockEnd: \"xlarge\",\n },\n },\n\n // Article content is usually wrapped in a section. The rest of the elements in this list contains other elements, and should add margin to them no matter where they are placed in the DOM.\n '& section:not([class]), section:not([class]) > div:not([class]), [data-embed-type=\"framed-content\"], [data-embed-type=\"grid\"] > div, [data-embed-type=\"factbox\"] > div, [data-embed-type=\"copyright\"] > [data-copyright-content], [data-embed-type=\"uu-disclaimer\"] > [data-uu-content], [data-embed-wrapper], details, [data-embed-type=\"expandable-box\"], blockquote':\n {\n '& > :is(h2, [data-embed-type=\"copy-heading\"])': {\n marginBlockStart: \"xlarge\",\n marginBlockEnd: \"small\",\n tabletDown: {\n marginBlockStart: \"large\",\n },\n },\n \"& > h3\": {\n marginBlockStart: \"large\",\n marginBlockEnd: \"xsmall\",\n tabletDown: {\n marginBlockStart: \"medium\",\n },\n },\n \"& > :is(h4, h5, h6)\": {\n marginBlockStart: \"medium\",\n marginBlockEnd: \"xsmall\",\n tabletDown: {\n marginBlockStart: \"small\",\n },\n },\n \"& > :is(figure)\": {\n marginBlockStart: \"xxlarge\",\n marginBlockEnd: \"xxlarge\",\n tabletDown: {\n marginBlockStart: \"xlarge\",\n },\n },\n '& > :is(p, ul, ol, dl, [data-embed-type=\"speech\"])': {\n marginBlockStart: \"xsmall\",\n marginBlockEnd: \"xsmall\",\n },\n '& > :is([data-embed-type=\"ordered-list\"])': {\n marginInlineStart: \"small\",\n },\n },\n '& [data-embed-type=\"framed-content\"], [data-embed-type=\"grid\"] > div, [data-embed-type=\"factbox\"] > div, [data-embed-type=\"copyright\"] > [data-copyright-content], [data-embed-type=\"uu-disclaimer\"] > [data-uu-content], details, blockquote':\n {\n \"& > :first-child\": {\n marginBlockStart: \"0\",\n },\n \"& > :last-child\": {\n marginBlockEnd: \"0\",\n },\n },\n \"& section:not([class]), section:not([class]) > div:not([class])\": {\n \"& > :first-child\": {\n marginBlockStart: \"xxlarge\",\n tabletDown: {\n marginBlockStart: \"xlarge\",\n },\n },\n \"& > :last-child\": {\n marginBlockEnd: \"xxlarge\",\n tabletDown: {\n marginBlockStart: \"xlarge\",\n },\n },\n },\n },\n // Adds default link styling to links without classes\n 'a:not([class]):not([data-unstyled]), a[class=\"\"]:not([data-unstyled])': {\n color: \"text.link\",\n textDecoration: \"underline\",\n _hover: {\n textDecoration: \"none\",\n },\n _visited: {\n color: \"text.linkVisited\",\n },\n },\n \".codeblock\": {\n border: \"1px solid\",\n borderColor: \"stroke.subtle\",\n borderLeft: \"4px solid\",\n borderLeftColor: \"stroke.default\",\n borderRadius: \"xsmall\",\n boxSizing: \"border-box\",\n overflowX: \"auto\",\n textStyle: \"label.medium\",\n fontFamily: \"code\",\n display: \"block\",\n whiteSpace: \"pre\",\n \"& .linenumber\": {\n display: \"inline-block\",\n paddingBlock: \"0\",\n paddingInline: \"small\",\n borderRight: \"1px solid\",\n borderColor: \"stroke.subtle\",\n width: \"xxlarge\",\n textAlign: \"right\",\n marginInlineEnd: \"xsmall\",\n },\n \"& :nth-child(1 of .linenumber)\": {\n paddingBlockStart: \"xsmall\",\n },\n \"& :nth-last-child(1 of .linenumber)\": {\n paddingBlockEnd: \"xsmall\",\n },\n // The remaining css is copied from the coy theme in prismjs. A lot of css is omitted due to styling clashes. TODO: Consider moving this\n \"& .token.comment, .token.block-comment, .token.prolog, .token.doctype, .token.cdata\": {\n color: \"#7d8b99\",\n },\n \"& .token.punctuation\": {\n color: \"#5f6364\",\n },\n \"& .token.property, .token.tag, .token.boolean, .token.number, .token.function-name, .token.constant, .token.symbol, .token.deleted\":\n {\n color: \"#c92c2c\",\n },\n \"& .token.selector, .token.attr-name, .token.string, .token.char, .token.function, .token.builtin, .token.inserted\":\n {\n color: \"#2f9c0a\",\n },\n \"& .token.operator, .token.entity, .token.url, .token.variable\": {\n color: \"#a67f59\",\n background: \"rgba(255, 255, 255, 0.5)\",\n },\n \"& .token.atrule, .token.attr-value, .token.keyword, .token.class-name\": {\n color: \"#1990b8\",\n },\n \"& .token.regex, .token.important\": {\n color: \"#e90\",\n },\n \"& .language-css .token.string, .style .token.string\": {\n color: \"#a67f59\",\n background: \"rgba(255, 255, 255, 0.5)\",\n },\n \"& .token.important\": {\n fontWeight: \"normal\",\n },\n \"& .token.bold\": {\n fontWeight: \"bold\",\n },\n \"& .token.italic\": {\n fontStyle: \"italic\",\n },\n \"& .token.entity\": {\n cursor: \"help\",\n },\n \"& .token.namespace\": {\n opacity: \"0.7\",\n },\n },\n});\n"],"mappings":";;;;;;;;;;AAUA,MAAa,kDAA+B;CAC1C,SAAS;EAEP,sBAAsB;EAEtB,sBAAsB;EACvB;CACD,MAAM;EACJ,WAAW;EACX,qBAAqB;EAErB,4BAA4B,EAC1B,UAAU,SACX;EACF;CACD,MAAM;EACJ,YAAY;EACZ,OAAO;EACR;CACD,8CAA8C;EAC5C,SAAS;EACT,eAAe;GACb,SAAS;GACT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c;EACZ,QAAQ;EACR,aAAa;EACb,YAAY;EACZ,iBAAiB;EACjB,cAAc;EACd,WAAW;EACX,WAAW;EACX,WAAW;EACX,YAAY;EACZ,SAAS;EACT,YAAY;EACZ,iBAAiB;GACf,SAAS;GACT,cAAc;GACd,eAAe;GACf,aAAa;GACb,aAAa;GACb,OAAO;GACP,WAAW;GACX,iBAAiB;GAClB;EACD,kCAAkC,EAChC,mBAAmB,UACpB;EACD,uCAAuC,EACrC,iBAAiB,UAClB;EAED,uFAAuF,EACrF,OAAO,WACR;EACD,wBAAwB,EACtB,OAAO,WACR;EACD,sIACE,EACE,OAAO,WACR;EACH,qHACE,EACE,OAAO,WACR;EACH,iEAAiE;GAC/D,OAAO;GACP,YAAY;GACb;EACD,yEAAyE,EACvE,OAAO,WACR;EACD,oCAAoC,EAClC,OAAO,QACR;EACD,uDAAuD;GACrD,OAAO;GACP,YAAY;GACb;EACD,sBAAsB,EACpB,YAAY,UACb;EACD,iBAAiB,EACf,YAAY,QACb;EACD,mBAAmB,EACjB,WAAW,UACZ;EACD,mBAAmB,EACjB,QAAQ,QACT;EACD,sBAAsB,EACpB,SAAS,OACV;EACF;CACF,CAAC"}
package/lib/index.js CHANGED
@@ -1,4 +1,4 @@
1
- Object.defineProperty(exports, '__esModule', { value: true });
1
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
2
  const require_animations = require('./animations.js');
3
3
  const require_boxShadows = require('./boxShadows.js');
4
4
  const require_colors = require('./colors.js');
@@ -48,9 +48,8 @@ const preset = (0, _pandacss_dev.definePreset)({
48
48
  containerSizes: _ndla_core.breakpoints
49
49
  }
50
50
  });
51
- var src_default = preset;
52
51
 
53
52
  //#endregion
54
- exports.default = src_default;
53
+ exports.default = preset;
55
54
  exports.forwardCssPropPlugin = require_forwardCssPropPlugin.forwardCssPropPlugin;
56
55
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["globalCss","conditions","breakpoints","textStyles","keyframes","colors","easings","durations","radii","spacing","lineHeights","fontWeights","fontSizes","fonts","animations","boxShadows","zIndex","semanticTokens"],"sources":["../src/index.ts"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport { breakpoints } from \"@ndla/core\";\nimport { definePreset } from \"@pandacss/dev\";\nimport { animations, durations, easings, keyframes } from \"./animations\";\nimport { boxShadows } from \"./boxShadows\";\nimport { colors } from \"./colors\";\nimport { conditions } from \"./conditions\";\nimport { globalCss } from \"./globalCss\";\nimport { radii } from \"./radii\";\nimport { semanticTokens } from \"./semanticTokens\";\nimport { spacing } from \"./spacing\";\nimport { fontWeights, textStyles, fonts, fontSizes, lineHeights } from \"./typography\";\nimport { zIndex } from \"./zIndex\";\n\nconst preset = definePreset({\n name: \"ndla/panda\",\n globalCss: globalCss,\n conditions: conditions,\n theme: {\n breakpoints: breakpoints,\n textStyles: textStyles,\n keyframes: keyframes,\n tokens: {\n colors: colors,\n easings: easings,\n durations: durations,\n radii: radii,\n spacing: spacing,\n sizes: spacing,\n lineHeights: lineHeights,\n fontWeights: fontWeights,\n fontSizes: fontSizes,\n fonts: fonts,\n animations: animations,\n shadows: boxShadows,\n zIndex: zIndex,\n },\n semanticTokens: semanticTokens,\n containerSizes: breakpoints,\n },\n});\n\nexport { forwardCssPropPlugin } from \"./plugins/forwardCssPropPlugin\";\n\nexport default preset;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAqBA,MAAM,yCAAsB;CAC1B,MAAM;CACN,WAAWA;CACX,YAAYC;CACZ,OAAO;EACL,aAAaC;EACb,YAAYC;EACZ,WAAWC;EACX,QAAQ;GACN,QAAQC;GACR,SAASC;GACT,WAAWC;GACX,OAAOC;GACP,SAASC;GACT,OAAOA;GACP,aAAaC;GACb,aAAaC;GACb,WAAWC;GACX,OAAOC;GACP,YAAYC;GACZ,SAASC;GACT,QAAQC;GACT;EACD,gBAAgBC;EAChB,gBAAgBf;EACjB;CACF,CAAC;AAIF,kBAAe"}
1
+ {"version":3,"file":"index.js","names":["globalCss","conditions","breakpoints","textStyles","keyframes","colors","easings","durations","radii","spacing","lineHeights","fontWeights","fontSizes","fonts","animations","boxShadows","zIndex","semanticTokens"],"sources":["../src/index.ts"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport { breakpoints } from \"@ndla/core\";\nimport { definePreset } from \"@pandacss/dev\";\nimport { animations, durations, easings, keyframes } from \"./animations\";\nimport { boxShadows } from \"./boxShadows\";\nimport { colors } from \"./colors\";\nimport { conditions } from \"./conditions\";\nimport { globalCss } from \"./globalCss\";\nimport { radii } from \"./radii\";\nimport { semanticTokens } from \"./semanticTokens\";\nimport { spacing } from \"./spacing\";\nimport { fontWeights, textStyles, fonts, fontSizes, lineHeights } from \"./typography\";\nimport { zIndex } from \"./zIndex\";\n\nconst preset = definePreset({\n name: \"ndla/panda\",\n globalCss: globalCss,\n conditions: conditions,\n theme: {\n breakpoints: breakpoints,\n textStyles: textStyles,\n keyframes: keyframes,\n tokens: {\n colors: colors,\n easings: easings,\n durations: durations,\n radii: radii,\n spacing: spacing,\n sizes: spacing,\n lineHeights: lineHeights,\n fontWeights: fontWeights,\n fontSizes: fontSizes,\n fonts: fonts,\n animations: animations,\n shadows: boxShadows,\n zIndex: zIndex,\n },\n semanticTokens: semanticTokens,\n containerSizes: breakpoints,\n },\n});\n\nexport { forwardCssPropPlugin } from \"./plugins/forwardCssPropPlugin\";\n\nexport default preset;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAqBA,MAAM,yCAAsB;CAC1B,MAAM;CACN,WAAWA;CACX,YAAYC;CACZ,OAAO;EACL,aAAaC;EACb,YAAYC;EACZ,WAAWC;EACX,QAAQ;GACN,QAAQC;GACR,SAASC;GACT,WAAWC;GACX,OAAOC;GACP,SAASC;GACT,OAAOA;GACP,aAAaC;GACb,aAAaC;GACb,WAAWC;GACX,OAAOC;GACP,YAAYC;GACZ,SAASC;GACT,QAAQC;GACT;EACD,gBAAgBC;EAChB,gBAAgBf;EACjB;CACF,CAAC"}
@@ -371,7 +371,12 @@ export declare const semanticTokens: {
371
371
  value: string;
372
372
  };
373
373
  hover: {
374
- value: string;
374
+ DEFAULT: {
375
+ value: string;
376
+ };
377
+ strong: {
378
+ value: string;
379
+ };
375
380
  };
376
381
  active: {
377
382
  value: string;
@@ -155,7 +155,10 @@ const semanticTokens = (0, _pandacss_dev.defineSemanticTokens)({
155
155
  brand: {
156
156
  1: {
157
157
  DEFAULT: { value: "{colors.purple.50}" },
158
- hover: { value: "{colors.purple.100}" },
158
+ hover: {
159
+ DEFAULT: { value: "{colors.purple.100}" },
160
+ strong: { value: "{colors.purple.400}" }
161
+ },
159
162
  active: { value: "{colors.purple.300}" },
160
163
  selected: { value: "{colors.purple.400}" }
161
164
  },
@@ -1 +1 @@
1
- {"version":3,"file":"semanticTokens.js","names":[],"sources":["../src/semanticTokens.ts"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport { defineSemanticTokens } from \"@pandacss/dev\";\n\nexport const semanticTokens = defineSemanticTokens({\n spacing: {\n \"5xsmall\": { value: \"{spacing.1}\" },\n \"4xsmall\": { value: \"{spacing.2}\" },\n \"3xsmall\": { value: \"{spacing.3}\" },\n xxsmall: { value: \"{spacing.4}\" },\n xsmall: { value: \"{spacing.6}\" },\n small: { value: \"{spacing.8}\" },\n medium: { value: \"{spacing.12}\" },\n large: { value: \"{spacing.16}\" },\n xlarge: { value: \"{spacing.18}\" },\n xxlarge: { value: \"{spacing.24}\" },\n \"3xlarge\": { value: \"{spacing.36}\" },\n \"4xlarge\": { value: \"{spacing.48}\" },\n \"5xlarge\": { value: \"{spacing.60}\" },\n surface: {\n \"4xsmall\": { value: \"{spacing.50}\" },\n \"3xsmall\": { value: \"{spacing.75}\" },\n xxsmall: { value: \"{spacing.100}\" },\n xsmall: { value: \"{spacing.150}\" },\n small: { value: \"{spacing.200}\" },\n medium: { value: \"{spacing.250}\" },\n large: { value: \"{spacing.300}\" },\n xlarge: { value: \"{spacing.350}\" },\n xxlarge: { value: \"{spacing.400}\" },\n \"3xlarge\": { value: \"{spacing.500}\" },\n \"4xlarge\": { value: \"{spacing.550}\" },\n },\n },\n sizes: {\n \"5xsmall\": { value: \"{spacing.1}\" },\n \"4xsmall\": { value: \"{spacing.2}\" },\n \"3xsmall\": { value: \"{spacing.3}\" },\n xxsmall: { value: \"{spacing.4}\" },\n xsmall: { value: \"{spacing.6}\" },\n small: { value: \"{spacing.8}\" },\n medium: { value: \"{spacing.12}\" },\n large: { value: \"{spacing.16}\" },\n xlarge: { value: \"{spacing.18}\" },\n xxlarge: { value: \"{spacing.24}\" },\n \"3xlarge\": { value: \"{spacing.36}\" },\n \"4xlarge\": { value: \"{spacing.48}\" },\n \"5xlarge\": { value: \"{spacing.60}\" },\n surface: {\n \"4xsmall\": { value: \"{spacing.50}\" },\n \"3xsmall\": { value: \"{spacing.75}\" },\n xxsmall: { value: \"{spacing.100}\" },\n xsmall: { value: \"{spacing.150}\" },\n small: { value: \"{spacing.200}\" },\n medium: { value: \"{spacing.250}\" },\n large: { value: \"{spacing.300}\" },\n xlarge: { value: \"{spacing.350}\" },\n xxlarge: { value: \"{spacing.400}\" },\n \"3xlarge\": { value: \"{spacing.500}\" },\n \"4xlarge\": { value: \"{spacing.550}\" },\n pageMax: { value: \"1128px\" },\n contentMax: { value: \"744px\" },\n articleMax: { value: \"928px\" },\n wideMax: { value: \"1440px\" },\n },\n },\n colors: {\n background: {\n default: { value: \"{colors.white}\" },\n subtle: { value: \"{colors.grey.100}\" },\n strong: { value: \"{colors.purple.50}\" },\n },\n text: {\n default: { value: \"{colors.grey.950}\" },\n subtle: { value: \"{colors.grey.700}\" },\n strong: { value: \"{colors.primary}\" },\n action: { value: \"{colors.purple.800}\" },\n onAction: { value: \"{colors.white}\" },\n link: { value: \"{colors.blue.800}\" },\n linkVisited: { value: \"{colors.purple.900}\" },\n error: { value: \"{colors.red.600}\" },\n disabled: { value: \"{colors.grey.400}\" },\n },\n icon: {\n default: { value: \"{colors.grey.950}\" },\n strong: { value: \"{colors.primary}\" },\n onAction: { value: \"{colors.white}\" },\n subtle: { value: \"{colors.grey.700}\" },\n warning: { value: \"{colors.yellow.600}\" },\n danger: { value: \"{colors.red.500}\" },\n },\n surface: {\n brand: {\n 1: {\n DEFAULT: { value: \"{colors.purple.500}\" },\n subtle: { value: \"{colors.purple.100}\" },\n moderate: { value: \"{colors.purple.300}\" },\n strong: { value: \"{colors.purple.950}\" },\n },\n 2: {\n DEFAULT: { value: \"{colors.blue.500}\" },\n subtle: { value: \"{colors.blue.50}\" },\n moderate: { value: \"{colors.blue.100}\" },\n bold: { value: \"{colors.blue.800}\" },\n strong: { value: \"{colors.blue.900}\" },\n },\n 3: {\n DEFAULT: { value: \"{colors.lightGreen.500}\" },\n subtle: { value: \"{colors.lightGreen.100}\" },\n moderate: { value: \"{colors.lightGreen.300}\" },\n strong: { value: \"{colors.lightGreen.900}\" },\n },\n 4: {\n DEFAULT: { value: \"{colors.lightYellow.500}\" },\n subtle: { value: \"{colors.lightYellow.100}\" },\n moderate: { value: \"{colors.lightYellow.300}\" },\n strong: { value: \"{colors.lightYellow.1100}\" },\n },\n 5: {\n DEFAULT: { value: \"{colors.pink.500}\" },\n subtle: { value: \"{colors.pink.100}\" },\n moderate: { value: \"{colors.pink.300}\" },\n strong: { value: \"{colors.pink.900}\" },\n },\n },\n default: { value: \"{colors.white}\" },\n hover: { value: \"{colors.purple.alpha.5}\" },\n active: { value: \"{colors.purple.alpha.10}\" },\n selected: { value: \"{colors.purple.200}\" },\n disabled: {\n DEFAULT: { value: \"{colors.grey.200}\" },\n subtle: { value: \"{colors.grey.50}\" },\n strong: { value: \"{colors.grey.700}\" },\n },\n infoSubtle: {\n DEFAULT: { value: \"{colors.grey.100}\" },\n hover: { value: \"{colors.grey.200}\" },\n active: { value: \"{colors.grey.300}\" },\n },\n action: {\n DEFAULT: { value: \"{colors.primary}\" },\n hover: { value: \"{colors.purple.900}\" },\n active: { value: \"{colors.purple.950}\" },\n selected: { value: \"{colors.purple.800}\" },\n myNdla: {\n DEFAULT: { value: \"{colors.lightYellow.300}\" },\n hover: { value: \"{colors.lightYellow.500}\" },\n current: { value: \"{colors.lightYellow.700}\" },\n },\n brand: {\n 1: {\n DEFAULT: { value: \"{colors.purple.50}\" },\n hover: { value: \"{colors.purple.100}\" },\n active: { value: \"{colors.purple.300}\" },\n selected: { value: \"{colors.purple.400}\" },\n },\n 2: {\n DEFAULT: { value: \"{colors.blue.50}\" },\n hover: { value: \"{colors.blue.100}\" },\n selected: { value: \"{colors.blue.200}\" },\n },\n },\n },\n actionSubtle: {\n DEFAULT: { value: \"{colors.purple.50}\" },\n hover: {\n DEFAULT: { value: \"{colors.purple.100}\" },\n strong: { value: \"{colors.purple.400}\" },\n },\n active: { value: \"{colors.purple.300}\" },\n selected: { value: \"{colors.purple.900}\" },\n },\n success: {\n DEFAULT: { value: \"{colors.green.500}\" },\n hover: { value: \"{colors.green.700}\" },\n selected: { value: \"{colors.green.900}\" },\n active: { value: \"{colors.green.700}\" },\n },\n successSubtle: {\n DEFAULT: { value: \"{colors.green.50}\" },\n hover: { value: \"{colors.green.100}\" },\n active: { value: \"{colors.green.300}\" },\n },\n warning: {\n DEFAULT: { value: \"{colors.yellow.400}\" },\n hover: { value: \"{colors.yellow.500}\" },\n active: { value: \"{colors.yellow.700}\" },\n },\n warningSubtle: {\n DEFAULT: { value: \"{colors.yellow.50}\" },\n hover: { value: \"{colors.yellow.100}\" },\n active: { value: \"{colors.yellow.200}\" },\n },\n danger: {\n DEFAULT: { value: \"{colors.red.500}\" },\n hover: { value: \"{colors.red.700}\" },\n selected: { value: \"{colors.red.800}\" },\n active: { value: \"{colors.red.900}\" },\n },\n dangerSubtle: {\n DEFAULT: { value: \"{colors.red.50}\" },\n hover: { value: \"{colors.red.100}\" },\n active: { value: \"{colors.red.200}\" },\n },\n error: {\n DEFAULT: { value: \"{colors.pink.500}\" },\n hover: { value: \"{colors.pink.700}\" },\n active: { value: \"{colors.pink.900}\" },\n },\n errorSubtle: {\n DEFAULT: { value: \"{colors.red.50}\" },\n hover: { value: \"{colors.pink.100}\" },\n active: { value: \"{colors.pink.200}\" },\n },\n subtle: {\n DEFAULT: { value: \"{colors.grey.50}\" },\n selected: { value: \"{colors.grey.100}\" },\n },\n },\n stroke: {\n default: { value: \"{colors.primary}\" },\n hover: { value: \"{colors.purple.800}\" },\n subtle: { value: \"{colors.grey.500}\" },\n success: { value: \"{colors.lightGreen.900}\" },\n info: { value: \"{colors.grey.500}\" },\n warning: { value: \"{colors.yellow.600}\" },\n error: { value: \"{colors.red.600}\" },\n disabled: { value: \"{colors.grey.300}\" },\n discrete: { value: \"{colors.grey.300}\" },\n },\n },\n});\n"],"mappings":";;;;;;;;;;AAUA,MAAa,yDAAsC;CACjD,SAAS;EACP,WAAW,EAAE,OAAO,eAAe;EACnC,WAAW,EAAE,OAAO,eAAe;EACnC,WAAW,EAAE,OAAO,eAAe;EACnC,SAAS,EAAE,OAAO,eAAe;EACjC,QAAQ,EAAE,OAAO,eAAe;EAChC,OAAO,EAAE,OAAO,eAAe;EAC/B,QAAQ,EAAE,OAAO,gBAAgB;EACjC,OAAO,EAAE,OAAO,gBAAgB;EAChC,QAAQ,EAAE,OAAO,gBAAgB;EACjC,SAAS,EAAE,OAAO,gBAAgB;EAClC,WAAW,EAAE,OAAO,gBAAgB;EACpC,WAAW,EAAE,OAAO,gBAAgB;EACpC,WAAW,EAAE,OAAO,gBAAgB;EACpC,SAAS;GACP,WAAW,EAAE,OAAO,gBAAgB;GACpC,WAAW,EAAE,OAAO,gBAAgB;GACpC,SAAS,EAAE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,uBAAuB;GACvC,QAAQ,EAAE,OAAO,qBAAqB;GACtC,SAAS,EAAE,OAAO,2BAA2B;GAC7C,MAAM,EAAE,OAAO,qBAAqB;GACpC,SAAS,EAAE,OAAO,uBAAuB;GACzC,OAAO,EAAE,OAAO,oBAAoB;GACpC,UAAU,EAAE,OAAO,qBAAqB;GACxC,UAAU,EAAE,OAAO,qBAAqB;GACzC;EACF;CACF,CAAC"}
1
+ {"version":3,"file":"semanticTokens.js","names":[],"sources":["../src/semanticTokens.ts"],"sourcesContent":["/**\n * Copyright (c) 2024-present, NDLA.\n *\n * This source code is licensed under the GPLv3 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport { defineSemanticTokens } from \"@pandacss/dev\";\n\nexport const semanticTokens = defineSemanticTokens({\n spacing: {\n \"5xsmall\": { value: \"{spacing.1}\" },\n \"4xsmall\": { value: \"{spacing.2}\" },\n \"3xsmall\": { value: \"{spacing.3}\" },\n xxsmall: { value: \"{spacing.4}\" },\n xsmall: { value: \"{spacing.6}\" },\n small: { value: \"{spacing.8}\" },\n medium: { value: \"{spacing.12}\" },\n large: { value: \"{spacing.16}\" },\n xlarge: { value: \"{spacing.18}\" },\n xxlarge: { value: \"{spacing.24}\" },\n \"3xlarge\": { value: \"{spacing.36}\" },\n \"4xlarge\": { value: \"{spacing.48}\" },\n \"5xlarge\": { value: \"{spacing.60}\" },\n surface: {\n \"4xsmall\": { value: \"{spacing.50}\" },\n \"3xsmall\": { value: \"{spacing.75}\" },\n xxsmall: { value: \"{spacing.100}\" },\n xsmall: { value: \"{spacing.150}\" },\n small: { value: \"{spacing.200}\" },\n medium: { value: \"{spacing.250}\" },\n large: { value: \"{spacing.300}\" },\n xlarge: { value: \"{spacing.350}\" },\n xxlarge: { value: \"{spacing.400}\" },\n \"3xlarge\": { value: \"{spacing.500}\" },\n \"4xlarge\": { value: \"{spacing.550}\" },\n },\n },\n sizes: {\n \"5xsmall\": { value: \"{spacing.1}\" },\n \"4xsmall\": { value: \"{spacing.2}\" },\n \"3xsmall\": { value: \"{spacing.3}\" },\n xxsmall: { value: \"{spacing.4}\" },\n xsmall: { value: \"{spacing.6}\" },\n small: { value: \"{spacing.8}\" },\n medium: { value: \"{spacing.12}\" },\n large: { value: \"{spacing.16}\" },\n xlarge: { value: \"{spacing.18}\" },\n xxlarge: { value: \"{spacing.24}\" },\n \"3xlarge\": { value: \"{spacing.36}\" },\n \"4xlarge\": { value: \"{spacing.48}\" },\n \"5xlarge\": { value: \"{spacing.60}\" },\n surface: {\n \"4xsmall\": { value: \"{spacing.50}\" },\n \"3xsmall\": { value: \"{spacing.75}\" },\n xxsmall: { value: \"{spacing.100}\" },\n xsmall: { value: \"{spacing.150}\" },\n small: { value: \"{spacing.200}\" },\n medium: { value: \"{spacing.250}\" },\n large: { value: \"{spacing.300}\" },\n xlarge: { value: \"{spacing.350}\" },\n xxlarge: { value: \"{spacing.400}\" },\n \"3xlarge\": { value: \"{spacing.500}\" },\n \"4xlarge\": { value: \"{spacing.550}\" },\n pageMax: { value: \"1128px\" },\n contentMax: { value: \"744px\" },\n articleMax: { value: \"928px\" },\n wideMax: { value: \"1440px\" },\n },\n },\n colors: {\n background: {\n default: { value: \"{colors.white}\" },\n subtle: { value: \"{colors.grey.100}\" },\n strong: { value: \"{colors.purple.50}\" },\n },\n text: {\n default: { value: \"{colors.grey.950}\" },\n subtle: { value: \"{colors.grey.700}\" },\n strong: { value: \"{colors.primary}\" },\n action: { value: \"{colors.purple.800}\" },\n onAction: { value: \"{colors.white}\" },\n link: { value: \"{colors.blue.800}\" },\n linkVisited: { value: \"{colors.purple.900}\" },\n error: { value: \"{colors.red.600}\" },\n disabled: { value: \"{colors.grey.400}\" },\n },\n icon: {\n default: { value: \"{colors.grey.950}\" },\n strong: { value: \"{colors.primary}\" },\n onAction: { value: \"{colors.white}\" },\n subtle: { value: \"{colors.grey.700}\" },\n warning: { value: \"{colors.yellow.600}\" },\n danger: { value: \"{colors.red.500}\" },\n },\n surface: {\n brand: {\n 1: {\n DEFAULT: { value: \"{colors.purple.500}\" },\n subtle: { value: \"{colors.purple.100}\" },\n moderate: { value: \"{colors.purple.300}\" },\n strong: { value: \"{colors.purple.950}\" },\n },\n 2: {\n DEFAULT: { value: \"{colors.blue.500}\" },\n subtle: { value: \"{colors.blue.50}\" },\n moderate: { value: \"{colors.blue.100}\" },\n bold: { value: \"{colors.blue.800}\" },\n strong: { value: \"{colors.blue.900}\" },\n },\n 3: {\n DEFAULT: { value: \"{colors.lightGreen.500}\" },\n subtle: { value: \"{colors.lightGreen.100}\" },\n moderate: { value: \"{colors.lightGreen.300}\" },\n strong: { value: \"{colors.lightGreen.900}\" },\n },\n 4: {\n DEFAULT: { value: \"{colors.lightYellow.500}\" },\n subtle: { value: \"{colors.lightYellow.100}\" },\n moderate: { value: \"{colors.lightYellow.300}\" },\n strong: { value: \"{colors.lightYellow.1100}\" },\n },\n 5: {\n DEFAULT: { value: \"{colors.pink.500}\" },\n subtle: { value: \"{colors.pink.100}\" },\n moderate: { value: \"{colors.pink.300}\" },\n strong: { value: \"{colors.pink.900}\" },\n },\n },\n default: { value: \"{colors.white}\" },\n hover: { value: \"{colors.purple.alpha.5}\" },\n active: { value: \"{colors.purple.alpha.10}\" },\n selected: { value: \"{colors.purple.200}\" },\n disabled: {\n DEFAULT: { value: \"{colors.grey.200}\" },\n subtle: { value: \"{colors.grey.50}\" },\n strong: { value: \"{colors.grey.700}\" },\n },\n infoSubtle: {\n DEFAULT: { value: \"{colors.grey.100}\" },\n hover: { value: \"{colors.grey.200}\" },\n active: { value: \"{colors.grey.300}\" },\n },\n action: {\n DEFAULT: { value: \"{colors.primary}\" },\n hover: { value: \"{colors.purple.900}\" },\n active: { value: \"{colors.purple.950}\" },\n selected: { value: \"{colors.purple.800}\" },\n myNdla: {\n DEFAULT: { value: \"{colors.lightYellow.300}\" },\n hover: { value: \"{colors.lightYellow.500}\" },\n current: { value: \"{colors.lightYellow.700}\" },\n },\n brand: {\n 1: {\n DEFAULT: { value: \"{colors.purple.50}\" },\n hover: {\n DEFAULT: { value: \"{colors.purple.100}\" },\n strong: { value: \"{colors.purple.400}\" },\n },\n active: { value: \"{colors.purple.300}\" },\n selected: { value: \"{colors.purple.400}\" },\n },\n 2: {\n DEFAULT: { value: \"{colors.blue.50}\" },\n hover: { value: \"{colors.blue.100}\" },\n selected: { value: \"{colors.blue.200}\" },\n },\n },\n },\n actionSubtle: {\n DEFAULT: { value: \"{colors.purple.50}\" },\n hover: {\n DEFAULT: { value: \"{colors.purple.100}\" },\n strong: { value: \"{colors.purple.400}\" },\n },\n active: { value: \"{colors.purple.300}\" },\n selected: { value: \"{colors.purple.900}\" },\n },\n success: {\n DEFAULT: { value: \"{colors.green.500}\" },\n hover: { value: \"{colors.green.700}\" },\n selected: { value: \"{colors.green.900}\" },\n active: { value: \"{colors.green.700}\" },\n },\n successSubtle: {\n DEFAULT: { value: \"{colors.green.50}\" },\n hover: { value: \"{colors.green.100}\" },\n active: { value: \"{colors.green.300}\" },\n },\n warning: {\n DEFAULT: { value: \"{colors.yellow.400}\" },\n hover: { value: \"{colors.yellow.500}\" },\n active: { value: \"{colors.yellow.700}\" },\n },\n warningSubtle: {\n DEFAULT: { value: \"{colors.yellow.50}\" },\n hover: { value: \"{colors.yellow.100}\" },\n active: { value: \"{colors.yellow.200}\" },\n },\n danger: {\n DEFAULT: { value: \"{colors.red.500}\" },\n hover: { value: \"{colors.red.700}\" },\n selected: { value: \"{colors.red.800}\" },\n active: { value: \"{colors.red.900}\" },\n },\n dangerSubtle: {\n DEFAULT: { value: \"{colors.red.50}\" },\n hover: { value: \"{colors.red.100}\" },\n active: { value: \"{colors.red.200}\" },\n },\n error: {\n DEFAULT: { value: \"{colors.pink.500}\" },\n hover: { value: \"{colors.pink.700}\" },\n active: { value: \"{colors.pink.900}\" },\n },\n errorSubtle: {\n DEFAULT: { value: \"{colors.red.50}\" },\n hover: { value: \"{colors.pink.100}\" },\n active: { value: \"{colors.pink.200}\" },\n },\n subtle: {\n DEFAULT: { value: \"{colors.grey.50}\" },\n selected: { value: \"{colors.grey.100}\" },\n },\n },\n stroke: {\n default: { value: \"{colors.primary}\" },\n hover: { value: \"{colors.purple.800}\" },\n subtle: { value: \"{colors.grey.500}\" },\n success: { value: \"{colors.lightGreen.900}\" },\n info: { value: \"{colors.grey.500}\" },\n warning: { value: \"{colors.yellow.600}\" },\n error: { value: \"{colors.red.600}\" },\n disabled: { value: \"{colors.grey.300}\" },\n discrete: { value: \"{colors.grey.300}\" },\n },\n },\n});\n"],"mappings":";;;;;;;;;;AAUA,MAAa,yDAAsC;CACjD,SAAS;EACP,WAAW,EAAE,OAAO,eAAe;EACnC,WAAW,EAAE,OAAO,eAAe;EACnC,WAAW,EAAE,OAAO,eAAe;EACnC,SAAS,EAAE,OAAO,eAAe;EACjC,QAAQ,EAAE,OAAO,eAAe;EAChC,OAAO,EAAE,OAAO,eAAe;EAC/B,QAAQ,EAAE,OAAO,gBAAgB;EACjC,OAAO,EAAE,OAAO,gBAAgB;EAChC,QAAQ,EAAE,OAAO,gBAAgB;EACjC,SAAS,EAAE,OAAO,gBAAgB;EAClC,WAAW,EAAE,OAAO,gBAAgB;EACpC,WAAW,EAAE,OAAO,gBAAgB;EACpC,WAAW,EAAE,OAAO,gBAAgB;EACpC,SAAS;GACP,WAAW,EAAE,OAAO,gBAAgB;GACpC,WAAW,EAAE,OAAO,gBAAgB;GACpC,SAAS,EAAE,OAAO,iBAAiB;GACnC,QAAQ,EAAE,OAAO,iBAAiB;GAClC,OAAO,EAAE,OAAO,iBAAiB;GACjC,QAAQ,EAAE,OAAO,iBAAiB;GAClC,OAAO,EAAE,OAAO,iBAAiB;GACjC,QAAQ,EAAE,OAAO,iBAAiB;GAClC,SAAS,EAAE,OAAO,iBAAiB;GACnC,WAAW,EAAE,OAAO,iBAAiB;GACrC,WAAW,EAAE,OAAO,iBAAiB;GACtC;EACF;CACD,OAAO;EACL,WAAW,EAAE,OAAO,eAAe;EACnC,WAAW,EAAE,O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
  {
2
2
  "name": "@ndla/preset-panda",
3
3
  "type": "module",
4
- "version": "0.0.71",
4
+ "version": "0.0.73",
5
5
  "description": "Panda preset for NDLA.",
6
6
  "license": "GPL-3.0",
7
7
  "exports": {
@@ -41,5 +41,5 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "305f48a7ac64bc4138e437a0798e8db35bf755ec"
44
+ "gitHead": "da7b1222dfa5d33dab82addabd290ac04805ffea"
45
45
  }