File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -379,11 +379,20 @@ export default {
379379 } else if (codeFont == ' robotomono' ) {
380380 fontFamilyCode = ' Roboto Mono'
381381 }
382+ let textTransform = ' '
383+ if (this .activity .capsSwitch ) {
384+ textTransform = ' uppercase'
385+ }
386+ else {
387+ textTransform = ' none'
388+ }
382389
383390 this .cssProps = {
384391 ' --bodyFont' : fontFamilyBody,
385392 ' --codeFont' : fontFamilyCode,
393+ ' --transform' : textTransform,
386394 }
395+ console .log (this .cssProps )
387396 },
388397
389398 initBlockly : function (settings ) {
@@ -1858,12 +1867,13 @@ export default {
18581867 </script >
18591868<style scoped>
18601869.application {
1861- font-family : var (--bodyFont )
1870+ font-family : var (--bodyFont );
1871+ text-transform : var (--transform );
18621872}
18631873
18641874pre ,
18651875code {
1866- font-family : var (--codeFont )
1876+ font-family : var (--codeFont );
18671877}
18681878
18691879.blocklyDiv {
You can’t perform that action at this time.
0 commit comments