@brightspace-ui/core 3.230.0 → 3.231.0

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.
@@ -46,7 +46,7 @@ class Tab extends SkeletonMixin(LitElement) {
46
46
  margin-inline-start: 0;
47
47
  }
48
48
  .d2l-tab-selected-indicator {
49
- border-top: 4px solid var(--d2l-color-celestine);
49
+ border-top: 4px solid var(--d2l-theme-brand-color-primary-default);
50
50
  border-top-left-radius: 4px;
51
51
  border-top-right-radius: 4px;
52
52
  bottom: 0;
@@ -67,12 +67,12 @@ class Tab extends SkeletonMixin(LitElement) {
67
67
  margin-inline-start: 0;
68
68
  width: calc(100% - 0.6rem);
69
69
  }
70
- ${getFocusRingStyles(pseudoClass => `:host(:${pseudoClass}) > .d2l-tab-text`, { extraStyles: css`border-radius: 0.3rem; color: var(--d2l-color-celestine);` })}
70
+ ${getFocusRingStyles(pseudoClass => `:host(:${pseudoClass}) > .d2l-tab-text`, { extraStyles: css`border-radius: 0.3rem; color: var(--d2l-theme-text-color-interactive-default);` })}
71
71
  :host([aria-selected="true"]:focus) {
72
72
  text-decoration: none;
73
73
  }
74
74
  :host(:hover) {
75
- color: var(--d2l-color-celestine);
75
+ color: var(--d2l-theme-text-color-interactive-default);
76
76
  cursor: pointer;
77
77
  }
78
78
  :host([aria-selected="true"]:hover) {
@@ -54,7 +54,7 @@ export const TabMixin = superclass => class extends SkeletonMixin(superclass) {
54
54
  margin-inline-start: 0;
55
55
  }
56
56
  .d2l-tab-selected-indicator {
57
- border-top: 4px solid var(--d2l-color-celestine);
57
+ border-top: 4px solid var(--d2l-theme-brand-color-primary-default);
58
58
  border-top-left-radius: 4px;
59
59
  border-top-right-radius: 4px;
60
60
  bottom: 0;
@@ -72,11 +72,11 @@ export const TabMixin = superclass => class extends SkeletonMixin(superclass) {
72
72
  text-decoration: none;
73
73
  }
74
74
  :host(:hover) {
75
- color: var(--d2l-color-celestine);
75
+ color: var(--d2l-theme-text-color-interactive-default);
76
76
  cursor: pointer;
77
77
  }
78
78
  :host([_clicked]) {
79
- color: var(--d2l-color-celestine);
79
+ color: var(--d2l-theme-text-color-interactive-default);
80
80
  }
81
81
  :host([selected]:hover) {
82
82
  color: inherit;
@@ -6,7 +6,7 @@ import { TabMixin } from './tab-mixin.js';
6
6
 
7
7
  const focusRingStyles = getFocusRingStyles(
8
8
  pseudoClass => `:host(:${pseudoClass}) .d2l-tab-text-inner-content`,
9
- { extraStyles: css`border-radius: 0.3rem; color: var(--d2l-color-celestine);` }
9
+ { extraStyles: css`border-radius: 0.3rem; color: var(--d2l-theme-text-color-interactive-default);` }
10
10
  );
11
11
 
12
12
  /**
@@ -37,7 +37,7 @@ class Tab extends TabMixin(LitElement) {
37
37
  }
38
38
  ${focusRingStyles}
39
39
  :host(:${unsafeCSS(getFocusPseudoClass())}) ::slotted(d2l-icon) {
40
- color: var(--d2l-color-celestine);
40
+ color: var(--d2l-theme-text-color-interactive-default);
41
41
  }
42
42
  slot {
43
43
  align-items: center;
@@ -50,7 +50,7 @@ class Tab extends TabMixin(LitElement) {
50
50
  padding-inline-start: 0.3rem;
51
51
  }
52
52
  :host(:not([selected]):hover) ::slotted(d2l-icon) {
53
- color: var(--d2l-color-celestine);
53
+ color: var(--d2l-theme-text-color-interactive-default);
54
54
  }
55
55
  span {
56
56
  ${overflowEllipsisDeclarations}
@@ -58,13 +58,13 @@ class Tabs extends LocalizeCoreElement(ArrowKeysMixin(SkeletonMixin(LitElement))
58
58
  static get styles() {
59
59
  return [super.styles, bodyCompactStyles, css`
60
60
  :host {
61
- --d2l-tabs-background-color: white;
61
+ --d2l-tabs-background-color: var(--d2l-theme-background-color-base);
62
62
  box-sizing: border-box;
63
63
  display: block;
64
64
  margin-bottom: 1.2rem;
65
65
  }
66
66
  .d2l-tabs-layout {
67
- border-bottom: 1px solid var(--d2l-color-gypsum);
67
+ border-bottom: 1px solid var(--d2l-theme-border-color-subtle);
68
68
  display: none;
69
69
  max-height: 0;
70
70
  opacity: 0;
@@ -155,7 +155,7 @@ class Tabs extends LocalizeCoreElement(ArrowKeysMixin(SkeletonMixin(LitElement))
155
155
  }
156
156
  .d2l-tabs-scroll-button:hover,
157
157
  .d2l-tabs-scroll-button:${unsafeCSS(getFocusPseudoClass())} {
158
- background-color: var(--d2l-color-gypsum);
158
+ background-color: var(--d2l-theme-background-color-interactive-tertiary-hover);
159
159
  }
160
160
  ${getFocusRingStyles('.d2l-tabs-scroll-button')}
161
161
  :host([skeleton]) .d2l-tabs-scroll-button {
@@ -212,11 +212,11 @@ class Tabs extends LocalizeCoreElement(ArrowKeysMixin(SkeletonMixin(LitElement))
212
212
  padding-inline: 4px;
213
213
  }
214
214
  .d2l-tabs-scroll-next-container {
215
- border-inline-start: 1px solid var(--d2l-color-gypsum);
215
+ border-inline-start: 1px solid var(--d2l-theme-border-color-subtle);
216
216
  padding-inline-start: 11px;
217
217
  }
218
218
  .d2l-tabs-scroll-previous-container {
219
- border-inline-end: 1px solid var(--d2l-color-gypsum);
219
+ border-inline-end: 1px solid var(--d2l-theme-border-color-subtle);
220
220
  padding-inline-end: 11px;
221
221
  }
222
222
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "3.230.0",
3
+ "version": "3.231.0",
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",