FLUTTER ECOSYSTEM

aloisdeniel/derived_colors

生成颜色变体。

衍生颜色 项目封面
Stars
62
Forks
5
最近推送(UTC)
2022年9月8日
项目状态
未归档
Aloïs Deniel GitHub avatar
GITHUB User

Aloïs Deniel ↗

Flutter Freelance

FreelanceRennes, France官方网站 ↗
语言DartHTMLKotlinSwiftObjective-C

技术话题

此仓库发布的插件

使用的依赖

依赖清单 2 项
  • flutter{"sdk":"flutter"}
  • flutter_test开发依赖{"sdk":"flutter"}

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

derived_colors

logo

Generate color variants.

Usage

import 'package:derived_colors/derived_colors.dart';

final color = Color(0xFFFF0000);
final light = color.variants.light;
final dark = color.variants.dark;
final invert = color.variants.invert;

final hoverColor = color.subtle();

Thanks

  • Bulma : inspired by Bulma's calculations.