Skip to content

Commit

Permalink
design - webpack configuration - add config
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasGottvald authored and pesektomas committed Mar 31, 2020
1 parent ec2f7a8 commit 138ac35
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
plugins: {
'autoprefixer': { browserlist: ['last 3 versions'] },
}
}
6 changes: 3 additions & 3 deletions src/Resources/styles/admin/core/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
/*******************************************************************
// PATHS
*******************************************************************/
@path-design: '../../../bundles/shopsysframework';
@path-font: '../fonts';
@path-design: '/assets/admin/images';
@path-font: '/assets/frontend/fonts';


/*******************************************************************
// FONTS
*******************************************************************/
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500&subset=latin-ext');
@import url('//fonts.googleapis.com/css?family=Roboto:400,500&subset=latin-ext.css');

@font: "Roboto", Arial, Helvetica, sans-serif;

Expand Down
2 changes: 1 addition & 1 deletion src/Resources/views/Admin/Layout/base.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="noindex, nofollow">

<link rel="stylesheet" type="text/css" href="{{ asset('assets/admin/styles/index_' ~ getCssVersion() ~ '.css') }}" media="screen, projection">
{{ encore_entry_link_tags('admin-style') }}

{{ encore_entry_script_tags('admin') }}

Expand Down

0 comments on commit 138ac35

Please sign in to comment.