static Style
adds some static css to your app's dynamic style sheet.
This function is mainly intended for internal use; use style whenever possible! Calling this function multiple times with identical styles will cause css-errors to be raised. Also make sure not to reference values from the Theme in the style passed to this function. They will not be updated when the Theme changes (hence 'static').
Parameters
well formed content of the css-rule to add
adds a static css-class to your app's dynamic style sheet.
This function is mainly intended for internal use; use style whenever possible! Calling this function multiple times with identical styles will cause css-errors to be raised. Also make sure not to reference values from the Theme in the style passed to this function. They will not be updated when the Theme changes (hence 'static').
Return
the name of the created class
Parameters
of the class to create
well formed content of the css-rule to add
adds a static css-class to your app's dynamic style sheet.
This function is mainly intended for internal use; use style whenever possible! Calling this function multiple times with identical styles will cause css-errors to be raised. Also make sure not to reference values from the Theme in the style passed to this function. They will not be updated when the Theme changes (hence 'static').
Return
the name of the created class
Parameters
of the class to create
styling DSL expression