@codecademy/brand 4.3.0-alpha.43c8e6342.0 → 4.3.0-alpha.97dbb7a60.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.
- package/dist/AppBarDeprecated/styles/index.module.scss +4 -2
- package/dist/Loading/styles.module.scss +4 -2
- package/dist/Logos/ProLabel/ProLabelCutout/index.js +1 -1
- package/dist/Logos/ProLabel/ProLabelCutoutTransparent/index.js +1 -1
- package/dist/Logos/ProLabel/index.d.ts +1 -1
- package/dist/Logos/ProLabel/index.js +1 -1
- package/dist/ProLogoAlt/index.d.ts +1 -1
- package/dist/ProLogoAlt/index.js +1 -1
- package/dist/deprecatedGamutColors.d.ts +53 -0
- package/dist/deprecatedGamutColors.js +53 -0
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "~@codecademy/gamut-styles/utils";
|
|
2
|
+
|
|
1
3
|
$c-offset: 169;
|
|
2
4
|
$inner-offset: 287;
|
|
3
5
|
$outer-offset: 361;
|
|
@@ -74,11 +76,11 @@ $animation-duration: 3s;
|
|
|
74
76
|
|
|
75
77
|
.fullPage {
|
|
76
78
|
width: 100%;
|
|
77
|
-
height: viewport-height(-(
|
|
79
|
+
height: viewport-height(-(utils.$height-header));
|
|
78
80
|
}
|
|
79
81
|
|
|
80
82
|
.loading {
|
|
81
|
-
width: 120px;
|
|
83
|
+
width: utils.px-rem(120px);
|
|
82
84
|
}
|
|
83
85
|
|
|
84
86
|
.underline {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { colors } from '@codecademy/gamut-styles';
|
|
2
1
|
import * as React from 'react';
|
|
2
|
+
import { colors } from '../../../deprecatedGamutColors';
|
|
3
3
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
4
|
export const ProLabelCutoutTransparent = ({
|
|
5
5
|
ariaLabel = 'Pro',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { colors } from '@codecademy/gamut-styles';
|
|
2
1
|
import * as React from 'react';
|
|
2
|
+
import { colors } from '../../deprecatedGamutColors';
|
|
3
3
|
import { ProLabelCutout } from './ProLabelCutout';
|
|
4
4
|
import { ProLabelCutoutTransparent } from './ProLabelCutoutTransparent';
|
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
package/dist/ProLogoAlt/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { colors } from '@codecademy/gamut-styles';
|
|
2
1
|
import * as React from 'react';
|
|
2
|
+
import { colors } from '../deprecatedGamutColors';
|
|
3
3
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
4
|
export const ProLogoAlt = ({
|
|
5
5
|
ariaLabel = 'Codecademy Pro Logo',
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Duplicated from `libs/ui/legacy-colors/src/colors.ts`.
|
|
3
|
+
* `@codecademy/brand` is published to npm and cannot depend on `@mono/ui-legacy-colors`.
|
|
4
|
+
*
|
|
5
|
+
* Keep in sync with `libs/ui/legacy-colors/src/colors.ts`.
|
|
6
|
+
*/
|
|
7
|
+
export declare const colors: {
|
|
8
|
+
readonly beige: "#FFF0E5";
|
|
9
|
+
readonly blue: "#1557FF";
|
|
10
|
+
readonly green: "#008A27";
|
|
11
|
+
readonly hyper: "#3A10E5";
|
|
12
|
+
readonly lightBlue: "#66C4FF";
|
|
13
|
+
readonly lightGreen: "#AEE938";
|
|
14
|
+
readonly navy: "#10162f";
|
|
15
|
+
readonly orange: "#FF8C00";
|
|
16
|
+
readonly paleBlue: "#F5FCFF";
|
|
17
|
+
readonly paleGreen: "#F5FFE3";
|
|
18
|
+
readonly palePink: "#FFF5FF";
|
|
19
|
+
readonly paleYellow: "#FFFAE5";
|
|
20
|
+
readonly pink: "#F966FF";
|
|
21
|
+
readonly red: "#E91C11";
|
|
22
|
+
readonly yellow: "#FFD300";
|
|
23
|
+
readonly black: "#000000";
|
|
24
|
+
readonly white: "#ffffff";
|
|
25
|
+
readonly 'blue-0': "#F5FCFF";
|
|
26
|
+
readonly 'blue-300': "#66C4FF";
|
|
27
|
+
readonly 'blue-500': "#1557FF";
|
|
28
|
+
readonly 'blue-800': "#1D2340";
|
|
29
|
+
readonly 'green-0': "#F5FFE3";
|
|
30
|
+
readonly 'green-400': "#AEE938";
|
|
31
|
+
readonly 'green-700': "#008A27";
|
|
32
|
+
readonly 'yellow-0': "#FFFAE5";
|
|
33
|
+
readonly 'yellow-400': "#CCA900";
|
|
34
|
+
readonly 'yellow-500': "#FFD300";
|
|
35
|
+
readonly 'pink-0': "#FFF5FF";
|
|
36
|
+
readonly 'pink-400': "#F966FF";
|
|
37
|
+
readonly 'red-500': "#E91C11";
|
|
38
|
+
readonly 'orange-500': "#FF8C00";
|
|
39
|
+
readonly 'hyper-400': "#5533FF";
|
|
40
|
+
readonly 'hyper-500': "#3A10E5";
|
|
41
|
+
readonly 'gray-100': "#f6f5fa";
|
|
42
|
+
readonly 'gray-300': "#c4c3c7";
|
|
43
|
+
readonly 'gray-800': "#323233";
|
|
44
|
+
readonly 'gray-200': "#dddce0";
|
|
45
|
+
readonly 'gray-600': "#646466";
|
|
46
|
+
readonly 'gray-900': "#19191a";
|
|
47
|
+
readonly 'beige-0': "#FFF0E5";
|
|
48
|
+
readonly 'blue-900': "#10162f";
|
|
49
|
+
readonly 'gray-0': "#ffffff";
|
|
50
|
+
readonly 'gray-400': "#a2a2a6";
|
|
51
|
+
readonly 'gray-500': "#828285";
|
|
52
|
+
readonly 'gray-700': "#4b4b4d";
|
|
53
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Duplicated from `libs/ui/legacy-colors/src/colors.ts`.
|
|
3
|
+
* `@codecademy/brand` is published to npm and cannot depend on `@mono/ui-legacy-colors`.
|
|
4
|
+
*
|
|
5
|
+
* Keep in sync with `libs/ui/legacy-colors/src/colors.ts`.
|
|
6
|
+
*/
|
|
7
|
+
export const colors = {
|
|
8
|
+
beige: '#FFF0E5',
|
|
9
|
+
blue: '#1557FF',
|
|
10
|
+
green: '#008A27',
|
|
11
|
+
hyper: '#3A10E5',
|
|
12
|
+
lightBlue: '#66C4FF',
|
|
13
|
+
lightGreen: '#AEE938',
|
|
14
|
+
navy: '#10162f',
|
|
15
|
+
orange: '#FF8C00',
|
|
16
|
+
paleBlue: '#F5FCFF',
|
|
17
|
+
paleGreen: '#F5FFE3',
|
|
18
|
+
palePink: '#FFF5FF',
|
|
19
|
+
paleYellow: '#FFFAE5',
|
|
20
|
+
pink: '#F966FF',
|
|
21
|
+
red: '#E91C11',
|
|
22
|
+
yellow: '#FFD300',
|
|
23
|
+
black: '#000000',
|
|
24
|
+
white: '#ffffff',
|
|
25
|
+
'blue-0': '#F5FCFF',
|
|
26
|
+
'blue-300': '#66C4FF',
|
|
27
|
+
'blue-500': '#1557FF',
|
|
28
|
+
'blue-800': '#1D2340',
|
|
29
|
+
'green-0': '#F5FFE3',
|
|
30
|
+
'green-400': '#AEE938',
|
|
31
|
+
'green-700': '#008A27',
|
|
32
|
+
'yellow-0': '#FFFAE5',
|
|
33
|
+
'yellow-400': '#CCA900',
|
|
34
|
+
'yellow-500': '#FFD300',
|
|
35
|
+
'pink-0': '#FFF5FF',
|
|
36
|
+
'pink-400': '#F966FF',
|
|
37
|
+
'red-500': '#E91C11',
|
|
38
|
+
'orange-500': '#FF8C00',
|
|
39
|
+
'hyper-400': '#5533FF',
|
|
40
|
+
'hyper-500': '#3A10E5',
|
|
41
|
+
'gray-100': '#f6f5fa',
|
|
42
|
+
'gray-300': '#c4c3c7',
|
|
43
|
+
'gray-800': '#323233',
|
|
44
|
+
'gray-200': '#dddce0',
|
|
45
|
+
'gray-600': '#646466',
|
|
46
|
+
'gray-900': '#19191a',
|
|
47
|
+
'beige-0': '#FFF0E5',
|
|
48
|
+
'blue-900': '#10162f',
|
|
49
|
+
'gray-0': '#ffffff',
|
|
50
|
+
'gray-400': '#a2a2a6',
|
|
51
|
+
'gray-500': '#828285',
|
|
52
|
+
'gray-700': '#4b4b4d'
|
|
53
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/brand",
|
|
3
|
-
"version": "4.3.0-alpha.
|
|
3
|
+
"version": "4.3.0-alpha.97dbb7a60.0",
|
|
4
4
|
"description": "Brand component library for Codecademy",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "git@github.com:codecademy-engineering/mono.git",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"freezeframe": "^5.0.2",
|
|
23
23
|
"intersection-observer": "^0.12.0",
|
|
24
24
|
"ismobilejs": "^1.1.1",
|
|
25
|
-
"lodash": "^4.
|
|
25
|
+
"lodash": "^4.18.1",
|
|
26
26
|
"pluralize": "^8.0.0",
|
|
27
27
|
"react-freezeframe": "^5.0.2",
|
|
28
28
|
"react-use": "15.3.8",
|