-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Description
When Atom packages try to use the @background-color-highlight
variable with darken()
, lighten()
, mix()
etc., they get an error. I guess it's because the gradient used here
native-ui/styles/ui-variables.less
Line 42 in 1502430
@background-color-highlight: linear-gradient(to right, rgba(0,0,0,0.1), rgba(0,0,0, 0.08), rgba(0,0,0, 0.12)); |
isn't a "valid" color?
Steps to reproduce
- Use
native-ui
theme. - Install https://atom.io/packages/atom-ide-ui
Error shown:
Error compiling Less stylesheet: /Users/simurai/.atom/packages/atom-ide-ui/node_modules/atom-ide-ui/pkg/atom-ide-datatip/styles/datatip.less
Line number: 28
error evaluating function `mix`: color2.toHSL is not a function
Would it be possible to use a "flat" color for the @background-color-highlight
variable? Might not be perfect since this theme tries to imitate macOS.
Metadata
Metadata
Assignees
Labels
No labels