summaryrefslogtreecommitdiff
path: root/ui/styles
diff options
context:
space:
mode:
Diffstat (limited to 'ui/styles')
-rw-r--r--ui/styles/swatches.css24
1 files changed, 24 insertions, 0 deletions
diff --git a/ui/styles/swatches.css b/ui/styles/swatches.css
new file mode 100644
index 0000000..f2a9f99
--- /dev/null
+++ b/ui/styles/swatches.css
@@ -0,0 +1,24 @@
+.component-preview {
+ border: 1px solid grey;
+ margin: 1rem 2rem;
+}
+
+.component-properties {
+ margin: 1rem 2rem;
+}
+
+.component-properties textarea {
+ width: 100%;
+ height: 10em;
+}
+
+.component-properties textarea.html {
+ font-family: FiraCode, monospace;
+}
+
+.component-properties .suggestion {
+ font-size: 80%;
+ margin-left: 1rem;
+ margin-right: 1rem;
+ margin-bottom: 0.5em;
+}