@firecms/ui 3.0.0-canary.145 → 3.0.0-canary.146
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.146",
|
5
5
|
"description": "Awesome Firebase/Firestore-based headless open-source CMS",
|
6
6
|
"funding": {
|
7
7
|
"url": "https://github.com/sponsors/firecmsco"
|
@@ -107,7 +107,7 @@
|
|
107
107
|
"src",
|
108
108
|
"tailwind.config.js"
|
109
109
|
],
|
110
|
-
"gitHead": "
|
110
|
+
"gitHead": "601e622a79787f5b08f7ac27646d044787b972f1",
|
111
111
|
"publishConfig": {
|
112
112
|
"access": "public"
|
113
113
|
}
|
@@ -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)",
|