question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Theme not working

See original GitHub issue

This repository’s issues are reserved for feature requests and bug reports.

Do you want to request a feature or report a bug?

bug

Bug Report

After upgrading to beta 4 theme.scss give following error.

./~/css-loader?{“sourceMap”:false,“importLoaders”:1}!./~/postcss-loader!./~/sass-loader!./src/theme.scss Module build failed: $opacity: if(opacity($color) < 1, opacity($color), $opacity); ^ Argument $color of opacity($color) must be a color

Backtrace: node_modules/@covalent/core/common/styles/_theme-functions.scss:58, in function opacity node_modules/@covalent/core/common/styles/_theme-functions.scss:58, in function if node_modules/@covalent/core/common/styles/_theme-functions.scss:58, in function mat-color node_modules/@angular/material/_theming.scss:2540, in mixin mat-slider-theme node_modules/@angular/material/_theming.scss:2757, in mixin angular-material-theme stdin:21 in /home/randika/Documents/projects/java/sts/extend/extend-spring-boot-sample/apps/web/angular/node_modules/@covalent/core/common/styles/_theme-functions.scss (line 58, column 16) @ ./src/theme.scss 4:14-194 @ multi ./src/styles.css ./~/@covalent/core/common/platform.scss ./src/theme.scss

What is the expected behavior?

Themes to work as normal

Which version of Angular and Material, and which browser and OS does this issue affect?

“angular/core” : “^4.0.0”, “angular/animations” : “^4.1.3”,
“angular/material” : “^2.0.0-beta.6”,

Chome : Version 56.0.2924.87 (64-bit) Linux Ubuntu 16.04

Did this work in previous versions of Angular / Material?

Yes with Beta.3

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:16 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
ranoufcommented, Jun 14, 2017

With version ^1.0.0-beta.5-1, the problem is gone

1reaction
emoralesb05commented, Jun 7, 2017

We are currently waiting on angular@4.2.0 to release, since once its released its gonna break 2 of our directives internally (since we were using private animation API’s), so we want to save people from that hassle and fix it before we release so both things go out at the same time.

Once 4.2.0 is released, and we can merge https://github.com/Teradata/covalent/pull/608 which is already good to go, we will release asap after that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

9 Best Ways to Fix Samsung Themes Not Working Issue
9 Best Ways to Fix Samsung Themes Not Working Issue · 1. Restart Phone · 2. Turn off Accessibility Option · 3. Enable...
Read more >
10 Common WordPress Theme Issues & How To Fix Them
The simplest fix is to just go to Settings > Permalinks and click the save button. Usually this will do the trick. But...
Read more >
Is Your Windows Theme Not Syncing Properly? Here's the Fix
The first thing to try is to check if the theme you are trying to sync is the root of your problem. In...
Read more >
Common WordPress Theme Issues (And How To Fix Them)
Clear your browser cache and refresh your site by loading up your homepage and pressing CTRL+R. If this doesn't work, the problem is...
Read more >
Themes not loading - WordPress.org
Hi. I am a complete novice with website building and have installed wordpress on my hostting. The problem I am having is when...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found