@meith/theme-midnight 0.7.0 → 0.8.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.
- package/package.json +3 -3
- package/src/copy.ts +186 -0
- package/src/index.ts +4 -4
- package/src/messages/en.json +90 -0
- package/src/messages/index.ts +5 -0
- package/src/slots/announcement.tsx +14 -4
- package/src/slots/board-index.tsx +10 -4
- package/src/slots/board-stats.tsx +16 -12
- package/src/slots/category-block.tsx +13 -6
- package/src/slots/footer.tsx +14 -3
- package/src/slots/forum-display.tsx +25 -8
- package/src/slots/forum-row.tsx +8 -6
- package/src/slots/header.tsx +13 -3
- package/src/slots/latest-posts.tsx +8 -5
- package/src/slots/latest-threads.tsx +12 -5
- package/src/slots/member-profile.tsx +13 -9
- package/src/slots/navigation.tsx +6 -3
- package/src/slots/notice.tsx +11 -5
- package/src/slots/pagination.tsx +18 -7
- package/src/slots/post-actions.tsx +17 -10
- package/src/slots/post-bit.tsx +29 -16
- package/src/slots/shell.tsx +6 -3
- package/src/slots/subforum-list.tsx +10 -4
- package/src/slots/thread-row.tsx +18 -9
- package/src/slots/thread-view.tsx +18 -5
- package/src/slots/user-panel.tsx +12 -9
- package/src/slots/who-is-online.tsx +17 -12
- package/src/theme.ts +53 -1
package/src/theme.ts
CHANGED
|
@@ -1,6 +1,31 @@
|
|
|
1
1
|
import { defaultTheme } from '@meith/theme-default'
|
|
2
2
|
import { defineTheme } from '@meith/theme-kit'
|
|
3
3
|
|
|
4
|
+
import {
|
|
5
|
+
announcementCopy,
|
|
6
|
+
boardIndexCopy,
|
|
7
|
+
boardStatsCopy,
|
|
8
|
+
categoryBlockCopy,
|
|
9
|
+
footerCopy,
|
|
10
|
+
forumDisplayCopy,
|
|
11
|
+
forumRowCopy,
|
|
12
|
+
headerCopy,
|
|
13
|
+
latestPostsCopy,
|
|
14
|
+
latestThreadsCopy,
|
|
15
|
+
memberProfileCopy,
|
|
16
|
+
navigationCopy,
|
|
17
|
+
noticeCopy,
|
|
18
|
+
paginationCopy,
|
|
19
|
+
postActionsCopy,
|
|
20
|
+
postBitCopy,
|
|
21
|
+
shellCopy,
|
|
22
|
+
subforumListCopy,
|
|
23
|
+
threadRowCopy,
|
|
24
|
+
threadViewCopy,
|
|
25
|
+
userPanelCopy,
|
|
26
|
+
whoIsOnlineCopy,
|
|
27
|
+
} from './copy'
|
|
28
|
+
import { Announcement } from './slots/announcement'
|
|
4
29
|
import { BoardIndex } from './slots/board-index'
|
|
5
30
|
import { BoardStats } from './slots/board-stats'
|
|
6
31
|
import { CategoryBlock } from './slots/category-block'
|
|
@@ -13,7 +38,6 @@ import { LatestThreads } from './slots/latest-threads'
|
|
|
13
38
|
import { MemberProfile } from './slots/member-profile'
|
|
14
39
|
import { Navigation } from './slots/navigation'
|
|
15
40
|
import { Notice } from './slots/notice'
|
|
16
|
-
import { Announcement } from './slots/announcement'
|
|
17
41
|
import { Pagination } from './slots/pagination'
|
|
18
42
|
import { PostActions } from './slots/post-actions'
|
|
19
43
|
import { PostBit } from './slots/post-bit'
|
|
@@ -56,4 +80,32 @@ export const midnightTheme = defineTheme({
|
|
|
56
80
|
|
|
57
81
|
MemberProfile,
|
|
58
82
|
},
|
|
83
|
+
copy: {
|
|
84
|
+
Shell: shellCopy,
|
|
85
|
+
Header: headerCopy,
|
|
86
|
+
UserPanel: userPanelCopy,
|
|
87
|
+
Navigation: navigationCopy,
|
|
88
|
+
Footer: footerCopy,
|
|
89
|
+
Notice: noticeCopy,
|
|
90
|
+
Announcement: announcementCopy,
|
|
91
|
+
|
|
92
|
+
BoardIndex: boardIndexCopy,
|
|
93
|
+
CategoryBlock: categoryBlockCopy,
|
|
94
|
+
ForumRow: forumRowCopy,
|
|
95
|
+
BoardStats: boardStatsCopy,
|
|
96
|
+
WhoIsOnline: whoIsOnlineCopy,
|
|
97
|
+
LatestThreads: latestThreadsCopy,
|
|
98
|
+
LatestPosts: latestPostsCopy,
|
|
99
|
+
|
|
100
|
+
ForumDisplay: forumDisplayCopy,
|
|
101
|
+
ThreadRow: threadRowCopy,
|
|
102
|
+
SubforumList: subforumListCopy,
|
|
103
|
+
Pagination: paginationCopy,
|
|
104
|
+
|
|
105
|
+
ThreadView: threadViewCopy,
|
|
106
|
+
PostBit: postBitCopy,
|
|
107
|
+
PostActions: postActionsCopy,
|
|
108
|
+
|
|
109
|
+
MemberProfile: memberProfileCopy,
|
|
110
|
+
},
|
|
59
111
|
})
|