@brightspace-ui/core 3.235.0 → 3.235.1

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.
@@ -57,7 +57,7 @@ class LoadingBackdrop extends PropertyRequiredMixin(LocalizeCoreElement(LitEleme
57
57
  }
58
58
 
59
59
  .backdrop {
60
- background-color: var(--d2l-color-regolith);
60
+ background-color: var(--d2l-theme-backdrop-background-color);
61
61
  height: 100%;
62
62
  opacity: 0;
63
63
  position: absolute;
@@ -65,7 +65,7 @@ class LoadingBackdrop extends PropertyRequiredMixin(LocalizeCoreElement(LitEleme
65
65
  width: 100%;
66
66
  }
67
67
  :host([_state="shown"]) .backdrop {
68
- opacity: 0.7;
68
+ opacity: var(--d2l-theme-backdrop-opacity);
69
69
  transition: opacity ${FADE_DURATION_MS}ms ease-in;
70
70
  }
71
71
  :host([_state="hiding"]) .backdrop {
@@ -46,7 +46,7 @@ class Backdrop extends LitElement {
46
46
  static get styles() {
47
47
  return [ css`
48
48
  :host {
49
- background-color: var(--d2l-color-regolith);
49
+ background-color: var(--d2l-theme-backdrop-background-color);
50
50
  height: 0;
51
51
  left: 0;
52
52
  opacity: 0;
@@ -60,7 +60,7 @@ class Backdrop extends LitElement {
60
60
  transition: opacity 1200ms ease-in;
61
61
  }
62
62
  :host([_state="showing"]) {
63
- opacity: 0.7;
63
+ opacity: var(--d2l-theme-backdrop-opacity);
64
64
  }
65
65
  :host([_state="showing"]),
66
66
  :host([_state="hiding"]) {
@@ -111,6 +111,8 @@ const lightVariables = new Map([
111
111
  ['--d2l-theme-text-color-static-standard', '--d2l-color-ferrite'],
112
112
  ['--d2l-theme-text-color-static-subtle', '--d2l-color-tungsten'],
113
113
  // figma - undefined
114
+ ['--d2l-theme-backdrop-background-color', '--d2l-color-regolith'],
115
+ ['--d2l-theme-backdrop-opacity', '0.7'],
114
116
  ['--d2l-theme-background-color-interactive-faint-disabled', '#f9fbff80'], /* --d2l-theme-background-color-interactive-faint-default at 50% opacity, remove once color-mix is widely supported */
115
117
  ['--d2l-theme-badge-background-color', '--d2l-color-gypsum'],
116
118
  ['--d2l-theme-badge-text-color', '--d2l-theme-text-color-static-standard'],
@@ -183,6 +185,8 @@ const darkVariables = new Map([
183
185
  ['--d2l-theme-text-color-static-standard', '--d2l-color-mica'],
184
186
  ['--d2l-theme-text-color-static-subtle', '--d2l-color-chromite'],
185
187
  // figma - undefined
188
+ ['--d2l-theme-backdrop-background-color', '--d2l-color-ferrite'],
189
+ ['--d2l-theme-backdrop-opacity', '0.7'],
186
190
  ['--d2l-theme-background-color-interactive-faint-disabled', '#20212280'], /* --d2l-theme-background-color-interactive-faint-default at 50% opacity, remove once color-mix is widely supported */
187
191
  ['--d2l-theme-badge-background-color', '#303335'],
188
192
  ['--d2l-theme-badge-text-color', '--d2l-theme-text-color-static-standard'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.235.0",
3
+ "version": "3.235.1",
4
4
  "description": "A collection of accessible, free, open-source web components for building Brightspace applications",
5
5
  "type": "module",
6
6
  "repository": "https://github.com/BrightspaceUI/core.git",