aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2024-02-19 00:10:10 +0200
committerHenry Jameson <me@hjkos.com>2024-02-19 00:10:10 +0200
commit6811191147c6e7eacdff580cdf291538e7df6e5e (patch)
treeb4ff946e3b1be21eb8841bb50b8dd0c1cf54fedb /src/components
parentf0bbb75df50eb7df91cbb172f2b1ff4a5a4d5310 (diff)
i'm stupid
Diffstat (limited to 'src/components')
-rw-r--r--src/components/attachment.style.js23
-rw-r--r--src/components/attachment/attachment.style.js8
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
+ }
}
]
}