Color Mode Implementation in C++

Any tips on files to check for the '--enable-force-dark' option or how to replace ARGB+RGB values accurately using CIELAB would be appreciated. I suspect some source files might be relevant in my GitHub repository, and I appreciate any insights!
 avatar
unknown
c_cpp
a year ago
1.0 kB
4
No Index
// Any ideas, recommendations, or tips? Anything I should expect or look out for? Any target source files I should be aware of that relate to --enable-force-dark that you could look into for me?

// I'd like to stick with CIELAB, and make sure I accurately replace the ARGB+RGB hexadecimal values with the appropriate colors.

// In the following C++ code, I would imagine in this small example for the few files I will have to change to make this work. `kDark` would be for Solarized Dark, and `kLight` would go for Solarized Light? In the GitHub repository I have a few suspect source files that may or may not relate to what I am going for.

// Example:

        // Dark mode
         {ColorMode::kDark,
          ColorProvider::ControlsLayerType::kHairlineBorderColor,
          SkColorSetARGB(0x24, 0xFF, 0xFF, 0xFF)},

         // Light mode
         {ColorMode::kLight,
          ColorProvider::ControlsLayerType::kHairlineBorderColor,
          SkColorSetARGB(0x24, 0x0, 0x0, 0x0)},

// https://github.com/BubbleSquish/Solarized-Chromium/
Editor is loading...
Leave a Comment