dart-material-design-lite icon indicating copy to clipboard operation
dart-material-design-lite copied to clipboard

404 errors if I use themes from rawgit

Open kasperpeulen opened this issue 10 years ago • 1 comments

I get the following errors if I add a theme from rawgit: <link id="theme" rel="stylesheet" href="https://cdn.rawgit.com/MikeMitterer/dart-mdl-theme/master/<theme-name>/material.min.css">

GET http://localhost:63345/packages/mdl/assets/fonts/roboto/Roboto-Medium.woff2 404 (Not Found)
GET http://localhost:63345/packages/mdl/assets/fonts/roboto/Roboto-Medium.woff 404 (Not Found)
GET http://localhost:63345/packages/mdl/assets/fonts/roboto/Roboto-Medium.ttf 404 (Not Found)
GET http://localhost:63345/packages/mdl/assets/fonts/roboto/Roboto-Bold.woff2 404 (Not Found)
GET http://localhost:63345/packages/mdl/assets/fonts/roboto/Roboto-Bold.woff 404 (Not Found)
GET http://localhost:63345/packages/mdl/assets/fonts/roboto/Roboto-Bold.ttf 404 (Not Found)

If I add the stylesheet like this: <link rel="stylesheet" href="packages/mdl/assets/styles/material.min.css">

I don't get those errors.

kasperpeulen avatar Aug 01 '15 10:08 kasperpeulen

I know... that's a bit a problem. It's a path-problem in SCSS. Usually it should work but in some cases it won't find the way to the fonts - maybe I'll remove this "feature" in one of the next releases.

MikeMitterer avatar Aug 06 '15 08:08 MikeMitterer