mirror of
https://github.com/jgthms/bulma
synced 2026-03-15 02:04:29 -07:00
Create 0.2.1
This commit is contained in:
@@ -22,7 +22,11 @@
|
||||
@return (map-get($color-rgb, 'red') * .2126) + (map-get($color-rgb, 'green') * .7152) + (map-get($color-rgb, 'blue') * .0722)
|
||||
|
||||
@function findColorInvert($color)
|
||||
@if (colorLuminance($color) > 0.67)
|
||||
// @if (colorLuminance($color) > 0.67)
|
||||
// @return rgba(black, 0.7)
|
||||
@debug #{$color}
|
||||
@debug colorLuminance($color)
|
||||
@if (colorLuminance($color) > 0.55)
|
||||
@return rgba(black, 0.7)
|
||||
@else
|
||||
@return white
|
||||
|
||||
@@ -20,12 +20,12 @@ $white-bis: hsl(0, 0%, 98%) !default
|
||||
$white: hsl(0, 0%, 100%) !default
|
||||
|
||||
$orange: hsl(14, 100%, 53%) !default
|
||||
$yellow: hsl(48, 100%, 53%) !default
|
||||
$green: hsl(141, 86%, 53%) !default
|
||||
$turquoise: hsl(171, 86%, 48%) !default
|
||||
$blue: hsl(217, 100%, 53%) !default
|
||||
$yellow: hsl(48, 100%, 67%) !default
|
||||
$green: hsl(141, 71%, 48%) !default
|
||||
$turquoise: hsl(171, 100%, 41%) !default
|
||||
$blue: hsl(217, 71%, 53%) !default
|
||||
$purple: hsl(271, 100%, 71%) !default
|
||||
$red: hsl(348, 100%, 53%) !default
|
||||
$red: hsl(348, 100%, 61%) !default
|
||||
|
||||
// Typography
|
||||
$family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif !default
|
||||
|
||||
Reference in New Issue
Block a user