@instructure/ui-themes 11.7.5-snapshot-49 → 11.7.5-snapshot-42
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/CHANGELOG.md +5 -2
- package/README.md +31 -0
- package/css/cssThemesWithMediaQueries.css +36 -0
- package/css/dark.css +27 -0
- package/css/legacyCanvas.css +27 -0
- package/css/legacyCanvasHighContrast.css +27 -0
- package/css/light.css +27 -0
- package/package.json +7 -4
- package/src/themes/newThemeTokens/dark/sharedTokens.ts +1 -1
- package/src/themes/newThemeTokens/legacyCanvas/sharedTokens.ts +1 -1
- package/src/themes/newThemeTokens/legacyCanvasHighContrast/sharedTokens.ts +1 -1
- package/src/themes/newThemeTokens/light/sharedTokens.ts +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/themes/newThemeTokens/dark/sharedTokens.d.ts +1 -1
- package/types/themes/newThemeTokens/dark/sharedTokens.d.ts.map +1 -1
- package/types/themes/newThemeTokens/legacyCanvas/sharedTokens.d.ts +1 -1
- package/types/themes/newThemeTokens/legacyCanvas/sharedTokens.d.ts.map +1 -1
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/sharedTokens.d.ts +1 -1
- package/types/themes/newThemeTokens/legacyCanvasHighContrast/sharedTokens.d.ts.map +1 -1
- package/types/themes/newThemeTokens/light/sharedTokens.d.ts +1 -1
- package/types/themes/newThemeTokens/light/sharedTokens.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,9 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [11.7.5-snapshot-
|
|
6
|
+
## [11.7.5-snapshot-42](https://github.com/instructure/instructure-ui/compare/v11.7.4...v11.7.5-snapshot-42) (2026-08-28)
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **ui-scripts,ui-themes:** generate theme tokens as css custom properties ([6913db4](https://github.com/instructure/instructure-ui/commit/6913db4719f39e3c4a41e750d7aebb72feb0f831))
|
|
9
12
|
|
|
10
13
|
|
|
11
14
|
|
package/README.md
CHANGED
|
@@ -39,6 +39,37 @@ ReactDOM.render(
|
|
|
39
39
|
)
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
+
##### Using the themes as CSS custom properties:
|
|
43
|
+
|
|
44
|
+
Every theme also ships as a plain stylesheet that declares its shared tokens as CSS custom
|
|
45
|
+
properties. Import the one you need directly from the package:
|
|
46
|
+
|
|
47
|
+
```js
|
|
48
|
+
import '@instructure/ui-themes/light.css'
|
|
49
|
+
import '@instructure/ui-themes/dark.css'
|
|
50
|
+
import '@instructure/ui-themes/legacyCanvas.css'
|
|
51
|
+
import '@instructure/ui-themes/legacyCanvasHighContrast.css'
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Each of these scopes its custom properties to a class named `instui-theme-` plus the theme
|
|
55
|
+
name — `instui-theme-light`, `instui-theme-dark`, `instui-theme-legacyCanvas`, and
|
|
56
|
+
`instui-theme-legacyCanvasHighContrast`. Pick a theme by putting that class on an element.
|
|
57
|
+
Everything inside it reads the theme's values:
|
|
58
|
+
|
|
59
|
+
```html
|
|
60
|
+
<div class="instui-theme-light">
|
|
61
|
+
<!-- --colors-* and the other tokens resolve to the light theme here -->
|
|
62
|
+
</div>
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
There is one more stylesheet that follows the operating system setting instead of a class. It
|
|
66
|
+
declares the light theme on `:root` and swaps to the dark theme under
|
|
67
|
+
`prefers-color-scheme: dark`:
|
|
68
|
+
|
|
69
|
+
```js
|
|
70
|
+
import '@instructure/ui-themes/cssThemesWithMediaQueries.css'
|
|
71
|
+
```
|
|
72
|
+
|
|
42
73
|
> You can read more about how our theming system works and how to use it:
|
|
43
74
|
|
|
44
75
|
- [Legacy theme overrides](/#legacy-theme-overrides).
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The MIT License (MIT)
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
5
|
+
*
|
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
* in the Software without restriction, including without limitation the rights
|
|
9
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
* furnished to do so, subject to the following conditions:
|
|
12
|
+
*
|
|
13
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
* copies or substantial portions of the Software.
|
|
15
|
+
*
|
|
16
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
* SOFTWARE.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
:root {
|
|
27
|
+
color-scheme: light;
|
|
28
|
+
--breakpoints-sm:30em;--breakpoints-md:48em;--breakpoints-lg:64em;--breakpoints-xl:80em;--borderRadius-xs:0.125rem;--borderRadius-sm:0.25rem;--borderRadius-md:0.5rem;--borderRadius-lg:0.75rem;--borderRadius-xl:1rem;--borderRadius-xxl:1.5rem;--borderRadius-full:999rem;--borderRadius-card-sm:0.75rem;--borderRadius-card-md:1rem;--borderRadius-card-lg:1rem;--borderRadius-card-nestedContainer-sm:0.25rem;--borderRadius-card-nestedContainer-md:0.25rem;--borderRadius-card-nestedContainer-lg:0.5rem;--legacy-spacing-xxxSmall:0.125rem;--legacy-spacing-xxSmall:0.375rem;--legacy-spacing-xSmall:0.5rem;--legacy-spacing-small:0.75rem;--legacy-spacing-mediumSmall:1rem;--legacy-spacing-medium:1.5rem;--legacy-spacing-large:2.25rem;--legacy-spacing-xLarge:3rem;--legacy-spacing-xxLarge:3.75rem;--legacy-spacing-space0:0rem;--legacy-spacing-space2:0.125rem;--legacy-spacing-space4:0.25rem;--legacy-spacing-space8:0.5rem;--legacy-spacing-space12:0.75rem;--legacy-spacing-space16:1rem;--legacy-spacing-space24:1.5rem;--legacy-spacing-space36:2.25rem;--legacy-spacing-space48:3rem;--legacy-spacing-space60:3.75rem;--legacy-spacing-sections:2.25rem;--legacy-spacing-sectionElements:1.5em;--legacy-spacing-trayElements:1.5em;--legacy-spacing-modalElements:1.5em;--legacy-spacing-moduleElements:1em;--legacy-spacing-paddingCardLarge:1.5rem;--legacy-spacing-paddingCardMedium:1rem;--legacy-spacing-paddingCardSmall:0.75rem;--legacy-spacing-selects:1rem;--legacy-spacing-textareas:1rem;--legacy-spacing-inputFields:1rem;--legacy-spacing-checkboxes:1rem;--legacy-spacing-radios:1rem;--legacy-spacing-toggles:1rem;--legacy-spacing-buttons:0.75rem;--legacy-spacing-tags:0.75rem;--legacy-spacing-statusIndicators:0.75rem;--legacy-spacing-dataPoints:0.75rem;--legacy-radiusSmall:0.125rem;--legacy-radiusMedium:0.25rem;--legacy-radiusLarge:0.5rem;--boxShadow-elevation1-0-x:0px;--boxShadow-elevation1-0-y:1px;--boxShadow-elevation1-0-blur:2px;--boxShadow-elevation1-0-spread:0px;--boxShadow-elevation1-0-color:rgba(35,68,101,0.15);--boxShadow-elevation1-0-type:dropShadow;--boxShadow-elevation1-1-x:0px;--boxShadow-elevation1-1-y:2px;--boxShadow-elevation1-1-blur:4px;--boxShadow-elevation1-1-spread:1px;--boxShadow-elevation1-1-color:rgba(35,68,101,0.1);--boxShadow-elevation1-1-type:dropShadow;--boxShadow-elevation2-0-x:0px;--boxShadow-elevation2-0-y:4px;--boxShadow-elevation2-0-blur:8px;--boxShadow-elevation2-0-spread:3px;--boxShadow-elevation2-0-color:rgba(35,68,101,0.1);--boxShadow-elevation2-0-type:dropShadow;--boxShadow-elevation2-1-x:0px;--boxShadow-elevation2-1-y:1px;--boxShadow-elevation2-1-blur:3px;--boxShadow-elevation2-1-spread:0px;--boxShadow-elevation2-1-color:rgba(35,68,101,0.15);--boxShadow-elevation2-1-type:dropShadow;--boxShadow-elevation3-0-x:0px;--boxShadow-elevation3-0-y:6px;--boxShadow-elevation3-0-blur:10px;--boxShadow-elevation3-0-spread:4px;--boxShadow-elevation3-0-color:rgba(35,68,101,0.1);--boxShadow-elevation3-0-type:dropShadow;--boxShadow-elevation3-1-x:0px;--boxShadow-elevation3-1-y:2px;--boxShadow-elevation3-1-blur:3px;--boxShadow-elevation3-1-spread:0px;--boxShadow-elevation3-1-color:rgba(35,68,101,0.15);--boxShadow-elevation3-1-type:dropShadow;--boxShadow-elevation4-0-x:0px;--boxShadow-elevation4-0-y:8px;--boxShadow-elevation4-0-blur:12px;--boxShadow-elevation4-0-spread:6px;--boxShadow-elevation4-0-color:rgba(35,68,101,0.1);--boxShadow-elevation4-0-type:dropShadow;--boxShadow-elevation4-1-x:0px;--boxShadow-elevation4-1-y:4px;--boxShadow-elevation4-1-blur:4px;--boxShadow-elevation4-1-spread:0px;--boxShadow-elevation4-1-color:rgba(35,68,101,0.15);--boxShadow-elevation4-1-type:dropShadow;--spacing-general-space2xs:0.125rem;--spacing-general-spaceXs:0.25rem;--spacing-general-spaceSm:0.5rem;--spacing-general-spaceMd:0.75rem;--spacing-general-spaceLg:1rem;--spacing-general-spaceXl:1.5rem;--spacing-general-space2xl:2rem;--spacing-general-spaceNone:0rem;--spacing-gap-sections:3rem;--spacing-gap-buttons:0.75rem;--spacing-gap-cards-sm:0.75rem;--spacing-gap-cards-md:1rem;--spacing-gap-cards-lg:1.5rem;--spacing-gap-cards-nestedContainers-sm:0.5rem;--spacing-gap-cards-nestedContainers-md:0.75rem;--spacing-gap-cards-nestedContainers-lg:1rem;--spacing-gap-inputs-horizontal:0.75rem;--spacing-gap-inputs-vertical:1rem;--spacing-padding-card-sm:0.5rem;--spacing-padding-card-md:0.75rem;--spacing-padding-card-lg:1rem;--focusOutline-offset:0.125rem;--focusOutline-inset:0rem;--focusOutline-width:0.125rem;--focusOutline-infoColor:#2B7ABC;--focusOutline-onColor:#ffffff;--focusOutline-successColor:#037D37;--focusOutline-dangerColor:#CF1F24;--focusOutline-style:solid;--background-containerColor:#ffffff;--background-baseColor:#ffffff;--background-pageColor:#F2F4F5;--background-mutedColor:#F2F4F5;--background-brandColor:#1D354F;--background-onColor:#ffffff;--background-inverseColor:#334450;--background-successColor:#03893D;--background-errorColor:#E62429;--background-infoColor:#2B7ABC;--background-warningColor:#CF4A00;--background-aiTopGradientColor:#9E58BD;--background-aiBottomGradientColor:#00828E;--background-aiTextColor:#F3E5F7;--background-accentAsh:#273540;--background-accentAurora:#048660;--background-accentBlue:#2B7ABC;--background-accentGreen:#03893D;--background-accentGrey:#4A5B68;--background-accentHoney:#996E00;--background-accentOrange:#CF4A00;--background-accentPlum:#C54396;--background-accentRed:#E62429;--background-accentSea:#00828E;--background-accentSky:#197EAB;--background-accentStone:#767676;--background-accentViolet:#9E58BD;--stroke-baseColor:#8D959F;--stroke-mutedColor:#E8EAEC;--stroke-strongColor:#5F6E7A;--stroke-brandColor:#1D354F;--stroke-successColor:#03893D;--stroke-errorColor:#E62429;--stroke-warningColor:#CF4A00;--stroke-infoColor:#2B7ABC;--stroke-aiTopGradientColor:#9E58BD;--stroke-aiBottomGradientColor:#00828E;--stroke-accentAsh:#273540;--stroke-accentAurora:#057C58;--stroke-accentBlue:#2871AF;--stroke-accentGreen:#037D37;--stroke-accentGrey:#4A5B68;--stroke-accentHoney:#8C6400;--stroke-accentOrange:#BB4200;--stroke-accentPlum:#B43D89;--stroke-accentRed:#CF1F24;--stroke-accentSea:#027887;--stroke-accentSky:#17759F;--stroke-accentStone:#767676;--stroke-accentViolet:#9E58BD;--stroke-visualSeparator:#ffffff;--strokeWidth-sm:0.0625rem;--strokeWidth-md:0.125rem;--strokeWidth-lg:0.25rem;
|
|
29
|
+
}
|
|
30
|
+
@media (prefers-color-scheme: dark) {
|
|
31
|
+
:root {
|
|
32
|
+
color-scheme: dark;
|
|
33
|
+
--breakpoints-sm:30em;--breakpoints-md:48em;--breakpoints-lg:64em;--breakpoints-xl:80em;--borderRadius-xs:0.125rem;--borderRadius-sm:0.25rem;--borderRadius-md:0.5rem;--borderRadius-lg:0.75rem;--borderRadius-xl:1rem;--borderRadius-xxl:1.5rem;--borderRadius-full:999rem;--borderRadius-card-sm:0.75rem;--borderRadius-card-md:1rem;--borderRadius-card-lg:1rem;--borderRadius-card-nestedContainer-sm:0.25rem;--borderRadius-card-nestedContainer-md:0.25rem;--borderRadius-card-nestedContainer-lg:0.5rem;--legacy-spacing-xxxSmall:0.125rem;--legacy-spacing-xxSmall:0.375rem;--legacy-spacing-xSmall:0.5rem;--legacy-spacing-small:0.75rem;--legacy-spacing-mediumSmall:1rem;--legacy-spacing-medium:1.5rem;--legacy-spacing-large:2.25rem;--legacy-spacing-xLarge:3rem;--legacy-spacing-xxLarge:3.75rem;--legacy-spacing-space0:0rem;--legacy-spacing-space2:0.125rem;--legacy-spacing-space4:0.25rem;--legacy-spacing-space8:0.5rem;--legacy-spacing-space12:0.75rem;--legacy-spacing-space16:1rem;--legacy-spacing-space24:1.5rem;--legacy-spacing-space36:2.25rem;--legacy-spacing-space48:3rem;--legacy-spacing-space60:3.75rem;--legacy-spacing-sections:2.25rem;--legacy-spacing-sectionElements:1.5em;--legacy-spacing-trayElements:1.5em;--legacy-spacing-modalElements:1.5em;--legacy-spacing-moduleElements:1em;--legacy-spacing-paddingCardLarge:1.5rem;--legacy-spacing-paddingCardMedium:1rem;--legacy-spacing-paddingCardSmall:0.75rem;--legacy-spacing-selects:1rem;--legacy-spacing-textareas:1rem;--legacy-spacing-inputFields:1rem;--legacy-spacing-checkboxes:1rem;--legacy-spacing-radios:1rem;--legacy-spacing-toggles:1rem;--legacy-spacing-buttons:0.75rem;--legacy-spacing-tags:0.75rem;--legacy-spacing-statusIndicators:0.75rem;--legacy-spacing-dataPoints:0.75rem;--legacy-radiusSmall:0.125rem;--legacy-radiusMedium:0.25rem;--legacy-radiusLarge:0.5rem;--boxShadow-elevation1-0-x:0px;--boxShadow-elevation1-0-y:1px;--boxShadow-elevation1-0-blur:2px;--boxShadow-elevation1-0-spread:0px;--boxShadow-elevation1-0-color:rgba(0,0,0,0.3);--boxShadow-elevation1-0-type:dropShadow;--boxShadow-elevation1-1-x:0px;--boxShadow-elevation1-1-y:2px;--boxShadow-elevation1-1-blur:4px;--boxShadow-elevation1-1-spread:2px;--boxShadow-elevation1-1-color:rgba(0,0,0,0.15);--boxShadow-elevation1-1-type:dropShadow;--boxShadow-elevation2-0-x:0px;--boxShadow-elevation2-0-y:4px;--boxShadow-elevation2-0-blur:8px;--boxShadow-elevation2-0-spread:3px;--boxShadow-elevation2-0-color:rgba(0,0,0,0.15);--boxShadow-elevation2-0-type:dropShadow;--boxShadow-elevation2-1-x:0px;--boxShadow-elevation2-1-y:1px;--boxShadow-elevation2-1-blur:3px;--boxShadow-elevation2-1-spread:0px;--boxShadow-elevation2-1-color:rgba(0,0,0,0.3);--boxShadow-elevation2-1-type:dropShadow;--boxShadow-elevation3-0-x:0px;--boxShadow-elevation3-0-y:6px;--boxShadow-elevation3-0-blur:10px;--boxShadow-elevation3-0-spread:4px;--boxShadow-elevation3-0-color:rgba(0,0,0,0.15);--boxShadow-elevation3-0-type:dropShadow;--boxShadow-elevation3-1-x:0px;--boxShadow-elevation3-1-y:2px;--boxShadow-elevation3-1-blur:3px;--boxShadow-elevation3-1-spread:0px;--boxShadow-elevation3-1-color:rgba(0,0,0,0.3);--boxShadow-elevation3-1-type:dropShadow;--boxShadow-elevation4-0-x:0px;--boxShadow-elevation4-0-y:8px;--boxShadow-elevation4-0-blur:12px;--boxShadow-elevation4-0-spread:6px;--boxShadow-elevation4-0-color:rgba(0,0,0,0.15);--boxShadow-elevation4-0-type:dropShadow;--boxShadow-elevation4-1-x:0px;--boxShadow-elevation4-1-y:4px;--boxShadow-elevation4-1-blur:4px;--boxShadow-elevation4-1-spread:0px;--boxShadow-elevation4-1-color:rgba(0,0,0,0.3);--boxShadow-elevation4-1-type:dropShadow;--spacing-general-space2xs:0.125rem;--spacing-general-spaceXs:0.25rem;--spacing-general-spaceSm:0.5rem;--spacing-general-spaceMd:0.75rem;--spacing-general-spaceLg:1rem;--spacing-general-spaceXl:1.5rem;--spacing-general-space2xl:2rem;--spacing-general-spaceNone:0rem;--spacing-gap-sections:3rem;--spacing-gap-buttons:0.75rem;--spacing-gap-cards-sm:0.75rem;--spacing-gap-cards-md:1rem;--spacing-gap-cards-lg:1.5rem;--spacing-gap-cards-nestedContainers-sm:0.5rem;--spacing-gap-cards-nestedContainers-md:0.75rem;--spacing-gap-cards-nestedContainers-lg:1rem;--spacing-gap-inputs-horizontal:0.75rem;--spacing-gap-inputs-vertical:1rem;--spacing-padding-card-sm:0.5rem;--spacing-padding-card-md:0.75rem;--spacing-padding-card-lg:1rem;--focusOutline-offset:0.125rem;--focusOutline-inset:0rem;--focusOutline-width:0.125rem;--focusOutline-infoColor:#4798E3;--focusOutline-onColor:#ffffff;--focusOutline-successColor:#037D37;--focusOutline-dangerColor:#CF1F24;--focusOutline-style:solid;--background-containerColor:#1C222B;--background-baseColor:#10141A;--background-pageColor:#10141A;--background-mutedColor:#273540;--background-brandColor:#EEF4FD;--background-onColor:#ffffff;--background-inverseColor:#F2F4F5;--background-successColor:#03893D;--background-errorColor:#E62429;--background-infoColor:#2B7ABC;--background-warningColor:#CF4A00;--background-aiTopGradientColor:#9E58BD;--background-aiBottomGradientColor:#00828E;--background-aiTextColor:#6D3984;--background-accentAsh:#1C222B;--background-accentAurora:#048660;--background-accentBlue:#2B7ABC;--background-accentGreen:#03893D;--background-accentGrey:#576773;--background-accentHoney:#996E00;--background-accentOrange:#CF4A00;--background-accentPlum:#C54396;--background-accentRed:#E62429;--background-accentSea:#00828E;--background-accentSky:#197EAB;--background-accentStone:#767676;--background-accentViolet:#9E58BD;--stroke-baseColor:#6A7883;--stroke-mutedColor:#2D3D49;--stroke-strongColor:#9EA6AD;--stroke-brandColor:#EEF4FD;--stroke-successColor:#03893D;--stroke-errorColor:#E62429;--stroke-warningColor:#CF4A00;--stroke-infoColor:#2B7ABC;--stroke-aiTopGradientColor:#B680CC;--stroke-aiBottomGradientColor:#04A4B7;--stroke-accentAsh:#C7CACD;--stroke-accentAurora:#2BC692;--stroke-accentBlue:#7FB4F1;--stroke-accentGreen:#61C378;--stroke-accentGrey:#F2F4F5;--stroke-accentHoney:#E0A300;--stroke-accentOrange:#FF905A;--stroke-accentPlum:#EC93C6;--stroke-accentRed:#FA917F;--stroke-accentSea:#3CC0D4;--stroke-accentSky:#63B9EB;--stroke-accentStone:#767676;--stroke-accentViolet:#9E58BD;--stroke-visualSeparator:#1C222B;--strokeWidth-sm:0.0625rem;--strokeWidth-md:0.125rem;--strokeWidth-lg:0.25rem;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
package/css/dark.css
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The MIT License (MIT)
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
5
|
+
*
|
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
* in the Software without restriction, including without limitation the rights
|
|
9
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
* furnished to do so, subject to the following conditions:
|
|
12
|
+
*
|
|
13
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
* copies or substantial portions of the Software.
|
|
15
|
+
*
|
|
16
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
* SOFTWARE.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
.instui-theme-dark{
|
|
26
|
+
--breakpoints-sm:30em;--breakpoints-md:48em;--breakpoints-lg:64em;--breakpoints-xl:80em;--borderRadius-xs:0.125rem;--borderRadius-sm:0.25rem;--borderRadius-md:0.5rem;--borderRadius-lg:0.75rem;--borderRadius-xl:1rem;--borderRadius-xxl:1.5rem;--borderRadius-full:999rem;--borderRadius-card-sm:0.75rem;--borderRadius-card-md:1rem;--borderRadius-card-lg:1rem;--borderRadius-card-nestedContainer-sm:0.25rem;--borderRadius-card-nestedContainer-md:0.25rem;--borderRadius-card-nestedContainer-lg:0.5rem;--legacy-spacing-xxxSmall:0.125rem;--legacy-spacing-xxSmall:0.375rem;--legacy-spacing-xSmall:0.5rem;--legacy-spacing-small:0.75rem;--legacy-spacing-mediumSmall:1rem;--legacy-spacing-medium:1.5rem;--legacy-spacing-large:2.25rem;--legacy-spacing-xLarge:3rem;--legacy-spacing-xxLarge:3.75rem;--legacy-spacing-space0:0rem;--legacy-spacing-space2:0.125rem;--legacy-spacing-space4:0.25rem;--legacy-spacing-space8:0.5rem;--legacy-spacing-space12:0.75rem;--legacy-spacing-space16:1rem;--legacy-spacing-space24:1.5rem;--legacy-spacing-space36:2.25rem;--legacy-spacing-space48:3rem;--legacy-spacing-space60:3.75rem;--legacy-spacing-sections:2.25rem;--legacy-spacing-sectionElements:1.5em;--legacy-spacing-trayElements:1.5em;--legacy-spacing-modalElements:1.5em;--legacy-spacing-moduleElements:1em;--legacy-spacing-paddingCardLarge:1.5rem;--legacy-spacing-paddingCardMedium:1rem;--legacy-spacing-paddingCardSmall:0.75rem;--legacy-spacing-selects:1rem;--legacy-spacing-textareas:1rem;--legacy-spacing-inputFields:1rem;--legacy-spacing-checkboxes:1rem;--legacy-spacing-radios:1rem;--legacy-spacing-toggles:1rem;--legacy-spacing-buttons:0.75rem;--legacy-spacing-tags:0.75rem;--legacy-spacing-statusIndicators:0.75rem;--legacy-spacing-dataPoints:0.75rem;--legacy-radiusSmall:0.125rem;--legacy-radiusMedium:0.25rem;--legacy-radiusLarge:0.5rem;--boxShadow-elevation1-0-x:0px;--boxShadow-elevation1-0-y:1px;--boxShadow-elevation1-0-blur:2px;--boxShadow-elevation1-0-spread:0px;--boxShadow-elevation1-0-color:rgba(0,0,0,0.3);--boxShadow-elevation1-0-type:dropShadow;--boxShadow-elevation1-1-x:0px;--boxShadow-elevation1-1-y:2px;--boxShadow-elevation1-1-blur:4px;--boxShadow-elevation1-1-spread:2px;--boxShadow-elevation1-1-color:rgba(0,0,0,0.15);--boxShadow-elevation1-1-type:dropShadow;--boxShadow-elevation2-0-x:0px;--boxShadow-elevation2-0-y:4px;--boxShadow-elevation2-0-blur:8px;--boxShadow-elevation2-0-spread:3px;--boxShadow-elevation2-0-color:rgba(0,0,0,0.15);--boxShadow-elevation2-0-type:dropShadow;--boxShadow-elevation2-1-x:0px;--boxShadow-elevation2-1-y:1px;--boxShadow-elevation2-1-blur:3px;--boxShadow-elevation2-1-spread:0px;--boxShadow-elevation2-1-color:rgba(0,0,0,0.3);--boxShadow-elevation2-1-type:dropShadow;--boxShadow-elevation3-0-x:0px;--boxShadow-elevation3-0-y:6px;--boxShadow-elevation3-0-blur:10px;--boxShadow-elevation3-0-spread:4px;--boxShadow-elevation3-0-color:rgba(0,0,0,0.15);--boxShadow-elevation3-0-type:dropShadow;--boxShadow-elevation3-1-x:0px;--boxShadow-elevation3-1-y:2px;--boxShadow-elevation3-1-blur:3px;--boxShadow-elevation3-1-spread:0px;--boxShadow-elevation3-1-color:rgba(0,0,0,0.3);--boxShadow-elevation3-1-type:dropShadow;--boxShadow-elevation4-0-x:0px;--boxShadow-elevation4-0-y:8px;--boxShadow-elevation4-0-blur:12px;--boxShadow-elevation4-0-spread:6px;--boxShadow-elevation4-0-color:rgba(0,0,0,0.15);--boxShadow-elevation4-0-type:dropShadow;--boxShadow-elevation4-1-x:0px;--boxShadow-elevation4-1-y:4px;--boxShadow-elevation4-1-blur:4px;--boxShadow-elevation4-1-spread:0px;--boxShadow-elevation4-1-color:rgba(0,0,0,0.3);--boxShadow-elevation4-1-type:dropShadow;--spacing-general-space2xs:0.125rem;--spacing-general-spaceXs:0.25rem;--spacing-general-spaceSm:0.5rem;--spacing-general-spaceMd:0.75rem;--spacing-general-spaceLg:1rem;--spacing-general-spaceXl:1.5rem;--spacing-general-space2xl:2rem;--spacing-general-spaceNone:0rem;--spacing-gap-sections:3rem;--spacing-gap-buttons:0.75rem;--spacing-gap-cards-sm:0.75rem;--spacing-gap-cards-md:1rem;--spacing-gap-cards-lg:1.5rem;--spacing-gap-cards-nestedContainers-sm:0.5rem;--spacing-gap-cards-nestedContainers-md:0.75rem;--spacing-gap-cards-nestedContainers-lg:1rem;--spacing-gap-inputs-horizontal:0.75rem;--spacing-gap-inputs-vertical:1rem;--spacing-padding-card-sm:0.5rem;--spacing-padding-card-md:0.75rem;--spacing-padding-card-lg:1rem;--focusOutline-offset:0.125rem;--focusOutline-inset:0rem;--focusOutline-width:0.125rem;--focusOutline-infoColor:#4798E3;--focusOutline-onColor:#ffffff;--focusOutline-successColor:#037D37;--focusOutline-dangerColor:#CF1F24;--focusOutline-style:solid;--background-containerColor:#1C222B;--background-baseColor:#10141A;--background-pageColor:#10141A;--background-mutedColor:#273540;--background-brandColor:#EEF4FD;--background-onColor:#ffffff;--background-inverseColor:#F2F4F5;--background-successColor:#03893D;--background-errorColor:#E62429;--background-infoColor:#2B7ABC;--background-warningColor:#CF4A00;--background-aiTopGradientColor:#9E58BD;--background-aiBottomGradientColor:#00828E;--background-aiTextColor:#6D3984;--background-accentAsh:#1C222B;--background-accentAurora:#048660;--background-accentBlue:#2B7ABC;--background-accentGreen:#03893D;--background-accentGrey:#576773;--background-accentHoney:#996E00;--background-accentOrange:#CF4A00;--background-accentPlum:#C54396;--background-accentRed:#E62429;--background-accentSea:#00828E;--background-accentSky:#197EAB;--background-accentStone:#767676;--background-accentViolet:#9E58BD;--stroke-baseColor:#6A7883;--stroke-mutedColor:#2D3D49;--stroke-strongColor:#9EA6AD;--stroke-brandColor:#EEF4FD;--stroke-successColor:#03893D;--stroke-errorColor:#E62429;--stroke-warningColor:#CF4A00;--stroke-infoColor:#2B7ABC;--stroke-aiTopGradientColor:#B680CC;--stroke-aiBottomGradientColor:#04A4B7;--stroke-accentAsh:#C7CACD;--stroke-accentAurora:#2BC692;--stroke-accentBlue:#7FB4F1;--stroke-accentGreen:#61C378;--stroke-accentGrey:#F2F4F5;--stroke-accentHoney:#E0A300;--stroke-accentOrange:#FF905A;--stroke-accentPlum:#EC93C6;--stroke-accentRed:#FA917F;--stroke-accentSea:#3CC0D4;--stroke-accentSky:#63B9EB;--stroke-accentStone:#767676;--stroke-accentViolet:#9E58BD;--stroke-visualSeparator:#1C222B;--strokeWidth-sm:0.0625rem;--strokeWidth-md:0.125rem;--strokeWidth-lg:0.25rem;
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The MIT License (MIT)
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
5
|
+
*
|
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
* in the Software without restriction, including without limitation the rights
|
|
9
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
* furnished to do so, subject to the following conditions:
|
|
12
|
+
*
|
|
13
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
* copies or substantial portions of the Software.
|
|
15
|
+
*
|
|
16
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
* SOFTWARE.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
.instui-theme-legacyCanvas{
|
|
26
|
+
--breakpoints-sm:30em;--breakpoints-md:48em;--breakpoints-lg:64em;--breakpoints-xl:80em;--borderRadius-xs:0.25rem;--borderRadius-sm:0.25rem;--borderRadius-md:0.25rem;--borderRadius-lg:0.25rem;--borderRadius-xl:0.25rem;--borderRadius-xxl:0.25rem;--borderRadius-full:999rem;--borderRadius-card-sm:0.25rem;--borderRadius-card-md:0.25rem;--borderRadius-card-lg:0.25rem;--borderRadius-card-nestedContainer-sm:0.25rem;--borderRadius-card-nestedContainer-md:0.25rem;--borderRadius-card-nestedContainer-lg:0.25rem;--legacy-spacing-xxxSmall:0.125rem;--legacy-spacing-xxSmall:0.375rem;--legacy-spacing-xSmall:0.5rem;--legacy-spacing-small:0.75rem;--legacy-spacing-mediumSmall:1rem;--legacy-spacing-medium:1.5rem;--legacy-spacing-large:2.25rem;--legacy-spacing-xLarge:3rem;--legacy-spacing-xxLarge:3.75rem;--legacy-spacing-space0:0rem;--legacy-spacing-space2:0.125rem;--legacy-spacing-space4:0.25rem;--legacy-spacing-space8:0.5rem;--legacy-spacing-space12:0.75rem;--legacy-spacing-space16:1rem;--legacy-spacing-space24:1.5rem;--legacy-spacing-space36:2.25rem;--legacy-spacing-space48:3rem;--legacy-spacing-space60:3.75rem;--legacy-spacing-sections:2.25rem;--legacy-spacing-sectionElements:1.5em;--legacy-spacing-trayElements:1.5em;--legacy-spacing-modalElements:1.5em;--legacy-spacing-moduleElements:1em;--legacy-spacing-paddingCardLarge:1.5rem;--legacy-spacing-paddingCardMedium:1rem;--legacy-spacing-paddingCardSmall:0.75rem;--legacy-spacing-selects:1rem;--legacy-spacing-textareas:1rem;--legacy-spacing-inputFields:1rem;--legacy-spacing-checkboxes:1rem;--legacy-spacing-radios:1rem;--legacy-spacing-toggles:1rem;--legacy-spacing-buttons:0.75rem;--legacy-spacing-tags:0.75rem;--legacy-spacing-statusIndicators:0.75rem;--legacy-spacing-dataPoints:0.75rem;--legacy-radiusSmall:0.125rem;--legacy-radiusMedium:0.25rem;--legacy-radiusLarge:0.5rem;--boxShadow-elevation1-0-x:0px;--boxShadow-elevation1-0-y:0.0625rem;--boxShadow-elevation1-0-blur:0.125rem;--boxShadow-elevation1-0-spread:0px;--boxShadow-elevation1-0-color:rgba(0,0,0,0.1);--boxShadow-elevation1-0-type:dropShadow;--boxShadow-elevation1-1-x:0px;--boxShadow-elevation1-1-y:0.0625rem;--boxShadow-elevation1-1-blur:0.1875rem;--boxShadow-elevation1-1-spread:0px;--boxShadow-elevation1-1-color:rgba(0,0,0,0.2);--boxShadow-elevation1-1-type:dropShadow;--boxShadow-elevation2-0-x:0px;--boxShadow-elevation2-0-y:0.1875rem;--boxShadow-elevation2-0-blur:0.375rem;--boxShadow-elevation2-0-spread:0px;--boxShadow-elevation2-0-color:rgba(0,0,0,0.2);--boxShadow-elevation2-0-type:dropShadow;--boxShadow-elevation2-1-x:0px;--boxShadow-elevation2-1-y:0.1875rem;--boxShadow-elevation2-1-blur:0.375rem;--boxShadow-elevation2-1-spread:0px;--boxShadow-elevation2-1-color:rgba(0,0,0,0.1);--boxShadow-elevation2-1-type:dropShadow;--boxShadow-elevation3-0-x:0px;--boxShadow-elevation3-0-y:0.1875rem;--boxShadow-elevation3-0-blur:0.375rem;--boxShadow-elevation3-0-spread:0px;--boxShadow-elevation3-0-color:rgba(0,0,0,0.2);--boxShadow-elevation3-0-type:dropShadow;--boxShadow-elevation3-1-x:0px;--boxShadow-elevation3-1-y:0.1875rem;--boxShadow-elevation3-1-blur:0.375rem;--boxShadow-elevation3-1-spread:0px;--boxShadow-elevation3-1-color:rgba(0,0,0,0.1);--boxShadow-elevation3-1-type:dropShadow;--boxShadow-elevation4-0-x:0px;--boxShadow-elevation4-0-y:0.375rem;--boxShadow-elevation4-0-blur:0.4375rem;--boxShadow-elevation4-0-spread:0px;--boxShadow-elevation4-0-color:rgba(0,0,0,0.2);--boxShadow-elevation4-0-type:dropShadow;--boxShadow-elevation4-1-x:0px;--boxShadow-elevation4-1-y:0.625rem;--boxShadow-elevation4-1-blur:1.75rem;--boxShadow-elevation4-1-spread:0px;--boxShadow-elevation4-1-color:rgba(0,0,0,0.1);--boxShadow-elevation4-1-type:dropShadow;--spacing-general-space2xs:0.125rem;--spacing-general-spaceXs:0.25rem;--spacing-general-spaceSm:0.5rem;--spacing-general-spaceMd:0.75rem;--spacing-general-spaceLg:1rem;--spacing-general-spaceXl:1.5rem;--spacing-general-space2xl:2rem;--spacing-general-spaceNone:0rem;--spacing-gap-sections:3rem;--spacing-gap-buttons:0.5rem;--spacing-gap-cards-sm:0.75rem;--spacing-gap-cards-md:1rem;--spacing-gap-cards-lg:1.5rem;--spacing-gap-cards-nestedContainers-sm:0.5rem;--spacing-gap-cards-nestedContainers-md:0.75rem;--spacing-gap-cards-nestedContainers-lg:1rem;--spacing-gap-inputs-horizontal:0.75rem;--spacing-gap-inputs-vertical:1rem;--spacing-padding-card-sm:0.5rem;--spacing-padding-card-md:0.75rem;--spacing-padding-card-lg:1rem;--focusOutline-offset:0.125rem;--focusOutline-inset:0rem;--focusOutline-width:0.125rem;--focusOutline-infoColor:#2B7ABC;--focusOutline-onColor:#ffffff;--focusOutline-successColor:#017533;--focusOutline-dangerColor:#C51F22;--focusOutline-style:solid;--background-containerColor:#ffffff;--background-baseColor:#ffffff;--background-pageColor:#ffffff;--background-mutedColor:#F2F4F5;--background-brandColor:#2B7ABC;--background-onColor:#ffffff;--background-inverseColor:#334450;--background-successColor:#03893D;--background-errorColor:#E62429;--background-warningColor:#CF4A00;--background-infoColor:#2B7ABC;--background-aiTopGradientColor:#9E58BD;--background-aiBottomGradientColor:#00828E;--background-aiTextColor:#F3E5F7;--background-accentAsh:#273540;--background-accentAurora:#048660;--background-accentBlue:#2B7ABC;--background-accentGreen:#03893D;--background-accentGrey:#576773;--background-accentHoney:#996E00;--background-accentOrange:#CF4A00;--background-accentPlum:#C54396;--background-accentRed:#E62429;--background-accentSea:#00828E;--background-accentSky:#197EAB;--background-accentStone:#767676;--background-accentViolet:#9E58BD;--stroke-baseColor:#8D959F;--stroke-mutedColor:#DFE1E3;--stroke-strongColor:#5F6E7A;--stroke-brandColor:#2B7ABC;--stroke-successColor:#03893D;--stroke-errorColor:#E62429;--stroke-warningColor:#CF4A00;--stroke-infoColor:#2B7ABC;--stroke-aiTopGradientColor:#9E58BD;--stroke-aiBottomGradientColor:#00828E;--stroke-accentAsh:#273540;--stroke-accentAurora:#048660;--stroke-accentBlue:#2B7ABC;--stroke-accentGreen:#03893D;--stroke-accentGrey:#576773;--stroke-accentHoney:#996E00;--stroke-accentOrange:#CF4A00;--stroke-accentPlum:#C54396;--stroke-accentRed:#E62429;--stroke-accentSea:#00828E;--stroke-accentSky:#197EAB;--stroke-accentStone:#767676;--stroke-accentViolet:#9E58BD;--stroke-visualSeparator:#ffffff;--strokeWidth-sm:0.0625rem;--strokeWidth-md:0.125rem;--strokeWidth-lg:0.25rem;
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The MIT License (MIT)
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
5
|
+
*
|
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
* in the Software without restriction, including without limitation the rights
|
|
9
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
* furnished to do so, subject to the following conditions:
|
|
12
|
+
*
|
|
13
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
* copies or substantial portions of the Software.
|
|
15
|
+
*
|
|
16
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
* SOFTWARE.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
.instui-theme-legacyCanvasHighContrast{
|
|
26
|
+
--breakpoints-sm:30em;--breakpoints-md:48em;--breakpoints-lg:64em;--breakpoints-xl:80em;--borderRadius-xs:0.25rem;--borderRadius-sm:0.25rem;--borderRadius-md:0.25rem;--borderRadius-lg:0.25rem;--borderRadius-xl:0.25rem;--borderRadius-xxl:0.25rem;--borderRadius-full:999rem;--borderRadius-card-sm:0.25rem;--borderRadius-card-md:0.25rem;--borderRadius-card-lg:0.25rem;--borderRadius-card-nestedContainer-sm:0.25rem;--borderRadius-card-nestedContainer-md:0.25rem;--borderRadius-card-nestedContainer-lg:0.25rem;--legacy-spacing-xxxSmall:0.125rem;--legacy-spacing-xxSmall:0.375rem;--legacy-spacing-xSmall:0.5rem;--legacy-spacing-small:0.75rem;--legacy-spacing-mediumSmall:1rem;--legacy-spacing-medium:1.5rem;--legacy-spacing-large:2.25rem;--legacy-spacing-xLarge:3rem;--legacy-spacing-xxLarge:3.75rem;--legacy-spacing-space0:0rem;--legacy-spacing-space2:0.125rem;--legacy-spacing-space4:0.25rem;--legacy-spacing-space8:0.5rem;--legacy-spacing-space12:0.75rem;--legacy-spacing-space16:1rem;--legacy-spacing-space24:1.5rem;--legacy-spacing-space36:2.25rem;--legacy-spacing-space48:3rem;--legacy-spacing-space60:3.75rem;--legacy-spacing-sections:2.25rem;--legacy-spacing-sectionElements:1.5em;--legacy-spacing-trayElements:1.5em;--legacy-spacing-modalElements:1.5em;--legacy-spacing-moduleElements:1em;--legacy-spacing-paddingCardLarge:1.5rem;--legacy-spacing-paddingCardMedium:1rem;--legacy-spacing-paddingCardSmall:0.75rem;--legacy-spacing-selects:1rem;--legacy-spacing-textareas:1rem;--legacy-spacing-inputFields:1rem;--legacy-spacing-checkboxes:1rem;--legacy-spacing-radios:1rem;--legacy-spacing-toggles:1rem;--legacy-spacing-buttons:0.75rem;--legacy-spacing-tags:0.75rem;--legacy-spacing-statusIndicators:0.75rem;--legacy-spacing-dataPoints:0.75rem;--legacy-radiusSmall:0.125rem;--legacy-radiusMedium:0.25rem;--legacy-radiusLarge:0.5rem;--boxShadow-elevation1-0-x:0px;--boxShadow-elevation1-0-y:0.0625rem;--boxShadow-elevation1-0-blur:0.125rem;--boxShadow-elevation1-0-spread:0px;--boxShadow-elevation1-0-color:rgba(0,0,0,0.1);--boxShadow-elevation1-0-type:dropShadow;--boxShadow-elevation1-1-x:0px;--boxShadow-elevation1-1-y:0.0625rem;--boxShadow-elevation1-1-blur:0.125rem;--boxShadow-elevation1-1-spread:0px;--boxShadow-elevation1-1-color:rgba(0,0,0,0.2);--boxShadow-elevation1-1-type:dropShadow;--boxShadow-elevation2-0-x:0px;--boxShadow-elevation2-0-y:0.1875rem;--boxShadow-elevation2-0-blur:0.375rem;--boxShadow-elevation2-0-spread:0px;--boxShadow-elevation2-0-color:rgba(0,0,0,0.2);--boxShadow-elevation2-0-type:dropShadow;--boxShadow-elevation2-1-x:0px;--boxShadow-elevation2-1-y:0.1875rem;--boxShadow-elevation2-1-blur:0.375rem;--boxShadow-elevation2-1-spread:0px;--boxShadow-elevation2-1-color:rgba(0,0,0,0.1);--boxShadow-elevation2-1-type:dropShadow;--boxShadow-elevation3-0-x:0px;--boxShadow-elevation3-0-y:0.1875rem;--boxShadow-elevation3-0-blur:0.375rem;--boxShadow-elevation3-0-spread:0px;--boxShadow-elevation3-0-color:rgba(0,0,0,0.2);--boxShadow-elevation3-0-type:dropShadow;--boxShadow-elevation3-1-x:0px;--boxShadow-elevation3-1-y:0.1875rem;--boxShadow-elevation3-1-blur:0.375rem;--boxShadow-elevation3-1-spread:0px;--boxShadow-elevation3-1-color:rgba(0,0,0,0.1);--boxShadow-elevation3-1-type:dropShadow;--boxShadow-elevation4-0-x:0px;--boxShadow-elevation4-0-y:0.375rem;--boxShadow-elevation4-0-blur:0.4375rem;--boxShadow-elevation4-0-spread:0px;--boxShadow-elevation4-0-color:rgba(0,0,0,0.2);--boxShadow-elevation4-0-type:dropShadow;--boxShadow-elevation4-1-x:0px;--boxShadow-elevation4-1-y:0.625rem;--boxShadow-elevation4-1-blur:1.75rem;--boxShadow-elevation4-1-spread:0px;--boxShadow-elevation4-1-color:rgba(0,0,0,0.1);--boxShadow-elevation4-1-type:dropShadow;--spacing-general-space2xs:0.125rem;--spacing-general-spaceXs:0.25rem;--spacing-general-spaceSm:0.5rem;--spacing-general-spaceMd:0.75rem;--spacing-general-spaceLg:1rem;--spacing-general-spaceXl:1.5rem;--spacing-general-space2xl:2rem;--spacing-general-spaceNone:0rem;--spacing-gap-sections:3rem;--spacing-gap-buttons:0.5rem;--spacing-gap-cards-sm:0.75rem;--spacing-gap-cards-md:1rem;--spacing-gap-cards-lg:1.5rem;--spacing-gap-cards-nestedContainers-sm:0.5rem;--spacing-gap-cards-nestedContainers-md:0.75rem;--spacing-gap-cards-nestedContainers-lg:1rem;--spacing-gap-inputs-horizontal:0.75rem;--spacing-gap-inputs-vertical:1rem;--spacing-padding-card-sm:0.5rem;--spacing-padding-card-md:0.75rem;--spacing-padding-card-lg:1rem;--focusOutline-offset:0.125rem;--focusOutline-inset:0rem;--focusOutline-width:0.125rem;--focusOutline-infoColor:#2369A4;--focusOutline-onColor:#ffffff;--focusOutline-successColor:#015B26;--focusOutline-dangerColor:#991418;--focusOutline-style:solid;--background-containerColor:#ffffff;--background-baseColor:#ffffff;--background-pageColor:#ffffff;--background-mutedColor:#F2F4F5;--background-brandColor:#1A5281;--background-onColor:#ffffff;--background-inverseColor:#334450;--background-successColor:#015B26;--background-errorColor:#991418;--background-warningColor:#8A2F00;--background-infoColor:#1A5281;--background-aiTopGradientColor:#6D3984;--background-aiBottomGradientColor:#015862;--background-aiTextColor:#F3E5F7;--background-accentAsh:#1C222B;--background-accentAurora:#026648;--background-accentBlue:#1E5C90;--background-accentGreen:#02672C;--background-accentGrey:#334450;--background-accentHoney:#735200;--background-accentOrange:#9C3601;--background-accentPlum:#953171;--background-accentRed:#AE161B;--background-accentSea:#01626E;--background-accentSky:#0F5F82;--background-accentStone:#585858;--background-accentViolet:#793F93;--stroke-baseColor:#6A7883;--stroke-mutedColor:#9EA6AD;--stroke-strongColor:#273540;--stroke-brandColor:#1E5C90;--stroke-successColor:#015B26;--stroke-errorColor:#991418;--stroke-warningColor:#8A2F00;--stroke-infoColor:#1A5281;--stroke-aiTopGradientColor:#793F93;--stroke-aiBottomGradientColor:#01626E;--stroke-accentAsh:#1C222B;--stroke-accentAurora:#026648;--stroke-accentBlue:#1E5C90;--stroke-accentGreen:#02672C;--stroke-accentGrey:#334450;--stroke-accentHoney:#735200;--stroke-accentOrange:#9C3601;--stroke-accentPlum:#953171;--stroke-accentRed:#AE161B;--stroke-accentSea:#01626E;--stroke-accentSky:#0F5F82;--stroke-accentStone:#585858;--stroke-accentViolet:#793F93;--stroke-visualSeparator:#ffffff;--strokeWidth-sm:0.0625rem;--strokeWidth-md:0.125rem;--strokeWidth-lg:0.25rem;
|
|
27
|
+
}
|
package/css/light.css
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The MIT License (MIT)
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
5
|
+
*
|
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
* in the Software without restriction, including without limitation the rights
|
|
9
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
* furnished to do so, subject to the following conditions:
|
|
12
|
+
*
|
|
13
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
* copies or substantial portions of the Software.
|
|
15
|
+
*
|
|
16
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
* SOFTWARE.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
.instui-theme-light{
|
|
26
|
+
--breakpoints-sm:30em;--breakpoints-md:48em;--breakpoints-lg:64em;--breakpoints-xl:80em;--borderRadius-xs:0.125rem;--borderRadius-sm:0.25rem;--borderRadius-md:0.5rem;--borderRadius-lg:0.75rem;--borderRadius-xl:1rem;--borderRadius-xxl:1.5rem;--borderRadius-full:999rem;--borderRadius-card-sm:0.75rem;--borderRadius-card-md:1rem;--borderRadius-card-lg:1rem;--borderRadius-card-nestedContainer-sm:0.25rem;--borderRadius-card-nestedContainer-md:0.25rem;--borderRadius-card-nestedContainer-lg:0.5rem;--legacy-spacing-xxxSmall:0.125rem;--legacy-spacing-xxSmall:0.375rem;--legacy-spacing-xSmall:0.5rem;--legacy-spacing-small:0.75rem;--legacy-spacing-mediumSmall:1rem;--legacy-spacing-medium:1.5rem;--legacy-spacing-large:2.25rem;--legacy-spacing-xLarge:3rem;--legacy-spacing-xxLarge:3.75rem;--legacy-spacing-space0:0rem;--legacy-spacing-space2:0.125rem;--legacy-spacing-space4:0.25rem;--legacy-spacing-space8:0.5rem;--legacy-spacing-space12:0.75rem;--legacy-spacing-space16:1rem;--legacy-spacing-space24:1.5rem;--legacy-spacing-space36:2.25rem;--legacy-spacing-space48:3rem;--legacy-spacing-space60:3.75rem;--legacy-spacing-sections:2.25rem;--legacy-spacing-sectionElements:1.5em;--legacy-spacing-trayElements:1.5em;--legacy-spacing-modalElements:1.5em;--legacy-spacing-moduleElements:1em;--legacy-spacing-paddingCardLarge:1.5rem;--legacy-spacing-paddingCardMedium:1rem;--legacy-spacing-paddingCardSmall:0.75rem;--legacy-spacing-selects:1rem;--legacy-spacing-textareas:1rem;--legacy-spacing-inputFields:1rem;--legacy-spacing-checkboxes:1rem;--legacy-spacing-radios:1rem;--legacy-spacing-toggles:1rem;--legacy-spacing-buttons:0.75rem;--legacy-spacing-tags:0.75rem;--legacy-spacing-statusIndicators:0.75rem;--legacy-spacing-dataPoints:0.75rem;--legacy-radiusSmall:0.125rem;--legacy-radiusMedium:0.25rem;--legacy-radiusLarge:0.5rem;--boxShadow-elevation1-0-x:0px;--boxShadow-elevation1-0-y:1px;--boxShadow-elevation1-0-blur:2px;--boxShadow-elevation1-0-spread:0px;--boxShadow-elevation1-0-color:rgba(35,68,101,0.15);--boxShadow-elevation1-0-type:dropShadow;--boxShadow-elevation1-1-x:0px;--boxShadow-elevation1-1-y:2px;--boxShadow-elevation1-1-blur:4px;--boxShadow-elevation1-1-spread:1px;--boxShadow-elevation1-1-color:rgba(35,68,101,0.1);--boxShadow-elevation1-1-type:dropShadow;--boxShadow-elevation2-0-x:0px;--boxShadow-elevation2-0-y:4px;--boxShadow-elevation2-0-blur:8px;--boxShadow-elevation2-0-spread:3px;--boxShadow-elevation2-0-color:rgba(35,68,101,0.1);--boxShadow-elevation2-0-type:dropShadow;--boxShadow-elevation2-1-x:0px;--boxShadow-elevation2-1-y:1px;--boxShadow-elevation2-1-blur:3px;--boxShadow-elevation2-1-spread:0px;--boxShadow-elevation2-1-color:rgba(35,68,101,0.15);--boxShadow-elevation2-1-type:dropShadow;--boxShadow-elevation3-0-x:0px;--boxShadow-elevation3-0-y:6px;--boxShadow-elevation3-0-blur:10px;--boxShadow-elevation3-0-spread:4px;--boxShadow-elevation3-0-color:rgba(35,68,101,0.1);--boxShadow-elevation3-0-type:dropShadow;--boxShadow-elevation3-1-x:0px;--boxShadow-elevation3-1-y:2px;--boxShadow-elevation3-1-blur:3px;--boxShadow-elevation3-1-spread:0px;--boxShadow-elevation3-1-color:rgba(35,68,101,0.15);--boxShadow-elevation3-1-type:dropShadow;--boxShadow-elevation4-0-x:0px;--boxShadow-elevation4-0-y:8px;--boxShadow-elevation4-0-blur:12px;--boxShadow-elevation4-0-spread:6px;--boxShadow-elevation4-0-color:rgba(35,68,101,0.1);--boxShadow-elevation4-0-type:dropShadow;--boxShadow-elevation4-1-x:0px;--boxShadow-elevation4-1-y:4px;--boxShadow-elevation4-1-blur:4px;--boxShadow-elevation4-1-spread:0px;--boxShadow-elevation4-1-color:rgba(35,68,101,0.15);--boxShadow-elevation4-1-type:dropShadow;--spacing-general-space2xs:0.125rem;--spacing-general-spaceXs:0.25rem;--spacing-general-spaceSm:0.5rem;--spacing-general-spaceMd:0.75rem;--spacing-general-spaceLg:1rem;--spacing-general-spaceXl:1.5rem;--spacing-general-space2xl:2rem;--spacing-general-spaceNone:0rem;--spacing-gap-sections:3rem;--spacing-gap-buttons:0.75rem;--spacing-gap-cards-sm:0.75rem;--spacing-gap-cards-md:1rem;--spacing-gap-cards-lg:1.5rem;--spacing-gap-cards-nestedContainers-sm:0.5rem;--spacing-gap-cards-nestedContainers-md:0.75rem;--spacing-gap-cards-nestedContainers-lg:1rem;--spacing-gap-inputs-horizontal:0.75rem;--spacing-gap-inputs-vertical:1rem;--spacing-padding-card-sm:0.5rem;--spacing-padding-card-md:0.75rem;--spacing-padding-card-lg:1rem;--focusOutline-offset:0.125rem;--focusOutline-inset:0rem;--focusOutline-width:0.125rem;--focusOutline-infoColor:#2B7ABC;--focusOutline-onColor:#ffffff;--focusOutline-successColor:#037D37;--focusOutline-dangerColor:#CF1F24;--focusOutline-style:solid;--background-containerColor:#ffffff;--background-baseColor:#ffffff;--background-pageColor:#F2F4F5;--background-mutedColor:#F2F4F5;--background-brandColor:#1D354F;--background-onColor:#ffffff;--background-inverseColor:#334450;--background-successColor:#03893D;--background-errorColor:#E62429;--background-infoColor:#2B7ABC;--background-warningColor:#CF4A00;--background-aiTopGradientColor:#9E58BD;--background-aiBottomGradientColor:#00828E;--background-aiTextColor:#F3E5F7;--background-accentAsh:#273540;--background-accentAurora:#048660;--background-accentBlue:#2B7ABC;--background-accentGreen:#03893D;--background-accentGrey:#4A5B68;--background-accentHoney:#996E00;--background-accentOrange:#CF4A00;--background-accentPlum:#C54396;--background-accentRed:#E62429;--background-accentSea:#00828E;--background-accentSky:#197EAB;--background-accentStone:#767676;--background-accentViolet:#9E58BD;--stroke-baseColor:#8D959F;--stroke-mutedColor:#E8EAEC;--stroke-strongColor:#5F6E7A;--stroke-brandColor:#1D354F;--stroke-successColor:#03893D;--stroke-errorColor:#E62429;--stroke-warningColor:#CF4A00;--stroke-infoColor:#2B7ABC;--stroke-aiTopGradientColor:#9E58BD;--stroke-aiBottomGradientColor:#00828E;--stroke-accentAsh:#273540;--stroke-accentAurora:#057C58;--stroke-accentBlue:#2871AF;--stroke-accentGreen:#037D37;--stroke-accentGrey:#4A5B68;--stroke-accentHoney:#8C6400;--stroke-accentOrange:#BB4200;--stroke-accentPlum:#B43D89;--stroke-accentRed:#CF1F24;--stroke-accentSea:#027887;--stroke-accentSky:#17759F;--stroke-accentStone:#767676;--stroke-accentViolet:#9E58BD;--stroke-visualSeparator:#ffffff;--strokeWidth-sm:0.0625rem;--strokeWidth-md:0.125rem;--strokeWidth-lg:0.25rem;
|
|
27
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-themes",
|
|
3
|
-
"version": "11.7.5-snapshot-
|
|
3
|
+
"version": "11.7.5-snapshot-42",
|
|
4
4
|
"description": "A library of instructure themes",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -17,18 +17,21 @@
|
|
|
17
17
|
"@testing-library/jest-dom": "^6.9.1",
|
|
18
18
|
"@testing-library/react": "16.3.2",
|
|
19
19
|
"vitest": "^4.1.9",
|
|
20
|
-
"@instructure/ui-babel-preset": "11.7.5-snapshot-
|
|
20
|
+
"@instructure/ui-babel-preset": "11.7.5-snapshot-42"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@babel/runtime": "^7.29.7",
|
|
24
24
|
"@tokens-studio/types": "^0.5.2",
|
|
25
|
-
"@instructure/shared-types": "11.7.5-snapshot-
|
|
25
|
+
"@instructure/shared-types": "11.7.5-snapshot-42"
|
|
26
26
|
},
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
|
-
"sideEffects":
|
|
30
|
+
"sideEffects": [
|
|
31
|
+
"*.css"
|
|
32
|
+
],
|
|
31
33
|
"exports": {
|
|
34
|
+
"./*.css": "./css/*.css",
|
|
32
35
|
"./lib/*": "./lib/*",
|
|
33
36
|
"./es/*": "./es/*",
|
|
34
37
|
"./types/*": "./types/*",
|