aboutsummaryrefslogtreecommitdiff
path: root/example.csma
diff options
context:
space:
mode:
Diffstat (limited to 'example.csma')
-rw-r--r--example.csma42
1 files changed, 42 insertions, 0 deletions
diff --git a/example.csma b/example.csma
new file mode 100644
index 0000000..bc78e34
--- /dev/null
+++ b/example.csma
@@ -0,0 +1,42 @@
+<Colors> {
+ <Text> {
+ <FG> { red }
+ }
+}
+<Alignment> {
+ <Center> {
+ margin-left: auto;
+ margin-right: auto;
+ }
+}
+
+#b {
+ color: <Colors/Text/FG>;
+}
+
+<Object a> {
+ #a {
+ abc: a;
+ color: <Colors/Text/FG>;
+ margin: 2em;
+ }
+ <Object b>
+}
+
+<Object b/Val>
+
+<Object b>
+// This is an example object
+{
+ .b {
+ margin: 0.2em;
+ padding: 0.5em;
+ }
+ <Val> {
+ a {
+ display: table;
+ <Alignment/Center>
+ }
+ }
+}
+