@aquera/nile-elements 2.0.9 → 2.0.10

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.
Files changed (53) hide show
  1. package/README.md +8 -0
  2. package/demo/nxtgen-classes.css +5 -5
  3. package/demo/nxtgen-dark.css +25 -25
  4. package/demo/nxtgen-properties.css +2 -2
  5. package/demo/nxtgen-utilities.css +5 -5
  6. package/demo/nxtgen.css +5 -5
  7. package/demo/utilities.css +2 -2
  8. package/demo/variables.css +2 -2
  9. package/dist/index.js +17 -14
  10. package/dist/nile-badge/nile-badge.css.cjs.js +1 -1
  11. package/dist/nile-badge/nile-badge.css.cjs.js.map +1 -1
  12. package/dist/nile-badge/nile-badge.css.esm.js +2 -2
  13. package/dist/nile-button-toggle/nile-button-toggle.css.cjs.js +1 -1
  14. package/dist/nile-button-toggle/nile-button-toggle.css.cjs.js.map +1 -1
  15. package/dist/nile-button-toggle/nile-button-toggle.css.esm.js +2 -2
  16. package/dist/nile-code-editor/nile-code-editor.cjs.js +1 -1
  17. package/dist/nile-code-editor/nile-code-editor.cjs.js.map +1 -1
  18. package/dist/nile-code-editor/nile-code-editor.esm.js +1 -1
  19. package/dist/nile-menu-item/nile-menu-item.css.cjs.js +1 -1
  20. package/dist/nile-menu-item/nile-menu-item.css.cjs.js.map +1 -1
  21. package/dist/nile-menu-item/nile-menu-item.css.esm.js +1 -1
  22. package/dist/nile-rich-text-editor/nile-rich-text-editor.css.cjs.js +1 -1
  23. package/dist/nile-rich-text-editor/nile-rich-text-editor.css.cjs.js.map +1 -1
  24. package/dist/nile-rich-text-editor/nile-rich-text-editor.css.esm.js +5 -2
  25. package/dist/nile-toast/nile-toast.css.cjs.js +1 -1
  26. package/dist/nile-toast/nile-toast.css.cjs.js.map +1 -1
  27. package/dist/nile-toast/nile-toast.css.esm.js +5 -5
  28. package/dist/src/nile-badge/nile-badge.css.js +2 -2
  29. package/dist/src/nile-badge/nile-badge.css.js.map +1 -1
  30. package/dist/src/nile-button-toggle/nile-button-toggle.css.js +2 -2
  31. package/dist/src/nile-button-toggle/nile-button-toggle.css.js.map +1 -1
  32. package/dist/src/nile-code-editor/nile-code-editor.d.ts +1 -1
  33. package/dist/src/nile-code-editor/nile-code-editor.js +2 -2
  34. package/dist/src/nile-code-editor/nile-code-editor.js.map +1 -1
  35. package/dist/src/nile-menu-item/nile-menu-item.css.js +1 -1
  36. package/dist/src/nile-menu-item/nile-menu-item.css.js.map +1 -1
  37. package/dist/src/nile-rich-text-editor/nile-rich-text-editor.css.js +5 -2
  38. package/dist/src/nile-rich-text-editor/nile-rich-text-editor.css.js.map +1 -1
  39. package/dist/src/nile-toast/nile-toast.css.js +5 -5
  40. package/dist/src/nile-toast/nile-toast.css.js.map +1 -1
  41. package/dist/src/version.js +1 -1
  42. package/dist/src/version.js.map +1 -1
  43. package/dist/tsconfig.tsbuildinfo +1 -1
  44. package/dist/version.cjs.js +1 -1
  45. package/dist/version.cjs.js.map +1 -1
  46. package/dist/version.esm.js +1 -1
  47. package/package.json +1 -1
  48. package/src/nile-badge/nile-badge.css.ts +2 -2
  49. package/src/nile-button-toggle/nile-button-toggle.css.ts +2 -2
  50. package/src/nile-code-editor/nile-code-editor.ts +2 -2
  51. package/src/nile-menu-item/nile-menu-item.css.ts +1 -1
  52. package/src/nile-rich-text-editor/nile-rich-text-editor.css.ts +5 -2
  53. package/src/nile-toast/nile-toast.css.ts +5 -5
@@ -1,2 +1,2 @@
1
- System.register([],function(_export,_context){"use strict";var e;function n(){var _ref;return(_ref=function(){if("undefined"==typeof window||"function"!=typeof getComputedStyle)return null;try{return getComputedStyle(document.documentElement).getPropertyValue("--nile-version").trim().replace(/^["']|["']$/g,"")||null;}catch(_unused){return null;}}())!==null&&_ref!==void 0?_ref:"1.3.2";}return{setters:[],execute:function execute(){if("undefined"!=typeof window){window.nileElementsVersion="__NILE_ELEMENTS_VERSION__";e=null;Object.defineProperty(window,"nileVersion",{configurable:!0,get:function get(){return e!==null&&e!==void 0?e:n();},set:function set(n){e=n;}}),window.process=window.process||{env:{NODE_ENV:"production"}};}}};});
1
+ System.register([],function(_export,_context){"use strict";var e;function n(){var _ref;return(_ref=function(){if("undefined"==typeof window||"function"!=typeof getComputedStyle)return null;try{return getComputedStyle(document.documentElement).getPropertyValue("--nile-version").trim().replace(/^["']|["']$/g,"")||null;}catch(_unused){return null;}}())!==null&&_ref!==void 0?_ref:"1.3.3";}return{setters:[],execute:function execute(){if("undefined"!=typeof window){window.nileElementsVersion="__NILE_ELEMENTS_VERSION__";e=null;Object.defineProperty(window,"nileVersion",{configurable:!0,get:function get(){return e!==null&&e!==void 0?e:n();},set:function set(n){e=n;}}),window.process=window.process||{env:{NODE_ENV:"production"}};}}};});
2
2
  //# sourceMappingURL=version.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.cjs.js","sources":["../../src/version.ts","../../nile/lib/version.js"],"sourcesContent":["// Version utility.\n//\n// NILE_ELEMENTS_VERSION is this package's own version and is still substituted\n// at build time by scripts/replace-version.cjs.\n//\n// The tokens version is read from the loaded Nile stylesheet's --nile-version\n// custom property (stamped by @aquera/nile's scripts/stamp-css-version.mjs),\n// falling back to the @aquera/nile installed alongside this package.\n//\n// Reading the stylesheet is what makes a tokens-only release visible. The\n// imported constant alone is not enough: rollup.config.js bundles\n// @aquera/nile/lib/version.js into dist/index.js, so on the CDN build it is\n// frozen at this package's build time. The stylesheet is the live source.\nimport { NILE_VERSION as BUILT_IN_NILE_VERSION } from '@aquera/nile/lib/version.js';\n\nexport const NILE_ELEMENTS_VERSION = '__NILE_ELEMENTS_VERSION__';\n\nfunction readStylesheetNileVersion(): string | null {\n if (typeof window === 'undefined' || typeof getComputedStyle !== 'function') {\n return null;\n }\n\n try {\n const value = getComputedStyle(document.documentElement)\n .getPropertyValue('--nile-version')\n .trim()\n .replace(/^[\"']|[\"']$/g, '');\n\n return value || null;\n } catch {\n return null;\n }\n}\n\n/**\n * The version of @aquera/nile (tokens/stylesheets) whose CSS is loaded in the\n * page, falling back to the @aquera/nile bundled into this package when no\n * stamped stylesheet is present.\n *\n * This is the canonical runtime API. It resolves on every call rather than\n * caching, so it is correct even when the Nile stylesheet is added to the page\n * after this module evaluates - which is the common case, and why no\n * module-evaluation-time snapshot of it is exported.\n */\nexport function getNileVersion(): string {\n return readStylesheetNileVersion() ?? BUILT_IN_NILE_VERSION;\n}\n\n// Set global versions for runtime access\nif (typeof window !== 'undefined') {\n (window as any).nileElementsVersion = NILE_ELEMENTS_VERSION;\n\n // A getter rather than a value, so window.nileVersion reflects whichever\n // stylesheet is loaded at read time regardless of script/style ordering.\n let override: string | null = null;\n Object.defineProperty(window, 'nileVersion', {\n configurable: true,\n get: () => override ?? getNileVersion(),\n set: (value: string) => {\n override = value;\n },\n });\n\n (window as any).process = (window as any).process || {\n env: { NODE_ENV: 'production' },\n };\n}\n","// Generated by scripts/build-version.mjs - do not edit by hand.\nexport const NILE_VERSION = '1.3.2';\n"],"names":["getNileVersion","n","_ref","window","getComputedStyle","document","documentElement","getPropertyValue","trim","replace","_unused","readStylesheetNileVersion","setters","execute","nileElementsVersion","override","Object","defineProperty","configurable","get","set","value","process","env","NODE_ENV"],"mappings":"yEA4CgBA,CAAAA,CACdC,CAAA,CAAA,KAAAC,IAAA,CAAA,OAAAA,IAAA,CA5BF,UACE,CAAA,GAAsB,WAAXC,EAAAA,MAAAA,CAAAA,MAAAA,EAAsD,UAArBC,EAAAA,MAAAA,CAAAA,gBAAAA,CAC1C,MAAO,KAAA,CAGT,GAME,CAAA,MALcA,CAAAA,iBAAiBC,QAASC,CAAAA,eAAAA,CAAAA,CACrCC,gBAAiB,CAAA,gBAAA,CAAA,CACjBC,IACAC,CAAAA,CAAAA,CAAAA,OAAAA,CAAQ,cAAgB,CAAA,EAAA,CAAA,EAEX,IACjB,EAAC,MAAAC,OAAA,CACA,CAAA,MAAO,KACR,EACH,CAaSC,CAAAA,CAAAA,UAAAA,IAAAA,UAAAA,IAAAA,CC5CmB,OD6C5B,EAGA,OAAAC,OAAA,IAAAC,OAAA,UAAAA,QAAA,KAAsB,WAAXV,EAAAA,MAAAA,CAAAA,MAAAA,CAAwB,CAChCA,MAAAA,CAAeW,mBAnCmB,CAAA,2BAAA,CAuC/BC,CAAAA,CAA0B,IAC9BC,CAAAA,MAAAA,CAAOC,cAAed,CAAAA,MAAAA,CAAQ,aAAe,CAAA,CAC3Ce,cAAc,CACdC,CAAAA,GAAAA,CAAK,QAALA,CAAAA,GAAAA,CAAAA,QAAWJ,CAAAA,CAAAA,SAAAA,CAAAA,UAAAA,CAAAA,CAAYf,CACvBoB,CAAAA,CAAAA,GAAAA,GAAAA,CAAMC,QAAND,CAAAA,GAAAA,CAAMC,CACJN,CAAAA,CAAAA,CAAAA,CAAWM,CAAK,EAInBlB,CAAAA,CAAAA,CAAAA,MAAAA,CAAemB,OAAWnB,CAAAA,MAAAA,CAAemB,OAAW,EAAA,CACnDC,GAAK,CAAA,CAAEC,SAAU,YAErB,CAAA,CAAA,EAAA"}
1
+ {"version":3,"file":"version.cjs.js","sources":["../../src/version.ts","../../nile/lib/version.js"],"sourcesContent":["// Version utility.\n//\n// NILE_ELEMENTS_VERSION is this package's own version and is still substituted\n// at build time by scripts/replace-version.cjs.\n//\n// The tokens version is read from the loaded Nile stylesheet's --nile-version\n// custom property (stamped by @aquera/nile's scripts/stamp-css-version.mjs),\n// falling back to the @aquera/nile installed alongside this package.\n//\n// Reading the stylesheet is what makes a tokens-only release visible. The\n// imported constant alone is not enough: rollup.config.js bundles\n// @aquera/nile/lib/version.js into dist/index.js, so on the CDN build it is\n// frozen at this package's build time. The stylesheet is the live source.\nimport { NILE_VERSION as BUILT_IN_NILE_VERSION } from '@aquera/nile/lib/version.js';\n\nexport const NILE_ELEMENTS_VERSION = '__NILE_ELEMENTS_VERSION__';\n\nfunction readStylesheetNileVersion(): string | null {\n if (typeof window === 'undefined' || typeof getComputedStyle !== 'function') {\n return null;\n }\n\n try {\n const value = getComputedStyle(document.documentElement)\n .getPropertyValue('--nile-version')\n .trim()\n .replace(/^[\"']|[\"']$/g, '');\n\n return value || null;\n } catch {\n return null;\n }\n}\n\n/**\n * The version of @aquera/nile (tokens/stylesheets) whose CSS is loaded in the\n * page, falling back to the @aquera/nile bundled into this package when no\n * stamped stylesheet is present.\n *\n * This is the canonical runtime API. It resolves on every call rather than\n * caching, so it is correct even when the Nile stylesheet is added to the page\n * after this module evaluates - which is the common case, and why no\n * module-evaluation-time snapshot of it is exported.\n */\nexport function getNileVersion(): string {\n return readStylesheetNileVersion() ?? BUILT_IN_NILE_VERSION;\n}\n\n// Set global versions for runtime access\nif (typeof window !== 'undefined') {\n (window as any).nileElementsVersion = NILE_ELEMENTS_VERSION;\n\n // A getter rather than a value, so window.nileVersion reflects whichever\n // stylesheet is loaded at read time regardless of script/style ordering.\n let override: string | null = null;\n Object.defineProperty(window, 'nileVersion', {\n configurable: true,\n get: () => override ?? getNileVersion(),\n set: (value: string) => {\n override = value;\n },\n });\n\n (window as any).process = (window as any).process || {\n env: { NODE_ENV: 'production' },\n };\n}\n","// Generated by scripts/build-version.mjs - do not edit by hand.\nexport const NILE_VERSION = '1.3.3';\n"],"names":["getNileVersion","n","_ref","window","getComputedStyle","document","documentElement","getPropertyValue","trim","replace","_unused","readStylesheetNileVersion","setters","execute","nileElementsVersion","override","Object","defineProperty","configurable","get","set","value","process","env","NODE_ENV"],"mappings":"yEA4CgBA,CAAAA,CACdC,CAAA,CAAA,KAAAC,IAAA,CAAA,OAAAA,IAAA,CA5BF,UACE,CAAA,GAAsB,WAAXC,EAAAA,MAAAA,CAAAA,MAAAA,EAAsD,UAArBC,EAAAA,MAAAA,CAAAA,gBAAAA,CAC1C,MAAO,KAAA,CAGT,GAME,CAAA,MALcA,CAAAA,iBAAiBC,QAASC,CAAAA,eAAAA,CAAAA,CACrCC,gBAAiB,CAAA,gBAAA,CAAA,CACjBC,IACAC,CAAAA,CAAAA,CAAAA,OAAAA,CAAQ,cAAgB,CAAA,EAAA,CAAA,EAEX,IACjB,EAAC,MAAAC,OAAA,CACA,CAAA,MAAO,KACR,EACH,CAaSC,CAAAA,CAAAA,UAAAA,IAAAA,UAAAA,IAAAA,CC5CmB,OD6C5B,EAGA,OAAAC,OAAA,IAAAC,OAAA,UAAAA,QAAA,KAAsB,WAAXV,EAAAA,MAAAA,CAAAA,MAAAA,CAAwB,CAChCA,MAAAA,CAAeW,mBAnCmB,CAAA,2BAAA,CAuC/BC,CAAAA,CAA0B,IAC9BC,CAAAA,MAAAA,CAAOC,cAAed,CAAAA,MAAAA,CAAQ,aAAe,CAAA,CAC3Ce,cAAc,CACdC,CAAAA,GAAAA,CAAK,QAALA,CAAAA,GAAAA,CAAAA,QAAWJ,CAAAA,CAAAA,SAAAA,CAAAA,UAAAA,CAAAA,CAAYf,CACvBoB,CAAAA,CAAAA,GAAAA,GAAAA,CAAMC,QAAND,CAAAA,GAAAA,CAAMC,CACJN,CAAAA,CAAAA,CAAAA,CAAWM,CAAK,EAInBlB,CAAAA,CAAAA,CAAAA,MAAAA,CAAemB,OAAWnB,CAAAA,MAAAA,CAAemB,OAAW,EAAA,CACnDC,GAAK,CAAA,CAAEC,SAAU,YAErB,CAAA,CAAA,EAAA"}
@@ -1 +1 @@
1
- function n(){return function(){if("undefined"==typeof window||"function"!=typeof getComputedStyle)return null;try{return getComputedStyle(document.documentElement).getPropertyValue("--nile-version").trim().replace(/^["']|["']$/g,"")||null}catch{return null}}()??"1.3.2"}if("undefined"!=typeof window){window.nileElementsVersion="__NILE_ELEMENTS_VERSION__";let e=null;Object.defineProperty(window,"nileVersion",{configurable:!0,get:()=>e??n(),set:n=>{e=n}}),window.process=window.process||{env:{NODE_ENV:"production"}}}
1
+ function n(){return function(){if("undefined"==typeof window||"function"!=typeof getComputedStyle)return null;try{return getComputedStyle(document.documentElement).getPropertyValue("--nile-version").trim().replace(/^["']|["']$/g,"")||null}catch{return null}}()??"1.3.3"}if("undefined"!=typeof window){window.nileElementsVersion="__NILE_ELEMENTS_VERSION__";let e=null;Object.defineProperty(window,"nileVersion",{configurable:!0,get:()=>e??n(),set:n=>{e=n}}),window.process=window.process||{env:{NODE_ENV:"production"}}}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent nile-elements following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "nile-elements",
6
- "version": "2.0.9",
6
+ "version": "2.0.10",
7
7
  "main": "dist/src/index.js",
8
8
  "type": "module",
9
9
  "module": "dist/src/index.js",
@@ -144,7 +144,7 @@ export const styles = css`
144
144
  color: var(--nile-badge-color-font-gray, var(--ng-componentcolors-utility-gray-700));
145
145
  border-width: var(--nile-badge-color-border-width, var(--ng-border-width-1));
146
146
  border-style: solid;
147
- border-color: var(--nile-badge-color-border-color-gray, var(--ng-componentcolors-utility-gray-200));
147
+ border-color: var(--nile-badge-color-border-color-gray, var(--ng-componentcolors-utility-gray-300));
148
148
  background: var(--nile-badge-color-background-gray, var(--ng-componentcolors-utility-gray-50));
149
149
  }
150
150
 
@@ -193,7 +193,7 @@ export const styles = css`
193
193
  }
194
194
 
195
195
  .badge--gray.badge--pill-outline {
196
- border: var(--nile-badge-color-border-width-pill-outline, var(--ng-border-width-1)) solid var(--nile-badge-color-pill-outline-gray, var(--ng-componentcolors-utility-gray-200));
196
+ border: var(--nile-badge-color-border-width-pill-outline, var(--ng-border-width-1)) solid var(--nile-badge-color-pill-outline-gray, var(--ng-componentcolors-utility-gray-300));
197
197
  }
198
198
 
199
199
 
@@ -74,12 +74,12 @@ export const styles = css`
74
74
 
75
75
  .nile-button-toggle__active {
76
76
  background-color: var( --nile-colors-neutral-500, var(--ng-colors-bg-brand-primary) );
77
- color: var(--nile-colors-dark-900, var(--ng-colors-bg-brand-solid));
77
+ color: var(--nile-colors-dark-900, var(--ng-colors-text-brand-primary-900));
78
78
  }
79
79
 
80
80
  .nile-button-toggle__active:hover {
81
81
  background-color: var(--nile-colors-neutral-500, var(--ng-colors-bg-brand-primary));
82
- color: var(--nile-colors-dark-900, var(--ng-colors-bg-brand-solid));
82
+ color: var(--nile-colors-dark-900, var(--ng-colors-text-brand-primary-900));
83
83
  }
84
84
 
85
85
  .nile-button-toggle__disabled {
@@ -672,9 +672,9 @@ export class NileCodeEditor extends NileElement {
672
672
  return (rgb[0] * 299 + rgb[1] * 587 + rgb[2] * 114) / 1000 < 128;
673
673
  }
674
674
 
675
- /** Applied in dark only so light is untouched.*/
675
+ /** One Dark in dark mode; light keeps CodeMirror's own active-line highlight. */
676
676
  getDarkThemeExtension(): Extension {
677
- return this.isDarkTheme() ? [oneDarkTheme, highlightActiveLine()] : [];
677
+ return [highlightActiveLine(), ...(this.isDarkTheme() ? [oneDarkTheme] : [])];
678
678
  }
679
679
 
680
680
  getDefaultSyntaxHighlightingExtension(){
@@ -94,7 +94,7 @@ export const styles = css`
94
94
  }
95
95
 
96
96
  :host(:hover:not([active], [aria-disabled='true'], :focus-visible)) .menu-item {
97
- background-color: var(--nile-colors-neutral-100,var(--ng-colors-bg-secondary-hover));
97
+ background-color: var(--nile-colors-neutral-100,var(--ng-colors-bg-primary-hover));
98
98
  color: var(--nile-colors-dark-900,var(--ng-colors-text-secondary-hover));
99
99
  }
100
100
 
@@ -12,6 +12,7 @@ export const styles = css`
12
12
  position: relative;
13
13
  display: block;
14
14
  font-family: inherit;
15
+ color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));
15
16
  }
16
17
 
17
18
 
@@ -41,6 +42,7 @@ export const styles = css`
41
42
  width: 100%;
42
43
  padding: 12px;
43
44
  background: var(--nile-colors-white-base, var(--ng-colors-bg-primary));
45
+ color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));
44
46
  border-radius: 0 0 8px 8px;
45
47
  outline: none;
46
48
  tab-size: 4;
@@ -81,6 +83,7 @@ nile-rte-preview {
81
83
  background: var(--nile-colors-white-base, var(--ng-colors-bg-primary));
82
84
  box-sizing: border-box;
83
85
  word-wrap: break-word;
86
+ color: var(--nile-colors-dark-900, var(--ng-colors-text-primary-900));
84
87
  }
85
88
 
86
89
  nile-rich-text-editor[disabled] nile-rte-preview {
@@ -246,7 +249,7 @@ nile-rte-preview figure.rte-image img {
246
249
  nile-rte-preview figure.rte-image figcaption {
247
250
  margin-top: 6px;
248
251
  font-size: 0.875em;
249
- color: var(--nile-colors-neutral-600, var(--ng-colors-text-secondary));
252
+ color: var(--nile-colors-neutral-600, var(--ng-colors-text-tertiary-600));
250
253
  }
251
254
 
252
255
  .editor figure.rte-image {
@@ -273,7 +276,7 @@ nile-rich-text-editor[disabled] .editor figure.rte-image {
273
276
 
274
277
  .editor.empty::before {
275
278
  content: attr(data-placeholder);
276
- color: var(--nile-colors-neutral-500, var(--ng-colors-text-secondary));
279
+ color: var(--nile-colors-neutral-500, var(--ng-colors-text-placeholder));
277
280
  position: absolute;
278
281
  font-family: var(--nile-font-family-sans-serif, var(--ng-font-family-body));
279
282
  pointer-events: none;
@@ -58,7 +58,7 @@ export const styles = css`
58
58
  }
59
59
 
60
60
  .alert--success {
61
- border: 1px solid var(--nile-toast-color-border-success, var(--ng-colors-border-secondary-alt));
61
+ border: 1px solid var(--nile-toast-color-border-success, var(--ng-colors-border-primary));
62
62
  background: var(--nile-toast-color-background-success, var(--ng-colors-bg-primary-alt));
63
63
  box-shadow: var(--nile-toast-color-box-shadow, var(--ng-shadow-xs));
64
64
  }
@@ -68,7 +68,7 @@ export const styles = css`
68
68
  }
69
69
 
70
70
  .alert--info {
71
- border: 1px solid var(--nile-toast-color-border-info, var(--ng-colors-border-secondary-alt));
71
+ border: 1px solid var(--nile-toast-color-border-info, var(--ng-colors-border-primary));
72
72
  background: var(--nile-toast-color-background-info, var(--ng-colors-bg-primary-alt));
73
73
  box-shadow: var(--nile-toast-color-box-shadow, var(--ng-shadow-xs));
74
74
  }
@@ -78,7 +78,7 @@ export const styles = css`
78
78
  }
79
79
 
80
80
  .alert--warning {
81
- border: 1px solid var(--nile-toast-color-border-warning, var(--ng-colors-border-secondary-alt));
81
+ border: 1px solid var(--nile-toast-color-border-warning, var(--ng-colors-border-primary));
82
82
  background: var(--nile-toast-color-background-warning, var(--ng-colors-bg-primary-alt));
83
83
  box-shadow: var(--nile-toast-color-box-shadow, var(--ng-shadow-xs));
84
84
  }
@@ -88,7 +88,7 @@ export const styles = css`
88
88
  }
89
89
 
90
90
  .alert--error {
91
- border: 1px solid var(--nile-toast-color-border-error, var(--ng-colors-border-secondary-alt));
91
+ border: 1px solid var(--nile-toast-color-border-error, var(--ng-colors-border-primary));
92
92
  background: var(--nile-toast-color-background-error, var(--ng-colors-bg-primary-alt));
93
93
  box-shadow: var(--nile-toast-color-box-shadow, var(--ng-shadow-xs));
94
94
  }
@@ -98,7 +98,7 @@ export const styles = css`
98
98
  }
99
99
 
100
100
  .alert--gray {
101
- border: 1px solid var(--nile-toast-color-border-gray, var(--ng-colors-border-secondary-alt));
101
+ border: 1px solid var(--nile-toast-color-border-gray, var(--ng-colors-border-primary));
102
102
  background: var(--nile-toast-color-background-gray, var(--ng-colors-bg-primary-alt));
103
103
  box-shadow: var(--nile-toast-color-box-shadow, var(--ng-shadow-xs));
104
104
  }