aboutsummaryrefslogtreecommitdiff
path: root/src/components/poll
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2024-02-18 18:40:14 +0200
committerHenry Jameson <me@hjkos.com>2024-02-18 18:40:14 +0200
commit3e198526e66b88301882b14240f0d50b8819b520 (patch)
treed275a3e37c6f79c695d121bec658f61f154c9683 /src/components/poll
parent7c77809ff9a4d365ec17fb2ed43f3795382940a9 (diff)
dynamically load .style.js files; move the files closer to related components
Diffstat (limited to 'src/components/poll')
-rw-r--r--src/components/poll/poll_graph.style.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/components/poll/poll_graph.style.js b/src/components/poll/poll_graph.style.js
new file mode 100644
index 00000000..01b4d35c
--- /dev/null
+++ b/src/components/poll/poll_graph.style.js
@@ -0,0 +1,14 @@
+export default {
+ name: 'PollGraph',
+ selector: '.poll-graph',
+ validInnerComponents: [
+ 'Text'
+ ],
+ defaultRules: [
+ {
+ directives: {
+ background: '--accent'
+ }
+ }
+ ]
+}