Skip to content

Commit aad9d79

Browse files
authored
Merge pull request #8 from bbc/NOTICKET_RTL_Missing_Border_Properties
NOTICKET - rtl missing border properties
2 parents cc9e891 + c415699 commit aad9d79

File tree

5 files changed

+18
-2
lines changed

5 files changed

+18
-2
lines changed

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gel-sass-tools",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"homepage": "https://github.com/bbc/gel-sass-tools",
55
"authors": [
66
"Shaun Bent <[email protected]>"

lib/settings/_rtl.scss

+8
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ $border-right: 'border-right';
4141
$border-left: 'border-left';
4242
$border-left-width: 'border-right-width';
4343
$border-right-width: 'border-left-width';
44+
$border-left-color: 'border-left-color';
45+
$border-right-color: 'border-right-color';
46+
$border-left-style: 'border-left-style';
47+
$border-right-style: 'border-right-style';
4448
$padding-right: 'padding-right';
4549
$padding-left: 'padding-left';
4650
$right: 'right';
@@ -56,6 +60,10 @@ $left: 'left';
5660
$border-left: 'border-right';
5761
$border-left-width: 'border-right-width';
5862
$border-right-width: 'border-left-width';
63+
$border-left-color: 'border-right-color';
64+
$border-right-color: 'border-left-color';
65+
$border-left-style: 'border-right-style';
66+
$border-right-style: 'border-left-style';
5967
$padding-right: 'padding-left';
6068
$padding-left: 'padding-right';
6169
$right: 'left';

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gel-sass-tools",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "A collection of Sass Settings & Tools which align to key GEL values",
55
"main": "_sass-tools.scss",
66
"scripts": {

test/test-expected.css

+4
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
border-left: 10px;
3636
border-left-width: 10px;
3737
border-right-width: 10px;
38+
border-left-color: red;
39+
border-right-color: blue;
3840
padding-right: 10px;
3941
padding-left: 10px;
4042
right: 10px;
@@ -52,6 +54,8 @@
5254
border-right: 10px;
5355
border-left-width: 10px;
5456
border-right-width: 10px;
57+
border-right-color: red;
58+
border-left-color: blue;
5559
padding-left: 10px;
5660
padding-right: 10px;
5761
left: 10px;

test/test.scss

+4
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
#{$border-left}: 10px;
4444
#{$border-right-width}: 10px;
4545
#{$border-left-width}: 10px;
46+
#{$border-left-color}: red;
47+
#{$border-right-color}: blue;
4648
#{$padding-right}: 10px;
4749
#{$padding-left}: 10px;
4850
#{$right}: 10px;
@@ -64,6 +66,8 @@ $rtl: true;
6466
#{$border-left}: 10px;
6567
#{$border-right-width}: 10px;
6668
#{$border-left-width}: 10px;
69+
#{$border-left-color}: red;
70+
#{$border-right-color}: blue;
6771
#{$padding-right}: 10px;
6872
#{$padding-left}: 10px;
6973
#{$right}: 10px;

0 commit comments

Comments
 (0)