Import Compound tokens from release v6.4.2

https://github.com/element-hq/compound-design-tokens/releases/tag/v6.4.2
This commit is contained in:
Benoit Marty
2025-12-12 12:20:13 +01:00
parent cf00b799f2
commit 6791890bf9
21 changed files with 132 additions and 153 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,12 +1,10 @@
/* /*
* Copyright (c) 2025 Element Creations Ltd. * Copyright (c) 2025 Element Creations Ltd.
* Copyright 2025 New Vector Ltd.
* *
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial. * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
* Please see LICENSE files in the repository root for full details. * Please see LICENSE files in the repository root for full details.
*/ */
/** /**
* !!! WARNING !!! * !!! WARNING !!!
* *
@@ -14,8 +12,6 @@
* DO NOT EDIT MANUALLY. * DO NOT EDIT MANUALLY.
*/ */
@file:Suppress("all") @file:Suppress("all")
package io.element.android.compound.tokens.generated package io.element.android.compound.tokens.generated
@@ -185,6 +181,9 @@ object CompoundIcons {
@Composable fun ErrorSolid(): ImageVector { @Composable fun ErrorSolid(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_error_solid) return ImageVector.vectorResource(R.drawable.ic_compound_error_solid)
} }
@Composable fun ExitFullScreen(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_exit_full_screen)
}
@Composable fun Expand(): ImageVector { @Composable fun Expand(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_expand) return ImageVector.vectorResource(R.drawable.ic_compound_expand)
} }
@@ -218,6 +217,9 @@ object CompoundIcons {
@Composable fun Forward(): ImageVector { @Composable fun Forward(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_forward) return ImageVector.vectorResource(R.drawable.ic_compound_forward)
} }
@Composable fun FullScreen(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_full_screen)
}
@Composable fun Grid(): ImageVector { @Composable fun Grid(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_grid) return ImageVector.vectorResource(R.drawable.ic_compound_grid)
} }
@@ -296,6 +298,9 @@ object CompoundIcons {
@Composable fun Leave(): ImageVector { @Composable fun Leave(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_leave) return ImageVector.vectorResource(R.drawable.ic_compound_leave)
} }
@Composable fun LeftPanelClose(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_left_panel_close)
}
@Composable fun Link(): ImageVector { @Composable fun Link(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_link) return ImageVector.vectorResource(R.drawable.ic_compound_link)
} }
@@ -503,6 +508,12 @@ object CompoundIcons {
@Composable fun SignOut(): ImageVector { @Composable fun SignOut(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_sign_out) return ImageVector.vectorResource(R.drawable.ic_compound_sign_out)
} }
@Composable fun Space(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_space)
}
@Composable fun SpaceSolid(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_space_solid)
}
@Composable fun Spinner(): ImageVector { @Composable fun Spinner(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_spinner) return ImageVector.vectorResource(R.drawable.ic_compound_spinner)
} }
@@ -620,12 +631,6 @@ object CompoundIcons {
@Composable fun Windows(): ImageVector { @Composable fun Windows(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_windows) return ImageVector.vectorResource(R.drawable.ic_compound_windows)
} }
@Composable fun Workspace(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_workspace)
}
@Composable fun WorkspaceSolid(): ImageVector {
return ImageVector.vectorResource(R.drawable.ic_compound_workspace_solid)
}
val all @Composable get() = persistentListOf<ImageVector>( val all @Composable get() = persistentListOf<ImageVector>(
Admin(), Admin(),
@@ -681,6 +686,7 @@ object CompoundIcons {
EndCall(), EndCall(),
Error(), Error(),
ErrorSolid(), ErrorSolid(),
ExitFullScreen(),
Expand(), Expand(),
Explore(), Explore(),
ExportArchive(), ExportArchive(),
@@ -692,6 +698,7 @@ object CompoundIcons {
Files(), Files(),
Filter(), Filter(),
Forward(), Forward(),
FullScreen(),
Grid(), Grid(),
Group(), Group(),
Guest(), Guest(),
@@ -718,6 +725,7 @@ object CompoundIcons {
Keyboard(), Keyboard(),
Labs(), Labs(),
Leave(), Leave(),
LeftPanelClose(),
Link(), Link(),
Linux(), Linux(),
ListBulleted(), ListBulleted(),
@@ -787,6 +795,8 @@ object CompoundIcons {
Shield(), Shield(),
Sidebar(), Sidebar(),
SignOut(), SignOut(),
Space(),
SpaceSolid(),
Spinner(), Spinner(),
Spotlight(), Spotlight(),
SpotlightView(), SpotlightView(),
@@ -826,8 +836,6 @@ object CompoundIcons {
Warning(), Warning(),
WebBrowser(), WebBrowser(),
Windows(), Windows(),
Workspace(),
WorkspaceSolid(),
) )
val allResIds get() = persistentListOf( val allResIds get() = persistentListOf(
@@ -884,6 +892,7 @@ object CompoundIcons {
R.drawable.ic_compound_end_call, R.drawable.ic_compound_end_call,
R.drawable.ic_compound_error, R.drawable.ic_compound_error,
R.drawable.ic_compound_error_solid, R.drawable.ic_compound_error_solid,
R.drawable.ic_compound_exit_full_screen,
R.drawable.ic_compound_expand, R.drawable.ic_compound_expand,
R.drawable.ic_compound_explore, R.drawable.ic_compound_explore,
R.drawable.ic_compound_export_archive, R.drawable.ic_compound_export_archive,
@@ -895,6 +904,7 @@ object CompoundIcons {
R.drawable.ic_compound_files, R.drawable.ic_compound_files,
R.drawable.ic_compound_filter, R.drawable.ic_compound_filter,
R.drawable.ic_compound_forward, R.drawable.ic_compound_forward,
R.drawable.ic_compound_full_screen,
R.drawable.ic_compound_grid, R.drawable.ic_compound_grid,
R.drawable.ic_compound_group, R.drawable.ic_compound_group,
R.drawable.ic_compound_guest, R.drawable.ic_compound_guest,
@@ -921,6 +931,7 @@ object CompoundIcons {
R.drawable.ic_compound_keyboard, R.drawable.ic_compound_keyboard,
R.drawable.ic_compound_labs, R.drawable.ic_compound_labs,
R.drawable.ic_compound_leave, R.drawable.ic_compound_leave,
R.drawable.ic_compound_left_panel_close,
R.drawable.ic_compound_link, R.drawable.ic_compound_link,
R.drawable.ic_compound_linux, R.drawable.ic_compound_linux,
R.drawable.ic_compound_list_bulleted, R.drawable.ic_compound_list_bulleted,
@@ -990,6 +1001,8 @@ object CompoundIcons {
R.drawable.ic_compound_shield, R.drawable.ic_compound_shield,
R.drawable.ic_compound_sidebar, R.drawable.ic_compound_sidebar,
R.drawable.ic_compound_sign_out, R.drawable.ic_compound_sign_out,
R.drawable.ic_compound_space,
R.drawable.ic_compound_space_solid,
R.drawable.ic_compound_spinner, R.drawable.ic_compound_spinner,
R.drawable.ic_compound_spotlight, R.drawable.ic_compound_spotlight,
R.drawable.ic_compound_spotlight_view, R.drawable.ic_compound_spotlight_view,
@@ -1029,7 +1042,5 @@ object CompoundIcons {
R.drawable.ic_compound_warning, R.drawable.ic_compound_warning,
R.drawable.ic_compound_web_browser, R.drawable.ic_compound_web_browser,
R.drawable.ic_compound_windows, R.drawable.ic_compound_windows,
R.drawable.ic_compound_workspace,
R.drawable.ic_compound_workspace_solid,
) )
} }

View File

@@ -1,19 +1,10 @@
/* /*
* Copyright (c) 2025 Element Creations Ltd. * Copyright (c) 2025 Element Creations Ltd.
* Copyright 2025 New Vector Ltd.
* *
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial. * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
* Please see LICENSE files in the repository root for full details. * Please see LICENSE files in the repository root for full details.
*/ */
@file:Suppress("all")
package io.element.android.compound.tokens.generated
import androidx.compose.runtime.Immutable
import androidx.compose.ui.graphics.Color
/** /**
* !!! WARNING !!! * !!! WARNING !!!
* *
@@ -21,12 +12,14 @@ import androidx.compose.ui.graphics.Color
* DO NOT EDIT MANUALLY. * DO NOT EDIT MANUALLY.
*/ */
@file:Suppress("all")
package io.element.android.compound.tokens.generated
import androidx.compose.ui.graphics.Color
/** /**
* This class holds all the semantic tokens of the Compound theme. * This class holds all the semantic tokens of the Compound theme.
*/ */
data class SemanticColors( data class SemanticColors(
/** Background colour for accent or brand actions. State: Hover */ /** Background colour for accent or brand actions. State: Hover */
val bgAccentHovered: Color, val bgAccentHovered: Color,
@@ -50,17 +43,21 @@ data class SemanticColors(
val bgActionSecondaryPressed: Color, val bgActionSecondaryPressed: Color,
/** Background colour for secondary actions. State: Rest. */ /** Background colour for secondary actions. State: Rest. */
val bgActionSecondaryRest: Color, val bgActionSecondaryRest: Color,
/** Background colour for tertiary actions. State: Hover */
val bgActionTertiaryHovered: Color,
/** Background colour for tertiary actions. State: Rest */
val bgActionTertiaryRest: Color,
/** Background colour for tertiary actions. State: Selected */
val bgActionTertiarySelected: Color,
/** Badge accent background colour */ /** Badge accent background colour */
val bgBadgeAccent: Color, val bgBadgeAccent: Color,
/** Badge default background colour */ /** Badge default background colour */
val bgBadgeDefault: Color, val bgBadgeDefault: Color,
/** Badge info background colour */ /** Badge info background colour */
val bgBadgeInfo: Color, val bgBadgeInfo: Color,
/** Default global background for the user interface. /** Default global background for the user interface. Elevation: Default (Level 0) */
Elevation: Default (Level 0) */
val bgCanvasDefault: Color, val bgCanvasDefault: Color,
/** Default global background for the user interface. /** Default global background for the user interface. Elevation: Level 1. */
Elevation: Level 1. */
val bgCanvasDefaultLevel1: Color, val bgCanvasDefaultLevel1: Color,
/** Default background for disabled elements. There's no minimum contrast requirement. */ /** Default background for disabled elements. There's no minimum contrast requirement. */
val bgCanvasDisabled: Color, val bgCanvasDisabled: Color,
@@ -86,14 +83,11 @@ Elevation: Level 1. */
val bgDecorative6: Color, val bgDecorative6: Color,
/** Subtle background colour for informational elements. State: Rest. */ /** Subtle background colour for informational elements. State: Rest. */
val bgInfoSubtle: Color, val bgInfoSubtle: Color,
/** Medium contrast surfaces. /** Medium contrast surfaces. Elevation: Default (Level 2). */
Elevation: Default (Level 2). */
val bgSubtlePrimary: Color, val bgSubtlePrimary: Color,
/** Low contrast surfaces. /** Low contrast surfaces. Elevation: Default (Level 1). */
Elevation: Default (Level 1). */
val bgSubtleSecondary: Color, val bgSubtleSecondary: Color,
/** Lower contrast surfaces. /** Lower contrast surfaces. Elevation: Level 0. */
Elevation: Level 0. */
val bgSubtleSecondaryLevel0: Color, val bgSubtleSecondaryLevel0: Color,
/** Subtle background colour for success state elements. State: Rest. */ /** Subtle background colour for success state elements. State: Rest. */
val bgSuccessSubtle: Color, val bgSuccessSubtle: Color,

View File

@@ -1,6 +1,5 @@
/* /*
* Copyright (c) 2025 Element Creations Ltd. * Copyright (c) 2025 Element Creations Ltd.
* Copyright 2025 New Vector Ltd.
* *
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial. * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
* Please see LICENSE files in the repository root for full details. * Please see LICENSE files in the repository root for full details.
@@ -13,8 +12,6 @@
* DO NOT EDIT MANUALLY. * DO NOT EDIT MANUALLY.
*/ */
@file:Suppress("all") @file:Suppress("all")
package io.element.android.compound.tokens.generated package io.element.android.compound.tokens.generated
@@ -37,9 +34,12 @@ val compoundColorsDark = SemanticColors(
bgActionSecondaryHovered = DarkColorTokens.colorAlphaGray200, bgActionSecondaryHovered = DarkColorTokens.colorAlphaGray200,
bgActionSecondaryPressed = DarkColorTokens.colorAlphaGray300, bgActionSecondaryPressed = DarkColorTokens.colorAlphaGray300,
bgActionSecondaryRest = DarkColorTokens.colorThemeBg, bgActionSecondaryRest = DarkColorTokens.colorThemeBg,
bgBadgeAccent = DarkColorTokens.colorAlphaGreen300, bgActionTertiaryHovered = DarkColorTokens.colorGray300,
bgBadgeDefault = DarkColorTokens.colorAlphaGray300, bgActionTertiaryRest = DarkColorTokens.colorThemeBg,
bgBadgeInfo = DarkColorTokens.colorAlphaBlue300, bgActionTertiarySelected = DarkColorTokens.colorGray400,
bgBadgeAccent = DarkColorTokens.colorAlphaGreen500,
bgBadgeDefault = DarkColorTokens.colorAlphaGray500,
bgBadgeInfo = DarkColorTokens.colorAlphaBlue500,
bgCanvasDefault = DarkColorTokens.colorThemeBg, bgCanvasDefault = DarkColorTokens.colorThemeBg,
bgCanvasDefaultLevel1 = DarkColorTokens.colorGray300, bgCanvasDefaultLevel1 = DarkColorTokens.colorGray300,
bgCanvasDisabled = DarkColorTokens.colorGray200, bgCanvasDisabled = DarkColorTokens.colorGray200,
@@ -89,7 +89,7 @@ val compoundColorsDark = SemanticColors(
iconAccentTertiary = DarkColorTokens.colorGreen800, iconAccentTertiary = DarkColorTokens.colorGreen800,
iconCriticalPrimary = DarkColorTokens.colorRed900, iconCriticalPrimary = DarkColorTokens.colorRed900,
iconDisabled = DarkColorTokens.colorGray700, iconDisabled = DarkColorTokens.colorGray700,
iconInfoPrimary = DarkColorTokens.colorBlue900, iconInfoPrimary = DarkColorTokens.colorBlue1100,
iconOnSolidPrimary = DarkColorTokens.colorThemeBg, iconOnSolidPrimary = DarkColorTokens.colorThemeBg,
iconPrimary = DarkColorTokens.colorGray1400, iconPrimary = DarkColorTokens.colorGray1400,
iconPrimaryAlpha = DarkColorTokens.colorAlphaGray1400, iconPrimaryAlpha = DarkColorTokens.colorAlphaGray1400,
@@ -112,8 +112,8 @@ val compoundColorsDark = SemanticColors(
textDecorative5 = DarkColorTokens.colorPink1100, textDecorative5 = DarkColorTokens.colorPink1100,
textDecorative6 = DarkColorTokens.colorOrange1100, textDecorative6 = DarkColorTokens.colorOrange1100,
textDisabled = DarkColorTokens.colorGray800, textDisabled = DarkColorTokens.colorGray800,
textInfoPrimary = DarkColorTokens.colorBlue900, textInfoPrimary = DarkColorTokens.colorBlue1100,
textLinkExternal = DarkColorTokens.colorBlue900, textLinkExternal = DarkColorTokens.colorBlue1100,
textOnSolidPrimary = DarkColorTokens.colorThemeBg, textOnSolidPrimary = DarkColorTokens.colorThemeBg,
textPrimary = DarkColorTokens.colorGray1400, textPrimary = DarkColorTokens.colorGray1400,
textSecondary = DarkColorTokens.colorGray900, textSecondary = DarkColorTokens.colorGray900,

View File

@@ -1,6 +1,5 @@
/* /*
* Copyright (c) 2025 Element Creations Ltd. * Copyright (c) 2025 Element Creations Ltd.
* Copyright 2025 New Vector Ltd.
* *
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial. * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
* Please see LICENSE files in the repository root for full details. * Please see LICENSE files in the repository root for full details.
@@ -13,8 +12,6 @@
* DO NOT EDIT MANUALLY. * DO NOT EDIT MANUALLY.
*/ */
@file:Suppress("all") @file:Suppress("all")
package io.element.android.compound.tokens.generated package io.element.android.compound.tokens.generated
@@ -37,9 +34,12 @@ val compoundColorsHcDark = SemanticColors(
bgActionSecondaryHovered = DarkHcColorTokens.colorAlphaGray200, bgActionSecondaryHovered = DarkHcColorTokens.colorAlphaGray200,
bgActionSecondaryPressed = DarkHcColorTokens.colorAlphaGray300, bgActionSecondaryPressed = DarkHcColorTokens.colorAlphaGray300,
bgActionSecondaryRest = DarkHcColorTokens.colorThemeBg, bgActionSecondaryRest = DarkHcColorTokens.colorThemeBg,
bgBadgeAccent = DarkHcColorTokens.colorAlphaGreen300, bgActionTertiaryHovered = DarkHcColorTokens.colorGray300,
bgBadgeDefault = DarkHcColorTokens.colorAlphaGray300, bgActionTertiaryRest = DarkHcColorTokens.colorThemeBg,
bgBadgeInfo = DarkHcColorTokens.colorAlphaBlue300, bgActionTertiarySelected = DarkHcColorTokens.colorGray400,
bgBadgeAccent = DarkHcColorTokens.colorAlphaGreen500,
bgBadgeDefault = DarkHcColorTokens.colorAlphaGray500,
bgBadgeInfo = DarkHcColorTokens.colorAlphaBlue500,
bgCanvasDefault = DarkHcColorTokens.colorThemeBg, bgCanvasDefault = DarkHcColorTokens.colorThemeBg,
bgCanvasDefaultLevel1 = DarkHcColorTokens.colorGray300, bgCanvasDefaultLevel1 = DarkHcColorTokens.colorGray300,
bgCanvasDisabled = DarkHcColorTokens.colorGray200, bgCanvasDisabled = DarkHcColorTokens.colorGray200,
@@ -89,7 +89,7 @@ val compoundColorsHcDark = SemanticColors(
iconAccentTertiary = DarkHcColorTokens.colorGreen800, iconAccentTertiary = DarkHcColorTokens.colorGreen800,
iconCriticalPrimary = DarkHcColorTokens.colorRed900, iconCriticalPrimary = DarkHcColorTokens.colorRed900,
iconDisabled = DarkHcColorTokens.colorGray700, iconDisabled = DarkHcColorTokens.colorGray700,
iconInfoPrimary = DarkHcColorTokens.colorBlue900, iconInfoPrimary = DarkHcColorTokens.colorBlue1100,
iconOnSolidPrimary = DarkHcColorTokens.colorThemeBg, iconOnSolidPrimary = DarkHcColorTokens.colorThemeBg,
iconPrimary = DarkHcColorTokens.colorGray1400, iconPrimary = DarkHcColorTokens.colorGray1400,
iconPrimaryAlpha = DarkHcColorTokens.colorAlphaGray1400, iconPrimaryAlpha = DarkHcColorTokens.colorAlphaGray1400,
@@ -112,8 +112,8 @@ val compoundColorsHcDark = SemanticColors(
textDecorative5 = DarkHcColorTokens.colorPink1100, textDecorative5 = DarkHcColorTokens.colorPink1100,
textDecorative6 = DarkHcColorTokens.colorOrange1100, textDecorative6 = DarkHcColorTokens.colorOrange1100,
textDisabled = DarkHcColorTokens.colorGray800, textDisabled = DarkHcColorTokens.colorGray800,
textInfoPrimary = DarkHcColorTokens.colorBlue900, textInfoPrimary = DarkHcColorTokens.colorBlue1100,
textLinkExternal = DarkHcColorTokens.colorBlue900, textLinkExternal = DarkHcColorTokens.colorBlue1100,
textOnSolidPrimary = DarkHcColorTokens.colorThemeBg, textOnSolidPrimary = DarkHcColorTokens.colorThemeBg,
textPrimary = DarkHcColorTokens.colorGray1400, textPrimary = DarkHcColorTokens.colorGray1400,
textSecondary = DarkHcColorTokens.colorGray900, textSecondary = DarkHcColorTokens.colorGray900,

View File

@@ -1,6 +1,5 @@
/* /*
* Copyright (c) 2025 Element Creations Ltd. * Copyright (c) 2025 Element Creations Ltd.
* Copyright 2025 New Vector Ltd.
* *
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial. * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
* Please see LICENSE files in the repository root for full details. * Please see LICENSE files in the repository root for full details.
@@ -13,8 +12,6 @@
* DO NOT EDIT MANUALLY. * DO NOT EDIT MANUALLY.
*/ */
@file:Suppress("all") @file:Suppress("all")
package io.element.android.compound.tokens.generated package io.element.android.compound.tokens.generated
@@ -37,9 +34,12 @@ val compoundColorsLight = SemanticColors(
bgActionSecondaryHovered = LightColorTokens.colorAlphaGray200, bgActionSecondaryHovered = LightColorTokens.colorAlphaGray200,
bgActionSecondaryPressed = LightColorTokens.colorAlphaGray300, bgActionSecondaryPressed = LightColorTokens.colorAlphaGray300,
bgActionSecondaryRest = LightColorTokens.colorThemeBg, bgActionSecondaryRest = LightColorTokens.colorThemeBg,
bgBadgeAccent = LightColorTokens.colorAlphaGreen300, bgActionTertiaryHovered = LightColorTokens.colorGray300,
bgBadgeDefault = LightColorTokens.colorAlphaGray300, bgActionTertiaryRest = LightColorTokens.colorThemeBg,
bgBadgeInfo = LightColorTokens.colorAlphaBlue300, bgActionTertiarySelected = LightColorTokens.colorGray400,
bgBadgeAccent = LightColorTokens.colorAlphaGreen400,
bgBadgeDefault = LightColorTokens.colorAlphaGray400,
bgBadgeInfo = LightColorTokens.colorAlphaBlue400,
bgCanvasDefault = LightColorTokens.colorThemeBg, bgCanvasDefault = LightColorTokens.colorThemeBg,
bgCanvasDefaultLevel1 = LightColorTokens.colorThemeBg, bgCanvasDefaultLevel1 = LightColorTokens.colorThemeBg,
bgCanvasDisabled = LightColorTokens.colorGray200, bgCanvasDisabled = LightColorTokens.colorGray200,
@@ -89,7 +89,7 @@ val compoundColorsLight = SemanticColors(
iconAccentTertiary = LightColorTokens.colorGreen800, iconAccentTertiary = LightColorTokens.colorGreen800,
iconCriticalPrimary = LightColorTokens.colorRed900, iconCriticalPrimary = LightColorTokens.colorRed900,
iconDisabled = LightColorTokens.colorGray700, iconDisabled = LightColorTokens.colorGray700,
iconInfoPrimary = LightColorTokens.colorBlue900, iconInfoPrimary = LightColorTokens.colorBlue1100,
iconOnSolidPrimary = LightColorTokens.colorThemeBg, iconOnSolidPrimary = LightColorTokens.colorThemeBg,
iconPrimary = LightColorTokens.colorGray1400, iconPrimary = LightColorTokens.colorGray1400,
iconPrimaryAlpha = LightColorTokens.colorAlphaGray1400, iconPrimaryAlpha = LightColorTokens.colorAlphaGray1400,
@@ -112,8 +112,8 @@ val compoundColorsLight = SemanticColors(
textDecorative5 = LightColorTokens.colorPink1100, textDecorative5 = LightColorTokens.colorPink1100,
textDecorative6 = LightColorTokens.colorOrange1100, textDecorative6 = LightColorTokens.colorOrange1100,
textDisabled = LightColorTokens.colorGray800, textDisabled = LightColorTokens.colorGray800,
textInfoPrimary = LightColorTokens.colorBlue900, textInfoPrimary = LightColorTokens.colorBlue1100,
textLinkExternal = LightColorTokens.colorBlue900, textLinkExternal = LightColorTokens.colorBlue1100,
textOnSolidPrimary = LightColorTokens.colorThemeBg, textOnSolidPrimary = LightColorTokens.colorThemeBg,
textPrimary = LightColorTokens.colorGray1400, textPrimary = LightColorTokens.colorGray1400,
textSecondary = LightColorTokens.colorGray900, textSecondary = LightColorTokens.colorGray900,

View File

@@ -1,6 +1,5 @@
/* /*
* Copyright (c) 2025 Element Creations Ltd. * Copyright (c) 2025 Element Creations Ltd.
* Copyright 2025 New Vector Ltd.
* *
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial. * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
* Please see LICENSE files in the repository root for full details. * Please see LICENSE files in the repository root for full details.
@@ -13,8 +12,6 @@
* DO NOT EDIT MANUALLY. * DO NOT EDIT MANUALLY.
*/ */
@file:Suppress("all") @file:Suppress("all")
package io.element.android.compound.tokens.generated package io.element.android.compound.tokens.generated
@@ -37,9 +34,12 @@ val compoundColorsHcLight = SemanticColors(
bgActionSecondaryHovered = LightHcColorTokens.colorAlphaGray200, bgActionSecondaryHovered = LightHcColorTokens.colorAlphaGray200,
bgActionSecondaryPressed = LightHcColorTokens.colorAlphaGray300, bgActionSecondaryPressed = LightHcColorTokens.colorAlphaGray300,
bgActionSecondaryRest = LightHcColorTokens.colorThemeBg, bgActionSecondaryRest = LightHcColorTokens.colorThemeBg,
bgBadgeAccent = LightHcColorTokens.colorAlphaGreen300, bgActionTertiaryHovered = LightHcColorTokens.colorGray300,
bgBadgeDefault = LightHcColorTokens.colorAlphaGray300, bgActionTertiaryRest = LightHcColorTokens.colorThemeBg,
bgBadgeInfo = LightHcColorTokens.colorAlphaBlue300, bgActionTertiarySelected = LightHcColorTokens.colorGray400,
bgBadgeAccent = LightHcColorTokens.colorAlphaGreen400,
bgBadgeDefault = LightHcColorTokens.colorAlphaGray400,
bgBadgeInfo = LightHcColorTokens.colorAlphaBlue400,
bgCanvasDefault = LightHcColorTokens.colorThemeBg, bgCanvasDefault = LightHcColorTokens.colorThemeBg,
bgCanvasDefaultLevel1 = LightHcColorTokens.colorThemeBg, bgCanvasDefaultLevel1 = LightHcColorTokens.colorThemeBg,
bgCanvasDisabled = LightHcColorTokens.colorGray200, bgCanvasDisabled = LightHcColorTokens.colorGray200,
@@ -89,7 +89,7 @@ val compoundColorsHcLight = SemanticColors(
iconAccentTertiary = LightHcColorTokens.colorGreen800, iconAccentTertiary = LightHcColorTokens.colorGreen800,
iconCriticalPrimary = LightHcColorTokens.colorRed900, iconCriticalPrimary = LightHcColorTokens.colorRed900,
iconDisabled = LightHcColorTokens.colorGray700, iconDisabled = LightHcColorTokens.colorGray700,
iconInfoPrimary = LightHcColorTokens.colorBlue900, iconInfoPrimary = LightHcColorTokens.colorBlue1100,
iconOnSolidPrimary = LightHcColorTokens.colorThemeBg, iconOnSolidPrimary = LightHcColorTokens.colorThemeBg,
iconPrimary = LightHcColorTokens.colorGray1400, iconPrimary = LightHcColorTokens.colorGray1400,
iconPrimaryAlpha = LightHcColorTokens.colorAlphaGray1400, iconPrimaryAlpha = LightHcColorTokens.colorAlphaGray1400,
@@ -112,8 +112,8 @@ val compoundColorsHcLight = SemanticColors(
textDecorative5 = LightHcColorTokens.colorPink1100, textDecorative5 = LightHcColorTokens.colorPink1100,
textDecorative6 = LightHcColorTokens.colorOrange1100, textDecorative6 = LightHcColorTokens.colorOrange1100,
textDisabled = LightHcColorTokens.colorGray800, textDisabled = LightHcColorTokens.colorGray800,
textInfoPrimary = LightHcColorTokens.colorBlue900, textInfoPrimary = LightHcColorTokens.colorBlue1100,
textLinkExternal = LightHcColorTokens.colorBlue900, textLinkExternal = LightHcColorTokens.colorBlue1100,
textOnSolidPrimary = LightHcColorTokens.colorThemeBg, textOnSolidPrimary = LightHcColorTokens.colorThemeBg,
textPrimary = LightHcColorTokens.colorGray1400, textPrimary = LightHcColorTokens.colorGray1400,
textSecondary = LightHcColorTokens.colorGray900, textSecondary = LightHcColorTokens.colorGray900,

View File

@@ -1,12 +1,10 @@
/* /*
* Copyright (c) 2025 Element Creations Ltd. * Copyright (c) 2025 Element Creations Ltd.
* Copyright 2025 New Vector Ltd.
* *
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial. * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
* Please see LICENSE files in the repository root for full details. * Please see LICENSE files in the repository root for full details.
*/ */
/** /**
* !!! WARNING !!! * !!! WARNING !!!
* *
@@ -14,8 +12,6 @@
* DO NOT EDIT MANUALLY. * DO NOT EDIT MANUALLY.
*/ */
@file:Suppress("all") @file:Suppress("all")
package io.element.android.compound.tokens.generated package io.element.android.compound.tokens.generated

View File

@@ -1,6 +1,5 @@
/* /*
* Copyright (c) 2025 Element Creations Ltd. * Copyright (c) 2025 Element Creations Ltd.
* Copyright 2025 New Vector Ltd.
* *
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial. * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
* Please see LICENSE files in the repository root for full details. * Please see LICENSE files in the repository root for full details.
@@ -13,8 +12,6 @@
* DO NOT EDIT MANUALLY. * DO NOT EDIT MANUALLY.
*/ */
@file:Suppress("all") @file:Suppress("all")
package io.element.android.compound.tokens.generated.internal package io.element.android.compound.tokens.generated.internal

View File

@@ -1,6 +1,5 @@
/* /*
* Copyright (c) 2025 Element Creations Ltd. * Copyright (c) 2025 Element Creations Ltd.
* Copyright 2025 New Vector Ltd.
* *
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial. * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
* Please see LICENSE files in the repository root for full details. * Please see LICENSE files in the repository root for full details.
@@ -13,8 +12,6 @@
* DO NOT EDIT MANUALLY. * DO NOT EDIT MANUALLY.
*/ */
@file:Suppress("all") @file:Suppress("all")
package io.element.android.compound.tokens.generated.internal package io.element.android.compound.tokens.generated.internal

View File

@@ -1,6 +1,5 @@
/* /*
* Copyright (c) 2025 Element Creations Ltd. * Copyright (c) 2025 Element Creations Ltd.
* Copyright 2025 New Vector Ltd.
* *
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial. * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
* Please see LICENSE files in the repository root for full details. * Please see LICENSE files in the repository root for full details.
@@ -13,8 +12,6 @@
* DO NOT EDIT MANUALLY. * DO NOT EDIT MANUALLY.
*/ */
@file:Suppress("all") @file:Suppress("all")
package io.element.android.compound.tokens.generated.internal package io.element.android.compound.tokens.generated.internal

View File

@@ -1,6 +1,5 @@
/* /*
* Copyright (c) 2025 Element Creations Ltd. * Copyright (c) 2025 Element Creations Ltd.
* Copyright 2025 New Vector Ltd.
* *
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial. * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
* Please see LICENSE files in the repository root for full details. * Please see LICENSE files in the repository root for full details.
@@ -13,8 +12,6 @@
* DO NOT EDIT MANUALLY. * DO NOT EDIT MANUALLY.
*/ */
@file:Suppress("all") @file:Suppress("all")
package io.element.android.compound.tokens.generated.internal package io.element.android.compound.tokens.generated.internal

View File

@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M10,20a1,1 0,1 1,-2 0v-4L4,16a1,1 0,1 1,0 -2h6zM20,14a1,1 0,1 1,0 2h-4v4a1,1 0,1 1,-2 0v-6zM9,3a1,1 0,0 1,1 1v6L4,10a1,1 0,0 1,0 -2h4L8,4a1,1 0,0 1,1 -1m6,0a1,1 0,0 1,1 1v4h4a1,1 0,1 1,0 2h-6L14,4a1,1 0,0 1,1 -1"
android:fillColor="#FF000000"/>
</vector>

View File

@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M4,14a1,1 0,0 1,1 1v4h4a1,1 0,1 1,0 2L3,21v-6a1,1 0,0 1,1 -1m16,0a1,1 0,0 1,1 1v6h-6a1,1 0,1 1,0 -2h4v-4a1,1 0,0 1,1 -1M9,3a1,1 0,0 1,0 2L5,5v4a1,1 0,0 1,-2 0L3,3zM21,9a1,1 0,1 1,-2 0L19,5h-4a1,1 0,1 1,0 -2h6z"
android:fillColor="#FF000000"/>
</vector>

View File

@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M16.5,14.8L16.5,9.2q0,-0.35 -0.3,-0.475t-0.55,0.125L13.2,11.3q-0.3,0.3 -0.3,0.7t0.3,0.7l2.45,2.45q0.25,0.25 0.55,0.125t0.3,-0.475M5,19q-0.824,0 -1.412,-0.587A1.93,1.93 0,0 1,3 17L3,7q0,-0.824 0.587,-1.412A1.93,1.93 0,0 1,5 5h14q0.824,0 1.413,0.588Q21,6.175 21,7v10q0,0.824 -0.587,1.413A1.93,1.93 0,0 1,19 19zM8,17L8,7L5,7v10zM10,17h9L19,7h-9z"
android:fillColor="#FF000000"/>
</vector>

View File

@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M6,21q-1.65,0 -2.825,-1.175T2,17t1.175,-2.825T6,13t2.825,1.175T10,17t-1.175,2.825T6,21m12,0q-1.65,0 -2.825,-1.175T14,17t1.175,-2.825T18,13t2.825,1.175T22,17t-1.175,2.825T18,21M6,19q0.824,0 1.412,-0.587Q8,17.825 8,17t-0.588,-1.412A1.93,1.93 0,0 0,6 15q-0.824,0 -1.412,0.588A1.93,1.93 0,0 0,4 17q0,0.824 0.588,1.413Q5.175,19 6,19m12,0q0.824,0 1.413,-0.587Q20,17.825 20,17t-0.587,-1.412A1.93,1.93 0,0 0,18 15q-0.824,0 -1.413,0.588A1.93,1.93 0,0 0,16 17q0,0.824 0.587,1.413Q17.176,19 18,19m-6,-8q-1.65,0 -2.825,-1.175T8,7t1.175,-2.825T12,3t2.825,1.175T16,7t-1.175,2.825T12,11m0,-2q0.825,0 1.412,-0.588Q14,7.826 14,7q0,-0.824 -0.588,-1.412A1.93,1.93 0,0 0,12 5q-0.825,0 -1.412,0.588A1.93,1.93 0,0 0,10 7q0,0.824 0.588,1.412Q11.175,9 12,9"
android:fillColor="#FF000000"/>
</vector>

View File

@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M3.175,19.825Q4.35,21 6,21t2.825,-1.175T10,17t-1.175,-2.825T6,13t-2.825,1.175T2,17t1.175,2.825m12,0Q16.35,21 18,21t2.825,-1.175T22,17t-1.175,-2.825T18,13t-2.825,1.175T14,17t1.175,2.825m-6,-10Q10.35,11 12,11t2.825,-1.175T16,7t-1.175,-2.825T12,3 9.175,4.175 8,7t1.175,2.825"
android:fillColor="#FF000000"/>
</vector>

View File

@@ -4,10 +4,10 @@
android:autoMirrored="true" android:autoMirrored="true"
android:viewportWidth="24" android:viewportWidth="24"
android:viewportHeight="24"> android:viewportHeight="24">
<path <path
android:fillColor="#FF000000" android:pathData="M7,10a0.97,0.97 0,0 1,-0.713 -0.287A0.97,0.97 0,0 1,6 9q0,-0.424 0.287,-0.713A0.97,0.97 0,0 1,7 8h10q0.424,0 0.712,0.287Q18,8.576 18,9t-0.288,0.713A0.97,0.97 0,0 1,17 10zM7,14a0.97,0.97 0,0 1,-0.713 -0.287A0.97,0.97 0,0 1,6 13q0,-0.424 0.287,-0.713A0.97,0.97 0,0 1,7 12h6q0.424,0 0.713,0.287 0.287,0.288 0.287,0.713 0,0.424 -0.287,0.713A0.97,0.97 0,0 1,13 14z"
android:pathData="M7 10a0.97 0.97 0 0 1-0.71-0.29A0.97 0.97 0 0 1 6 9q0-0.42 0.29-0.71A0.97 0.97 0 0 1 7 8h10q0.42 0 0.71 0.29T18 9t-0.29 0.71A0.97 0.97 0 0 1 17 10z m0 4a0.97 0.97 0 0 1-0.71-0.29A0.97 0.97 0 0 1 6 13q0-0.42 0.29-0.71A0.97 0.97 0 0 1 7 12h6q0.42 0 0.71 0.29T14 13q0 0.42-0.29 0.71A0.97 0.97 0 0 1 13 14z"/> android:fillColor="#FF000000"/>
<path <path
android:fillColor="#FF000000" android:pathData="M3.707,21.293c-0.63,0.63 -1.707,0.184 -1.707,-0.707V5a2,2 0,0 1,2 -2h16a2,2 0,0 1,2 2v12a2,2 0,0 1,-2 2H6zM6,17h14V5H4v13.172l0.586,-0.586A2,2 0,0 1,6 17"
android:pathData="M3.7 21.3C3.09 21.91 2 21.47 2 20.58V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6zM6 17h14V5H4v13.17l0.59-0.58A2 2 0 0 1 6 17"/> android:fillColor="#FF000000"/>
</vector> </vector>

View File

@@ -4,7 +4,7 @@
android:autoMirrored="true" android:autoMirrored="true"
android:viewportWidth="24" android:viewportWidth="24"
android:viewportHeight="24"> android:viewportHeight="24">
<path <path
android:fillColor="#FF000000" android:pathData="M4,3h16a2,2 0,0 1,2 2v12a2,2 0,0 1,-2 2H6l-2.293,2.293c-0.63,0.63 -1.707,0.184 -1.707,-0.707V5a2,2 0,0 1,2 -2m3,7h10q0.424,0 0.712,-0.287A0.97,0.97 0,0 0,18 9a0.97,0.97 0,0 0,-0.288 -0.713A0.97,0.97 0,0 0,17 8H7a0.97,0.97 0,0 0,-0.713 0.287A0.97,0.97 0,0 0,6 9q0,0.424 0.287,0.713Q6.576,10 7,10m0,4h6q0.424,0 0.713,-0.287A0.97,0.97 0,0 0,14 13a0.97,0.97 0,0 0,-0.287 -0.713A0.97,0.97 0,0 0,13 12H7a0.97,0.97 0,0 0,-0.713 0.287A0.97,0.97 0,0 0,6 13q0,0.424 0.287,0.713Q6.576,14 7,14"
android:pathData="M4 3h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6l-2.3 2.3C3.09 21.91 2 21.47 2 20.58V5a2 2 0 0 1 2-2m3 7h10q0.42 0 0.71-0.29A0.97 0.97 0 0 0 18 9a0.97 0.97 0 0 0-0.29-0.71A0.97 0.97 0 0 0 17 8H7a0.97 0.97 0 0 0-0.71 0.29A0.97 0.97 0 0 0 6 9q0 0.42 0.29 0.71T7 10m0 4h6q0.42 0 0.71-0.29A0.97 0.97 0 0 0 14 13a0.97 0.97 0 0 0-0.29-0.71A0.97 0.97 0 0 0 13 12H7a0.97 0.97 0 0 0-0.71 0.29A0.97 0.97 0 0 0 6 13q0 0.42 0.29 0.71T7 14"/> android:fillColor="#FF000000"/>
</vector> </vector>

View File

@@ -1,9 +0,0 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M6,21q-1.65,0 -2.825,-1.175T2,17t1.175,-2.825T6,13t2.825,1.175T10,17t-1.175,2.825T6,21m12,0q-1.65,0 -2.825,-1.175T14,17t1.175,-2.825T18,13t2.825,1.175T22,17t-1.175,2.825T18,21M6,19q0.824,0 1.412,-0.587Q8,17.825 8,17t-0.588,-1.412A1.93,1.93 0,0 0,6 15q-0.824,0 -1.412,0.588A1.93,1.93 0,0 0,4 17q0,0.824 0.588,1.413Q5.175,19 6,19m12,0q0.824,0 1.413,-0.587Q20,17.825 20,17t-0.587,-1.412A1.93,1.93 0,0 0,18 15q-0.824,0 -1.413,0.588A1.93,1.93 0,0 0,16 17q0,0.824 0.587,1.413Q17.176,19 18,19m-6,-8q-1.65,0 -2.825,-1.175T8,7t1.175,-2.825T12,3t2.825,1.175T16,7t-1.175,2.825T12,11m0,-2q0.825,0 1.412,-0.588Q14,7.826 14,7q0,-0.824 -0.588,-1.412A1.93,1.93 0,0 0,12 5q-0.825,0 -1.412,0.588A1.93,1.93 0,0 0,10 7q0,0.824 0.588,1.412Q11.175,9 12,9"
android:fillColor="#FF000000"/>
</vector>

View File

@@ -1,9 +0,0 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M3.175,19.825Q4.35,21 6,21t2.825,-1.175T10,17t-1.175,-2.825T6,13t-2.825,1.175T2,17t1.175,2.825m12,0Q16.35,21 18,21t2.825,-1.175T22,17t-1.175,-2.825T18,13t-2.825,1.175T14,17t1.175,2.825m-6,-10Q10.35,11 12,11t2.825,-1.175T16,7t-1.175,-2.825T12,3 9.175,4.175 8,7t1.175,2.825"
android:fillColor="#FF000000"/>
</vector>