@igamingcareer/igaming-components 1.0.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.
- package/Readme.md +23 -0
- package/dist/index.js +7907 -0
- package/dist/index.mjs +42940 -0
- package/dist/style.css +1 -0
- package/package.json +76 -0
- package/styles/globals.css +1123 -0
- package/styles/typography.css +128 -0
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700&display=swap');
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
/* Font families */
|
|
5
|
+
--font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'GeistSans';
|
|
6
|
+
--font-heading: 'Poppins', var(--font-sans);
|
|
7
|
+
|
|
8
|
+
/* Base sizes */
|
|
9
|
+
--font-size-base: 1rem;
|
|
10
|
+
--font-size-xs: 0.75rem;
|
|
11
|
+
--font-size-sm: 0.875rem;
|
|
12
|
+
--font-size-lg: 1.125rem;
|
|
13
|
+
--font-size-xl: 1.25rem;
|
|
14
|
+
--font-size-2xl: 1.5rem;
|
|
15
|
+
--font-size-3xl: 1.875rem;
|
|
16
|
+
--font-size-4xl: 2.25rem;
|
|
17
|
+
--font-size-5xl: 3rem;
|
|
18
|
+
--font-size-6xl: 3.75rem;
|
|
19
|
+
--font-size-7xl: 4.5rem;
|
|
20
|
+
|
|
21
|
+
/* Line heights */
|
|
22
|
+
--line-height-tight: 1.25;
|
|
23
|
+
--line-height-snug: 1.375;
|
|
24
|
+
--line-height-normal: 1.5;
|
|
25
|
+
--line-height-relaxed: 1.625;
|
|
26
|
+
--line-height-loose: 2;
|
|
27
|
+
|
|
28
|
+
/* Letter spacing */
|
|
29
|
+
--letter-spacing-tight: -0.025em;
|
|
30
|
+
--letter-spacing-normal: 0em;
|
|
31
|
+
--letter-spacing-wide: 0.025em;
|
|
32
|
+
|
|
33
|
+
/* Font weights */
|
|
34
|
+
--font-weight-normal: 400;
|
|
35
|
+
--font-weight-medium: 500;
|
|
36
|
+
--font-weight-semibold: 600;
|
|
37
|
+
--font-weight-bold: 700;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* Text sizes */
|
|
41
|
+
.text-xs { font-size: var(--font-size-xs); }
|
|
42
|
+
.text-sm { font-size: var(--font-size-sm); }
|
|
43
|
+
.text-base { font-size: var(--font-size-base); }
|
|
44
|
+
.text-lg { font-size: var(--font-size-lg); }
|
|
45
|
+
.text-xl { font-size: var(--font-size-xl); }
|
|
46
|
+
.text-2xl { font-size: var(--font-size-2xl); }
|
|
47
|
+
.text-3xl { font-size: var(--font-size-3xl); }
|
|
48
|
+
.text-4xl { font-size: var(--font-size-4xl); }
|
|
49
|
+
.text-5xl { font-size: var(--font-size-5xl); }
|
|
50
|
+
.text-6xl { font-size: var(--font-size-6xl); }
|
|
51
|
+
.text-7xl { font-size: var(--font-size-7xl); }
|
|
52
|
+
|
|
53
|
+
/* Font weights */
|
|
54
|
+
.font-normal { font-weight: var(--font-weight-normal); }
|
|
55
|
+
.font-medium { font-weight: var(--font-weight-medium); }
|
|
56
|
+
.font-semibold { font-weight: var(--font-weight-semibold); }
|
|
57
|
+
.font-bold { font-weight: var(--font-weight-bold); }
|
|
58
|
+
|
|
59
|
+
/* Line heights */
|
|
60
|
+
.leading-tight { line-height: var(--line-height-tight); }
|
|
61
|
+
.leading-snug { line-height: var(--line-height-snug); }
|
|
62
|
+
.leading-normal { line-height: var(--line-height-normal); }
|
|
63
|
+
.leading-relaxed { line-height: var(--line-height-relaxed); }
|
|
64
|
+
.leading-loose { line-height: var(--line-height-loose); }
|
|
65
|
+
|
|
66
|
+
/* Letter spacing */
|
|
67
|
+
.tracking-tight { letter-spacing: var(--letter-spacing-tight); }
|
|
68
|
+
.tracking-normal { letter-spacing: var(--letter-spacing-normal); }
|
|
69
|
+
.tracking-wide { letter-spacing: var(--letter-spacing-wide); }
|
|
70
|
+
|
|
71
|
+
/* Font families */
|
|
72
|
+
.font-sans { font-family: var(--font-sans); }
|
|
73
|
+
.font-heading { font-family: var(--font-heading); }
|
|
74
|
+
|
|
75
|
+
h1, .h1 {
|
|
76
|
+
font-family: var(--font-heading);
|
|
77
|
+
font-size: var(--font-size-4xl);
|
|
78
|
+
line-height: var(--line-height-tight);
|
|
79
|
+
font-weight: var(--font-weight-bold);
|
|
80
|
+
letter-spacing: var(--letter-spacing-tight);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
h2, .h2 {
|
|
84
|
+
font-family: var(--font-heading);
|
|
85
|
+
font-size: var(--font-size-3xl);
|
|
86
|
+
line-height: var(--line-height-tight);
|
|
87
|
+
font-weight: var(--font-weight-bold);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
h3, .h3 {
|
|
91
|
+
font-family: var(--font-heading);
|
|
92
|
+
font-size: var(--font-size-2xl);
|
|
93
|
+
line-height: var(--line-height-snug);
|
|
94
|
+
font-weight: var(--font-weight-semibold);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
h4, .h4 {
|
|
98
|
+
font-family: var(--font-heading);
|
|
99
|
+
font-size: var(--font-size-xl);
|
|
100
|
+
line-height: var(--line-height-snug);
|
|
101
|
+
font-weight: var(--font-weight-semibold);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
h5, .h5 {
|
|
105
|
+
font-family: var(--font-heading);
|
|
106
|
+
font-size: var(--font-size-lg);
|
|
107
|
+
line-height: var(--line-height-normal);
|
|
108
|
+
font-weight: var(--font-weight-semibold);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
h6, .h6 {
|
|
112
|
+
font-family: var(--font-heading);
|
|
113
|
+
font-size: var(--font-size-base);
|
|
114
|
+
line-height: var(--line-height-normal);
|
|
115
|
+
font-weight: var(--font-weight-semibold);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@media (min-width: 640px) {
|
|
119
|
+
h1, .h1 { font-size: var(--font-size-5xl); }
|
|
120
|
+
h2, .h2 { font-size: var(--font-size-4xl); }
|
|
121
|
+
h3, .h3 { font-size: var(--font-size-3xl); }
|
|
122
|
+
h4, .h4 { font-size: var(--font-size-2xl); }
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
@media (min-width: 1024px) {
|
|
126
|
+
h1, .h1 { font-size: var(--font-size-6xl); }
|
|
127
|
+
h2, .h2 { font-size: var(--font-size-5xl); }
|
|
128
|
+
}
|