tuix-webcomponents 0.0.37 → 0.0.39
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.
|
@@ -30,7 +30,8 @@ export declare enum TextVariant {
|
|
|
30
30
|
DARK_BLUE = "dark_blue",
|
|
31
31
|
TITLE_BLUE = "title_blue",
|
|
32
32
|
SECTION = "section",
|
|
33
|
-
STROKE = "stroke"
|
|
33
|
+
STROKE = "stroke",
|
|
34
|
+
FIELD_TEXT = "field_text"
|
|
34
35
|
}
|
|
35
36
|
export declare const colorText: Record<TextVariant, string>;
|
|
36
37
|
export declare const colorTextDark: Record<TextVariant, string>;
|
|
@@ -35,6 +35,7 @@ export var TextVariant;
|
|
|
35
35
|
TextVariant["TITLE_BLUE"] = "title_blue";
|
|
36
36
|
TextVariant["SECTION"] = "section";
|
|
37
37
|
TextVariant["STROKE"] = "stroke";
|
|
38
|
+
TextVariant["FIELD_TEXT"] = "field_text";
|
|
38
39
|
})(TextVariant || (TextVariant = {}));
|
|
39
40
|
export const colorText = {
|
|
40
41
|
[TextVariant.MAIN]: Palette.MAIN,
|
|
@@ -53,6 +54,7 @@ export const colorText = {
|
|
|
53
54
|
[TextVariant.DARK]: Palette.BLACK,
|
|
54
55
|
[TextVariant.DARK_BLUE]: Palette.DARK_MAIN,
|
|
55
56
|
[TextVariant.TITLE_BLUE]: Palette.DARK_MAIN,
|
|
57
|
+
[TextVariant.FIELD_TEXT]: Palette.PRIMARY_900,
|
|
56
58
|
};
|
|
57
59
|
export const colorTextDark = {
|
|
58
60
|
...colorText,
|
|
@@ -69,4 +71,5 @@ export const colorTextDark = {
|
|
|
69
71
|
[TextVariant.DARK_BLUE]: DarkPalette.PRIMARY_800,
|
|
70
72
|
[TextVariant.TITLE_BLUE]: DarkPalette.PRIMARY_300,
|
|
71
73
|
[TextVariant.SECTION]: Palette.PRIMARY_300,
|
|
74
|
+
[TextVariant.FIELD_TEXT]: DarkPalette.PRIMARY_50,
|
|
72
75
|
};
|
package/package.json
CHANGED