@akinon/ui-theme 1.0.0 → 1.0.1

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.
@@ -70,8 +70,6 @@ export type BreadcrumbToken = AntdBreadcrumbToken &
70
70
  fontWeight: number;
71
71
  letterSpacing: number;
72
72
  borderBottom: string;
73
- marginInline: number;
74
- height: number | string;
75
73
  };
76
74
 
77
75
  export type TagToken = AntdTagToken &
@@ -100,7 +98,6 @@ export type TagToken = AntdTagToken &
100
98
  paddingTop: number;
101
99
  paddingBottom: number;
102
100
  fontSizeClose: number;
103
- fontWeight: number;
104
101
  };
105
102
 
106
103
  export type TooltipToken = AntdTooltipToken &
@@ -126,21 +123,14 @@ export type SpinToken = AntdSpinToken & AliasToken;
126
123
  export type ModalToken = AntdModalToken &
127
124
  AliasToken & {
128
125
  padding: number | string;
129
- fontWeight: number;
130
126
  borderBottom: string;
131
127
  footerPadding: string;
132
128
  closeIconColor: string;
133
- contentPadding: string;
134
- footerMarginTop: string;
135
129
  closeTop: string;
136
130
  closeRight: string;
137
- headerMarginBottom: number;
138
- badgeColorContent: string;
139
131
  badgeColorTop: number;
140
- badgeColorLeft: number;
141
132
  badgeColorWidth: number;
142
133
  badgeColorHeight: number;
143
- badgeColorPosition: PositionTypes;
144
134
  badgeColorBackgroundColor: string;
145
135
  };
146
136
 
@@ -167,18 +157,12 @@ export type ProgressToken = AntdProgressToken &
167
157
  AliasToken & {
168
158
  strokeColor: string;
169
159
  trailColor: string;
170
- borderRadius: string;
171
160
  height: string;
172
161
  successBgColor: string;
173
162
  };
174
163
 
175
164
  export type StepsToken = AntdStepsToken &
176
165
  AliasToken & {
177
- zero?: string;
178
- auto?: string;
179
- none?: string;
180
- full?: string;
181
- flex?: string;
182
166
  rowGap?: string;
183
167
  iconWidthHeight?: string;
184
168
  iconSize?: string;
@@ -206,7 +190,6 @@ export type StepsToken = AntdStepsToken &
206
190
  manyItemsTransform?: string;
207
191
  manyItemsWidth?: string;
208
192
  manyItemsHeight?: string;
209
- manyItemsWhiteSpace?: string;
210
193
  manyItemsMarginInlineStart?: string;
211
194
  manyItemsIconWidthHeight?: string;
212
195
  manyItemsTailHeight?: string;
@@ -232,29 +215,21 @@ export type MenuToken = AntdMenuToken &
232
215
  lightchildItemBg: string;
233
216
  lightChildItemColor: string;
234
217
  lightSubTitleColor: string;
235
- none: string;
236
- unset: string;
237
- iconPosition: string;
238
218
  mainBorder: string;
239
219
  mainMenuExpandIconSize: string;
240
220
  mainMenuIconSize: string;
241
221
  mainMenuColor: string;
242
- mainMenuFontWeight: string;
243
222
  subMenuTitleColor: string;
244
223
  subMenuTitleIconMargin: string;
245
224
  subMenuItemSelectedChildColor: string;
246
- subMenufontWeigth: string;
247
225
  subMenuOnlyChildSize: string;
248
- subMenuOnlyChildRadius: string;
249
226
  subMenuOnlyChildBgColor: string;
250
227
  subMenuOnlyChildMargin: string;
251
- subMenuOnlyChildOpacity: string;
252
228
  subMenuIconSize: string;
253
229
  childMenuItemSelectedChildWidth: string;
254
230
  childMenuItemSelectedChildHeight: string;
255
231
  childMenuItemSelectedChildRadius: string;
256
232
  childMenuItemSelectedChildMargin: string;
257
- childMenuItemSelectedChildOpacity: string;
258
233
  childMenuItemSelectedChildBgColor: string;
259
234
  };
260
235
 
@@ -262,11 +237,9 @@ export type DatePickerToken = AntdDatePickerToken &
262
237
  AliasToken & {
263
238
  general: {
264
239
  fontSize: string;
265
- fontWeight: string;
266
240
  fontColor: string;
267
241
  bgDarkBlue: string;
268
242
  wideBorder: string;
269
- itemCenter: string;
270
243
  inputMarginBottom: string;
271
244
  inputPadding: string;
272
245
  lightThemeBorder: string;
@@ -274,17 +247,6 @@ export type DatePickerToken = AntdDatePickerToken &
274
247
  title: {
275
248
  lightColor: string;
276
249
  };
277
- pickerTriangle: {
278
- transform: string;
279
- beforeTop: string;
280
- beforeBorderX: string;
281
- beforeBorderBottom: string;
282
- beforeZIndex: string;
283
- afterTop: string;
284
- afterBorderX: string;
285
- afterBorderBottom: string;
286
- afterZIndex: string;
287
- };
288
250
  pickerPanel: {
289
251
  shadow: string;
290
252
  width: string;
@@ -338,7 +300,6 @@ export type DatePickerToken = AntdDatePickerToken &
338
300
  borderRadius: string;
339
301
  datePickerBorderTop: string;
340
302
  datePickerPadding: string;
341
- rangeDirection: string;
342
303
  rangeColGap: string;
343
304
  rangeBorder: string;
344
305
  rangePadding: string;
@@ -354,7 +315,10 @@ export type DividerToken = AntdDividerToken &
354
315
  fontWeight: number;
355
316
  };
356
317
 
357
- export type UploadToken = AntdUploadToken & AliasToken;
318
+ export type UploadToken = AntdUploadToken &
319
+ AliasToken & {
320
+ svgColor: string;
321
+ };
358
322
 
359
323
  export type CustomTokens = {
360
324
  layout: {
@@ -364,11 +328,18 @@ export type CustomTokens = {
364
328
  displayInline: string;
365
329
  displayInlineBlock: string;
366
330
  displayNone: string;
331
+ displayContents: string;
367
332
  positionAbsolute: string;
368
333
  positionRelative: string;
369
334
  positionFixed: string;
370
335
  positionSticky: string;
371
336
  positionStatic: string;
337
+ flexStart: string;
338
+ flexCenter: string;
339
+ flexDirectionRow: string;
340
+ flexDirectionRowReverse: string;
341
+ flexDirectionColumn: string;
342
+ flexDirectionColumnReverse: string;
372
343
  };
373
344
  typography: {
374
345
  textTransformUppercase: string;
@@ -383,9 +354,13 @@ export type CustomTokens = {
383
354
  whiteSpacePre: string;
384
355
  whiteSpacePreLine: string;
385
356
  whiteSpacePreWrap: string;
357
+ whiteSpaceBreakSpaces: string;
358
+ wordBreak: string;
386
359
  textDecorationUnderline: string;
387
360
  textDecorationOverline: string;
388
361
  textDecorationLineThrough: string;
362
+ fontWeightBold: string;
363
+ fontWeightMedium: string;
389
364
  };
390
365
  sizing: {
391
366
  sizeMaxContent: string;
@@ -397,6 +372,7 @@ export type CustomTokens = {
397
372
  valueQuarter: string;
398
373
  valueZero: string;
399
374
  valueAuto: string;
375
+ valueInherit: string;
400
376
  };
401
377
  others: {
402
378
  colorTransparent: string;
@@ -405,6 +381,11 @@ export type CustomTokens = {
405
381
  emptyContent: string;
406
382
  lineHeightShort: string;
407
383
  lineHeightTall: string;
384
+ cursorNotAllowed: string;
385
+ cursorPointer: string;
386
+ verticalAlignMiddle: string;
387
+ opacityFull: string;
388
+ opacityNone: string;
408
389
  };
409
390
  border: {
410
391
  borderNone: string;
@@ -413,6 +394,7 @@ export type CustomTokens = {
413
394
  borderDotted: string;
414
395
  borderWidthThin: string;
415
396
  borderWidthThick: string;
397
+ borderRadiusSm: string;
416
398
  };
417
399
  overflow: {
418
400
  overflowVisible: string;
@@ -423,32 +405,16 @@ export type CustomTokens = {
423
405
 
424
406
  export type PaginationToken = AntdPaginationToken &
425
407
  AliasToken & {
426
- zero: string;
427
- none: string;
428
- unset: string;
429
- maxContent: string;
430
408
  fontSize: string;
431
- transparent: string;
432
- displayFlex: string;
433
- displayFlexRow: string;
434
- displayContents: string;
435
- displayGrid: string;
436
- center: string;
437
- full: string;
438
- lineHeight: string;
439
- auto: string;
440
- hidden: string;
441
409
  Simple: {
442
410
  minWidth: string;
443
411
  fontWeight: string;
444
412
  color: string;
445
413
  input: {
446
414
  textColor: string;
447
- fontWeight: string;
448
415
  };
449
416
  prevNextButton: {
450
417
  svgWidth: string;
451
- svgHeight: string;
452
418
  svgFill: string;
453
419
  };
454
420
  slashPadding: string;
@@ -457,8 +423,6 @@ export type PaginationToken = AntdPaginationToken &
457
423
  };
458
424
  Table: {
459
425
  totalText: {
460
- width: string;
461
- fontWeight: string;
462
426
  color: string;
463
427
  margin: string;
464
428
  };
@@ -483,7 +447,6 @@ export type PaginationToken = AntdPaginationToken &
483
447
  sizeChanger: {
484
448
  bgColor: string;
485
449
  textColor: string;
486
- width: string;
487
450
  colGap: string;
488
451
  border: string;
489
452
  borderRadius: string;
@@ -494,14 +457,11 @@ export type PaginationToken = AntdPaginationToken &
494
457
  };
495
458
  item2: {
496
459
  textColor: string;
497
- fontWeight: string;
498
460
  };
499
461
  icon: {
500
462
  bgColor: string;
501
463
  textColor: string;
502
464
  width: string;
503
- position: string;
504
- fontWeight: string;
505
465
  };
506
466
  };
507
467
  };
@@ -509,12 +469,8 @@ export type PaginationToken = AntdPaginationToken &
509
469
  border: string;
510
470
  bgColor: string;
511
471
  textColor: string;
512
- fontWeight: string;
513
472
  minWidth: string;
514
473
  height: string;
515
- spanVisibility: string;
516
- spanWhiteSpace: string;
517
- spanPosition: string;
518
474
  };
519
475
  };
520
476
 
@@ -528,6 +484,10 @@ export type SelectToken = AntdSelectToken &
528
484
 
529
485
  export type TableToken = AntdTableToken & AliasToken & {};
530
486
 
487
+ export type NavCardToken = AliasToken & {
488
+ shadow: string;
489
+ };
490
+
531
491
  export type GlobalToken = AntdGlobalToken & {
532
492
  Button: ButtonToken;
533
493
  Checkbox: CheckboxToken;
@@ -554,6 +514,7 @@ export type GlobalToken = AntdGlobalToken & {
554
514
  CustomTokens: CustomTokens;
555
515
  Select: SelectToken;
556
516
  Table: TableToken;
517
+ NavCardTokens: NavCardToken;
557
518
  };
558
519
 
559
520
  /**
@@ -9,6 +9,7 @@ export declare const neutral: {
9
9
  '250': string;
10
10
  '300': string;
11
11
  '350': string;
12
+ '380': string;
12
13
  '375': string;
13
14
  '400': string;
14
15
  '500': string;
@@ -40,6 +41,7 @@ export declare const ebonyClay: {
40
41
  '625': string;
41
42
  '700': string;
42
43
  '800': string;
44
+ '825': string;
43
45
  '850': string;
44
46
  '900': string;
45
47
  '950': string;
@@ -104,6 +106,10 @@ export declare const blue: {
104
106
  '50': string;
105
107
  '100': string;
106
108
  '200': string;
109
+ '250': string;
110
+ '251': string;
111
+ '250-10': string;
112
+ '250-20': string;
107
113
  '300': string;
108
114
  '400': string;
109
115
  '500': string;
@@ -116,6 +122,7 @@ export declare const blue: {
116
122
  '952': string;
117
123
  '953': string;
118
124
  '954': string;
125
+ '955': string;
119
126
  };
120
127
  export declare const purple: {
121
128
  '50': string;
@@ -1 +1 @@
1
- {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["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B,CAAC;AAGF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;CAkBlB,CAAC;AAGF,eAAO,MAAM,MAAM;;;;;;;;;;;;CAYlB,CAAC"}
@@ -10,6 +10,7 @@ export const neutral = {
10
10
  '250': '#d6e1e3',
11
11
  '300': '#d4d4d4',
12
12
  '350': '#c8daec',
13
+ '380': '#b6c2cf',
13
14
  '375': '#bfbfbf',
14
15
  '400': '#a3a3a3',
15
16
  '500': '#737373',
@@ -41,6 +42,7 @@ export const ebonyClay = {
41
42
  '625': '#252c40',
42
43
  '700': '#1d2331',
43
44
  '800': '#171d27',
45
+ '825': '#1d2843',
44
46
  '850': '#131826',
45
47
  '900': '#11171e',
46
48
  '950': '#0c111a',
@@ -105,6 +107,10 @@ export const blue = {
105
107
  '50': '#f5fcff',
106
108
  '100': '#ebf8ff',
107
109
  '200': '#cceafc',
110
+ '250': '#a6c5e2',
111
+ '251': '#9ca9c2',
112
+ '250-10': '#a6c5e228',
113
+ '250-20': '#a6c5e25c',
108
114
  '300': '#afd9fa',
109
115
  '400': '#74b4f7',
110
116
  '500': '#3b82f6',
@@ -116,7 +122,8 @@ export const blue = {
116
122
  '951': '#126a6f',
117
123
  '952': '#75e2e7',
118
124
  '953': '#c6f0f2',
119
- '954': '#363d51'
125
+ '954': '#363d51',
126
+ '955': '#062a4a'
120
127
  };
121
128
  export const purple = {
122
129
  '50': '#fbf7fc',
@@ -1,5 +1,5 @@
1
1
  import { theme as antdTheme, ThemeConfig } from 'antd';
2
- import { CustomTokens } from './types';
2
+ import { CustomTokens, NavCardToken } from './types';
3
3
  export declare const fontSize = 16;
4
4
  type ColorName = 'akinon' | 'azure' | 'blue' | 'orange' | 'red' | 'green' | 'pink' | 'purple' | 'gray' | 'ebonyClay' | 'neutral';
5
5
  type Color = {
@@ -8,7 +8,8 @@ type Color = {
8
8
  type Colors = Record<ColorName, Color>;
9
9
  export type DefaultThemeConfig = ThemeConfig & {
10
10
  colors: Colors;
11
- customTokens: CustomTokens;
11
+ NavCardTokens: NavCardToken;
12
+ CustomTokens: CustomTokens;
12
13
  };
13
14
  /**
14
15
  * Non-editable akinon theme object.
@@ -1 +1 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAevD,OAAO,EAML,YAAY,EAmBb,MAAM,SAAS,CAAC;AAGjB,eAAO,MAAM,QAAQ,KAAK,CAAC;AAE3B,KAAK,SAAS,GACV,QAAQ,GACR,OAAO,GACP,MAAM,GACN,QAAQ,GACR,KAAK,GACL,OAAO,GACP,MAAM,GACN,QAAQ,GACR,MAAM,GACN,WAAW,GACX,SAAS,CAAC;AAEd,KAAK,KAAK,GAAG;IACX,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB,CAAC;AAEF,KAAK,MAAM,GAAG,MAAM,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;AAevC,MAAM,MAAM,kBAAkB,GAAG,WAAW,GAAG;IAC7C,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,YAAY,CAAC;CAC5B,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,KAAK,EAAE,kBA2oBnB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,QAAQ,EAAE,OAAO,SAAS,CAAC,QAA6B,CAAC;AAEtE;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe;;CA2B3B,CAAC"}
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAevD,OAAO,EAML,YAAY,EAUZ,YAAY,EAWb,MAAM,SAAS,CAAC;AAGjB,eAAO,MAAM,QAAQ,KAAK,CAAC;AAE3B,KAAK,SAAS,GACV,QAAQ,GACR,OAA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