Blame view

node_modules/less/test/less-bom/namespacing/namespacing-5.less 563 Bytes
ce4c83ff   wxy   初始提交
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
  @import "imports/a-better-bootstrap";
  
  #theme.dark.navbar {
    .colors() {
      primary: rebeccapurple;
    }
    .colors(dark) {
      primary: black;
      secondary: grey;
    }
    .test() {
      val: output;
    }
  }
  
  .my-navbar {
    #theme.dark.navbar();
    background: .colors[primary];
    .test();
  }
  
  .another-navbar {
    @colors: #theme.dark.navbar.colors() !important;
    background: @colors[primary];
    border: 1px solid @colors[secondary];
  }
  
  .another {
    @colors: #theme.dark.navbar.colors(dark);
    background: @colors[primary];
    border: 1px solid @colors[secondary];
  }