convenience {linne} | R Documentation |
Convenience Functions
Description
Convenience functions for common operations.
Usage
important_(value)
url_(value)
rgb_(r, g, b)
rgba_(r, g, b, a = 0.5)
Arguments
value |
Value to use. |
r , g , b , a |
Red, green, blue, and alpha values. |
Functions
-
important_()
- Makes it such that the rule cannot be overwritten by other rules (other selections). -
rgb_()
,rgba_()
- Functions for red, green, blue and alpha for transparency. -
url_()
- Wrap in aurl
CSS function call.
Examples
Linne$
new()$
rule(
sel_id("id"),
color = rgba_(255, 255, 255, .6),
fontSize = important_(20)
)
[Package linne version 0.0.2 Index]