@brightspace-ui/core 3.227.1 → 3.227.2
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.
|
@@ -67,7 +67,7 @@ export const _generateResetStyles = (selector) => {
|
|
|
67
67
|
selector = unsafeCSS(selector);
|
|
68
68
|
return css`
|
|
69
69
|
${selector} {
|
|
70
|
-
color: var(--d2l-color-
|
|
70
|
+
color: var(--d2l-theme-text-color-static-standard);
|
|
71
71
|
font-size: 0.95rem;
|
|
72
72
|
font-weight: 400;
|
|
73
73
|
line-height: 1.4rem;
|
|
@@ -149,7 +149,7 @@ export const _generateBodySmallStyles = (selector, includeSkeleton = true) => {
|
|
|
149
149
|
}` : unsafeCSS('');
|
|
150
150
|
return css`
|
|
151
151
|
${selector} {
|
|
152
|
-
color: var(--d2l-color-
|
|
152
|
+
color: var(--d2l-theme-text-color-static-subtle);
|
|
153
153
|
font-size: 0.7rem;
|
|
154
154
|
font-weight: 400;
|
|
155
155
|
line-height: 0.9rem;
|
|
@@ -189,7 +189,7 @@ export const _generateHeading1Styles = (selector, includeFocus = false) => {
|
|
|
189
189
|
font-size: 1.5rem;
|
|
190
190
|
line-height: 1.8rem;
|
|
191
191
|
}
|
|
192
|
-
|
|
192
|
+
|
|
193
193
|
}
|
|
194
194
|
`;
|
|
195
195
|
};
|
|
@@ -236,7 +236,7 @@ export const _generateHeading2Styles = (selector, includeFocus = false) => {
|
|
|
236
236
|
font-weight: 700;
|
|
237
237
|
line-height: 1.5rem;
|
|
238
238
|
}
|
|
239
|
-
|
|
239
|
+
|
|
240
240
|
}
|
|
241
241
|
`;
|
|
242
242
|
};
|
|
@@ -282,7 +282,7 @@ export const _generateHeading3Styles = (selector, includeFocus = false) => {
|
|
|
282
282
|
font-size: 0.8rem;
|
|
283
283
|
line-height: 1.2rem;
|
|
284
284
|
}
|
|
285
|
-
|
|
285
|
+
|
|
286
286
|
}
|
|
287
287
|
`;
|
|
288
288
|
};
|
|
@@ -523,7 +523,7 @@ export const baseTypographyStyles = css`
|
|
|
523
523
|
}
|
|
524
524
|
|
|
525
525
|
.d2l-typography {
|
|
526
|
-
color: var(--d2l-color-
|
|
526
|
+
color: var(--d2l-theme-text-color-static-standard);
|
|
527
527
|
display: block;
|
|
528
528
|
font-family: "Lato", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
|
|
529
529
|
letter-spacing: 0.01rem;
|
package/helpers/focus.js
CHANGED
|
@@ -79,7 +79,7 @@ export function getFocusRingStyles(selector, { extraStyles = null } = {}) {
|
|
|
79
79
|
const stylesDelegate = selector => css`
|
|
80
80
|
${selector} {
|
|
81
81
|
${extraStyles ?? css``}
|
|
82
|
-
outline: 2px solid var(--d2l-focus-ring-color, var(--d2l-color-
|
|
82
|
+
outline: 2px solid var(--d2l-focus-ring-color, var(--d2l-theme-border-color-focus));
|
|
83
83
|
outline-offset: var(--d2l-focus-ring-offset, 2px);
|
|
84
84
|
}
|
|
85
85
|
@media (prefers-contrast: more) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "3.227.
|
|
3
|
+
"version": "3.227.2",
|
|
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",
|