@rufous/ui 0.2.0-beta.0 → 0.2.0-beta.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.
@@ -13,8 +13,8 @@
13
13
  backdrop-filter: blur(2px);
14
14
  }
15
15
  .dialog-container {
16
- background: var(--surface-color);
17
- color: var(--text-color);
16
+ background: var(--rufous-surface-color);
17
+ color: var(--rufous-text-color);
18
18
  border-radius: 12px;
19
19
  max-height: 90vh;
20
20
  display: flex;
@@ -60,7 +60,7 @@
60
60
  font-size: 1.5rem;
61
61
  font-weight: 700;
62
62
  margin: 0;
63
- color: var(--text-color);
63
+ color: var(--rufous-text-color);
64
64
  }
65
65
  .btn-close {
66
66
  background: none;
@@ -75,18 +75,18 @@
75
75
  flex-shrink: 0;
76
76
  }
77
77
  .btn-close:hover {
78
- background-color: var(--hover-color);
78
+ background-color: var(--rufous-hover-color);
79
79
  }
80
80
  .btn-close svg {
81
- fill: var(--text-secondary);
81
+ fill: var(--rufous-text-secondary);
82
82
  transition: fill 0.2s;
83
83
  }
84
84
  .btn-close:hover svg {
85
- fill: var(--text-color);
85
+ fill: var(--rufous-text-color);
86
86
  }
87
87
  .dialog-divider {
88
88
  border: none;
89
- border-top: 1px solid var(--border-color);
89
+ border-top: 1px solid var(--rufous-border-color);
90
90
  margin: 0 24px;
91
91
  flex-shrink: 0;
92
92
  }
@@ -61,12 +61,12 @@
61
61
  background-color: #f9e0e0 !important;
62
62
  }
63
63
  .jodit-ui-button_variant_primary {
64
- background-color: #a81c08 !important;
64
+ background-color: var(--rufous-primary-color) !important;
65
65
  }
66
66
  .jodit-ui-button_variant_primary:hover:not([disabled]),
67
67
  .jodit-ui-button_variant_primary:focus:not([disabled]) {
68
- background-color: #a81c08 !important;
69
- outline: 1px solid #a81c08 !important;
68
+ background-color: var(--rufous-secondary-color) !important;
69
+ outline: 1px solid var(--rufous-primary-color) !important;
70
70
  }
71
71
  .rte-listening .jodit-toolbar-button_customSpeechRecognize button {
72
72
  background-color: #f9e0e0 !important;
@@ -83,8 +83,8 @@
83
83
  position: relative;
84
84
  }
85
85
  .jodit-checkbox:checked {
86
- background-color: #a81c08 !important;
87
- border-color: #a81c08 !important;
86
+ background-color: var(--rufous-primary-color) !important;
87
+ border-color: var(--rufous-primary-color) !important;
88
88
  }
89
89
  .jodit-checkbox:checked::before {
90
90
  content: "";
@@ -166,10 +166,10 @@
166
166
  display: block;
167
167
  }
168
168
  .mention-jodit {
169
- background-color: rgba(153, 0, 48, 0.1);
169
+ background-color: var(--rufous-hover-color);
170
170
  border-radius: 4px;
171
171
  padding: 2px 4px;
172
- color: #990030;
172
+ color: var(--rufous-primary-color);
173
173
  }
174
174
  .jodit-ui-translate-list__item:hover .jodit-ui-translate-list__item-title,
175
175
  .jodit-ui-translate-list__item[data-active=true] .jodit-ui-translate-list__item-title,
@@ -35,7 +35,14 @@ var APP_THEMES = {
35
35
  border: "#e0e0e0",
36
36
  hover: "#fff5f5",
37
37
  selection: "#fce4ec",
38
- icon: "#a41b06"
38
+ icon: "#a41b06",
39
+ get customStyles() {
40
+ return {
41
+ iconColor: this.icon,
42
+ primaryColor: this.primary,
43
+ secondaryColor: this.secondary
44
+ };
45
+ }
39
46
  },
40
47
  dark: {
41
48
  primary: "#dc2626",
@@ -47,7 +54,14 @@ var APP_THEMES = {
47
54
  border: "#333333",
48
55
  hover: "#2d1a1a",
49
56
  selection: "#4a1212",
50
- icon: "#dc2626"
57
+ icon: "#dc2626",
58
+ get customStyles() {
59
+ return {
60
+ iconColor: this.icon,
61
+ primaryColor: this.primary,
62
+ secondaryColor: this.secondary
63
+ };
64
+ }
51
65
  }
52
66
  },
53
67
  slate: {
@@ -62,7 +76,14 @@ var APP_THEMES = {
62
76
  border: "#e2e8f0",
63
77
  hover: "#f1f5f9",
64
78
  selection: "#e0f2fe",
65
- icon: "#334155"
79
+ icon: "#334155",
80
+ get customStyles() {
81
+ return {
82
+ iconColor: this.icon,
83
+ primaryColor: this.primary,
84
+ secondaryColor: this.secondary
85
+ };
86
+ }
66
87
  },
67
88
  dark: {
68
89
  primary: "#94a3b8",
@@ -74,7 +95,14 @@ var APP_THEMES = {
74
95
  border: "#334155",
75
96
  hover: "#1e293b",
76
97
  selection: "#0c4a6e",
77
- icon: "#94a3b8"
98
+ icon: "#94a3b8",
99
+ get customStyles() {
100
+ return {
101
+ iconColor: this.icon,
102
+ primaryColor: this.primary,
103
+ secondaryColor: this.secondary
104
+ };
105
+ }
78
106
  }
79
107
  }
80
108
  };
@@ -12,6 +12,11 @@ declare const APP_THEMES: {
12
12
  hover: string;
13
13
  selection: string;
14
14
  icon: string;
15
+ readonly customStyles: {
16
+ iconColor: any;
17
+ primaryColor: any;
18
+ secondaryColor: any;
19
+ };
15
20
  };
16
21
  dark: {
17
22
  primary: string;
@@ -24,6 +29,11 @@ declare const APP_THEMES: {
24
29
  hover: string;
25
30
  selection: string;
26
31
  icon: string;
32
+ readonly customStyles: {
33
+ iconColor: any;
34
+ primaryColor: any;
35
+ secondaryColor: any;
36
+ };
27
37
  };
28
38
  };
29
39
  slate: {
@@ -39,6 +49,11 @@ declare const APP_THEMES: {
39
49
  hover: string;
40
50
  selection: string;
41
51
  icon: string;
52
+ readonly customStyles: {
53
+ iconColor: any;
54
+ primaryColor: any;
55
+ secondaryColor: any;
56
+ };
42
57
  };
43
58
  dark: {
44
59
  primary: string;
@@ -51,6 +66,11 @@ declare const APP_THEMES: {
51
66
  hover: string;
52
67
  selection: string;
53
68
  icon: string;
69
+ readonly customStyles: {
70
+ iconColor: any;
71
+ primaryColor: any;
72
+ secondaryColor: any;
73
+ };
54
74
  };
55
75
  };
56
76
  };
@@ -12,6 +12,11 @@ declare const APP_THEMES: {
12
12
  hover: string;
13
13
  selection: string;
14
14
  icon: string;
15
+ readonly customStyles: {
16
+ iconColor: any;
17
+ primaryColor: any;
18
+ secondaryColor: any;
19
+ };
15
20
  };
16
21
  dark: {
17
22
  primary: string;
@@ -24,6 +29,11 @@ declare const APP_THEMES: {
24
29
  hover: string;
25
30
  selection: string;
26
31
  icon: string;
32
+ readonly customStyles: {
33
+ iconColor: any;
34
+ primaryColor: any;
35
+ secondaryColor: any;
36
+ };
27
37
  };
28
38
  };
29
39
  slate: {
@@ -39,6 +49,11 @@ declare const APP_THEMES: {
39
49
  hover: string;
40
50
  selection: string;
41
51
  icon: string;
52
+ readonly customStyles: {
53
+ iconColor: any;
54
+ primaryColor: any;
55
+ secondaryColor: any;
56
+ };
42
57
  };
43
58
  dark: {
44
59
  primary: string;
@@ -51,6 +66,11 @@ declare const APP_THEMES: {
51
66
  hover: string;
52
67
  selection: string;
53
68
  icon: string;
69
+ readonly customStyles: {
70
+ iconColor: any;
71
+ primaryColor: any;
72
+ secondaryColor: any;
73
+ };
54
74
  };
55
75
  };
56
76
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  APP_THEMES
3
- } from "../chunk-QGXXOQJF.js";
3
+ } from "../chunk-YXPBXCY5.js";
4
4
  import "../chunk-LI4N7JWK.js";
5
5
  export {
6
6
  APP_THEMES
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rufous/ui",
3
3
  "private": false,
4
- "version": "0.2.0-beta.0",
4
+ "version": "0.2.0-beta.1",
5
5
  "type": "module",
6
6
  "description": "Experimental: A lightweight React UI component library (Beta)",
7
7
  "style": "./dist/style.css",