diff options
Diffstat (limited to 'src/components/status/post.style.js')
| -rw-r--r-- | src/components/status/post.style.js | 33 |
1 files changed, 33 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..8dce527e --- /dev/null +++ b/src/components/status/post.style.js @@ -0,0 +1,33 @@ +export default { + name: 'Post', + selector: '.Status', + states: { + selected: '.-focused' + }, + validInnerComponents: [ + 'Text', + 'Link', + 'Icon', + 'Border', + 'Button', + 'ButtonUnstyled', + 'RichContent', + 'Input', + 'Avatar', + 'Attachment', + 'PollGraph' + ], + defaultRules: [ + { + directives: { + background: '--bg' + } + }, + { + state: ['selected'], + directives: { + background: '--inheritedBackground, 10' + } + } + ] +} |
