mirror of
https://github.com/jgthms/bulma
synced 2026-03-15 02:04:29 -07:00
Update functions.html (#1229)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user