Marcus Bointon
|
26d35c98fe
|
Merge pull request #1148 from Synchro/luma
Better implementation of luma
|
2013-01-23 01:30:26 -08:00 |
|
Synchro
|
8f1bc4badf
|
Better implementation of luma
|
2013-01-23 09:30:15 +01:00 |
|
Synchro
|
4d5c404dd9
|
HSV support for #1143
|
2013-01-23 08:43:12 +01:00 |
|
Synchro
|
3b293be8e2
|
Fix contrast percentage handling, fixes #1144
|
2013-01-23 00:32:41 +01:00 |
|
ScottRippey
|
80d9f387c0
|
Reversed the order of extract's parameters, to match the precedence set
by other functions. Fixes #1119
|
2013-01-12 12:55:09 +00:00 |
|
Gustavo Henke
|
0ac95336f7
|
Added function pow() with tests
|
2013-01-10 22:16:49 +00:00 |
|
ScottRippey
|
454a761e9c
|
Added a new function - extract for extracting padding values from a variable
|
2013-01-10 22:13:33 +00:00 |
|
Luke Page
|
d5bb30b4db
|
Support angle unit conversion. add trig functions. don't compress angle unit. add mod and abs. Fixes #858 and fixes #240
|
2013-01-06 13:01:10 +00:00 |
|
Luke Page
|
703aa928fc
|
Add tests for compression. remove fullhex function - make colors not compress when used in strings.
|
2013-01-06 10:33:31 +00:00 |
|
Spocke
|
4e1e3ab957
|
Added fullhex function to disable compression of color values in MS filter: values.
|
2013-01-05 16:33:44 +00:00 |
|
Luke Page
|
4c2d01a316
|
make env available to functions. Fix the path for the data-uri function in the browser. Fixes #997
|
2013-01-05 15:29:45 +00:00 |
|
Luke Page
|
aa9c47b5da
|
move data-uri tests to url.less so they are not run in the browser. add browser tests. make function return url() in the browser
|
2013-01-05 15:29:45 +00:00 |
|
Jay Adkisson
|
2394c0065e
|
guess the mimetype, and properly encode non-base64 uris
|
2013-01-05 15:29:44 +00:00 |
|
Jay Adkisson
|
5b241fd3a7
|
throw an error if data-uri is used in the browser
and move require('fs') into the function, so other things
still work in the browser.
|
2013-01-05 15:29:43 +00:00 |
|
Jay Adkisson
|
24e41081ef
|
add a data-uri function
as described in a comment on #775
|
2013-01-05 15:29:42 +00:00 |
|
Salehen Rahman
|
d56e0a476d
|
Added the square root function.
|
2013-01-05 15:29:41 +00:00 |
|
Luke Page
|
d26159e5c6
|
Correct unit merge
|
2013-01-05 15:29:40 +00:00 |
|
Marcel Jackwerth
|
c98495a100
|
Correct handling of units.
width: 1cm - 5mm
=> width: 0.5cm (instead of -4cm)
@ratio: 100px/50px
=> @ratio == 2 (instead of 2px)
|
2013-01-05 15:29:31 +00:00 |
|
Luke Page
|
ba99755f6b
|
if contrast first argument does not match, pass it through. Fixes #1090
|
2012-12-30 08:36:00 +00:00 |
|
Luke Page
|
033abfd8be
|
do not divide by 100 when doing maths and keeping the %. Fixes #1069
|
2012-12-11 21:38:38 +00:00 |
|
Luke Page
|
952960c934
|
20% of a colour is not 0.20 but 51. fixes #454. Fix from @unknownbrackets
|
2012-11-29 16:27:55 +00:00 |
|
Luke Page
|
eabd8ac1ca
|
add unit function. Fixes #307
|
2012-11-27 08:21:21 +00:00 |
|
Mehran Kholdi
|
610fe7b464
|
Fixed a typo in HSV implementation
|
2012-10-21 15:31:12 +01:00 |
|
Mehran Kholdi
|
e1dc5a18d1
|
Cleaned up parts of functions.js
making the code more lint-friendly
|
2012-10-21 15:31:11 +01:00 |
|
Mehran Kholdi
|
695af3d597
|
Added HSV and HSVA helpers
|
2012-10-21 15:31:10 +01:00 |
|
Synchro
|
f8bee84fdf
|
Implement tint and shade functions
|
2012-09-23 17:16:23 +01:00 |
|
Sergey Yuferev
|
86520e53e8
|
added fraction support to round function
|
2012-08-30 20:22:08 +01:00 |
|
Rubens Mariuzzo
|
0a5245b2c3
|
8 more blending modes added: multiply, screen, overlay, hardlight, difference, exclusion, average & negation.
|
2012-08-19 10:25:34 +01:00 |
|
Rubens Mariuzzo
|
6e97b8f694
|
Soft light blending mode added.
|
2012-08-19 10:25:16 +01:00 |
|
Lucas Green
|
e812e16656
|
Added: red() green() and blue() functions, with tests.
|
2012-08-18 16:50:20 +01:00 |
|
Marcus Bointon
|
bb0886fcc9
|
Add contrast function following the same format as sass. Added tests.
Added luma calculation.
|
2012-08-12 20:38:03 +01:00 |
|
Denys Mishunov
|
372569f726
|
If weight is not passed to mix() assume it's 50
|
2012-07-29 16:36:33 +01:00 |
|
Alexis Sellier
|
e69433b8d1
|
rename is-* functions to is*
|
2012-01-07 01:33:54 +01:00 |
|
Alexis Sellier
|
b43d442d55
|
add more is-* functions
|
2012-01-03 19:01:47 +01:00 |
|
Alexis Sellier
|
5ec708c3f4
|
type-checking stylesheet functions
is-string, is-keyword, is-color, is-number
|
2012-01-03 18:45:31 +01:00 |
|
Alexis Sellier
|
ddc27617cf
|
improve function call error reporting
|
2011-12-18 17:30:02 +01:00 |
|
Alexis Sellier
|
eadc0d8704
|
color() function parses color string
|
2011-12-18 17:29:40 +01:00 |
|
hokaccha
|
b00aee79d6
|
Add function percentage
|
2011-12-15 11:15:38 +09:00 |
|
Alexis Sellier
|
7ae5af9b42
|
add ceil/floor math functions, refactor.
|
2011-12-10 13:50:53 +01:00 |
|
Alexis Sellier
|
c290c48b3f
|
node 0.5.x compatibility
|
2011-11-12 13:13:36 +01:00 |
|
Alexis Sellier
|
703efe2dc4
|
Merge pull request #335 from ttfkam/argb
update ARGB support, fix IE9 style injection
|
2011-08-22 05:40:14 -07:00 |
|
Alexis Sellier
|
a3f099fd69
|
Merge pull request #229 from bennyschudel/master
add fade() function
|
2011-08-18 03:38:21 -07:00 |
|
Miles Elam
|
71f15ac000
|
ARGB input removed. ARGB output added with the function argb(Color).
|
2011-08-03 21:02:10 -07:00 |
|
Daniel Bergey
|
d7cdc17cde
|
Fix for #198, with regexen, and urlencoding if the token is uppercase.
|
2011-05-04 06:17:03 +08:00 |
|
Kevan Davis
|
4bdd4f65fe
|
adding escape function (does url encoding, plus a few missing encodings necessary to embed svg in css)
|
2011-04-26 11:26:57 -04:00 |
|
bennyschudel
|
5130179dc5
|
renamed fadeto to fade
|
2011-03-30 03:02:09 -07:00 |
|
bennyschudel
|
9528420561
|
Added fadeto color function
|
2011-03-30 02:58:09 -07:00 |
|
Bart Schuller
|
202bcab8d2
|
Added new round(n) function.
Rationale: Using unrounded computed widths leads to pixel errors.
|
2011-02-14 23:47:41 +01:00 |
|
cloudhead
|
3916384664
|
(doc) added copyright notice to color mix function
|
2010-11-28 08:13:13 -05:00 |
|
cloudhead
|
186f898a8e
|
(new) mix function (StanAngeloff)
|
2010-11-26 17:19:30 -05:00 |
|