@billgangcom/theme-lib 1.24.1 → 1.26.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.
@@ -6,3 +6,4 @@ export * from './api';
6
6
  export * from './font';
7
7
  export * from './pages';
8
8
  export * from './icon';
9
+ export * from './notification';
@@ -0,0 +1,4 @@
1
+ export type Notification = {
2
+ message: string;
3
+ status: 'success' | 'error' | 'warning';
4
+ };
@@ -33,27 +33,59 @@ export type Alignment = 'left' | 'center' | 'right';
33
33
  export type BorderStyle = 'solid' | 'dashed';
34
34
  export interface ThemeSettings {
35
35
  colors: {
36
- brand: {
36
+ text: {
37
37
  primary: string;
38
38
  secondary: string;
39
- toner: string;
39
+ tertiary: string;
40
+ inverted: string;
41
+ action: string;
42
+ actionHover: string;
43
+ disabled: string;
44
+ warning: string;
45
+ error: string;
46
+ success: string;
47
+ information: string;
48
+ link: string;
40
49
  };
41
- background: {
50
+ icon: {
42
51
  primary: string;
43
52
  secondary: string;
53
+ tertiary: string;
54
+ inverted: string;
55
+ action: string;
56
+ actionHover: string;
57
+ disabled: string;
58
+ warning: string;
59
+ error: string;
60
+ success: string;
61
+ information: string;
62
+ link: string;
44
63
  };
45
- text_icons: {
64
+ border: {
46
65
  primary: string;
47
66
  secondary: string;
48
- tertiary: string;
67
+ action: string;
68
+ actionHover: string;
49
69
  disabled: string;
70
+ warning: string;
71
+ error: string;
72
+ success: string;
73
+ information: string;
74
+ focus: string;
50
75
  };
51
- lines: {
52
- divider: string;
53
- border: string;
54
- };
55
- others: {
56
- link: string;
76
+ surface: {
77
+ primary: string;
78
+ secondary: string;
79
+ action1: string;
80
+ action1Hover: string;
81
+ action2: string;
82
+ action2Hover: string;
83
+ disabled: string;
84
+ warning: string;
85
+ error: string;
86
+ success: string;
87
+ information: string;
88
+ modal: string;
57
89
  };
58
90
  };
59
91
  fonts: {