custom-theme

Why are the Luma Thema sample images from Magento2 sample data not visible when extending it to a custom theme?

[亡魂溺海] 提交于 2020-01-25 07:41:05
问题 I installed the Magento2 open source sample data and everything works fine. When I switch to the luma theme in the admin backend I can see everything. But when I create a custom theme based on luma theme the data/images is not visible anymore. What am I doing wrong? Should it be marked somewhere? 回答1: Ok, I figured it out. I had to make two sql queries in the database because it was a problem with the widgets assigned to the old theme: UPDATE layout_link SET theme_id = '[CUSTOM_THEME_ID]'

Angular Material Typography doesn't work properly

我的未来我决定 提交于 2019-12-11 14:59:03
问题 I am trying to create my custom theme for Angular Material but when I apply the typography some elements change its own fonts but not in all the application. For example, for links doesn't works and for grid lists elements neither(I didn't notice if it occurs with more material components). Here is my code: font.scss @import url('https://fonts.googleapis.com/css?family=Indie+Flower&display=swap'); $fontConfig: mat-typography-config( $font-family: "'Indie Flower', cursive", $display-4: mat