Skip to content

mengps/DelegateUI-Colors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DelegateUI Colors

🎨 调色板计算器 { 实现来自Ant-d }

构建

使用 cmake

  mkdir build && cd build
  cmake ..
  cmake --build .

如何使用

c++

    #include "delcolorgenerator.h"
    ...
    // 基于预置色生成色板
    auto colors = DelColorGenerator::generate(DelColorGenerator::Preset::Preset_Red, window.light, window.
    light? "#f0f0f0" : "#141414")

colors: [#fff1ef,#ffcac7,#ffa19e,#ff7575,#ff4c52,#f5222d,#cf1225,#a9071c,#820016,#5c0012]

许可证

使用 MIT LICENSE

开发环境

Windows 11,Qt 5.15.2 / Qt 6.7.3

About

🎨 来自 Ant-d 的调色板计算器 { CPP版 }

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published