1. Use colors from the active theme's palette. When the theme is not part of the Gruvbox or Solarized package, fall back to hardcoded color values.
2. Use colors from the active Gruvbox or Solarized theme's palette. In case of any other theme , fall back to hardcoded color values.
Context:
"Gruvbox themes" is the name of a package that contains a series of color themes for a text editor.
"Solarized themes" is another package that also contains color themes for a text editor.
By hardcoded color values I mean some custom colors defined by the user rather than provided by the themes.
Zoltán Király Which one of these two sound natural? Both are fairly natural, but the first is a little more understandable. Zoltán Király Use colors from the active theme's palette.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
Zoltán Király Which one of these two sound natural?
Both are fairly natural, but the first is a little more understandable.
Zoltán KirályUse colors from the active theme's palette. When the theme is not part of the Gruvbox or Solarized package, fall back to hardcoded color values.
Here is how I would change it: