]> gitweb.factorcode.org Git - factor.git/commitdiff
slides: unify default-style and code-style.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sat, 15 Feb 2020 16:40:44 +0000 (08:40 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sat, 15 Feb 2020 16:40:44 +0000 (08:40 -0800)
extra/slides/slides.factor

index 89129667e52423e9ba73e4c7ac7a2b5595773067..eae7d2eafced0f23c97bfc1327b14991b8a24f0a 100644 (file)
@@ -8,25 +8,17 @@ IN: slides
 
 CONSTANT: stylesheet
     H{
-        { default-span-style
+        { default-style
             H{
                 { font-name $ default-sans-serif-font-name }
                 { font-size $[ default-font-size 3 * ] }
-            }
-        }
-        { default-block-style
-            H{
                 { wrap-margin $[ default-font-size 92 * ] }
             }
         }
-        { code-char-style
+        { code-style
             H{
                 { font-name $ default-monospace-font-name }
                 { font-size $[ default-font-size 3 * ] }
-            }
-        }
-        { code-style
-            H{
                 { page-color T{ rgba f 0.4 0.4 0.4 0.3 } }
             }
         }