@codecademy/gamut-styles 17.5.2-alpha.b01287.0 → 17.5.2-alpha.b7b030.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.
|
@@ -606,6 +606,54 @@ export declare const lxStudioTheme: Record<"breakpoints", {
|
|
|
606
606
|
tertiary: "navy-800";
|
|
607
607
|
disabled: "navy-300";
|
|
608
608
|
};
|
|
609
|
+
} | {
|
|
610
|
+
text: {
|
|
611
|
+
_: "white";
|
|
612
|
+
accent: "beige";
|
|
613
|
+
disabled: "white-500";
|
|
614
|
+
secondary: "white-600";
|
|
615
|
+
};
|
|
616
|
+
feedback: {
|
|
617
|
+
error: "red-0";
|
|
618
|
+
success: "green-400";
|
|
619
|
+
warning: "yellow-0";
|
|
620
|
+
};
|
|
621
|
+
background: {
|
|
622
|
+
_: "navy-800";
|
|
623
|
+
contrast: "black";
|
|
624
|
+
current: "navy-800";
|
|
625
|
+
primary: "navy-900";
|
|
626
|
+
selected: "white-100";
|
|
627
|
+
disabled: "white-200";
|
|
628
|
+
hover: "white-200";
|
|
629
|
+
};
|
|
630
|
+
shadow: {
|
|
631
|
+
primary: "white";
|
|
632
|
+
secondary: "white-600";
|
|
633
|
+
};
|
|
634
|
+
primary: {
|
|
635
|
+
_: "yellow-500";
|
|
636
|
+
hover: "yellow-400";
|
|
637
|
+
inverse: "hyper-500";
|
|
638
|
+
};
|
|
639
|
+
secondary: {
|
|
640
|
+
_: "white";
|
|
641
|
+
hover: "white-700";
|
|
642
|
+
};
|
|
643
|
+
danger: {
|
|
644
|
+
_: "red-0";
|
|
645
|
+
hover: "red-100";
|
|
646
|
+
};
|
|
647
|
+
interface: {
|
|
648
|
+
_: "yellow-500";
|
|
649
|
+
hover: "yellow-400";
|
|
650
|
+
};
|
|
651
|
+
border: {
|
|
652
|
+
primary: "white";
|
|
653
|
+
secondary: "white-600";
|
|
654
|
+
tertiary: "white-300";
|
|
655
|
+
disabled: "white-500";
|
|
656
|
+
};
|
|
609
657
|
}, "-", "_">, "colors"> & import("@codecademy/variance/dist/createTheme/types").Assign<import("@codecademy/variance/dist/createTheme/types").Assign<import("@codecademy/variance").KeyAsVariable<import("@codecademy/variance").LiteralPaths<{
|
|
610
658
|
readonly beige: "#FFF0E5";
|
|
611
659
|
readonly blue: "#1557FF";
|
|
@@ -1051,8 +1099,57 @@ export declare const lxStudioTheme: Record<"breakpoints", {
|
|
|
1051
1099
|
disabled: "navy-300";
|
|
1052
1100
|
};
|
|
1053
1101
|
}, "-", "_">;
|
|
1102
|
+
dark: import("@codecademy/variance").LiteralPaths<{
|
|
1103
|
+
text: {
|
|
1104
|
+
_: "white";
|
|
1105
|
+
accent: "beige";
|
|
1106
|
+
disabled: "white-500";
|
|
1107
|
+
secondary: "white-600";
|
|
1108
|
+
};
|
|
1109
|
+
feedback: {
|
|
1110
|
+
error: "red-0";
|
|
1111
|
+
success: "green-400";
|
|
1112
|
+
warning: "yellow-0";
|
|
1113
|
+
};
|
|
1114
|
+
background: {
|
|
1115
|
+
_: "navy-800";
|
|
1116
|
+
contrast: "black";
|
|
1117
|
+
current: "navy-800";
|
|
1118
|
+
primary: "navy-900";
|
|
1119
|
+
selected: "white-100";
|
|
1120
|
+
disabled: "white-200";
|
|
1121
|
+
hover: "white-200";
|
|
1122
|
+
};
|
|
1123
|
+
shadow: {
|
|
1124
|
+
primary: "white";
|
|
1125
|
+
secondary: "white-600";
|
|
1126
|
+
};
|
|
1127
|
+
primary: {
|
|
1128
|
+
_: "yellow-500";
|
|
1129
|
+
hover: "yellow-400";
|
|
1130
|
+
inverse: "hyper-500";
|
|
1131
|
+
};
|
|
1132
|
+
secondary: {
|
|
1133
|
+
_: "white";
|
|
1134
|
+
hover: "white-700";
|
|
1135
|
+
};
|
|
1136
|
+
danger: {
|
|
1137
|
+
_: "red-0";
|
|
1138
|
+
hover: "red-100";
|
|
1139
|
+
};
|
|
1140
|
+
interface: {
|
|
1141
|
+
_: "yellow-500";
|
|
1142
|
+
hover: "yellow-400";
|
|
1143
|
+
};
|
|
1144
|
+
border: {
|
|
1145
|
+
primary: "white";
|
|
1146
|
+
secondary: "white-600";
|
|
1147
|
+
tertiary: "white-300";
|
|
1148
|
+
disabled: "white-500";
|
|
1149
|
+
};
|
|
1150
|
+
}, "-", "_">;
|
|
1054
1151
|
}>;
|
|
1055
|
-
mode: "light";
|
|
1152
|
+
mode: "light" | "dark";
|
|
1056
1153
|
_getColorValue: (color: "beige" | "blue" | "navy" | "green" | "yellow" | "pink" | "red" | "orange" | "hyper" | "white" | "beige-100" | "blue-0" | "blue-100" | "blue-300" | "blue-400" | "blue-500" | "blue-800" | "navy-100" | "navy-300" | "navy-400" | "navy-500" | "navy-800" | "navy-200" | "navy-600" | "navy-700" | "navy-900" | "green-0" | "green-100" | "green-400" | "green-700" | "yellow-0" | "yellow-400" | "yellow-500" | "pink-0" | "pink-400" | "red-0" | "red-100" | "red-500" | "red-600" | "orange-100" | "orange-500" | "hyper-400" | "hyper-500" | "gray-100" | "gray-300" | "gray-800" | "gray-200" | "gray-600" | "gray-900" | "white-100" | "white-300" | "white-400" | "white-500" | "white-200" | "white-600" | "white-700" | "black" | "lightBlue" | "lightGreen" | "paleBlue" | "paleGreen" | "palePink" | "paleYellow" | "paleRed" | "text" | "secondary" | "background" | "primary" | "danger" | "interface" | "border-primary" | "text-disabled" | "text-accent" | "text-secondary" | "secondary-hover" | "feedback-error" | "feedback-success" | "feedback-warning" | "background-disabled" | "background-contrast" | "background-current" | "background-primary" | "background-selected" | "background-hover" | "primary-hover" | "primary-inverse" | "shadow-secondary" | "shadow-primary" | "danger-hover" | "interface-hover" | "border-disabled" | "border-secondary" | "border-tertiary" | "lxStudioSuccess" | "lxStudioBgPrimary" | "lxStudioPurple" | "lxStudioPurpleHover") => string;
|
|
1057
1154
|
}> & import("@codecademy/variance/dist/createTheme/types").PrivateThemeKeys;
|
|
1058
1155
|
export type LxStudioThemeShape = typeof lxStudioTheme;
|
package/dist/themes/lxStudio.js
CHANGED
|
@@ -74,5 +74,54 @@ export const lxStudioTheme = createTheme({
|
|
|
74
74
|
tertiary: 'navy-800',
|
|
75
75
|
disabled: 'navy-300'
|
|
76
76
|
}
|
|
77
|
+
},
|
|
78
|
+
dark: {
|
|
79
|
+
text: {
|
|
80
|
+
_: 'white',
|
|
81
|
+
accent: 'beige',
|
|
82
|
+
disabled: 'white-500',
|
|
83
|
+
secondary: 'white-600'
|
|
84
|
+
},
|
|
85
|
+
feedback: {
|
|
86
|
+
error: 'red-0',
|
|
87
|
+
success: 'green-400',
|
|
88
|
+
warning: 'yellow-0'
|
|
89
|
+
},
|
|
90
|
+
background: {
|
|
91
|
+
_: 'navy-800',
|
|
92
|
+
contrast: 'black',
|
|
93
|
+
current: 'navy-800',
|
|
94
|
+
primary: 'navy-900',
|
|
95
|
+
selected: 'white-100',
|
|
96
|
+
disabled: 'white-200',
|
|
97
|
+
hover: 'white-200'
|
|
98
|
+
},
|
|
99
|
+
shadow: {
|
|
100
|
+
primary: 'white',
|
|
101
|
+
secondary: 'white-600'
|
|
102
|
+
},
|
|
103
|
+
primary: {
|
|
104
|
+
_: 'yellow-500',
|
|
105
|
+
hover: 'yellow-400',
|
|
106
|
+
inverse: 'hyper-500'
|
|
107
|
+
},
|
|
108
|
+
secondary: {
|
|
109
|
+
_: 'white',
|
|
110
|
+
hover: 'white-700'
|
|
111
|
+
},
|
|
112
|
+
danger: {
|
|
113
|
+
_: 'red-0',
|
|
114
|
+
hover: 'red-100'
|
|
115
|
+
},
|
|
116
|
+
interface: {
|
|
117
|
+
_: 'yellow-500',
|
|
118
|
+
hover: 'yellow-400'
|
|
119
|
+
},
|
|
120
|
+
border: {
|
|
121
|
+
primary: 'white',
|
|
122
|
+
secondary: 'white-600',
|
|
123
|
+
tertiary: 'white-300',
|
|
124
|
+
disabled: 'white-500'
|
|
125
|
+
}
|
|
77
126
|
}
|
|
78
127
|
}).build();
|
|
@@ -177,6 +177,12 @@ export declare const platformSwatches: {
|
|
|
177
177
|
readonly '300': "#B3CCFF";
|
|
178
178
|
};
|
|
179
179
|
};
|
|
180
|
+
export declare const truePlatformColors: {
|
|
181
|
+
readonly lightBeige: "#FFFBF8";
|
|
182
|
+
readonly gold: "#8A7300";
|
|
183
|
+
readonly teal: "#027E97";
|
|
184
|
+
readonly purple: "#B3CCFF";
|
|
185
|
+
};
|
|
180
186
|
export declare const platformPalette: {
|
|
181
187
|
readonly lightBeige: "#FFFBF8";
|
|
182
188
|
readonly gold: "#8A7300";
|
package/dist/variables/colors.js
CHANGED
|
@@ -126,7 +126,7 @@ export const platformSwatches = {
|
|
|
126
126
|
'300': '#B3CCFF'
|
|
127
127
|
}
|
|
128
128
|
};
|
|
129
|
-
const truePlatformColors = {
|
|
129
|
+
export const truePlatformColors = {
|
|
130
130
|
lightBeige: platformSwatches.beige[0],
|
|
131
131
|
gold: platformSwatches.gold[800],
|
|
132
132
|
teal: platformSwatches.teal[500],
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/gamut-styles",
|
|
3
3
|
"description": "Styleguide & Component library for codecademy.com",
|
|
4
|
-
"version": "17.5.2-alpha.
|
|
4
|
+
"version": "17.5.2-alpha.b7b030.0",
|
|
5
5
|
"author": "Jake Hiller <jake@codecademy.com>",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@codecademy/variance": "0.22.1",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "nx build @codecademy/gamut-styles"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "d2faba8ebd65d1fac9a69ce59f7eda29dea8fbe7"
|
|
38
38
|
}
|