File: custom-properties.css

package info (click to toggle)
node-postcss 8.5.6%2B~cs9.3.28-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,580 kB
  • sloc: javascript: 10,972; makefile: 5; sh: 3
file content (30 lines) | stat: -rw-r--r-- 544 bytes parent folder | download | duplicates (3)
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
:root {
  --number: 1;
  --unit: 100vw;
  --color: #06c;

  --function: calc(1 + 1);
  --variable: var(--unit);

  --string: 'single quoted string';
  --string: "double quoted string";

  --square-block: [1, 2, 3];
  --round-block: (1, 2, 3);

  --empty1: ;
  --empty2: /**/;
  --empty3: !important;
  --empty4:/**/ !important;
  --empty5:/**/ ;

  --bracket-block: {1, 2, 3};
  --JSON: [1, "2", {"three": {"a":1}}, [4]];
  --javascript: function(rule) { console.log(rule) };
}

:root{--a:1}

.semicolon-less {--empty-end:/**/ }

.empty{--a: }