File tree Expand file tree Collapse file tree 4 files changed +27
-0
lines changed Expand file tree Collapse file tree 4 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 11@import (reference ) ' vars' ;
22
3+ // / ======================================== ///
4+ // / MIXINS - DEPRECATED! Use SCSS instead! ///
5+ // / ======================================== ///
6+
37// TODO: refactor and find a better home for this mixin
48#HXDiv {
59 .shadyRoot (@rules ) {
Original file line number Diff line number Diff line change 11// TODO: migrate components from LESS
22@import " accordion/index" ;
33@import " alert/index" ;
4+ @import " box/index" ;
45@import " loader/index" ;
56@import " selector-strip/index" ;
67@import " typography/index" ;
Original file line number Diff line number Diff line change 1+ @import " mixins" ;
2+
3+ // TODO: convert remaining LESS styles
Original file line number Diff line number Diff line change 1+ @import " vars" ;
2+
3+ // TODO: refactor and find a better home for this mixin
4+ @mixin hxDiv-shadyRoot { // less: #HXDiv.shadyRoot({...})
5+ > #hxDiv {
6+ @content ;
7+ }
8+ }
9+
10+ // less: #Box.xs() -> hxBox(xs)
11+ // less: #Box.sm() -> hxBox(sm)
12+ // less: #Box.md() -> hxBox(md) or box() or box
13+ // less: #Box.lg() -> hxBox(lg)
14+ // less: #Box.xl() -> hxBox(xl)
15+ // less: #Box.xxl() -> hxBox(xxl)
16+ // less: #Box.flush() -> hxBox(flush)
17+ @mixin hxBox ($size : md) {
18+ padding : map-get ($space , $size );
19+ }
You can’t perform that action at this time.
0 commit comments