hive-react-kit 0.0.36 → 0.0.38
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/dist/build.css
CHANGED
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
--color-purple-800: oklch(43.8% 0.218 303.724);
|
|
51
51
|
--color-purple-900: oklch(38.1% 0.176 304.987);
|
|
52
52
|
--color-slate-50: oklch(98.4% 0.003 247.858);
|
|
53
|
+
--color-slate-800: oklch(27.9% 0.041 260.031);
|
|
53
54
|
--color-slate-900: oklch(20.8% 0.042 265.755);
|
|
54
55
|
--color-slate-950: oklch(12.9% 0.042 264.695);
|
|
55
56
|
--color-gray-50: oklch(98.5% 0.002 247.839);
|
|
@@ -1112,6 +1113,9 @@
|
|
|
1112
1113
|
.bg-slate-50 {
|
|
1113
1114
|
background-color: var(--color-slate-50);
|
|
1114
1115
|
}
|
|
1116
|
+
.bg-slate-800 {
|
|
1117
|
+
background-color: var(--color-slate-800);
|
|
1118
|
+
}
|
|
1115
1119
|
.bg-slate-900 {
|
|
1116
1120
|
background-color: var(--color-slate-900);
|
|
1117
1121
|
}
|
|
@@ -1718,6 +1722,13 @@
|
|
|
1718
1722
|
}
|
|
1719
1723
|
}
|
|
1720
1724
|
}
|
|
1725
|
+
.hover\:bg-slate-800 {
|
|
1726
|
+
&:hover {
|
|
1727
|
+
@media (hover: hover) {
|
|
1728
|
+
background-color: var(--color-slate-800);
|
|
1729
|
+
}
|
|
1730
|
+
}
|
|
1731
|
+
}
|
|
1721
1732
|
.hover\:bg-white\/20 {
|
|
1722
1733
|
&:hover {
|
|
1723
1734
|
@media (hover: hover) {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
interface CommunitiesListProps {
|
|
2
2
|
onSelectCommunity: (communityId: string) => void;
|
|
3
|
+
theme?: "light" | "dark";
|
|
3
4
|
}
|
|
4
|
-
declare const CommunitiesList: ({ onSelectCommunity }: CommunitiesListProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare const CommunitiesList: ({ onSelectCommunity, theme, }: CommunitiesListProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
export default CommunitiesList;
|
|
@@ -8,6 +8,7 @@ interface CommunityPostDetailsProps {
|
|
|
8
8
|
onUpvoteClick?: (post: Post) => void;
|
|
9
9
|
onCommentClick?: (post: Post) => void;
|
|
10
10
|
onReblogClick?: (post: Post) => void;
|
|
11
|
+
theme?: "light" | "dark";
|
|
11
12
|
}
|
|
12
|
-
declare const CommunityPostDetails: ({ communityId, onAuthorClick, onPostClick, onCommunityClick, onPayoutClick, onUpvoteClick, onCommentClick, onReblogClick, }: CommunityPostDetailsProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare const CommunityPostDetails: ({ communityId, onAuthorClick, onPostClick, onCommunityClick, onPayoutClick, onUpvoteClick, onCommentClick, onReblogClick, theme, }: CommunityPostDetailsProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
14
|
export default CommunityPostDetails;
|