File tree Expand file tree Collapse file tree 2 files changed +67
-0
lines changed
.dev-assets/syntax-issues/fixed Expand file tree Collapse file tree 2 files changed +67
-0
lines changed Original file line number Diff line number Diff line change
1
+ /* See: https://github.com/microsoft/vscode-css/issues/21 */
2
+
3
+ a { color : AccentColor; }
4
+
5
+ a { color : background; }
6
+
7
+ a { transition-property : background, all; }
8
+
9
+ .myclass {
10
+ transition-property : all, background;
11
+ }
Original file line number Diff line number Diff line change
1
+ @utility fontawesome {
2
+ @apply pointer-events-none font- (--fa-weight ) content- (--fa-icon );
3
+ --fa-icon : '\f00c' ;
4
+ --fa-weight : 300 ;
5
+ --fa-font-family : 'Font Awesome 6 Pro' ;
6
+ font-family : var ( --fa-font-family );
7
+ }
8
+
9
+ @utility content {
10
+ content : '' ;
11
+ }
12
+
13
+ /* Sets the alignments of elements directly inside the root content, both fro... */
14
+ @utility create-main-content-alignment {
15
+ /* Content container */
16
+ > * {
17
+ @apply mx-auto max-w- (--content-container-width );
18
+ }
19
+
20
+ /* Wide container */
21
+ > .container ,
22
+ > .alignwide {
23
+ @apply mx-auto max-w- (--container-width ) ;
24
+ }
25
+
26
+ > .alignfull {
27
+ @apply max-w-full;
28
+ }
29
+
30
+ /* Align content to the left when the container is not full width */
31
+ > * : not ( .alignwide , .alignfull , .container ) {
32
+ margin-left : calc ( ( 100% - var (--container-width ) ) / 2 );
33
+ }
34
+ }
35
+
36
+
37
+ .example {
38
+ /* Card padding */
39
+ --card-padding : 1rem ;
40
+ @variant lg {
41
+ --card-padding : 1.5rem ;
42
+ }
43
+ @variant xl {
44
+ --card-padding : 1.75rem ;
45
+ }
46
+
47
+ /* Container size */
48
+ --container-padding : 1rem ;
49
+ --container-width : calc ( 100% - var ( --container-padding ) * 2 );
50
+
51
+ @variant sm {
52
+ --container-width : calc (
53
+ var ( --breakpoint-sm ) - var ( --container-padding ) * 2
54
+ );
55
+ }
56
+ }
You can’t perform that action at this time.
0 commit comments