diff --git a/packages/mix_lint_test/test/lints/avoid_defining_tokens_within_theme_data.dart b/packages/mix_lint_test/test/lints/avoid_defining_tokens_within_theme_data.dart index 25c42b552..9ae38d593 100644 --- a/packages/mix_lint_test/test/lints/avoid_defining_tokens_within_theme_data.dart +++ b/packages/mix_lint_test/test/lints/avoid_defining_tokens_within_theme_data.dart @@ -2,7 +2,7 @@ import 'package:flutter/material.dart'; import 'package:mix/mix.dart'; // Wrong case -final theme = MixThemeData( +final wrongTheme = MixThemeData( colors: { // expect_lint: mix_avoid_defining_tokens_within_theme_data ColorToken('a'): Colors.black, @@ -34,7 +34,7 @@ final radiusToken = RadiusToken('c'); final spaceToken = SpaceToken('d'); final textStyleToken = TextStyleToken('e'); -final otherTheme = MixThemeData( +final correctTheme = MixThemeData( colors: { colorToken: Colors.black, }, diff --git a/website/pages/docs/guides/animations.mdx b/website/pages/docs/guides/animations.mdx index c81f28f00..bee4e5e44 100644 --- a/website/pages/docs/guides/animations.mdx +++ b/website/pages/docs/guides/animations.mdx @@ -4,7 +4,7 @@ title: "Animations" --- # Animations - + In this guide, we will learn how animations work in Mix. Firstly, we need to understand how Mix styles work. All stylizations begin with the `Style` class. ## Style Class