@xhsreds/reds-token-next 0.0.5-beat123

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.
Files changed (48) hide show
  1. package/lib/cjs/const/colors/always.js +54 -0
  2. package/lib/cjs/const/colors/always.js.map +1 -0
  3. package/lib/cjs/const/colors/dark.js +74 -0
  4. package/lib/cjs/const/colors/dark.js.map +1 -0
  5. package/lib/cjs/const/colors/light.js +74 -0
  6. package/lib/cjs/const/colors/light.js.map +1 -0
  7. package/lib/cjs/const/const/fontWeight.js +11 -0
  8. package/lib/cjs/const/const/fontWeight.js.map +1 -0
  9. package/lib/cjs/const/number/index.js +126 -0
  10. package/lib/cjs/const/number/index.js.map +1 -0
  11. package/lib/cjs/const/typography/index.js +108 -0
  12. package/lib/cjs/const/typography/index.js.map +1 -0
  13. package/lib/cjs/index.js +18 -0
  14. package/lib/cjs/index.js.map +1 -0
  15. package/lib/esm/const/colors/always.js +28 -0
  16. package/lib/esm/const/colors/always.js.map +1 -0
  17. package/lib/esm/const/colors/dark.js +38 -0
  18. package/lib/esm/const/colors/dark.js.map +1 -0
  19. package/lib/esm/const/colors/light.js +38 -0
  20. package/lib/esm/const/colors/light.js.map +1 -0
  21. package/lib/esm/const/const/fontWeight.js +9 -0
  22. package/lib/esm/const/const/fontWeight.js.map +1 -0
  23. package/lib/esm/const/number/index.js +65 -0
  24. package/lib/esm/const/number/index.js.map +1 -0
  25. package/lib/esm/const/typography/index.js +56 -0
  26. package/lib/esm/const/typography/index.js.map +1 -0
  27. package/lib/esm/index.js +13 -0
  28. package/lib/esm/index.js.map +1 -0
  29. package/lib/types/const/colors/always.d.ts +27 -0
  30. package/lib/types/const/colors/dark.d.ts +37 -0
  31. package/lib/types/const/colors/light.d.ts +37 -0
  32. package/lib/types/const/const/fontWeight.d.ts +6 -0
  33. package/lib/types/const/number/index.d.ts +62 -0
  34. package/lib/types/const/typography/index.d.ts +53 -0
  35. package/lib/types/index.d.ts +13 -0
  36. package/lib/types/interface/index.d.ts +9 -0
  37. package/package.json +16 -0
  38. package/rollup.config.js +37 -0
  39. package/src/const/colors/always.ts +25 -0
  40. package/src/const/colors/dark.ts +35 -0
  41. package/src/const/colors/light.ts +35 -0
  42. package/src/const/const/fontWeight.ts +10 -0
  43. package/src/const/index.ts +6 -0
  44. package/src/const/number/index.ts +62 -0
  45. package/src/const/typography/index.ts +53 -0
  46. package/src/index.ts +2 -0
  47. package/src/interface/index.ts +7 -0
  48. package/tsconfig.json +7 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"light.js","sources":["../../../../src/const/colors/light.ts"],"sourcesContent":["export const Bg = \"rgba(255, 255, 255, 1)\";\nexport const Bg0 = \"rgba(245, 245, 245, 1)\";\nexport const Bg0Lighter = \"rgba(250, 250, 250, 1)\";\nexport const Bg1 = \"rgba(245, 245, 245, 1)\";\nexport const Bg2 = \"rgba(255, 255, 255, 1)\";\nexport const Title = \"rgba(0, 0, 0, 0.8)\";\nexport const Paragraph = \"rgba(0, 0, 0, 0.62)\";\nexport const Description = \"rgba(0, 0, 0, 0.45)\";\nexport const Disabled = \"rgba(0, 0, 0, 0.27)\";\nexport const Placeholder = \"rgba(0, 0, 0, 0.27)\";\nexport const Link = \"rgba(19, 54, 103, 1)\";\nexport const LinkAccent = \"rgba(61, 138, 245, 1)\";\nexport const Fill1 = \"rgba(48, 48, 52, 0.05)\";\nexport const Fill2 = \"rgba(48, 48, 52, 0.1)\";\nexport const Fill3 = \"rgba(48, 48, 52, 0.2)\";\nexport const Fill4 = \"rgba(48, 48, 52, 0.5)\";\nexport const Fill5 = \"rgba(48, 48, 52, 0.99)\";\nexport const InvertedFill1 = \"rgba(255, 255, 255, 0.04)\";\nexport const InvertedFill2 = \"rgba(255, 255, 255, 0.08)\";\nexport const InvertedFill3 = \"rgba(255, 255, 255, 0.13)\";\nexport const InvertedFill4 = \"rgba(255, 255, 255, 0.32)\";\nexport const InvertedFill5 = \"rgba(255, 255, 255, 0.99)\";\nexport const Separator = \"rgba(0, 0, 0, 0.08)\";\nexport const Separator2 = \"rgba(0, 0, 0, 0.2)\";\nexport const OpaqueSeparator = \"rgba(234, 234, 234, 1)\";\nexport const Primary = \"rgba(255, 36, 66, 1)\";\nexport const Primary2 = \"rgba(255, 237, 240, 1)\";\nexport const Warning = \"rgba(255, 125, 3, 1)\";\nexport const Warning2 = \"rgba(255, 242, 230, 1)\";\nexport const Success = \"rgba(2, 185, 64, 1)\";\nexport const Success2 = \"rgba(234, 248, 239, 1)\";\nexport const Info = \"rgba(61, 138, 245, 1)\";\nexport const Info2 = \"rgba(236, 244, 254, 1)\";\nexport const White = \"rgba(255, 255, 255, 1)\";\nexport const Black = \"rgba(0, 0, 0, 1)\";\n"],"names":[],"mappings":"AAAO,MAAM,EAAK,GAAA,yBAAA;AACX,MAAM,GAAM,GAAA,yBAAA;AACZ,MAAM,UAAa,GAAA,yBAAA;AACnB,MAAM,GAAM,GAAA,yBAAA;AACZ,MAAM,GAAM,GAAA,yBAAA;AACZ,MAAM,KAAQ,GAAA,qBAAA;AACd,MAAM,SAAY,GAAA,sBAAA;AAClB,MAAM,WAAc,GAAA,sBAAA;AACpB,MAAM,QAAW,GAAA,sBAAA;AACjB,MAAM,WAAc,GAAA,sBAAA;AACpB,MAAM,IAAO,GAAA,uBAAA;AACb,MAAM,UAAa,GAAA,wBAAA;AACnB,MAAM,KAAQ,GAAA,yBAAA;AACd,MAAM,KAAQ,GAAA,wBAAA;AACd,MAAM,KAAQ,GAAA,wBAAA;AACd,MAAM,KAAQ,GAAA,wBAAA;AACd,MAAM,KAAQ,GAAA,yBAAA;AACd,MAAM,aAAgB,GAAA,4BAAA;AACtB,MAAM,aAAgB,GAAA,4BAAA;AACtB,MAAM,aAAgB,GAAA,4BAAA;AACtB,MAAM,aAAgB,GAAA,4BAAA;AACtB,MAAM,aAAgB,GAAA,4BAAA;AACtB,MAAM,SAAY,GAAA,sBAAA;AAClB,MAAM,UAAa,GAAA,qBAAA;AACnB,MAAM,eAAkB,GAAA,yBAAA;AACxB,MAAM,OAAU,GAAA,uBAAA;AAChB,MAAM,QAAW,GAAA,yBAAA;AACjB,MAAM,OAAU,GAAA,uBAAA;AAChB,MAAM,QAAW,GAAA,yBAAA;AACjB,MAAM,OAAU,GAAA,sBAAA;AAChB,MAAM,QAAW,GAAA,yBAAA;AACjB,MAAM,IAAO,GAAA,wBAAA;AACb,MAAM,KAAQ,GAAA,yBAAA;AACd,MAAM,KAAQ,GAAA,yBAAA;AACd,MAAM,KAAQ,GAAA;;;;"}
@@ -0,0 +1,9 @@
1
+ const FontWeight = {
2
+ Regular: "400",
3
+ Medium: "500",
4
+ Semibold: "600",
5
+ Bold: "700"
6
+ };
7
+
8
+ export { FontWeight };
9
+ //# sourceMappingURL=fontWeight.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fontWeight.js","sources":["../../../../src/const/const/fontWeight.ts"],"sourcesContent":["export interface IFontWeight {\n [key: string]: \"400\" | \"500\" | \"600\" | \"700\";\n}\n\nexport const FontWeight: IFontWeight = {\n Regular: \"400\",\n Medium: \"500\",\n Semibold: \"600\",\n Bold: \"700\",\n};\n"],"names":[],"mappings":"AAIO,MAAM,UAA0B,GAAA;AAAA,EACrC,OAAS,EAAA,KAAA;AAAA,EACT,MAAQ,EAAA,KAAA;AAAA,EACR,QAAU,EAAA,KAAA;AAAA,EACV,IAAM,EAAA,KAAA;AACR;;;;"}
@@ -0,0 +1,65 @@
1
+ import { FontWeight } from '../const/fontWeight.js';
2
+
3
+ const H1NumberFontWeight = FontWeight.Medium;
4
+ const H1NumberFontSize = 32;
5
+ const H1NumberLineHeight = 40;
6
+ const H1NumberEmphasizedFontWeight = FontWeight.Bold;
7
+ const H1NumberEmphasizedFontSize = 32;
8
+ const H1NumberEmphasizedLineHeight = 40;
9
+ const H2NumberFontWeight = FontWeight.Medium;
10
+ const H2NumberFontSize = 24;
11
+ const H2NumberLineHeight = 32;
12
+ const H2NumberEmphasizedFontWeight = FontWeight.Bold;
13
+ const H2NumberEmphasizedFontSize = 24;
14
+ const H2NumberEmphasizedLineHeight = 32;
15
+ const H3NumberFontWeight = FontWeight.Medium;
16
+ const H3NumberFontSize = 20;
17
+ const H3NumberLineHeight = 28;
18
+ const H3NumberEmphasizedFontWeight = FontWeight.Bold;
19
+ const H3NumberEmphasizedFontSize = 20;
20
+ const H3NumberEmphasizedLineHeight = 28;
21
+ const T1NumberFontWeight = FontWeight.Medium;
22
+ const T1NumberFontSize = 18;
23
+ const T1NumberLineHeight = 26;
24
+ const T1NumberEmphasizedFontWeight = FontWeight.Bold;
25
+ const T1NumberEmphasizedFontSize = 18;
26
+ const T1NumberEmphasizedLineHeight = 26;
27
+ const T2NumberFontWeight = FontWeight.Medium;
28
+ const T2NumberFontSize = 16;
29
+ const T2NumberLineHeight = 24;
30
+ const T2NumberEmphasizedFontWeight = FontWeight.Bold;
31
+ const T2NumberEmphasizedFontSize = 16;
32
+ const T2NumberEmphasizedLineHeight = 24;
33
+ const T3NumberFontWeight = FontWeight.Medium;
34
+ const T3NumberFontSize = 14;
35
+ const T3NumberLineHeight = 20;
36
+ const T3NumberEmphasizedFontWeight = FontWeight.Bold;
37
+ const T3NumberEmphasizedFontSize = 14;
38
+ const T3NumberEmphasizedLineHeight = 20;
39
+ const B1NumberFontWeight = FontWeight.Regular;
40
+ const B1NumberFontSize = 16;
41
+ const B1NumberLineHeight = 24;
42
+ const B1NumberEmphasizedFontWeight = FontWeight.Medium;
43
+ const B1NumberEmphasizedFontSize = 16;
44
+ const B1NumberEmphasizedLineHeight = 24;
45
+ const B2NumberFontWeight = FontWeight.Regular;
46
+ const B2NumberFontSize = 14;
47
+ const B2NumberLineHeight = 20;
48
+ const B2NumberEmphasizedFontWeight = FontWeight.Medium;
49
+ const B2NumberEmphasizedFontSize = 14;
50
+ const B2NumberEmphasizedLineHeight = 20;
51
+ const C2NumberFontWeight = FontWeight.Regular;
52
+ const C2NumberFontSize = 12;
53
+ const C2NumberLineHeight = 18;
54
+ const C2NumberEmphasizedFontWeight = FontWeight.Medium;
55
+ const C2NumberEmphasizedFontSize = 12;
56
+ const C2NumberEmphasizedLineHeight = 18;
57
+ const C3NumberFontWeight = FontWeight.Regular;
58
+ const C3NumberFontSize = 10;
59
+ const C3NumberLineHeight = 14;
60
+ const C3NumberEmphasizedFontWeight = FontWeight.Medium;
61
+ const C3NumberEmphasizedFontSize = 10;
62
+ const C3NumberEmphasizedLineHeight = 14;
63
+
64
+ export { B1NumberEmphasizedFontSize, B1NumberEmphasizedFontWeight, B1NumberEmphasizedLineHeight, B1NumberFontSize, B1NumberFontWeight, B1NumberLineHeight, B2NumberEmphasizedFontSize, B2NumberEmphasizedFontWeight, B2NumberEmphasizedLineHeight, B2NumberFontSize, B2NumberFontWeight, B2NumberLineHeight, C2NumberEmphasizedFontSize, C2NumberEmphasizedFontWeight, C2NumberEmphasizedLineHeight, C2NumberFontSize, C2NumberFontWeight, C2NumberLineHeight, C3NumberEmphasizedFontSize, C3NumberEmphasizedFontWeight, C3NumberEmphasizedLineHeight, C3NumberFontSize, C3NumberFontWeight, C3NumberLineHeight, H1NumberEmphasizedFontSize, H1NumberEmphasizedFontWeight, H1NumberEmphasizedLineHeight, H1NumberFontSize, H1NumberFontWeight, H1NumberLineHeight, H2NumberEmphasizedFontSize, H2NumberEmphasizedFontWeight, H2NumberEmphasizedLineHeight, H2NumberFontSize, H2NumberFontWeight, H2NumberLineHeight, H3NumberEmphasizedFontSize, H3NumberEmphasizedFontWeight, H3NumberEmphasizedLineHeight, H3NumberFontSize, H3NumberFontWeight, H3NumberLineHeight, T1NumberEmphasizedFontSize, T1NumberEmphasizedFontWeight, T1NumberEmphasizedLineHeight, T1NumberFontSize, T1NumberFontWeight, T1NumberLineHeight, T2NumberEmphasizedFontSize, T2NumberEmphasizedFontWeight, T2NumberEmphasizedLineHeight, T2NumberFontSize, T2NumberFontWeight, T2NumberLineHeight, T3NumberEmphasizedFontSize, T3NumberEmphasizedFontWeight, T3NumberEmphasizedLineHeight, T3NumberFontSize, T3NumberFontWeight, T3NumberLineHeight };
65
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/const/number/index.ts"],"sourcesContent":["import { FontWeight } from \"../const/fontWeight\";\n\nexport const H1NumberFontWeight = FontWeight.Medium;\nexport const H1NumberFontSize = 32;\nexport const H1NumberLineHeight = 40;\nexport const H1NumberEmphasizedFontWeight = FontWeight.Bold;\nexport const H1NumberEmphasizedFontSize = 32;\nexport const H1NumberEmphasizedLineHeight = 40;\nexport const H2NumberFontWeight = FontWeight.Medium;\nexport const H2NumberFontSize = 24;\nexport const H2NumberLineHeight = 32;\nexport const H2NumberEmphasizedFontWeight = FontWeight.Bold;\nexport const H2NumberEmphasizedFontSize = 24;\nexport const H2NumberEmphasizedLineHeight = 32;\nexport const H3NumberFontWeight = FontWeight.Medium;\nexport const H3NumberFontSize = 20;\nexport const H3NumberLineHeight = 28;\nexport const H3NumberEmphasizedFontWeight = FontWeight.Bold;\nexport const H3NumberEmphasizedFontSize = 20;\nexport const H3NumberEmphasizedLineHeight = 28;\nexport const T1NumberFontWeight = FontWeight.Medium;\nexport const T1NumberFontSize = 18;\nexport const T1NumberLineHeight = 26;\nexport const T1NumberEmphasizedFontWeight = FontWeight.Bold;\nexport const T1NumberEmphasizedFontSize = 18;\nexport const T1NumberEmphasizedLineHeight = 26;\nexport const T2NumberFontWeight = FontWeight.Medium;\nexport const T2NumberFontSize = 16;\nexport const T2NumberLineHeight = 24;\nexport const T2NumberEmphasizedFontWeight = FontWeight.Bold;\nexport const T2NumberEmphasizedFontSize = 16;\nexport const T2NumberEmphasizedLineHeight = 24;\nexport const T3NumberFontWeight = FontWeight.Medium;\nexport const T3NumberFontSize = 14;\nexport const T3NumberLineHeight = 20;\nexport const T3NumberEmphasizedFontWeight = FontWeight.Bold;\nexport const T3NumberEmphasizedFontSize = 14;\nexport const T3NumberEmphasizedLineHeight = 20;\nexport const B1NumberFontWeight = FontWeight.Regular;\nexport const B1NumberFontSize = 16;\nexport const B1NumberLineHeight = 24;\nexport const B1NumberEmphasizedFontWeight = FontWeight.Medium;\nexport const B1NumberEmphasizedFontSize = 16;\nexport const B1NumberEmphasizedLineHeight = 24;\nexport const B2NumberFontWeight = FontWeight.Regular;\nexport const B2NumberFontSize = 14;\nexport const B2NumberLineHeight = 20;\nexport const B2NumberEmphasizedFontWeight = FontWeight.Medium;\nexport const B2NumberEmphasizedFontSize = 14;\nexport const B2NumberEmphasizedLineHeight = 20;\nexport const C2NumberFontWeight = FontWeight.Regular;\nexport const C2NumberFontSize = 12;\nexport const C2NumberLineHeight = 18;\nexport const C2NumberEmphasizedFontWeight = FontWeight.Medium;\nexport const C2NumberEmphasizedFontSize = 12;\nexport const C2NumberEmphasizedLineHeight = 18;\nexport const C3NumberFontWeight = FontWeight.Regular;\nexport const C3NumberFontSize = 10;\nexport const C3NumberLineHeight = 14;\nexport const C3NumberEmphasizedFontWeight = FontWeight.Medium;\nexport const C3NumberEmphasizedFontSize = 10;\nexport const C3NumberEmphasizedLineHeight = 14;\n"],"names":[],"mappings":";;AAEO,MAAM,qBAAqB,UAAW,CAAA,OAAA;AACtC,MAAM,gBAAmB,GAAA,GAAA;AACzB,MAAM,kBAAqB,GAAA,GAAA;AAC3B,MAAM,+BAA+B,UAAW,CAAA,KAAA;AAChD,MAAM,0BAA6B,GAAA,GAAA;AACnC,MAAM,4BAA+B,GAAA,GAAA;AACrC,MAAM,qBAAqB,UAAW,CAAA,OAAA;AACtC,MAAM,gBAAmB,GAAA,GAAA;AACzB,MAAM,kBAAqB,GAAA,GAAA;AAC3B,MAAM,+BAA+B,UAAW,CAAA,KAAA;AAChD,MAAM,0BAA6B,GAAA,GAAA;AACnC,MAAM,4BAA+B,GAAA,GAAA;AACrC,MAAM,qBAAqB,UAAW,CAAA,OAAA;AACtC,MAAM,gBAAmB,GAAA,GAAA;AACzB,MAAM,kBAAqB,GAAA,GAAA;AAC3B,MAAM,+BAA+B,UAAW,CAAA,KAAA;AAChD,MAAM,0BAA6B,GAAA,GAAA;AACnC,MAAM,4BAA+B,GAAA,GAAA;AACrC,MAAM,qBAAqB,UAAW,CAAA,OAAA;AACtC,MAAM,gBAAmB,GAAA,GAAA;AACzB,MAAM,kBAAqB,GAAA,GAAA;AAC3B,MAAM,+BAA+B,UAAW,CAAA,KAAA;AAChD,MAAM,0BAA6B,GAAA,GAAA;AACnC,MAAM,4BAA+B,GAAA,GAAA;AACrC,MAAM,qBAAqB,UAAW,CAAA,OAAA;AACtC,MAAM,gBAAmB,GAAA,GAAA;AACzB,MAAM,kBAAqB,GAAA,GAAA;AAC3B,MAAM,+BAA+B,UAAW,CAAA,KAAA;AAChD,MAAM,0BAA6B,GAAA,GAAA;AACnC,MAAM,4BAA+B,GAAA,GAAA;AACrC,MAAM,qBAAqB,UAAW,CAAA,OAAA;AACtC,MAAM,gBAAmB,GAAA,GAAA;AACzB,MAAM,kBAAqB,GAAA,GAAA;AAC3B,MAAM,+BAA+B,UAAW,CAAA,KAAA;AAChD,MAAM,0BAA6B,GAAA,GAAA;AACnC,MAAM,4BAA+B,GAAA,GAAA;AACrC,MAAM,qBAAqB,UAAW,CAAA,QAAA;AACtC,MAAM,gBAAmB,GAAA,GAAA;AACzB,MAAM,kBAAqB,GAAA,GAAA;AAC3B,MAAM,+BAA+B,UAAW,CAAA,OAAA;AAChD,MAAM,0BAA6B,GAAA,GAAA;AACnC,MAAM,4BAA+B,GAAA,GAAA;AACrC,MAAM,qBAAqB,UAAW,CAAA,QAAA;AACtC,MAAM,gBAAmB,GAAA,GAAA;AACzB,MAAM,kBAAqB,GAAA,GAAA;AAC3B,MAAM,+BAA+B,UAAW,CAAA,OAAA;AAChD,MAAM,0BAA6B,GAAA,GAAA;AACnC,MAAM,4BAA+B,GAAA,GAAA;AACrC,MAAM,qBAAqB,UAAW,CAAA,QAAA;AACtC,MAAM,gBAAmB,GAAA,GAAA;AACzB,MAAM,kBAAqB,GAAA,GAAA;AAC3B,MAAM,+BAA+B,UAAW,CAAA,OAAA;AAChD,MAAM,0BAA6B,GAAA,GAAA;AACnC,MAAM,4BAA+B,GAAA,GAAA;AACrC,MAAM,qBAAqB,UAAW,CAAA,QAAA;AACtC,MAAM,gBAAmB,GAAA,GAAA;AACzB,MAAM,kBAAqB,GAAA,GAAA;AAC3B,MAAM,+BAA+B,UAAW,CAAA,OAAA;AAChD,MAAM,0BAA6B,GAAA,GAAA;AACnC,MAAM,4BAA+B,GAAA;;;;"}
@@ -0,0 +1,56 @@
1
+ import { FontWeight } from '../const/fontWeight.js';
2
+
3
+ const H1FontWeight = FontWeight.Semibold;
4
+ const H1FontSize = 32;
5
+ const H1LineHeight = 40;
6
+ const H2FontWeight = FontWeight.Semibold;
7
+ const H2FontSize = 24;
8
+ const H2LineHeight = 32;
9
+ const H3FontWeight = FontWeight.Semibold;
10
+ const H3FontSize = 20;
11
+ const H3LineHeight = 28;
12
+ const T1FontWeight = FontWeight.Semibold;
13
+ const T1FontSize = 18;
14
+ const T1LineHeight = 26;
15
+ const T2FontWeight = FontWeight.Medium;
16
+ const T2FontSize = 16;
17
+ const T2LineHeight = 24;
18
+ const T3FontWeight = FontWeight.Medium;
19
+ const T3FontSize = 14;
20
+ const T3LineHeight = 20;
21
+ const B1FontWeight = FontWeight.Regular;
22
+ const B1FontSize = 16;
23
+ const B1LineHeight = 24;
24
+ const B1LooseFontWeight = FontWeight.Regular;
25
+ const B1LooseFontSize = 16;
26
+ const B1LooseLineHeight = 26;
27
+ const B2FontWeight = FontWeight.Regular;
28
+ const B2FontSize = 14;
29
+ const B2LineHeight = 20;
30
+ const B2LooseFontWeight = FontWeight.Regular;
31
+ const B2LooseFontSize = 14;
32
+ const B2LooseLineHeight = 22;
33
+ const B2LooseSwitchFontWeight = FontWeight.Regular;
34
+ const B2LooseSwitchFontSize = 15;
35
+ const B2LooseSwitchLineHeight = 22;
36
+ const C1FontWeight = FontWeight.Regular;
37
+ const C1FontSize = 13;
38
+ const C1LineHeight = 20;
39
+ const C1EmphaFontSizedFontWeight = FontWeight.Medium;
40
+ const C1EmphaFontSizedFontSize = 13;
41
+ const C1EmphaFontSizedLineHeight = 20;
42
+ const C2FontWeight = FontWeight.Regular;
43
+ const C2FontSize = 12;
44
+ const C2LineHeight = 18;
45
+ const C2EmphaFontSizedFontWeight = FontWeight.Medium;
46
+ const C2EmphaFontSizedFontSize = 12;
47
+ const C2EmphaFontSizedLineHeight = 18;
48
+ const C3FontWeight = FontWeight.Regular;
49
+ const C3FontSize = 10;
50
+ const C3LineHeight = 14;
51
+ const C3EmphaFontSizedFontWeight = FontWeight.Medium;
52
+ const C3EmphaFontSizedFontSize = 10;
53
+ const C3EmphaFontSizedLineHeight = 14;
54
+
55
+ export { B1FontSize, B1FontWeight, B1LineHeight, B1LooseFontSize, B1LooseFontWeight, B1LooseLineHeight, B2FontSize, B2FontWeight, B2LineHeight, B2LooseFontSize, B2LooseFontWeight, B2LooseLineHeight, B2LooseSwitchFontSize, B2LooseSwitchFontWeight, B2LooseSwitchLineHeight, C1EmphaFontSizedFontSize, C1EmphaFontSizedFontWeight, C1EmphaFontSizedLineHeight, C1FontSize, C1FontWeight, C1LineHeight, C2EmphaFontSizedFontSize, C2EmphaFontSizedFontWeight, C2EmphaFontSizedLineHeight, C2FontSize, C2FontWeight, C2LineHeight, C3EmphaFontSizedFontSize, C3EmphaFontSizedFontWeight, C3EmphaFontSizedLineHeight, C3FontSize, C3FontWeight, C3LineHeight, H1FontSize, H1FontWeight, H1LineHeight, H2FontSize, H2FontWeight, H2LineHeight, H3FontSize, H3FontWeight, H3LineHeight, T1FontSize, T1FontWeight, T1LineHeight, T2FontSize, T2FontWeight, T2LineHeight, T3FontSize, T3FontWeight, T3LineHeight };
56
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/const/typography/index.ts"],"sourcesContent":["import { FontWeight } from \"../const/fontWeight\";\n\nexport const H1FontWeight = FontWeight.Semibold;\nexport const H1FontSize = 32;\nexport const H1LineHeight = 40;\nexport const H2FontWeight = FontWeight.Semibold;\nexport const H2FontSize = 24;\nexport const H2LineHeight = 32;\nexport const H3FontWeight = FontWeight.Semibold;\nexport const H3FontSize = 20;\nexport const H3LineHeight = 28;\nexport const T1FontWeight = FontWeight.Semibold;\nexport const T1FontSize = 18;\nexport const T1LineHeight = 26;\nexport const T2FontWeight = FontWeight.Medium;\nexport const T2FontSize = 16;\nexport const T2LineHeight = 24;\nexport const T3FontWeight = FontWeight.Medium;\nexport const T3FontSize = 14;\nexport const T3LineHeight = 20;\nexport const B1FontWeight = FontWeight.Regular;\nexport const B1FontSize = 16;\nexport const B1LineHeight = 24;\nexport const B1LooseFontWeight = FontWeight.Regular;\nexport const B1LooseFontSize = 16;\nexport const B1LooseLineHeight = 26;\nexport const B2FontWeight = FontWeight.Regular;\nexport const B2FontSize = 14;\nexport const B2LineHeight = 20;\nexport const B2LooseFontWeight = FontWeight.Regular;\nexport const B2LooseFontSize = 14;\nexport const B2LooseLineHeight = 22;\nexport const B2LooseSwitchFontWeight = FontWeight.Regular;\nexport const B2LooseSwitchFontSize = 15;\nexport const B2LooseSwitchLineHeight = 22;\nexport const C1FontWeight = FontWeight.Regular;\nexport const C1FontSize = 13;\nexport const C1LineHeight = 20;\nexport const C1EmphaFontSizedFontWeight = FontWeight.Medium;\nexport const C1EmphaFontSizedFontSize = 13;\nexport const C1EmphaFontSizedLineHeight = 20;\nexport const C2FontWeight = FontWeight.Regular;\nexport const C2FontSize = 12;\nexport const C2LineHeight = 18;\nexport const C2EmphaFontSizedFontWeight = FontWeight.Medium;\nexport const C2EmphaFontSizedFontSize = 12;\nexport const C2EmphaFontSizedLineHeight = 18;\nexport const C3FontWeight = FontWeight.Regular;\nexport const C3FontSize = 10;\nexport const C3LineHeight = 14;\nexport const C3EmphaFontSizedFontWeight = FontWeight.Medium;\nexport const C3EmphaFontSizedFontSize = 10;\nexport const C3EmphaFontSizedLineHeight = 14;\n"],"names":[],"mappings":";;AAEO,MAAM,eAAe,UAAW,CAAA,SAAA;AAChC,MAAM,UAAa,GAAA,GAAA;AACnB,MAAM,YAAe,GAAA,GAAA;AACrB,MAAM,eAAe,UAAW,CAAA,SAAA;AAChC,MAAM,UAAa,GAAA,GAAA;AACnB,MAAM,YAAe,GAAA,GAAA;AACrB,MAAM,eAAe,UAAW,CAAA,SAAA;AAChC,MAAM,UAAa,GAAA,GAAA;AACnB,MAAM,YAAe,GAAA,GAAA;AACrB,MAAM,eAAe,UAAW,CAAA,SAAA;AAChC,MAAM,UAAa,GAAA,GAAA;AACnB,MAAM,YAAe,GAAA,GAAA;AACrB,MAAM,eAAe,UAAW,CAAA,OAAA;AAChC,MAAM,UAAa,GAAA,GAAA;AACnB,MAAM,YAAe,GAAA,GAAA;AACrB,MAAM,eAAe,UAAW,CAAA,OAAA;AAChC,MAAM,UAAa,GAAA,GAAA;AACnB,MAAM,YAAe,GAAA,GAAA;AACrB,MAAM,eAAe,UAAW,CAAA,QAAA;AAChC,MAAM,UAAa,GAAA,GAAA;AACnB,MAAM,YAAe,GAAA,GAAA;AACrB,MAAM,oBAAoB,UAAW,CAAA,QAAA;AACrC,MAAM,eAAkB,GAAA,GAAA;AACxB,MAAM,iBAAoB,GAAA,GAAA;AAC1B,MAAM,eAAe,UAAW,CAAA,QAAA;AAChC,MAAM,UAAa,GAAA,GAAA;AACnB,MAAM,YAAe,GAAA,GAAA;AACrB,MAAM,oBAAoB,UAAW,CAAA,QAAA;AACrC,MAAM,eAAkB,GAAA,GAAA;AACxB,MAAM,iBAAoB,GAAA,GAAA;AAC1B,MAAM,0BAA0B,UAAW,CAAA,QAAA;AAC3C,MAAM,qBAAwB,GAAA,GAAA;AAC9B,MAAM,uBAA0B,GAAA,GAAA;AAChC,MAAM,eAAe,UAAW,CAAA,QAAA;AAChC,MAAM,UAAa,GAAA,GAAA;AACnB,MAAM,YAAe,GAAA,GAAA;AACrB,MAAM,6BAA6B,UAAW,CAAA,OAAA;AAC9C,MAAM,wBAA2B,GAAA,GAAA;AACjC,MAAM,0BAA6B,GAAA,GAAA;AACnC,MAAM,eAAe,UAAW,CAAA,QAAA;AAChC,MAAM,UAAa,GAAA,GAAA;AACnB,MAAM,YAAe,GAAA,GAAA;AACrB,MAAM,6BAA6B,UAAW,CAAA,OAAA;AAC9C,MAAM,wBAA2B,GAAA,GAAA;AACjC,MAAM,0BAA6B,GAAA,GAAA;AACnC,MAAM,eAAe,UAAW,CAAA,QAAA;AAChC,MAAM,UAAa,GAAA,GAAA;AACnB,MAAM,YAAe,GAAA,GAAA;AACrB,MAAM,6BAA6B,UAAW,CAAA,OAAA;AAC9C,MAAM,wBAA2B,GAAA,GAAA;AACjC,MAAM,0BAA6B,GAAA;;;;"}
@@ -0,0 +1,13 @@
1
+ import * as always from './const/colors/always.js';
2
+ export { always as alwaysColor };
3
+ import * as light from './const/colors/light.js';
4
+ export { light as lightColor };
5
+ import * as dark from './const/colors/dark.js';
6
+ export { dark as darkColor };
7
+ import * as index from './const/typography/index.js';
8
+ export { index as typography };
9
+ import * as index$1 from './const/number/index.js';
10
+ export { index$1 as number };
11
+ import * as fontWeight from './const/const/fontWeight.js';
12
+ export { fontWeight };
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -0,0 +1,27 @@
1
+ declare const MaskBg = "rgba(0, 0, 0, 0.4)";
2
+ declare const LightTitle = "rgba(255, 255, 255, 0.84)";
3
+ declare const LightParagraph = "rgba(255, 255, 255, 0.56)";
4
+ declare const LightDescription = "rgba(255, 255, 255, 0.36)";
5
+ declare const LightDisabled = "rgba(255, 255, 255, 0.21)";
6
+ declare const DarkTitle = "rgba(0, 0, 0, 0.8)";
7
+ declare const DarkParagraph = "rgba(0, 0, 0, 0.62)";
8
+ declare const DarkDescription = "rgba(0, 0, 0, 0.45)";
9
+ declare const DarkDisabled = "rgba(0, 0, 0, 0.27)";
10
+ declare const LightFill1 = "rgba(255, 255, 255, 0.04)";
11
+ declare const LightFill2 = "rgba(255, 255, 255, 0.08)";
12
+ declare const LightFill3 = "rgba(255, 255, 255, 0.13)";
13
+ declare const LightFill4 = "rgba(255, 255, 255, 0.32)";
14
+ declare const LightFill5 = "rgba(255, 255, 255, 0.99)";
15
+ declare const DarkFill1 = "rgba(48, 48, 52, 0.05)";
16
+ declare const DarkFill2 = "rgba(48, 48, 52, 0.1)";
17
+ declare const DarkFill3 = "rgba(48, 48, 52, 0.2)";
18
+ declare const DarkFill4 = "rgba(48, 48, 52, 0.5)";
19
+ declare const DarkFill5 = "rgba(48, 48, 52, 0.99)";
20
+ declare const LightSeparator = "rgba(255, 255, 255, 0.07)";
21
+ declare const LightSeparator2 = "rgba(255, 255, 255, 0.16)";
22
+ declare const DarkSeparator = "rgba(0, 0, 0, 0.08)";
23
+ declare const DarkSeparator2 = "rgba(0, 0, 0, 0.2)";
24
+ declare const White = "rgba(255, 255, 255, 1)";
25
+ declare const Black = "rgba(0, 0, 0, 1)";
26
+
27
+ export { Black, DarkDescription, DarkDisabled, DarkFill1, DarkFill2, DarkFill3, DarkFill4, DarkFill5, DarkParagraph, DarkSeparator, DarkSeparator2, DarkTitle, LightDescription, LightDisabled, LightFill1, LightFill2, LightFill3, LightFill4, LightFill5, LightParagraph, LightSeparator, LightSeparator2, LightTitle, MaskBg, White };
@@ -0,0 +1,37 @@
1
+ declare const Bg = "rgba(25, 25, 30, 1)";
2
+ declare const Bg0 = "rgba(14, 14, 17, 1)";
3
+ declare const Bg0Lighter = "rgba(20, 20, 24, 1)";
4
+ declare const Bg1 = "rgba(34, 34, 38, 1)";
5
+ declare const Bg2 = "rgba(41, 41, 46, 1)";
6
+ declare const Title = "rgba(255, 255, 255, 0.84)";
7
+ declare const Paragraph = "rgba(255, 255, 255, 0.56)";
8
+ declare const Description = "rgba(255, 255, 255, 0.36)";
9
+ declare const Disabled = "rgba(255, 255, 255, 0.21)";
10
+ declare const Placeholder = "rgba(255, 255, 255, 0.21)";
11
+ declare const Link = "rgba(198, 217, 239, 1)";
12
+ declare const LinkAccent = "rgba(71, 144, 245, 1)";
13
+ declare const Fill1 = "rgba(255, 255, 255, 0.04)";
14
+ declare const Fill2 = "rgba(255, 255, 255, 0.08)";
15
+ declare const Fill3 = "rgba(255, 255, 255, 0.13)";
16
+ declare const Fill4 = "rgba(255, 255, 255, 0.32)";
17
+ declare const Fill5 = "rgba(255, 255, 255, 0.99)";
18
+ declare const InvertedFill1 = "rgba(48, 48, 52, 0.05)";
19
+ declare const InvertedFill2 = "rgba(48, 48, 52, 0.1)";
20
+ declare const InvertedFill3 = "rgba(48, 48, 52, 0.2)";
21
+ declare const InvertedFill4 = "rgba(48, 48, 52, 0.5)";
22
+ declare const InvertedFill5 = "rgba(48, 48, 52, 0.99)";
23
+ declare const Separator = "rgba(255, 255, 255, 0.07)";
24
+ declare const Separator2 = "rgba(255, 255, 255, 0.16)";
25
+ declare const OpaqueSeparator = "rgba(34, 34, 38, 1)";
26
+ declare const Primary = "rgba(255, 46, 77, 1)";
27
+ declare const Primary2 = "rgba(48, 28, 31, 1)";
28
+ declare const Warning = "rgba(255, 158, 61, 1)";
29
+ declare const Warning2 = "rgba(48, 39, 31, 1)";
30
+ declare const Success = "rgba(54, 226, 113, 1)";
31
+ declare const Success2 = "rgba(28, 46, 34, 1)";
32
+ declare const Info = "rgba(71, 144, 245, 1)";
33
+ declare const Info2 = "rgba(29, 38, 51, 1)";
34
+ declare const White = "rgba(0, 0, 0, 1)";
35
+ declare const Black = "rgba(255, 255, 255, 1)";
36
+
37
+ export { Bg, Bg0, Bg0Lighter, Bg1, Bg2, Black, Description, Disabled, Fill1, Fill2, Fill3, Fill4, Fill5, Info, Info2, InvertedFill1, InvertedFill2, InvertedFill3, InvertedFill4, InvertedFill5, Link, LinkAccent, OpaqueSeparator, Paragraph, Placeholder, Primary, Primary2, Separator, Separator2, Success, Success2, Title, Warning, Warning2, White };
@@ -0,0 +1,37 @@
1
+ declare const Bg = "rgba(255, 255, 255, 1)";
2
+ declare const Bg0 = "rgba(245, 245, 245, 1)";
3
+ declare const Bg0Lighter = "rgba(250, 250, 250, 1)";
4
+ declare const Bg1 = "rgba(245, 245, 245, 1)";
5
+ declare const Bg2 = "rgba(255, 255, 255, 1)";
6
+ declare const Title = "rgba(0, 0, 0, 0.8)";
7
+ declare const Paragraph = "rgba(0, 0, 0, 0.62)";
8
+ declare const Description = "rgba(0, 0, 0, 0.45)";
9
+ declare const Disabled = "rgba(0, 0, 0, 0.27)";
10
+ declare const Placeholder = "rgba(0, 0, 0, 0.27)";
11
+ declare const Link = "rgba(19, 54, 103, 1)";
12
+ declare const LinkAccent = "rgba(61, 138, 245, 1)";
13
+ declare const Fill1 = "rgba(48, 48, 52, 0.05)";
14
+ declare const Fill2 = "rgba(48, 48, 52, 0.1)";
15
+ declare const Fill3 = "rgba(48, 48, 52, 0.2)";
16
+ declare const Fill4 = "rgba(48, 48, 52, 0.5)";
17
+ declare const Fill5 = "rgba(48, 48, 52, 0.99)";
18
+ declare const InvertedFill1 = "rgba(255, 255, 255, 0.04)";
19
+ declare const InvertedFill2 = "rgba(255, 255, 255, 0.08)";
20
+ declare const InvertedFill3 = "rgba(255, 255, 255, 0.13)";
21
+ declare const InvertedFill4 = "rgba(255, 255, 255, 0.32)";
22
+ declare const InvertedFill5 = "rgba(255, 255, 255, 0.99)";
23
+ declare const Separator = "rgba(0, 0, 0, 0.08)";
24
+ declare const Separator2 = "rgba(0, 0, 0, 0.2)";
25
+ declare const OpaqueSeparator = "rgba(234, 234, 234, 1)";
26
+ declare const Primary = "rgba(255, 36, 66, 1)";
27
+ declare const Primary2 = "rgba(255, 237, 240, 1)";
28
+ declare const Warning = "rgba(255, 125, 3, 1)";
29
+ declare const Warning2 = "rgba(255, 242, 230, 1)";
30
+ declare const Success = "rgba(2, 185, 64, 1)";
31
+ declare const Success2 = "rgba(234, 248, 239, 1)";
32
+ declare const Info = "rgba(61, 138, 245, 1)";
33
+ declare const Info2 = "rgba(236, 244, 254, 1)";
34
+ declare const White = "rgba(255, 255, 255, 1)";
35
+ declare const Black = "rgba(0, 0, 0, 1)";
36
+
37
+ export { Bg, Bg0, Bg0Lighter, Bg1, Bg2, Black, Description, Disabled, Fill1, Fill2, Fill3, Fill4, Fill5, Info, Info2, InvertedFill1, InvertedFill2, InvertedFill3, InvertedFill4, InvertedFill5, Link, LinkAccent, OpaqueSeparator, Paragraph, Placeholder, Primary, Primary2, Separator, Separator2, Success, Success2, Title, Warning, Warning2, White };
@@ -0,0 +1,6 @@
1
+ interface IFontWeight {
2
+ [key: string]: "400" | "500" | "600" | "700";
3
+ }
4
+ declare const FontWeight: IFontWeight;
5
+
6
+ export { FontWeight, type IFontWeight };
@@ -0,0 +1,62 @@
1
+ declare const H1NumberFontWeight: "400" | "500" | "600" | "700";
2
+ declare const H1NumberFontSize = 32;
3
+ declare const H1NumberLineHeight = 40;
4
+ declare const H1NumberEmphasizedFontWeight: "400" | "500" | "600" | "700";
5
+ declare const H1NumberEmphasizedFontSize = 32;
6
+ declare const H1NumberEmphasizedLineHeight = 40;
7
+ declare const H2NumberFontWeight: "400" | "500" | "600" | "700";
8
+ declare const H2NumberFontSize = 24;
9
+ declare const H2NumberLineHeight = 32;
10
+ declare const H2NumberEmphasizedFontWeight: "400" | "500" | "600" | "700";
11
+ declare const H2NumberEmphasizedFontSize = 24;
12
+ declare const H2NumberEmphasizedLineHeight = 32;
13
+ declare const H3NumberFontWeight: "400" | "500" | "600" | "700";
14
+ declare const H3NumberFontSize = 20;
15
+ declare const H3NumberLineHeight = 28;
16
+ declare const H3NumberEmphasizedFontWeight: "400" | "500" | "600" | "700";
17
+ declare const H3NumberEmphasizedFontSize = 20;
18
+ declare const H3NumberEmphasizedLineHeight = 28;
19
+ declare const T1NumberFontWeight: "400" | "500" | "600" | "700";
20
+ declare const T1NumberFontSize = 18;
21
+ declare const T1NumberLineHeight = 26;
22
+ declare const T1NumberEmphasizedFontWeight: "400" | "500" | "600" | "700";
23
+ declare const T1NumberEmphasizedFontSize = 18;
24
+ declare const T1NumberEmphasizedLineHeight = 26;
25
+ declare const T2NumberFontWeight: "400" | "500" | "600" | "700";
26
+ declare const T2NumberFontSize = 16;
27
+ declare const T2NumberLineHeight = 24;
28
+ declare const T2NumberEmphasizedFontWeight: "400" | "500" | "600" | "700";
29
+ declare const T2NumberEmphasizedFontSize = 16;
30
+ declare const T2NumberEmphasizedLineHeight = 24;
31
+ declare const T3NumberFontWeight: "400" | "500" | "600" | "700";
32
+ declare const T3NumberFontSize = 14;
33
+ declare const T3NumberLineHeight = 20;
34
+ declare const T3NumberEmphasizedFontWeight: "400" | "500" | "600" | "700";
35
+ declare const T3NumberEmphasizedFontSize = 14;
36
+ declare const T3NumberEmphasizedLineHeight = 20;
37
+ declare const B1NumberFontWeight: "400" | "500" | "600" | "700";
38
+ declare const B1NumberFontSize = 16;
39
+ declare const B1NumberLineHeight = 24;
40
+ declare const B1NumberEmphasizedFontWeight: "400" | "500" | "600" | "700";
41
+ declare const B1NumberEmphasizedFontSize = 16;
42
+ declare const B1NumberEmphasizedLineHeight = 24;
43
+ declare const B2NumberFontWeight: "400" | "500" | "600" | "700";
44
+ declare const B2NumberFontSize = 14;
45
+ declare const B2NumberLineHeight = 20;
46
+ declare const B2NumberEmphasizedFontWeight: "400" | "500" | "600" | "700";
47
+ declare const B2NumberEmphasizedFontSize = 14;
48
+ declare const B2NumberEmphasizedLineHeight = 20;
49
+ declare const C2NumberFontWeight: "400" | "500" | "600" | "700";
50
+ declare const C2NumberFontSize = 12;
51
+ declare const C2NumberLineHeight = 18;
52
+ declare const C2NumberEmphasizedFontWeight: "400" | "500" | "600" | "700";
53
+ declare const C2NumberEmphasizedFontSize = 12;
54
+ declare const C2NumberEmphasizedLineHeight = 18;
55
+ declare const C3NumberFontWeight: "400" | "500" | "600" | "700";
56
+ declare const C3NumberFontSize = 10;
57
+ declare const C3NumberLineHeight = 14;
58
+ declare const C3NumberEmphasizedFontWeight: "400" | "500" | "600" | "700";
59
+ declare const C3NumberEmphasizedFontSize = 10;
60
+ declare const C3NumberEmphasizedLineHeight = 14;
61
+
62
+ export { B1NumberEmphasizedFontSize, B1NumberEmphasizedFontWeight, B1NumberEmphasizedLineHeight, B1NumberFontSize, B1NumberFontWeight, B1NumberLineHeight, B2NumberEmphasizedFontSize, B2NumberEmphasizedFontWeight, B2NumberEmphasizedLineHeight, B2NumberFontSize, B2NumberFontWeight, B2NumberLineHeight, C2NumberEmphasizedFontSize, C2NumberEmphasizedFontWeight, C2NumberEmphasizedLineHeight, C2NumberFontSize, C2NumberFontWeight, C2NumberLineHeight, C3NumberEmphasizedFontSize, C3NumberEmphasizedFontWeight, C3NumberEmphasizedLineHeight, C3NumberFontSize, C3NumberFontWeight, C3NumberLineHeight, H1NumberEmphasizedFontSize, H1NumberEmphasizedFontWeight, H1NumberEmphasizedLineHeight, H1NumberFontSize, H1NumberFontWeight, H1NumberLineHeight, H2NumberEmphasizedFontSize, H2NumberEmphasizedFontWeight, H2NumberEmphasizedLineHeight, H2NumberFontSize, H2NumberFontWeight, H2NumberLineHeight, H3NumberEmphasizedFontSize, H3NumberEmphasizedFontWeight, H3NumberEmphasizedLineHeight, H3NumberFontSize, H3NumberFontWeight, H3NumberLineHeight, T1NumberEmphasizedFontSize, T1NumberEmphasizedFontWeight, T1NumberEmphasizedLineHeight, T1NumberFontSize, T1NumberFontWeight, T1NumberLineHeight, T2NumberEmphasizedFontSize, T2NumberEmphasizedFontWeight, T2NumberEmphasizedLineHeight, T2NumberFontSize, T2NumberFontWeight, T2NumberLineHeight, T3NumberEmphasizedFontSize, T3NumberEmphasizedFontWeight, T3NumberEmphasizedLineHeight, T3NumberFontSize, T3NumberFontWeight, T3NumberLineHeight };
@@ -0,0 +1,53 @@
1
+ declare const H1FontWeight: "400" | "500" | "600" | "700";
2
+ declare const H1FontSize = 32;
3
+ declare const H1LineHeight = 40;
4
+ declare const H2FontWeight: "400" | "500" | "600" | "700";
5
+ declare const H2FontSize = 24;
6
+ declare const H2LineHeight = 32;
7
+ declare const H3FontWeight: "400" | "500" | "600" | "700";
8
+ declare const H3FontSize = 20;
9
+ declare const H3LineHeight = 28;
10
+ declare const T1FontWeight: "400" | "500" | "600" | "700";
11
+ declare const T1FontSize = 18;
12
+ declare const T1LineHeight = 26;
13
+ declare const T2FontWeight: "400" | "500" | "600" | "700";
14
+ declare const T2FontSize = 16;
15
+ declare const T2LineHeight = 24;
16
+ declare const T3FontWeight: "400" | "500" | "600" | "700";
17
+ declare const T3FontSize = 14;
18
+ declare const T3LineHeight = 20;
19
+ declare const B1FontWeight: "400" | "500" | "600" | "700";
20
+ declare const B1FontSize = 16;
21
+ declare const B1LineHeight = 24;
22
+ declare const B1LooseFontWeight: "400" | "500" | "600" | "700";
23
+ declare const B1LooseFontSize = 16;
24
+ declare const B1LooseLineHeight = 26;
25
+ declare const B2FontWeight: "400" | "500" | "600" | "700";
26
+ declare const B2FontSize = 14;
27
+ declare const B2LineHeight = 20;
28
+ declare const B2LooseFontWeight: "400" | "500" | "600" | "700";
29
+ declare const B2LooseFontSize = 14;
30
+ declare const B2LooseLineHeight = 22;
31
+ declare const B2LooseSwitchFontWeight: "400" | "500" | "600" | "700";
32
+ declare const B2LooseSwitchFontSize = 15;
33
+ declare const B2LooseSwitchLineHeight = 22;
34
+ declare const C1FontWeight: "400" | "500" | "600" | "700";
35
+ declare const C1FontSize = 13;
36
+ declare const C1LineHeight = 20;
37
+ declare const C1EmphaFontSizedFontWeight: "400" | "500" | "600" | "700";
38
+ declare const C1EmphaFontSizedFontSize = 13;
39
+ declare const C1EmphaFontSizedLineHeight = 20;
40
+ declare const C2FontWeight: "400" | "500" | "600" | "700";
41
+ declare const C2FontSize = 12;
42
+ declare const C2LineHeight = 18;
43
+ declare const C2EmphaFontSizedFontWeight: "400" | "500" | "600" | "700";
44
+ declare const C2EmphaFontSizedFontSize = 12;
45
+ declare const C2EmphaFontSizedLineHeight = 18;
46
+ declare const C3FontWeight: "400" | "500" | "600" | "700";
47
+ declare const C3FontSize = 10;
48
+ declare const C3LineHeight = 14;
49
+ declare const C3EmphaFontSizedFontWeight: "400" | "500" | "600" | "700";
50
+ declare const C3EmphaFontSizedFontSize = 10;
51
+ declare const C3EmphaFontSizedLineHeight = 14;
52
+
53
+ export { B1FontSize, B1FontWeight, B1LineHeight, B1LooseFontSize, B1LooseFontWeight, B1LooseLineHeight, B2FontSize, B2FontWeight, B2LineHeight, B2LooseFontSize, B2LooseFontWeight, B2LooseLineHeight, B2LooseSwitchFontSize, B2LooseSwitchFontWeight, B2LooseSwitchLineHeight, C1EmphaFontSizedFontSize, C1EmphaFontSizedFontWeight, C1EmphaFontSizedLineHeight, C1FontSize, C1FontWeight, C1LineHeight, C2EmphaFontSizedFontSize, C2EmphaFontSizedFontWeight, C2EmphaFontSizedLineHeight, C2FontSize, C2FontWeight, C2LineHeight, C3EmphaFontSizedFontSize, C3EmphaFontSizedFontWeight, C3EmphaFontSizedLineHeight, C3FontSize, C3FontWeight, C3LineHeight, H1FontSize, H1FontWeight, H1LineHeight, H2FontSize, H2FontWeight, H2LineHeight, H3FontSize, H3FontWeight, H3LineHeight, T1FontSize, T1FontWeight, T1LineHeight, T2FontSize, T2FontWeight, T2LineHeight, T3FontSize, T3FontWeight, T3LineHeight };
@@ -0,0 +1,13 @@
1
+ import * as always from './const/colors/always.js';
2
+ export { always as alwaysColor };
3
+ import * as light from './const/colors/light.js';
4
+ export { light as lightColor };
5
+ import * as dark from './const/colors/dark.js';
6
+ export { dark as darkColor };
7
+ import * as index from './const/typography/index.js';
8
+ export { index as typography };
9
+ import * as index$1 from './const/number/index.js';
10
+ export { index$1 as number };
11
+ import * as fontWeight from './const/const/fontWeight.js';
12
+ export { fontWeight };
13
+ export { AlwaysToken, DarkToken, LightToken } from './interface/index.js';
@@ -0,0 +1,9 @@
1
+ import * as always from '../const/colors/always.js';
2
+ import * as light from '../const/colors/light.js';
3
+ import * as dark from '../const/colors/dark.js';
4
+
5
+ type LightToken = keyof typeof light;
6
+ type DarkToken = keyof typeof dark;
7
+ type AlwaysToken = keyof typeof always;
8
+
9
+ export type { AlwaysToken, DarkToken, LightToken };
package/package.json ADDED
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "@xhsreds/reds-token-next",
3
+ "version": "0.0.5-beat123",
4
+ "description": "ReDS style utils",
5
+ "main": "lib/cjs/index.js",
6
+ "typings": "lib/types/index.d.ts",
7
+ "module": "lib/esm/index.js",
8
+ "author": "jiabin@xiaohongshu.com",
9
+ "peerDependencies": {},
10
+ "dependencies": {},
11
+ "scripts": {
12
+ "clear": "rm -rf ./node_modules && rm -rf ./lib",
13
+ "watch": "rollup -c -w",
14
+ "build": "npm run clear && rollup -c"
15
+ }
16
+ }
@@ -0,0 +1,37 @@
1
+ const { name } = require("./package.json");
2
+ const resolve = require("@rollup/plugin-node-resolve");
3
+ const commonjs = require("@rollup/plugin-commonjs");
4
+ const { dts } = require("rollup-plugin-dts");
5
+ const { default: esbuild } = require("rollup-plugin-esbuild");
6
+
7
+ module.exports = [
8
+ {
9
+ input: "./src/index.ts",
10
+ output: [
11
+ {
12
+ dir: "./lib/cjs",
13
+ format: "cjs",
14
+ preserveModules: true,
15
+ preserveModulesRoot: "./src",
16
+ sourcemap: true,
17
+ },
18
+ {
19
+ dir: "./lib/esm",
20
+ format: "es",
21
+ preserveModules: true,
22
+ preserveModulesRoot: "./src",
23
+ sourcemap: true,
24
+ },
25
+ ],
26
+ plugins: [esbuild({}), resolve({}), commonjs({})],
27
+ },
28
+ {
29
+ input: "./src/index.ts",
30
+ output: {
31
+ dir: "./lib/types",
32
+ preserveModulesRoot: "./src",
33
+ preserveModules: true,
34
+ },
35
+ plugins: [dts()],
36
+ },
37
+ ];
@@ -0,0 +1,25 @@
1
+ export const MaskBg = "rgba(0, 0, 0, 0.4)";
2
+ export const LightTitle = "rgba(255, 255, 255, 0.84)";
3
+ export const LightParagraph = "rgba(255, 255, 255, 0.56)";
4
+ export const LightDescription = "rgba(255, 255, 255, 0.36)";
5
+ export const LightDisabled = "rgba(255, 255, 255, 0.21)";
6
+ export const DarkTitle = "rgba(0, 0, 0, 0.8)";
7
+ export const DarkParagraph = "rgba(0, 0, 0, 0.62)";
8
+ export const DarkDescription = "rgba(0, 0, 0, 0.45)";
9
+ export const DarkDisabled = "rgba(0, 0, 0, 0.27)";
10
+ export const LightFill1 = "rgba(255, 255, 255, 0.04)";
11
+ export const LightFill2 = "rgba(255, 255, 255, 0.08)";
12
+ export const LightFill3 = "rgba(255, 255, 255, 0.13)";
13
+ export const LightFill4 = "rgba(255, 255, 255, 0.32)";
14
+ export const LightFill5 = "rgba(255, 255, 255, 0.99)";
15
+ export const DarkFill1 = "rgba(48, 48, 52, 0.05)";
16
+ export const DarkFill2 = "rgba(48, 48, 52, 0.1)";
17
+ export const DarkFill3 = "rgba(48, 48, 52, 0.2)";
18
+ export const DarkFill4 = "rgba(48, 48, 52, 0.5)";
19
+ export const DarkFill5 = "rgba(48, 48, 52, 0.99)";
20
+ export const LightSeparator = "rgba(255, 255, 255, 0.07)";
21
+ export const LightSeparator2 = "rgba(255, 255, 255, 0.16)";
22
+ export const DarkSeparator = "rgba(0, 0, 0, 0.08)";
23
+ export const DarkSeparator2 = "rgba(0, 0, 0, 0.2)";
24
+ export const White = "rgba(255, 255, 255, 1)";
25
+ export const Black = "rgba(0, 0, 0, 1)";
@@ -0,0 +1,35 @@
1
+ export const Bg = "rgba(25, 25, 30, 1)";
2
+ export const Bg0 = "rgba(14, 14, 17, 1)";
3
+ export const Bg0Lighter = "rgba(20, 20, 24, 1)";
4
+ export const Bg1 = "rgba(34, 34, 38, 1)";
5
+ export const Bg2 = "rgba(41, 41, 46, 1)";
6
+ export const Title = "rgba(255, 255, 255, 0.84)";
7
+ export const Paragraph = "rgba(255, 255, 255, 0.56)";
8
+ export const Description = "rgba(255, 255, 255, 0.36)";
9
+ export const Disabled = "rgba(255, 255, 255, 0.21)";
10
+ export const Placeholder = "rgba(255, 255, 255, 0.21)";
11
+ export const Link = "rgba(198, 217, 239, 1)";
12
+ export const LinkAccent = "rgba(71, 144, 245, 1)";
13
+ export const Fill1 = "rgba(255, 255, 255, 0.04)";
14
+ export const Fill2 = "rgba(255, 255, 255, 0.08)";
15
+ export const Fill3 = "rgba(255, 255, 255, 0.13)";
16
+ export const Fill4 = "rgba(255, 255, 255, 0.32)";
17
+ export const Fill5 = "rgba(255, 255, 255, 0.99)";
18
+ export const InvertedFill1 = "rgba(48, 48, 52, 0.05)";
19
+ export const InvertedFill2 = "rgba(48, 48, 52, 0.1)";
20
+ export const InvertedFill3 = "rgba(48, 48, 52, 0.2)";
21
+ export const InvertedFill4 = "rgba(48, 48, 52, 0.5)";
22
+ export const InvertedFill5 = "rgba(48, 48, 52, 0.99)";
23
+ export const Separator = "rgba(255, 255, 255, 0.07)";
24
+ export const Separator2 = "rgba(255, 255, 255, 0.16)";
25
+ export const OpaqueSeparator = "rgba(34, 34, 38, 1)";
26
+ export const Primary = "rgba(255, 46, 77, 1)";
27
+ export const Primary2 = "rgba(48, 28, 31, 1)";
28
+ export const Warning = "rgba(255, 158, 61, 1)";
29
+ export const Warning2 = "rgba(48, 39, 31, 1)";
30
+ export const Success = "rgba(54, 226, 113, 1)";
31
+ export const Success2 = "rgba(28, 46, 34, 1)";
32
+ export const Info = "rgba(71, 144, 245, 1)";
33
+ export const Info2 = "rgba(29, 38, 51, 1)";
34
+ export const White = "rgba(0, 0, 0, 1)";
35
+ export const Black = "rgba(255, 255, 255, 1)";
@@ -0,0 +1,35 @@
1
+ export const Bg = "rgba(255, 255, 255, 1)";
2
+ export const Bg0 = "rgba(245, 245, 245, 1)";
3
+ export const Bg0Lighter = "rgba(250, 250, 250, 1)";
4
+ export const Bg1 = "rgba(245, 245, 245, 1)";
5
+ export const Bg2 = "rgba(255, 255, 255, 1)";
6
+ export const Title = "rgba(0, 0, 0, 0.8)";
7
+ export const Paragraph = "rgba(0, 0, 0, 0.62)";
8
+ export const Description = "rgba(0, 0, 0, 0.45)";
9
+ export const Disabled = "rgba(0, 0, 0, 0.27)";
10
+ export const Placeholder = "rgba(0, 0, 0, 0.27)";
11
+ export const Link = "rgba(19, 54, 103, 1)";
12
+ export const LinkAccent = "rgba(61, 138, 245, 1)";
13
+ export const Fill1 = "rgba(48, 48, 52, 0.05)";
14
+ export const Fill2 = "rgba(48, 48, 52, 0.1)";
15
+ export const Fill3 = "rgba(48, 48, 52, 0.2)";
16
+ export const Fill4 = "rgba(48, 48, 52, 0.5)";
17
+ export const Fill5 = "rgba(48, 48, 52, 0.99)";
18
+ export const InvertedFill1 = "rgba(255, 255, 255, 0.04)";
19
+ export const InvertedFill2 = "rgba(255, 255, 255, 0.08)";
20
+ export const InvertedFill3 = "rgba(255, 255, 255, 0.13)";
21
+ export const InvertedFill4 = "rgba(255, 255, 255, 0.32)";
22
+ export const InvertedFill5 = "rgba(255, 255, 255, 0.99)";
23
+ export const Separator = "rgba(0, 0, 0, 0.08)";
24
+ export const Separator2 = "rgba(0, 0, 0, 0.2)";
25
+ export const OpaqueSeparator = "rgba(234, 234, 234, 1)";
26
+ export const Primary = "rgba(255, 36, 66, 1)";
27
+ export const Primary2 = "rgba(255, 237, 240, 1)";
28
+ export const Warning = "rgba(255, 125, 3, 1)";
29
+ export const Warning2 = "rgba(255, 242, 230, 1)";
30
+ export const Success = "rgba(2, 185, 64, 1)";
31
+ export const Success2 = "rgba(234, 248, 239, 1)";
32
+ export const Info = "rgba(61, 138, 245, 1)";
33
+ export const Info2 = "rgba(236, 244, 254, 1)";
34
+ export const White = "rgba(255, 255, 255, 1)";
35
+ export const Black = "rgba(0, 0, 0, 1)";
@@ -0,0 +1,10 @@
1
+ export interface IFontWeight {
2
+ [key: string]: "400" | "500" | "600" | "700";
3
+ }
4
+
5
+ export const FontWeight: IFontWeight = {
6
+ Regular: "400",
7
+ Medium: "500",
8
+ Semibold: "600",
9
+ Bold: "700",
10
+ };
@@ -0,0 +1,6 @@
1
+ export * as alwaysColor from "./colors/always";
2
+ export * as lightColor from "./colors/light";
3
+ export * as darkColor from "./colors/dark";
4
+ export * as typography from "./typography";
5
+ export * as number from "./number";
6
+ export * as fontWeight from "./const/fontWeight";