質問編集履歴
2
ソースを一部変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
--color-primary: #d1fb3c;
|
16
16
|
|
17
|
-
|
17
|
+
--color-foundation: to left bottom , rgba(153,255,211,.66), rgba(189,255,226,.66);
|
18
18
|
|
19
19
|
|
20
20
|
|
1
その後 下記のエラーが出るものの、下記の部分だけはトランスパイルできていることが分かりました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -75,3 +75,43 @@
|
|
75
75
|
}
|
76
76
|
|
77
77
|
```
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
・
|
86
|
+
|
87
|
+
その後
|
88
|
+
|
89
|
+
下記のエラーが出るものの、下記の部分だけはトランスパイルできていることが分かりました。
|
90
|
+
|
91
|
+
.logo {
|
92
|
+
|
93
|
+
color: var(--color-primary);
|
94
|
+
|
95
|
+
}
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
postcss-custom-propertiesというプラグインもインストールしてみましたがエラーは変わりませんでした。
|
100
|
+
|
101
|
+
このエラーは無視してもよいのでしょうか?
|
102
|
+
|
103
|
+
```ここに言語を入力
|
104
|
+
|
105
|
+
src-before/layout/_header.css
|
106
|
+
|
107
|
+
22:1 ‼ variable '--color-primary' is undefined and used without a fallback [postcss-custom-properties]
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
[18:17:00] gulp-postcss: layout\_header.css
|
112
|
+
|
113
|
+
postcss-custom-properties: C:\Users\h\Desktop\images\gulp-folder\postcss\src-before\layout\_header.css:22:1: variable '--color-primary' is undefined and used without a fallback
|
114
|
+
|
115
|
+
postcss-custom-properties: C:\Users\h\Desktop\images\gulp-folder\postcss\src-before\layout\_header.css:22:1: variable '--color-primary' is undefined and used without a fallback
|
116
|
+
|
117
|
+
```
|