diff options
Diffstat (limited to 'src/components/status/post.style.js')
| -rw-r--r-- | src/components/status/post.style.js | 35 |
1 files changed, 35 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..673f72e0 --- /dev/null +++ b/src/components/status/post.style.js @@ -0,0 +1,35 @@ +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', + opacity: 0 + } + }, + { + state: ['selected'], + directives: { + background: '--inheritedBackground, 10', + opacity: 1 + } + } + ] +} |
