質問編集履歴

2

誤字を修正

2020/01/23 12:05

投稿

smty
smty

スコア33

test CHANGED
File without changes
test CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
 
18
18
 
19
- 注:以下の方法で`$primary-color`を設定できるのですが、今回は↑の方法で設定できる方法を知りたいです。
19
+ 注:以下の方法で`$primary-color`を設定できるのですが、今回は↑の方法で設定できる知りたいです。
20
20
 
21
21
  `gem materialize-sass`
22
22
 

1

「注」以下を追加

2020/01/23 12:05

投稿

smty
smty

スコア33

test CHANGED
File without changes
test CHANGED
@@ -13,3 +13,23 @@
13
13
  $primary-color: color(indigo, "lighten-2") !default;
14
14
 
15
15
  ```
16
+
17
+
18
+
19
+ 注:以下の方法で`$primary-color`を設定できるのですが、今回は↑の方法で設定できる方法を知りたいです。
20
+
21
+ `gem materialize-sass`
22
+
23
+ ```
24
+
25
+ # app/assets/stylesheets/application.scss
26
+
27
+
28
+
29
+ @import "materialize/components/color";
30
+
31
+ $primary-color: color("blue", "lighten-2") !default;
32
+
33
+ @import 'materialize';
34
+
35
+ ```