Loading...

Using LESS View

XD, PSD, AI and INDD layers to LESS with clean and clear code becomes simple. Translate your XD, PSD, AI and INDD layers to LESS with advanced support for text, images and shapes.

Example Image Element

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
Export Kit - LESS Mixins
----------------------------
Required Once
----------------------------
*/
 
.area(@x,@y,@width,@height){
    top:@y;
    left:@x;
    width:@width;
    height:@height;
}
 
/*----------mixins------------*/
 
@button_copy_top:240px;
@button_copy_left:446px;
@button_copy_width:310px;
@button_copy_height:166px;
 
#button_copy {
 
    .area(@button_copy_left,@button_copy_top,@button_copy_width,@button_copy_height);
    background:url(../skins/ek125_303_layer_effects/button_copy.png);
}

Example Text Element

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
Export Kit - LESS Mixins
----------------------------
Required Once
----------------------------
*/
 
.area(@x,@y,@width,@height){
    top:@y;
    left:@x;
    width:@width;
    height:@height;
}
 
/*----------mixins------------*/
 
@text_top:501px;
@text_left:132px;
@text_width:227px;
@text_height:90px;
@text_fontColor:#FFFFFF;
@text_fontFamily:"Arial, 'Helvetica Neue', Helvetica, sans-serif";
@text_fontSize:68px;
@text_fontWeight:bold;
@text_textAlign:left;
 
#text {
 
    .area(@text_left,@text_top,@text_width,@text_height);
    font-family:@text_fontFamily;
    font-size:@text_fontSize;
    font-weight:@text_fontWeight;
    text-align:@text_textAlign;
    color:@text_fontColor;
}

Example Shape Element

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
Export Kit - LESS Mixins
----------------------------
Required Once
----------------------------
*/
 
.area(@x,@y,@width,@height){
    top:@y;
    left:@x;
    width:@width;
    height:@height;
}
 
.radius(@radius:5px){
    border-radius:~"@{radius}";
    -moz-border-radius:~"@{radius}";
    -ms-border-radius:~"@{radius}";
    -o-border-radius:~"@{radius}";
    -webkit-border-radius:~"@{radius}";
}
 
/*----------mixins------------*/
 
@button_bg_top:449px;
@button_bg_left:72px;
@button_bg_width:310px;
@button_bg_height:159px;
@button_bg_radius:"30px";
@button_bg_color:#CE3636;
 
#button_bg {
 
    .area(@button_bg_left,@button_bg_top,@button_bg_width,@button_bg_height);
    .radius(@button_bg_radius);
    background:@button_bg_color;
}

Customize the LESS View to include additional information with the XD, PSD, AI and INDD layer such as effects, advanced text rendering and more.

Example Layer Effects

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
Export Kit - LESS Mixins
----------------------------
Required Once
----------------------------
*/
 
.area(@x,@y,@width,@height){
    top:@y;
    left:@x;
    width:@width;
    height:@height;
}
 
.radius(@radius:5px){
    border-radius:~"@{radius}";
    -moz-border-radius:~"@{radius}";
    -ms-border-radius:~"@{radius}";
    -o-border-radius:~"@{radius}";
    -webkit-border-radius:~"@{radius}";
}
 
.inset-box-shadow(@xs:10px,@ys:10px,@blur:5px,@spread:0,@color:#000){
    box-shadow:inset @arguments;
    -moz-box-shadow:inset @arguments;
    -webkit-box-shadow:inset @arguments;
}
 
/*----------mixins------------*/
 
@button_bg_top:663px;
@button_bg_left:819px;
@button_bg_width:315px;
@button_bg_height:160px;
@button_bg_radius:"30px";
@button_bg_color:#CE3636;
 
#button_bg {
 
    .area(@button_bg_left,@button_bg_top,@button_bg_width,@button_bg_height);
    .radius(@button_bg_radius);
    .inset-box-shadow(0px ,15px ,10px ,0px ,rgba(0,0,0,0.75));
    background:@button_bg_color;
}

Example Inline Content

1
2
3
4
5
6
7
#button_bg {
 
    .area(819px,663px,315px,160px);
    .radius("30px");
    .inset-box-shadow(0px ,15px ,10px ,0px ,rgba(0,0,0,0.75));
    background:#CE3636;
}

LOGIN NOW: Get instant access to our free Online Training - click here.

02. Using The Plugin

03. Layer Support

04. Basic Exports

05. Layer Tags

06. Optimization Tips

07. Complete Exports

DOWNLOAD NOW
🚀 Start saving time and money!