Skip to content

Commit

Permalink
Test material icons
Browse files Browse the repository at this point in the history
  • Loading branch information
tomdracz committed Jun 24, 2024
1 parent 6ba4de8 commit a5bc416
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions app/javascript/stylesheets/styles_one.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import 'material-icons/iconfont/material-icons.css';

.red {
color: red;
}
Expand Down
4 changes: 3 additions & 1 deletion app/views/home/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@
<div>
<p>SVG from additional paths directory:</p>
<%= image_pack_tag('app/assets/images/test_additional.svg') %>
</div>
</div>

<span class="material-icons">pie_chart</span>
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"compression-webpack-plugin": "9",
"css-loader": "^6.10.0",
"css-minimizer-webpack-plugin": "^6.0.0",
"material-icons": "^1.13.12",
"mini-css-extract-plugin": "^2.8.0",
"shakapacker": "7.2.0",
"style-loader": "^3.3.4",
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2802,6 +2802,11 @@ make-dir@^3.0.2, make-dir@^3.1.0:
dependencies:
semver "^6.0.0"

material-icons@^1.13.12:
version "1.13.12"
resolved "https://registry.yarnpkg.com/material-icons/-/material-icons-1.13.12.tgz#eed4082bf0426642edeb027e75397e3064adc536"
integrity sha512-/2YoaB79IjUK2B2JB+vIXXYGtBfHb/XG66LvoKVM5ykHW7yfrV5SP6d7KLX6iijY6/G9GqwgtPQ/sbhFnOURVA==

mdn-data@2.0.28:
version "2.0.28"
resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.28.tgz#5ec48e7bef120654539069e1ae4ddc81ca490eba"
Expand Down

0 comments on commit a5bc416

Please sign in to comment.