aboutsummaryrefslogtreecommitdiff
path: root/src/components/status
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2024-02-18 18:40:14 +0200
committerHenry Jameson <me@hjkos.com>2024-02-18 18:40:14 +0200
commit3e198526e66b88301882b14240f0d50b8819b520 (patch)
treed275a3e37c6f79c695d121bec658f61f154c9683 /src/components/status
parent7c77809ff9a4d365ec17fb2ed43f3795382940a9 (diff)
dynamically load .style.js files; move the files closer to related components
Diffstat (limited to 'src/components/status')
-rw-r--r--src/components/status/post.style.js24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/components/status/post.style.js b/src/components/status/post.style.js
new file mode 100644
index 00000000..dda79220
--- /dev/null
+++ b/src/components/status/post.style.js
@@ -0,0 +1,24 @@
+export default {
+ name: 'Post',
+ selector: '.Status',
+ validInnerComponents: [
+ 'Text',
+ 'Link',
+ 'Icon',
+ 'Border',
+ 'Button',
+ 'ButtonUnstyled',
+ 'RichContent',
+ 'Input',
+ 'Avatar',
+ 'Attachment',
+ 'PollGraph'
+ ],
+ defaultRules: [
+ {
+ directives: {
+ background: '--bg'
+ }
+ }
+ ]
+}