Update functions.html (#1229)
This commit is contained in:
parent
4bf7bd0539
commit
c8ac248267
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ doc-subtab: functions
|
|||
<hr>
|
||||
|
||||
<div class="content">
|
||||
<p>Bulma uses 5 custom functions to help define the values and colors dynamically:</p>
|
||||
<p>Bulma uses 3 custom functions to help define the values and colors dynamically:</p>
|
||||
<ul>
|
||||
<li><code>powerNumber($number, $exp)</code>: calculates the value of a number exposed to another one. Returns a number.</li>
|
||||
<li><code>colorLuminance($color)</code>: defines if a color is dark or light. Return a decimal number between 0 and 1 where <= 0.5 is dark and > 0.5 is light.</li>
|
||||
|
|
Loading…
Add table
Reference in a new issue