1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix *.modules.scss that don't get correctly typed

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-06-01 08:40:16 -04:00
parent f12851ff3b
commit 0418db19e6
4 changed files with 6 additions and 8 deletions

View File

@ -3,6 +3,8 @@
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
@import "../../components/mixins.scss";
.AddClusters {
--flex-gap: calc(var(--unit) * 2);

View File

@ -3,6 +3,8 @@
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
@import "../../components/mixins.scss";
.KubeConfigDialog {
:global(.Wizard) {
width: 50vw;

View File

@ -3,6 +3,8 @@
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
@import "../../components/mixins.scss";
.Switch {
--thumb-size: 2rem;
--thumb-color: hsl(0 0% 100%);

8
types/mocks.d.ts vendored
View File

@ -10,14 +10,6 @@ declare module "@hapi/subtext"
// Support import for custom module extensions
// https://www.typescriptlang.org/docs/handbook/modules.html#wildcard-module-declarations
declare module "*.module.scss" {
const classes: { [key: string]: string };
export default classes;
}
declare module "*.module.css" {
const classes: { [key: string]: string };
export default classes;
}
declare module "*.scss" {
const content: string;
export = content;