diff options
| author | Henry Jameson <me@hjkos.com> | 2024-02-18 18:40:14 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2024-02-18 18:40:14 +0200 |
| commit | 3e198526e66b88301882b14240f0d50b8819b520 (patch) | |
| tree | d275a3e37c6f79c695d121bec658f61f154c9683 /src/components/status | |
| parent | 7c77809ff9a4d365ec17fb2ed43f3795382940a9 (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.js | 24 |
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' + } + } + ] +} |
