Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/material_ui/tool/gen_defaults/data/app_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Version: 38.0.15
// Version: 38.1.12

import 'color_role.dart';
import 'shape_struct.dart';
Expand Down
11 changes: 3 additions & 8 deletions packages/material_ui/tool/gen_defaults/data/app_bar_large.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Version: 38.0.15
// Version: 38.1.12

import 'typescale.dart';
import 'typescale_struct.dart';

class TokenAppBarLarge {
/// md.comp.app-bar.large.container.height
static const double containerHeight = 152.00;

/// md.comp.app-bar.large.title.font
static const TypescaleStruct titleFont = TypescaleStruct(
fontFamily: 'Roboto',
fontSize: 28.00,
fontWeight: 400,
lineHeight: 36.00,
letterSpacing: 0.00,
);
static const TypescaleStruct titleFont = TokenTypescale.headlineMedium;
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Version: 38.0.15
// Version: 38.1.12

import 'typescale.dart';
import 'typescale_struct.dart';

class TokenAppBarLargeFlexible {
/// md.comp.app-bar.large-flexible.container.height
static const double containerHeight = 120.00;

/// md.comp.app-bar.large-flexible.subtitle.font
static const TypescaleStruct subtitleFont = TypescaleStruct(
fontFamily: 'Roboto',
fontSize: 16.00,
fontWeight: 500,
lineHeight: 24.00,
letterSpacing: 0.15,
);
static const TypescaleStruct subtitleFont = TokenTypescale.titleMedium;

/// md.comp.app-bar.large-flexible.title.font
static const TypescaleStruct titleFont = TypescaleStruct(
fontFamily: 'Roboto',
fontSize: 36.00,
fontWeight: 400,
lineHeight: 44.00,
letterSpacing: 0.00,
);
static const TypescaleStruct titleFont = TokenTypescale.displaySmall;

/// md.comp.app-bar.large-flexible.with-subtitle.container.height
static const double withSubtitleContainerHeight = 152.00;
Expand Down
11 changes: 3 additions & 8 deletions packages/material_ui/tool/gen_defaults/data/app_bar_medium.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Version: 38.0.15
// Version: 38.1.12

import 'typescale.dart';
import 'typescale_struct.dart';

class TokenAppBarMedium {
/// md.comp.app-bar.medium.container.height
static const double containerHeight = 112.00;

/// md.comp.app-bar.medium.title.font
static const TypescaleStruct titleFont = TypescaleStruct(
fontFamily: 'Roboto',
fontSize: 24.00,
fontWeight: 400,
lineHeight: 32.00,
letterSpacing: 0.00,
);
static const TypescaleStruct titleFont = TokenTypescale.headlineSmall;
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Version: 38.0.15
// Version: 38.1.12

import 'typescale.dart';
import 'typescale_struct.dart';

class TokenAppBarMediumFlexible {
/// md.comp.app-bar.medium-flexible.container.height
static const double containerHeight = 112.00;

/// md.comp.app-bar.medium-flexible.subtitle.font
static const TypescaleStruct subtitleFont = TypescaleStruct(
fontFamily: 'Roboto',
fontSize: 14.00,
fontWeight: 500,
lineHeight: 20.00,
letterSpacing: 0.10,
);
static const TypescaleStruct subtitleFont = TokenTypescale.labelLarge;

/// md.comp.app-bar.medium-flexible.title.font
static const TypescaleStruct titleFont = TypescaleStruct(
fontFamily: 'Roboto',
fontSize: 28.00,
fontWeight: 400,
lineHeight: 36.00,
letterSpacing: 0.00,
);
static const TypescaleStruct titleFont = TokenTypescale.headlineMedium;

/// md.comp.app-bar.medium-flexible.with-subtitle.container.height
static const double withSubtitleContainerHeight = 136.00;
Expand Down
27 changes: 5 additions & 22 deletions packages/material_ui/tool/gen_defaults/data/app_bar_small.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Version: 38.0.15
// Version: 38.1.12

import 'shape_struct.dart';
import 'typescale.dart';
import 'typescale_struct.dart';

class TokenAppBarSmall {
Expand All @@ -24,29 +25,11 @@ class TokenAppBarSmall {
);

/// md.comp.app-bar.small.search.label-text.font
static const TypescaleStruct searchLabelTextFont = TypescaleStruct(
fontFamily: 'Roboto',
fontSize: 16.00,
fontWeight: 400,
lineHeight: 24.00,
letterSpacing: 0.50,
);
static const TypescaleStruct searchLabelTextFont = TokenTypescale.bodyLarge;

/// md.comp.app-bar.small.subtitle.font
static const TypescaleStruct subtitleFont = TypescaleStruct(
fontFamily: 'Roboto',
fontSize: 12.00,
fontWeight: 500,
lineHeight: 16.00,
letterSpacing: 0.50,
);
static const TypescaleStruct subtitleFont = TokenTypescale.labelMedium;

/// md.comp.app-bar.small.title.font
static const TypescaleStruct titleFont = TypescaleStruct(
fontFamily: 'Roboto',
fontSize: 22.00,
fontWeight: 400,
lineHeight: 28.00,
letterSpacing: 0.00,
);
static const TypescaleStruct titleFont = TokenTypescale.titleLarge;
}
11 changes: 3 additions & 8 deletions packages/material_ui/tool/gen_defaults/data/assist_chip.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Version: 38.0.15
// Version: 38.1.12

import 'color_role.dart';
import 'shape_struct.dart';
import 'typescale.dart';
import 'typescale_struct.dart';

class TokenAssistChip {
Expand Down Expand Up @@ -119,13 +120,7 @@ class TokenAssistChip {
static const TokenColorRole labelTextColor = TokenColorRole.onSurface;

/// md.comp.assist-chip.label-text.type
static const TypescaleStruct labelTextType = TypescaleStruct(
fontFamily: 'Roboto',
fontSize: 14.00,
fontWeight: 500,
lineHeight: 20.00,
letterSpacing: 0.10,
);
static const TypescaleStruct labelTextType = TokenTypescale.labelLarge;

/// md.comp.assist-chip.pressed.label-text.color
static const TokenColorRole pressedLabelTextColor = TokenColorRole.onSurface;
Expand Down
11 changes: 3 additions & 8 deletions packages/material_ui/tool/gen_defaults/data/badge.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Version: 38.0.15
// Version: 38.1.12

import 'color_role.dart';
import 'shape_struct.dart';
import 'typescale.dart';
import 'typescale_struct.dart';

class TokenBadge {
Expand All @@ -19,13 +20,7 @@ class TokenBadge {
static const TokenColorRole largeLabelTextColor = TokenColorRole.onError;

/// md.comp.badge.large.label-text.type
static const TypescaleStruct largeLabelTextType = TypescaleStruct(
fontFamily: 'Roboto',
fontSize: 11.00,
fontWeight: 500,
lineHeight: 16.00,
letterSpacing: 0.50,
);
static const TypescaleStruct largeLabelTextType = TokenTypescale.labelSmall;

/// md.comp.badge.large.shape
static const ShapeStruct largeShape = ShapeStruct(
Expand Down
70 changes: 0 additions & 70 deletions packages/material_ui/tool/gen_defaults/data/banner.dart

This file was deleted.

51 changes: 0 additions & 51 deletions packages/material_ui/tool/gen_defaults/data/banners.dart

This file was deleted.

Loading