We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2532ef9 commit cc10612Copy full SHA for cc10612
package.json
@@ -3,6 +3,10 @@
3
"version": "0.59.13",
4
"type": "module",
5
"description": "UIKit for Cube Projects",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/cube-js/cube-ui-kit.git"
9
+ },
10
"module": "dist/es/index.js",
11
"types": "dist/types/index.d.ts",
12
"sideEffects": false,
src/stories/Typography.stories.tsx
@@ -60,6 +60,15 @@ export const Presets = {
60
<Block preset="p3">
61
<CubeIcon /> The quick brown fox jumps over the lazy dog - p3
62
</Block>
63
+ <Block preset="m1">
64
+ <CubeIcon /> The quick brown fox jumps over the lazy dog - m1
65
+ </Block>
66
+ <Block preset="m2">
67
+ <CubeIcon /> The quick brown fox jumps over the lazy dog - m2
68
69
+ <Block preset="m3">
70
+ <CubeIcon /> The quick brown fox jumps over the lazy dog - m3
71
72
<Block preset="p4">
73
<CubeIcon /> The quick brown fox jumps over the lazy dog - p4
74
src/tokens.ts
@@ -182,6 +182,24 @@ const TOKENS = {
182
't4m-font-weight': '600',
183
't4m-bold-font-weight': '700',
184
't4m-icon-size': '16px',
185
+ // m1
186
+ 'm1-font-size': '18px',
187
+ 'm1-line-height': '32px',
188
+ 'm1-letter-spacing': '0',
189
+ 'm1-font-weight': '400',
190
+ 'm1-icon-size': '22px',
191
+ // m2
192
+ 'm2-font-size': '16px',
193
+ 'm2-line-height': '28px',
194
+ 'm2-letter-spacing': '0',
195
+ 'm2-font-weight': '400',
196
+ 'm2-icon-size': '20px',
197
198
+ 'm3-font-size': '14px',
199
+ 'm3-line-height': '24px',
200
+ 'm3-letter-spacing': '0',
201
+ 'm3-font-weight': '400',
202
+ 'm3-icon-size': '20px',
203
// p1
204
'p1-font-size': '18px',
205
'p1-line-height': '28px',
0 commit comments