diff --git a/examples/Calculator.re b/examples/Calculator.re index 8e282c9c8..4766f36e1 100644 --- a/examples/Calculator.re +++ b/examples/Calculator.re @@ -5,6 +5,8 @@ open Revery.Core.Window; open Revery.UI; open Revery.UI.Components; +open CamomileLibraryDefault.Camomile; + module Row = ( val component((render, ~children, ()) => render( @@ -45,7 +47,7 @@ module Column = ( ); module Button = ( - val component((render, ~contents: string, ~onClick, ~children, ()) => + val component((render, ~fontFamily="Roboto-Regular.ttf", ~contents: string, ~onClick, ~children, ()) => render( () => { let viewStyle = @@ -64,7 +66,7 @@ module Button = ( let textStyle = Style.make( ~color=Colors.black, - ~fontFamily="Roboto-Regular.ttf", + ~fontFamily, ~fontSize=32, (), ); @@ -292,7 +294,8 @@ module Calculator = ( /> /* TODO: Switch to a font with a backspace character */