Skip to content

Commit 3e9cd2d

Browse files
committed
chore: update tokens
1 parent 93cee2e commit 3e9cd2d

11 files changed

Lines changed: 330 additions & 27 deletions

File tree

ouds_theme_contract/lib/ouds_component_version.dart

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,22 @@
1313
// Generated by Tokenator
1414

1515
class OudsComponentVersion {
16-
static const alertMessage = '1.1.0';
17-
static const badge = '1.2.0';
18-
static const bar = '1.0.0';
19-
static const button = '3.2.0';
20-
static const checkbox = '2.4.0';
21-
static const chip = '1.3.0';
22-
static const divider = '1.0.0';
23-
static const inlineAlert = '1.0.0';
24-
static const link = '2.2.0';
25-
static const passwordInput = '1.2.0';
26-
static const phoneNumberInput = '1.2.0';
27-
static const pinCodeInput = '1.2.0';
28-
static const radioButton = '1.4.0';
29-
static const skeleton = '1.0.0';
30-
static const switchButton = '1.5.0';
31-
static const tag = '1.4.0';
32-
static const textInput = '1.3.0';
16+
static const alertMessage = '1.0.0';
17+
static const badge = '1.2.0';
18+
static const bar = '1.0.0';
19+
static const bulletList = '1.0.0';
20+
static const button = '3.2.0';
21+
static const checkbox = '2.4.0';
22+
static const chip = '1.3.0';
23+
static const divider = '1.0.0';
24+
static const inlineAlert = '1.0.0';
25+
static const link = '2.2.0';
26+
static const passwordInput = '1.2.0';
27+
static const phoneNumberInput = '1.2.0';
28+
static const pinCodeInput = '1.2.0';
29+
static const radioButton = '1.4.0';
30+
static const skeleton = '1.0.0';
31+
static const switchButton = '1.5.0';
32+
static const tag = '1.4.0';
33+
static const textInput = '1.3.0';
3334
}

ouds_theme_contract/lib/ouds_tokens_version.dart

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
// Generated by Tokenator
1414

1515
class OudsTokensVersion {
16-
static const oudsCore = '1.9.0';
17-
static const androidCore = '1.0.0';
18-
static const androidSystem = '1.2.0';
19-
static const orangeCore = '1.2.0';
20-
static const orangeBrand = '2.3.0';
21-
static const orangeCompactBrand = '2.3.0';
22-
static const soshCore = '1.2.0';
23-
static const soshBrand = '2.3.0';
24-
static const wireframeCore = '1.3.0';
25-
static const wireframeBrand = '2.3.0';
16+
static const oudsCore = '1.9.0';
17+
static const androidCore = '1.0.0';
18+
static const androidSystem = '1.2.0';
19+
static const orangeCore = '1.2.0';
20+
static const orangeBrand = '2.3.0';
21+
static const orangeCompactBrand = '2.3.0';
22+
static const soshCore = '1.2.0';
23+
static const soshBrand = '2.3.0';
24+
static const wireframeCore = '1.3.0';
25+
static const wireframeBrand = '2.3.0';
2626
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
//
2+
// Software Name: OUDS Flutter
3+
// SPDX-FileCopyrightText: Copyright (c) Orange SA
4+
// SPDX-License-Identifier: MIT
5+
//
6+
// This software is distributed under the MIT license,
7+
// the text of which is available at https://opensource.org/license/MIT/
8+
// or see the "LICENSE" file for more details.
9+
//
10+
// Software description: Flutter library of reusable graphical components
11+
//
12+
13+
// Orange brand tokens version 2.3.0
14+
// Generated by Tokenator
15+
16+
import 'package:flutter/material.dart';
17+
18+
abstract class OudsIconTokens {
19+
late Color colorContentDefault;
20+
late Color colorContentStatusWarningExternalShape;
21+
late Color colorContentStatusWarningInternalShape;
22+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
//
2+
// Software Name: OUDS Flutter
3+
// SPDX-FileCopyrightText: Copyright (c) Orange SA
4+
// SPDX-License-Identifier: MIT
5+
//
6+
// This software is distributed under the MIT license,
7+
// the text of which is available at https://opensource.org/license/MIT/
8+
// or see the "LICENSE" file for more details.
9+
//
10+
// Software description: Flutter library of reusable graphical components
11+
//
12+
13+
// Orange brand tokens version 2.3.0
14+
// Generated by Tokenator
15+
16+
import 'package:ouds_global_raw_tokens/dimension_raw_tokens.dart';
17+
import 'package:ouds_theme_contract/ouds_tokens_provider.dart';
18+
import 'package:ouds_theme_contract/theme/tokens/components/ouds_bulletList_tokens.dart';
19+
20+
class OrangeBulletListTokens extends OudsBulletListTokens {
21+
final OudsProvidersTokens providersTokens;
22+
23+
OrangeBulletListTokens(this.providersTokens);
24+
25+
@override
26+
double get spaceColumnGapBodyLarge => providersTokens.spaceTokens.columnGapSmall;
27+
@override
28+
double get spaceColumnGapBodyMedium => providersTokens.spaceTokens.columnGapSmall;
29+
@override
30+
double get spacePaddingBlockBodyLarge => providersTokens.spaceTokens.paddingBlock2xsmall;
31+
@override
32+
double get spacePaddingBlockBodyMedium => providersTokens.spaceTokens.paddingBlock2xsmall;
33+
@override
34+
double get spacePaddingInlineLevel0 => DimensionRawTokens.dimension50;
35+
@override
36+
double get spacePaddingInlineLevel1 => DimensionRawTokens.dimension450;
37+
@override
38+
double get spacePaddingInlineLevel2 => DimensionRawTokens.dimension850;
39+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
//
2+
// Software Name: OUDS Flutter
3+
// SPDX-FileCopyrightText: Copyright (c) Orange SA
4+
// SPDX-License-Identifier: MIT
5+
//
6+
// This software is distributed under the MIT license,
7+
// the text of which is available at https://opensource.org/license/MIT/
8+
// or see the "LICENSE" file for more details.
9+
//
10+
// Software description: Flutter library of reusable graphical components
11+
//
12+
13+
// Orange brand tokens version 2.3.0
14+
// Generated by Tokenator
15+
16+
import 'package:flutter/material.dart';
17+
import 'package:ouds_theme_contract/ouds_tokens_provider.dart';
18+
import 'package:ouds_theme_contract/theme/tokens/components/ouds_icon_tokens.dart';
19+
20+
class OrangeIconTokens extends OudsIconTokens {
21+
final OudsProvidersTokens providersTokens;
22+
23+
OrangeIconTokens(this.providersTokens);
24+
25+
@override
26+
Color get colorContentDefault => providersTokens.colorScheme.lightDark(providersTokens.colorScheme.repositoryNeutralEmphasizedBlack, providersTokens.colorScheme.repositoryNeutralMutedLower);
27+
@override
28+
Color get colorContentStatusWarningExternalShape => providersTokens.colorScheme.lightDark(providersTokens.colorScheme.repositoryWarningMedium, providersTokens.colorScheme.repositoryWarningLow);
29+
@override
30+
Color get colorContentStatusWarningInternalShape => providersTokens.colorScheme.lightDark(providersTokens.colorScheme.repositoryWarningHigh, providersTokens.colorScheme.opacityTransparent);
31+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
//
2+
// Software Name: OUDS Flutter
3+
// SPDX-FileCopyrightText: Copyright (c) Orange SA
4+
// SPDX-License-Identifier: MIT
5+
//
6+
// This software is distributed under the MIT license,
7+
// the text of which is available at https://opensource.org/license/MIT/
8+
// or see the "LICENSE" file for more details.
9+
//
10+
// Software description: Flutter library of reusable graphical components
11+
//
12+
13+
// Orange Compact brand tokens version 2.3.0
14+
// Generated by Tokenator
15+
16+
import 'package:ouds_global_raw_tokens/dimension_raw_tokens.dart';
17+
import 'package:ouds_theme_contract/ouds_tokens_provider.dart';
18+
import 'package:ouds_theme_contract/theme/tokens/components/ouds_bulletList_tokens.dart';
19+
20+
class OrangeCompactBulletListTokens extends OudsBulletListTokens {
21+
final OudsProvidersTokens providersTokens;
22+
23+
OrangeCompactBulletListTokens(this.providersTokens);
24+
25+
@override
26+
double get spaceColumnGapBodyLarge => providersTokens.spaceTokens.columnGapSmall;
27+
@override
28+
double get spaceColumnGapBodyMedium => providersTokens.spaceTokens.columnGapSmall;
29+
@override
30+
double get spacePaddingBlockBodyLarge => providersTokens.spaceTokens.paddingBlock2xsmall;
31+
@override
32+
double get spacePaddingBlockBodyMedium => providersTokens.spaceTokens.paddingBlock2xsmall;
33+
@override
34+
double get spacePaddingInlineLevel0 => DimensionRawTokens.dimension50;
35+
@override
36+
double get spacePaddingInlineLevel1 => DimensionRawTokens.dimension450;
37+
@override
38+
double get spacePaddingInlineLevel2 => DimensionRawTokens.dimension850;
39+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
//
2+
// Software Name: OUDS Flutter
3+
// SPDX-FileCopyrightText: Copyright (c) Orange SA
4+
// SPDX-License-Identifier: MIT
5+
//
6+
// This software is distributed under the MIT license,
7+
// the text of which is available at https://opensource.org/license/MIT/
8+
// or see the "LICENSE" file for more details.
9+
//
10+
// Software description: Flutter library of reusable graphical components
11+
//
12+
13+
// Orange Compact brand tokens version 2.3.0
14+
// Generated by Tokenator
15+
16+
import 'package:flutter/material.dart';
17+
import 'package:ouds_theme_contract/ouds_tokens_provider.dart';
18+
import 'package:ouds_theme_contract/theme/tokens/components/ouds_icon_tokens.dart';
19+
20+
class OrangeCompactIconTokens extends OudsIconTokens {
21+
final OudsProvidersTokens providersTokens;
22+
23+
OrangeCompactIconTokens(this.providersTokens);
24+
25+
@override
26+
Color get colorContentDefault => providersTokens.colorScheme.lightDark(providersTokens.colorScheme.repositoryNeutralEmphasizedBlack, providersTokens.colorScheme.repositoryNeutralMutedLower);
27+
@override
28+
Color get colorContentStatusWarningExternalShape => providersTokens.colorScheme.lightDark(providersTokens.colorScheme.repositoryWarningMedium, providersTokens.colorScheme.repositoryWarningLow);
29+
@override
30+
Color get colorContentStatusWarningInternalShape => providersTokens.colorScheme.lightDark(providersTokens.colorScheme.repositoryWarningHigh, providersTokens.colorScheme.opacityTransparent);
31+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
//
2+
// Software Name: OUDS Flutter
3+
// SPDX-FileCopyrightText: Copyright (c) Orange SA
4+
// SPDX-License-Identifier: MIT
5+
//
6+
// This software is distributed under the MIT license,
7+
// the text of which is available at https://opensource.org/license/MIT/
8+
// or see the "LICENSE" file for more details.
9+
//
10+
// Software description: Flutter library of reusable graphical components
11+
//
12+
13+
// Sosh brand tokens version 2.3.0
14+
// Generated by Tokenator
15+
16+
import 'package:ouds_global_raw_tokens/dimension_raw_tokens.dart';
17+
import 'package:ouds_theme_contract/ouds_tokens_provider.dart';
18+
import 'package:ouds_theme_contract/theme/tokens/components/ouds_bulletList_tokens.dart';
19+
20+
class SoshBulletListTokens extends OudsBulletListTokens {
21+
final OudsProvidersTokens providersTokens;
22+
23+
SoshBulletListTokens(this.providersTokens);
24+
25+
@override
26+
double get spaceColumnGapBodyLarge => providersTokens.spaceTokens.columnGapSmall;
27+
@override
28+
double get spaceColumnGapBodyMedium => providersTokens.spaceTokens.columnGapSmall;
29+
@override
30+
double get spacePaddingBlockBodyLarge => providersTokens.spaceTokens.paddingBlock2xsmall;
31+
@override
32+
double get spacePaddingBlockBodyMedium => providersTokens.spaceTokens.paddingBlock2xsmall;
33+
@override
34+
double get spacePaddingInlineLevel0 => DimensionRawTokens.dimension50;
35+
@override
36+
double get spacePaddingInlineLevel1 => DimensionRawTokens.dimension450;
37+
@override
38+
double get spacePaddingInlineLevel2 => DimensionRawTokens.dimension850;
39+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
//
2+
// Software Name: OUDS Flutter
3+
// SPDX-FileCopyrightText: Copyright (c) Orange SA
4+
// SPDX-License-Identifier: MIT
5+
//
6+
// This software is distributed under the MIT license,
7+
// the text of which is available at https://opensource.org/license/MIT/
8+
// or see the "LICENSE" file for more details.
9+
//
10+
// Software description: Flutter library of reusable graphical components
11+
//
12+
13+
// Sosh brand tokens version 2.3.0
14+
// Generated by Tokenator
15+
16+
import 'package:flutter/material.dart';
17+
import 'package:ouds_theme_contract/ouds_tokens_provider.dart';
18+
import 'package:ouds_theme_contract/theme/tokens/components/ouds_icon_tokens.dart';
19+
20+
class SoshIconTokens extends OudsIconTokens {
21+
final OudsProvidersTokens providersTokens;
22+
23+
SoshIconTokens(this.providersTokens);
24+
25+
@override
26+
Color get colorContentDefault => providersTokens.colorScheme.lightDark(providersTokens.colorScheme.repositoryNeutralEmphasizedBlack, providersTokens.colorScheme.repositoryNeutralMutedLower);
27+
@override
28+
Color get colorContentStatusWarningExternalShape => providersTokens.colorScheme.lightDark(providersTokens.colorScheme.repositoryWarningMedium, providersTokens.colorScheme.repositoryWarningLow);
29+
@override
30+
Color get colorContentStatusWarningInternalShape => providersTokens.colorScheme.lightDark(providersTokens.colorScheme.repositoryWarningHigh, providersTokens.colorScheme.opacityTransparent);
31+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
//
2+
// Software Name: OUDS Flutter
3+
// SPDX-FileCopyrightText: Copyright (c) Orange SA
4+
// SPDX-License-Identifier: MIT
5+
//
6+
// This software is distributed under the MIT license,
7+
// the text of which is available at https://opensource.org/license/MIT/
8+
// or see the "LICENSE" file for more details.
9+
//
10+
// Software description: Flutter library of reusable graphical components
11+
//
12+
13+
// Wireframe brand tokens version 2.3.0
14+
// Generated by Tokenator
15+
16+
import 'package:ouds_global_raw_tokens/dimension_raw_tokens.dart';
17+
import 'package:ouds_theme_contract/ouds_tokens_provider.dart';
18+
import 'package:ouds_theme_contract/theme/tokens/components/ouds_bulletList_tokens.dart';
19+
20+
class WireframeBulletListTokens extends OudsBulletListTokens {
21+
final OudsProvidersTokens providersTokens;
22+
23+
WireframeBulletListTokens(this.providersTokens);
24+
25+
@override
26+
double get spaceColumnGapBodyLarge => providersTokens.spaceTokens.columnGapSmall;
27+
@override
28+
double get spaceColumnGapBodyMedium => providersTokens.spaceTokens.columnGapSmall;
29+
@override
30+
double get spacePaddingBlockBodyLarge => providersTokens.spaceTokens.paddingBlock2xsmall;
31+
@override
32+
double get spacePaddingBlockBodyMedium => providersTokens.spaceTokens.paddingBlock2xsmall;
33+
@override
34+
double get spacePaddingInlineLevel0 => DimensionRawTokens.dimension50;
35+
@override
36+
double get spacePaddingInlineLevel1 => DimensionRawTokens.dimension450;
37+
@override
38+
double get spacePaddingInlineLevel2 => DimensionRawTokens.dimension850;
39+
}

0 commit comments

Comments
 (0)