fix: build

This commit is contained in:
Razboy20
2024-03-07 18:25:57 -06:00
parent 51bbd6590b
commit 60ab140c55
4 changed files with 173 additions and 14 deletions

View File

@@ -18,7 +18,5 @@
$medium_size: 16px;
:export {
normal_weight: $normal_weight;
medium_size: $medium_size;
}

View File

@@ -5,12 +5,6 @@ export interface IWeights {
normal_weight: number;
}
/**
* the type for all the size scss variables exported from fonts.module.scss
*/
export interface ISizes {
medium_size: number;
}
/** A utility type that removes the _weight postfix from the variable names for weights */
export type Weight = keyof IWeights extends `${infer U}_weight` ? U : never;