Skip to content
Closed
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
4 changes: 4 additions & 0 deletions ouds_theme_contract/lib/ouds_component_version.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,17 @@
// Generated by Tokenator

class OudsComponentVersion {
static const alertMessage = '1.0.0';
static const badge = '1.2.0';
static const bar = '1.0.0';
static const button = '3.2.0';
static const checkbox = '2.4.0';
static const chip = '1.3.0';
static const divider = '1.0.0';
static const inlineAlert = '1.0.0';
static const link = '2.2.0';
static const passwordInput = '1.2.0';
static const phoneNumberInput = '1.2.0';
static const pinCodeInput = '1.2.0';
static const radioButton = '1.4.0';
static const skeleton = '1.0.0';
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
//
// Software Name: OUDS Flutter
// SPDX-FileCopyrightText: Copyright (c) Orange SA
// SPDX-License-Identifier: MIT
//
// This software is distributed under the MIT license,
// the text of which is available at https://opensource.org/license/MIT/
// or see the "LICENSE" file for more details.
//
// Software description: Flutter library of reusable graphical components
//

// Orange brand tokens version 2.3.0
// Generated by Tokenator

abstract class OudsAlertTokens {
late double borderRadiusDefault;
late double borderRadiusRounded;
late double borderWidth;
late double sizeIcon;
late double sizeMinHeight;
late double sizeMinHeightBottomActionPlacement;
late double sizeMinWidth;
late double spaceColumnGap;
late double spaceColumnGapAction;
late double spacePaddingBlock;
late double spacePaddingInline;
late double spaceRowGap;
late double spaceRowGapAction;
late double spaceRowGapBullet;
}
53 changes: 53 additions & 0 deletions ouds_theme_orange/lib/components/orange_alert_tokens.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
//
// Software Name: OUDS Flutter
// SPDX-FileCopyrightText: Copyright (c) Orange SA
// SPDX-License-Identifier: MIT
//
// This software is distributed under the MIT license,
// the text of which is available at https://opensource.org/license/MIT/
// or see the "LICENSE" file for more details.
//
// Software description: Flutter library of reusable graphical components
//

// Orange brand tokens version 2.3.0
// Generated by Tokenator

import 'package:ouds_global_raw_tokens/dimension_raw_tokens.dart';
import 'package:ouds_theme_contract/ouds_tokens_provider.dart';
import 'package:ouds_theme_contract/theme/tokens/components/ouds_alert_tokens.dart';

class OrangeAlertTokens extends OudsAlertTokens {
final OudsProvidersTokens providersTokens;

OrangeAlertTokens(this.providersTokens);

@override
double get borderRadiusDefault => providersTokens.borderTokens.radiusDefault;
@override
double get borderRadiusRounded => providersTokens.borderTokens.radiusLarge;
@override
double get borderWidth => providersTokens.borderTokens.widthNone;
@override
double get sizeIcon => providersTokens.sizeTokens.iconWithLabelLargeSizeSmall;
@override
double get sizeMinHeight => providersTokens.sizeTokens.minInteractiveArea;
@override
double get sizeMinHeightBottomActionPlacement => DimensionRawTokens.dimension1250;
@override
double get sizeMinWidth => DimensionRawTokens.dimension2000;
@override
double get spaceColumnGap => providersTokens.spaceTokens.columnGapMedium;
@override
double get spaceColumnGapAction => providersTokens.spaceTokens.columnGapSmall;
@override
double get spacePaddingBlock => providersTokens.spaceTokens.paddingBlockMedium;
@override
double get spacePaddingInline => providersTokens.spaceTokens.paddingInlineLarge;
@override
double get spaceRowGap => providersTokens.spaceTokens.rowGapSmall;
@override
double get spaceRowGapAction => providersTokens.spaceTokens.rowGap2xsmall;
@override
double get spaceRowGapBullet => providersTokens.spaceTokens.rowGapNone;
}
53 changes: 53 additions & 0 deletions ouds_theme_sosh/lib/components/sosh_alert_tokens.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
//
// Software Name: OUDS Flutter
// SPDX-FileCopyrightText: Copyright (c) Orange SA
// SPDX-License-Identifier: MIT
//
// This software is distributed under the MIT license,
// the text of which is available at https://opensource.org/license/MIT/
// or see the "LICENSE" file for more details.
//
// Software description: Flutter library of reusable graphical components
//

// Sosh brand tokens version 2.3.0
// Generated by Tokenator

import 'package:ouds_global_raw_tokens/dimension_raw_tokens.dart';
import 'package:ouds_theme_contract/ouds_tokens_provider.dart';
import 'package:ouds_theme_contract/theme/tokens/components/ouds_alert_tokens.dart';

class SoshAlertTokens extends OudsAlertTokens {
final OudsProvidersTokens providersTokens;

SoshAlertTokens(this.providersTokens);

@override
double get borderRadiusDefault => providersTokens.borderTokens.radiusLarge;
@override
double get borderRadiusRounded => providersTokens.borderTokens.radiusLarge;
@override
double get borderWidth => providersTokens.borderTokens.widthNone;
@override
double get sizeIcon => providersTokens.sizeTokens.iconWithLabelLargeSizeSmall;
@override
double get sizeMinHeight => providersTokens.sizeTokens.minInteractiveArea;
@override
double get sizeMinHeightBottomActionPlacement => DimensionRawTokens.dimension1250;
@override
double get sizeMinWidth => DimensionRawTokens.dimension2000;
@override
double get spaceColumnGap => providersTokens.spaceTokens.columnGapMedium;
@override
double get spaceColumnGapAction => providersTokens.spaceTokens.columnGapSmall;
@override
double get spacePaddingBlock => providersTokens.spaceTokens.paddingBlockMedium;
@override
double get spacePaddingInline => providersTokens.spaceTokens.paddingInlineLarge;
@override
double get spaceRowGap => providersTokens.spaceTokens.rowGapSmall;
@override
double get spaceRowGapAction => providersTokens.spaceTokens.rowGap2xsmall;
@override
double get spaceRowGapBullet => providersTokens.spaceTokens.rowGapNone;
}
53 changes: 53 additions & 0 deletions ouds_theme_wireframe/lib/components/wireframe_alert_tokens.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
//
// Software Name: OUDS Flutter
// SPDX-FileCopyrightText: Copyright (c) Orange SA
// SPDX-License-Identifier: MIT
//
// This software is distributed under the MIT license,
// the text of which is available at https://opensource.org/license/MIT/
// or see the "LICENSE" file for more details.
//
// Software description: Flutter library of reusable graphical components
//

// Wireframe brand tokens version 2.3.0
// Generated by Tokenator

import 'package:ouds_global_raw_tokens/dimension_raw_tokens.dart';
import 'package:ouds_theme_contract/ouds_tokens_provider.dart';
import 'package:ouds_theme_contract/theme/tokens/components/ouds_alert_tokens.dart';

class WireframeAlertTokens extends OudsAlertTokens {
final OudsProvidersTokens providersTokens;

WireframeAlertTokens(this.providersTokens);

@override
double get borderRadiusDefault => providersTokens.borderTokens.radiusLarge;
@override
double get borderRadiusRounded => providersTokens.borderTokens.radiusLarge;
@override
double get borderWidth => providersTokens.borderTokens.widthThin;
@override
double get sizeIcon => providersTokens.sizeTokens.iconWithLabelLargeSizeSmall;
@override
double get sizeMinHeight => providersTokens.sizeTokens.minInteractiveArea;
@override
double get sizeMinHeightBottomActionPlacement => DimensionRawTokens.dimension1250;
@override
double get sizeMinWidth => DimensionRawTokens.dimension2000;
@override
double get spaceColumnGap => providersTokens.spaceTokens.columnGapMedium;
@override
double get spaceColumnGapAction => providersTokens.spaceTokens.columnGapSmall;
@override
double get spacePaddingBlock => providersTokens.spaceTokens.paddingBlockMedium;
@override
double get spacePaddingInline => providersTokens.spaceTokens.paddingInlineLarge;
@override
double get spaceRowGap => providersTokens.spaceTokens.rowGapSmall;
@override
double get spaceRowGapAction => providersTokens.spaceTokens.rowGap2xsmall;
@override
double get spaceRowGapBullet => providersTokens.spaceTokens.rowGapNone;
}
Loading