@firecms/ui 3.0.0-canary.145 → 3.0.0-canary.147
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/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@firecms/ui",
|
3
3
|
"type": "module",
|
4
|
-
"version": "3.0.0-canary.
|
4
|
+
"version": "3.0.0-canary.147",
|
5
5
|
"description": "Awesome Firebase/Firestore-based headless open-source CMS",
|
6
6
|
"funding": {
|
7
7
|
"url": "https://github.com/sponsors/firecmsco"
|
@@ -105,9 +105,10 @@
|
|
105
105
|
"files": [
|
106
106
|
"dist",
|
107
107
|
"src",
|
108
|
+
"index.css",
|
108
109
|
"tailwind.config.js"
|
109
110
|
],
|
110
|
-
"gitHead": "
|
111
|
+
"gitHead": "904db63d5e1b326111f6d4c2787b7fde84b1decf",
|
111
112
|
"publishConfig": {
|
112
113
|
"access": "public"
|
113
114
|
}
|
@@ -13,10 +13,8 @@ export type IconButtonProps<C extends React.ElementType> =
|
|
13
13
|
onClick?: React.MouseEventHandler<any>
|
14
14
|
}
|
15
15
|
|
16
|
-
const buttonClasses =
|
17
|
-
|
18
|
-
const baseClasses =
|
19
|
-
"inline-flex items-center justify-center p-2 text-sm font-medium focus:outline-none transition-colors ease-in-out duration-150";
|
16
|
+
const buttonClasses = "hover:bg-surface-accent-200 hover:bg-opacity-75 dark:hover:bg-surface-accent-800";
|
17
|
+
const baseClasses = "inline-flex items-center justify-center p-2 text-sm font-medium focus:outline-none transition-colors ease-in-out duration-150";
|
20
18
|
const colorClasses = "text-surface-accent-600 visited:text-surface-accent-600 dark:text-surface-accent-300 dark:visited:text-surface-300";
|
21
19
|
const sizeClasses = {
|
22
20
|
medium: "w-10 !h-10 min-w-10 min-h-10",
|
package/tailwind.config.js
CHANGED
@@ -37,6 +37,7 @@ export default {
|
|
37
37
|
},
|
38
38
|
colors: {
|
39
39
|
"primary": "var(--fcms-primary)",
|
40
|
+
"primary-dark": "var(--fcms-primary-dark)",
|
40
41
|
"primary-bg": "var(--fcms-primary-bg)",
|
41
42
|
"secondary": "var(--fcms-secondary)",
|
42
43
|
"field": {
|
@@ -45,7 +46,7 @@ export default {
|
|
45
46
|
},
|
46
47
|
"text": {
|
47
48
|
"primary": "rgba(0, 0, 0, 0.87)",
|
48
|
-
"secondary": "rgba(0, 0, 0, 0.
|
49
|
+
"secondary": "rgba(0, 0, 0, 0.52)",
|
49
50
|
"disabled": "rgba(0, 0, 0, 0.38)",
|
50
51
|
"primary-dark": "#ffffff",
|
51
52
|
"secondary-dark": "rgba(255, 255, 255, 0.60)",
|