diff options
| author | Henry Jameson <me@hjkos.com> | 2024-02-19 00:10:10 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2024-02-19 00:10:10 +0200 |
| commit | 6811191147c6e7eacdff580cdf291538e7df6e5e (patch) | |
| tree | b4ff946e3b1be21eb8841bb50b8dd0c1cf54fedb /src/components | |
| parent | f0bbb75df50eb7df91cbb172f2b1ff4a5a4d5310 (diff) | |
i'm stupid
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/attachment.style.js | 23 | ||||
| -rw-r--r-- | src/components/attachment/attachment.style.js | 8 |
2 files changed, 8 insertions, 23 deletions
diff --git a/src/components/attachment.style.js b/src/components/attachment.style.js deleted file mode 100644 index b6c5da6e..00000000 --- a/src/components/attachment.style.js +++ /dev/null @@ -1,23 +0,0 @@ -export default { - name: 'Attachment', - selector: '.Attachment', - validInnerComponents: [ - 'Border', - 'ButtonUnstyled' - ], - defaultRules: [ - { - directives: { - roundness: 3 - } - }, - { - component: 'ButtonUnstyled', - parent: { component: 'Attachment' }, - directives: { - background: '#FFFFFF', - opacity: 0.9 - } - } - ] -} diff --git a/src/components/attachment/attachment.style.js b/src/components/attachment/attachment.style.js index b76b3eb0..74e355c4 100644 --- a/src/components/attachment/attachment.style.js +++ b/src/components/attachment/attachment.style.js @@ -10,6 +10,14 @@ export default { directives: { roundness: 3 } + }, + { + component: 'ButtonUnstyled', + parent: { component: 'Attachment' }, + directives: { + background: '#FFFFFF', + opacity: 0.5 + } } ] } |
