diff options
author | denisanisimov <denis@vaadin.com> | 2014-01-27 13:20:31 +0200 |
---|---|---|
committer | Denis Anisimov <denis@vaadin.com> | 2014-02-13 11:45:13 +0200 |
commit | 6f5b334247e024143b82c1c9e0c84b41d9bd2abb (patch) | |
tree | effbb89bbdf74f2e18b9ea8f80b50d80977a4bd0 /theme-compiler/tests/resources | |
parent | 3a9327925b2d987430866a6ec1806a4b35ff2697 (diff) | |
download | vaadin-framework-6f5b334247e024143b82c1c9e0c84b41d9bd2abb.tar.gz vaadin-framework-6f5b334247e024143b82c1c9e0c84b41d9bd2abb.zip |
Avoid error in rgb() function if variables are used (#12752).
Change-Id: Id51ffef257c193900026a4644eb99dbd3926c668
Diffstat (limited to 'theme-compiler/tests/resources')
-rw-r--r-- | theme-compiler/tests/resources/css/functions.css | 1 | ||||
-rw-r--r-- | theme-compiler/tests/resources/scss/functions.scss | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/theme-compiler/tests/resources/css/functions.css b/theme-compiler/tests/resources/css/functions.css index 3f6c2bd810..45d42b34de 100644 --- a/theme-compiler/tests/resources/css/functions.css +++ b/theme-compiler/tests/resources/css/functions.css @@ -13,4 +13,5 @@ color: #f00; color: hsl(33, 7%, 89%); color: hsl(33, 7%, 95%); + color: rgb(1, 2, 3); }
\ No newline at end of file diff --git a/theme-compiler/tests/resources/scss/functions.scss b/theme-compiler/tests/resources/scss/functions.scss index 93c1a6a64a..4230850b2a 100644 --- a/theme-compiler/tests/resources/scss/functions.scss +++ b/theme-compiler/tests/resources/scss/functions.scss @@ -1,5 +1,8 @@ $base-color : hsl(33, 7%, 89%); $app-bg-color : lighten($base-color, 6%); +$red:1; +$green:2; +$blue:3; .main { margin: abs(-2px); border: ceil(10.4px); @@ -15,4 +18,5 @@ $app-bg-color : lighten($base-color, 6%); color: lighten(#800, 20%); color : $base-color; color : $app-bg-color; + color: rgb($red, $green, $blue); }
\ No newline at end of file |