post.style.js (642B)
- export default {
- name: 'Post',
- selector: '.Status',
- states: {
- selected: '.-focused'
- },
- validInnerComponents: [
- 'Text',
- 'Link',
- 'Icon',
- 'Border',
- 'Button',
- 'ButtonUnstyled',
- 'RichContent',
- 'Input',
- 'Avatar',
- 'Attachment',
- 'PollGraph'
- ],
- validInnerComponentsLite: [
- 'Text',
- 'Link',
- 'Icon',
- 'Border',
- 'ButtonUnstyled',
- 'RichContent',
- 'Avatar'
- ],
- defaultRules: [
- {
- directives: {
- background: '--bg'
- }
- },
- {
- state: ['selected'],
- directives: {
- background: '--inheritedBackground, 10'
- }
- }
- ]
- }