Skip to content

Commit

Permalink
docs: Add color swatch comment template
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Sep 4, 2024
1 parent 18401ac commit b021460
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/src/theme/color_swatch.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,19 @@ import 'package:flutter/material.dart';
import 'color_extensions.dart';
import 'contrast.dart';

/// A swatch of colors with values from 10 (light) to 100 (dark).
/// {@template zeta-colors-swatch}
/// Contains shades from 10 (light) to 100 (dark).
///
/// See also:
/// * [ColorSwatch].
/// {@endtemplate}
///
/// {@category Theme}
@immutable
class ZetaColorSwatch extends ColorSwatch<int> with EquatableMixin {
/// Constructs a [ZetaColorSwatch].
///
///
/// See also:
/// * [MaterialColor].
const ZetaColorSwatch({
Expand Down

0 comments on commit b021460

Please sign in to comment.