mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Import compound token from release 10.2.1 https://github.com/element-hq/compound-design-tokens/releases/tag/v10.2.1 (#6942)
* Sync compound tokens https://github.com/element-hq/compound-design-tokens/releases/tag/v10.2.1 * Update screenshots --------- Co-authored-by: ElementBot <android@element.io>
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7901fea2f578c8ed796160c9c08f417c61f4fb21580f958844fdf0cb794adf8a
|
||||
size 239731
|
||||
oid sha256:f7511b9256afc6d001b53576959e69549683ab4cb81b49031aeda027d14178aa
|
||||
size 245703
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:245f012d419817f6557d92a71729b3b70092f24f0eba37f2f1fc431ad27592be
|
||||
size 252969
|
||||
oid sha256:83a12b138543be1e17da8aa562bd95d1de18c0093da50d9a14196f905584bf7c
|
||||
size 258948
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2d15c52b21cc279d306fa187cd0c318820109b5ec66270e6447e1b02e800eeba
|
||||
size 254206
|
||||
oid sha256:73b37a7cd34f2ffe285011f67c2b38ed5399cbea40b3115c6c5115536f2902f2
|
||||
size 260171
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:85ef188fa3a27e42f4beafc899c1f3e7e8bcfad980ed76af6a03f76d70d6a511
|
||||
size 93807
|
||||
oid sha256:49a9372bea521e4ee948bbd4f7616310c411ee46f84ffd562d9b35bc9bfeb4d9
|
||||
size 97239
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f6e38386e95dc0c50384f06fca122ce14851ceff8ffc7865e394c1b4fccc5db6
|
||||
size 100555
|
||||
oid sha256:add37e4d84f03a33caf1079eaa99631682f5ef6418096629f96433520e519b20
|
||||
size 103742
|
||||
|
||||
File diff suppressed because one or more lines are too long
+45
@@ -130,6 +130,9 @@ object CompoundIcons {
|
||||
@Composable fun Collapse(): ImageVector {
|
||||
return ImageVector.vectorResource(R.drawable.ic_compound_collapse)
|
||||
}
|
||||
@Composable fun CollapseAll(): ImageVector {
|
||||
return ImageVector.vectorResource(R.drawable.ic_compound_collapse_all)
|
||||
}
|
||||
@Composable fun Company(): ImageVector {
|
||||
return ImageVector.vectorResource(R.drawable.ic_compound_company)
|
||||
}
|
||||
@@ -142,6 +145,9 @@ object CompoundIcons {
|
||||
@Composable fun Copy(): ImageVector {
|
||||
return ImageVector.vectorResource(R.drawable.ic_compound_copy)
|
||||
}
|
||||
@Composable fun Crop(): ImageVector {
|
||||
return ImageVector.vectorResource(R.drawable.ic_compound_crop)
|
||||
}
|
||||
@Composable fun DarkMode(): ImageVector {
|
||||
return ImageVector.vectorResource(R.drawable.ic_compound_dark_mode)
|
||||
}
|
||||
@@ -202,6 +208,9 @@ object CompoundIcons {
|
||||
@Composable fun Expand(): ImageVector {
|
||||
return ImageVector.vectorResource(R.drawable.ic_compound_expand)
|
||||
}
|
||||
@Composable fun ExpandAll(): ImageVector {
|
||||
return ImageVector.vectorResource(R.drawable.ic_compound_expand_all)
|
||||
}
|
||||
@Composable fun Explore(): ImageVector {
|
||||
return ImageVector.vectorResource(R.drawable.ic_compound_explore)
|
||||
}
|
||||
@@ -229,6 +238,15 @@ object CompoundIcons {
|
||||
@Composable fun Filter(): ImageVector {
|
||||
return ImageVector.vectorResource(R.drawable.ic_compound_filter)
|
||||
}
|
||||
@Composable fun FlipHorizontal(): ImageVector {
|
||||
return ImageVector.vectorResource(R.drawable.ic_compound_flip_horizontal)
|
||||
}
|
||||
@Composable fun FlipVertical(): ImageVector {
|
||||
return ImageVector.vectorResource(R.drawable.ic_compound_flip_vertical)
|
||||
}
|
||||
@Composable fun Folder(): ImageVector {
|
||||
return ImageVector.vectorResource(R.drawable.ic_compound_folder)
|
||||
}
|
||||
@Composable fun Forward(): ImageVector {
|
||||
return ImageVector.vectorResource(R.drawable.ic_compound_forward)
|
||||
}
|
||||
@@ -496,6 +514,12 @@ object CompoundIcons {
|
||||
@Composable fun RotateRight(): ImageVector {
|
||||
return ImageVector.vectorResource(R.drawable.ic_compound_rotate_right)
|
||||
}
|
||||
@Composable fun Save(): ImageVector {
|
||||
return ImageVector.vectorResource(R.drawable.ic_compound_save)
|
||||
}
|
||||
@Composable fun SaveSolid(): ImageVector {
|
||||
return ImageVector.vectorResource(R.drawable.ic_compound_save_solid)
|
||||
}
|
||||
@Composable fun Search(): ImageVector {
|
||||
return ImageVector.vectorResource(R.drawable.ic_compound_search)
|
||||
}
|
||||
@@ -607,6 +631,9 @@ object CompoundIcons {
|
||||
@Composable fun Unpin(): ImageVector {
|
||||
return ImageVector.vectorResource(R.drawable.ic_compound_unpin)
|
||||
}
|
||||
@Composable fun Unsave(): ImageVector {
|
||||
return ImageVector.vectorResource(R.drawable.ic_compound_unsave)
|
||||
}
|
||||
@Composable fun User(): ImageVector {
|
||||
return ImageVector.vectorResource(R.drawable.ic_compound_user)
|
||||
}
|
||||
@@ -735,10 +762,12 @@ object CompoundIcons {
|
||||
CloudSolid(),
|
||||
Code(),
|
||||
Collapse(),
|
||||
CollapseAll(),
|
||||
Company(),
|
||||
Compose(),
|
||||
Computer(),
|
||||
Copy(),
|
||||
Crop(),
|
||||
DarkMode(),
|
||||
Delete(),
|
||||
DevicePasskey(),
|
||||
@@ -759,6 +788,7 @@ object CompoundIcons {
|
||||
ErrorSolid(),
|
||||
ExitFullScreen(),
|
||||
Expand(),
|
||||
ExpandAll(),
|
||||
Explore(),
|
||||
ExportArchive(),
|
||||
Extensions(),
|
||||
@@ -768,6 +798,9 @@ object CompoundIcons {
|
||||
FileError(),
|
||||
Files(),
|
||||
Filter(),
|
||||
FlipHorizontal(),
|
||||
FlipVertical(),
|
||||
Folder(),
|
||||
Forward(),
|
||||
FullScreen(),
|
||||
Grid(),
|
||||
@@ -857,6 +890,8 @@ object CompoundIcons {
|
||||
Room(),
|
||||
RotateLeft(),
|
||||
RotateRight(),
|
||||
Save(),
|
||||
SaveSolid(),
|
||||
Search(),
|
||||
Section(),
|
||||
Send(),
|
||||
@@ -894,6 +929,7 @@ object CompoundIcons {
|
||||
Unknown(),
|
||||
UnknownSolid(),
|
||||
Unpin(),
|
||||
Unsave(),
|
||||
User(),
|
||||
UserAdd(),
|
||||
UserAddSolid(),
|
||||
@@ -963,10 +999,12 @@ object CompoundIcons {
|
||||
R.drawable.ic_compound_cloud_solid,
|
||||
R.drawable.ic_compound_code,
|
||||
R.drawable.ic_compound_collapse,
|
||||
R.drawable.ic_compound_collapse_all,
|
||||
R.drawable.ic_compound_company,
|
||||
R.drawable.ic_compound_compose,
|
||||
R.drawable.ic_compound_computer,
|
||||
R.drawable.ic_compound_copy,
|
||||
R.drawable.ic_compound_crop,
|
||||
R.drawable.ic_compound_dark_mode,
|
||||
R.drawable.ic_compound_delete,
|
||||
R.drawable.ic_compound_device_passkey,
|
||||
@@ -987,6 +1025,7 @@ object CompoundIcons {
|
||||
R.drawable.ic_compound_error_solid,
|
||||
R.drawable.ic_compound_exit_full_screen,
|
||||
R.drawable.ic_compound_expand,
|
||||
R.drawable.ic_compound_expand_all,
|
||||
R.drawable.ic_compound_explore,
|
||||
R.drawable.ic_compound_export_archive,
|
||||
R.drawable.ic_compound_extensions,
|
||||
@@ -996,6 +1035,9 @@ object CompoundIcons {
|
||||
R.drawable.ic_compound_file_error,
|
||||
R.drawable.ic_compound_files,
|
||||
R.drawable.ic_compound_filter,
|
||||
R.drawable.ic_compound_flip_horizontal,
|
||||
R.drawable.ic_compound_flip_vertical,
|
||||
R.drawable.ic_compound_folder,
|
||||
R.drawable.ic_compound_forward,
|
||||
R.drawable.ic_compound_full_screen,
|
||||
R.drawable.ic_compound_grid,
|
||||
@@ -1085,6 +1127,8 @@ object CompoundIcons {
|
||||
R.drawable.ic_compound_room,
|
||||
R.drawable.ic_compound_rotate_left,
|
||||
R.drawable.ic_compound_rotate_right,
|
||||
R.drawable.ic_compound_save,
|
||||
R.drawable.ic_compound_save_solid,
|
||||
R.drawable.ic_compound_search,
|
||||
R.drawable.ic_compound_section,
|
||||
R.drawable.ic_compound_send,
|
||||
@@ -1122,6 +1166,7 @@ object CompoundIcons {
|
||||
R.drawable.ic_compound_unknown,
|
||||
R.drawable.ic_compound_unknown_solid,
|
||||
R.drawable.ic_compound_unpin,
|
||||
R.drawable.ic_compound_unsave,
|
||||
R.drawable.ic_compound_user,
|
||||
R.drawable.ic_compound_user_add,
|
||||
R.drawable.ic_compound_user_add_solid,
|
||||
|
||||
+2
@@ -175,6 +175,8 @@ data class SemanticColors(
|
||||
val iconTertiaryAlpha: Color,
|
||||
/** Used to separate core sections of the UI as well as containers */
|
||||
val separatorPrimary: Color,
|
||||
/** Secondary shade for separating sections of components or list items */
|
||||
val separatorSecondary: Color,
|
||||
/** Accent text colour for plain actions. */
|
||||
val textActionAccent: Color,
|
||||
/** Default text colour for plain actions. */
|
||||
|
||||
+1
@@ -103,6 +103,7 @@ val compoundColorsDark = SemanticColors(
|
||||
iconTertiary = DarkColorTokens.colorGray800,
|
||||
iconTertiaryAlpha = DarkColorTokens.colorAlphaGray800,
|
||||
separatorPrimary = DarkColorTokens.colorGray400,
|
||||
separatorSecondary = DarkColorTokens.colorGray300,
|
||||
textActionAccent = DarkColorTokens.colorGreen900,
|
||||
textActionPrimary = DarkColorTokens.colorGray1400,
|
||||
textBadgeAccent = DarkColorTokens.colorGreen1100,
|
||||
|
||||
+1
@@ -103,6 +103,7 @@ val compoundColorsHcDark = SemanticColors(
|
||||
iconTertiary = DarkHcColorTokens.colorGray800,
|
||||
iconTertiaryAlpha = DarkHcColorTokens.colorAlphaGray800,
|
||||
separatorPrimary = DarkHcColorTokens.colorGray400,
|
||||
separatorSecondary = DarkHcColorTokens.colorGray300,
|
||||
textActionAccent = DarkHcColorTokens.colorGreen900,
|
||||
textActionPrimary = DarkHcColorTokens.colorGray1400,
|
||||
textBadgeAccent = DarkHcColorTokens.colorGreen1100,
|
||||
|
||||
+1
@@ -103,6 +103,7 @@ val compoundColorsLight = SemanticColors(
|
||||
iconTertiary = LightColorTokens.colorGray800,
|
||||
iconTertiaryAlpha = LightColorTokens.colorAlphaGray800,
|
||||
separatorPrimary = LightColorTokens.colorGray400,
|
||||
separatorSecondary = LightColorTokens.colorGray300,
|
||||
textActionAccent = LightColorTokens.colorGreen900,
|
||||
textActionPrimary = LightColorTokens.colorGray1400,
|
||||
textBadgeAccent = LightColorTokens.colorGreen1100,
|
||||
|
||||
+1
@@ -103,6 +103,7 @@ val compoundColorsHcLight = SemanticColors(
|
||||
iconTertiary = LightHcColorTokens.colorGray800,
|
||||
iconTertiaryAlpha = LightHcColorTokens.colorAlphaGray800,
|
||||
separatorPrimary = LightHcColorTokens.colorGray400,
|
||||
separatorSecondary = LightHcColorTokens.colorGray300,
|
||||
textActionAccent = LightHcColorTokens.colorGreen900,
|
||||
textActionPrimary = LightHcColorTokens.colorGray1400,
|
||||
textBadgeAccent = LightHcColorTokens.colorGreen1100,
|
||||
|
||||
@@ -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="m12,16.975 l-3.9,3.9a0.95,0.95 0,0 1,-0.7 0.275,0.95 0.95,0 0,1 -0.7,-0.275 0.95,0.95 0,0 1,-0.275 -0.7q0,-0.425 0.275,-0.7l3.875,-3.875q0.575,-0.575 1.425,-0.575t1.425,0.575l3.875,3.875a0.95,0.95 0,0 1,0.275 0.7,0.95 0.95,0 0,1 -0.275,0.7 0.95,0.95 0,0 1,-0.7 0.275,0.95 0.95,0 0,1 -0.7,-0.275zM12,7.175 L15.9,3.275A0.95,0.95 0,0 1,16.6 3q0.425,0 0.7,0.275a0.95,0.95 0,0 1,0.275 0.7,0.95 0.95,0 0,1 -0.275,0.7L13.425,8.55q-0.575,0.575 -1.425,0.575t-1.425,-0.575L6.7,4.675a0.95,0.95 0,0 1,-0.275 -0.7q0,-0.425 0.275,-0.7A0.95,0.95 0,0 1,7.4 3q0.425,0 0.7,0.275z"
|
||||
android:fillColor="#FF000000"/>
|
||||
</vector>
|
||||
@@ -0,0 +1,12 @@
|
||||
<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,2a1,1 0,0 1,1 1v13a1,1 0,0 0,1 1h13a1,1 0,1 1,0 2h-2v2a1,1 0,1 1,-2 0v-2H8a3,3 0,0 1,-3 -3V7H3a1,1 0,0 1,0 -2h2V3a1,1 0,0 1,1 -1"
|
||||
android:fillColor="#FF000000"/>
|
||||
<path
|
||||
android:pathData="M16,5a3,3 0,0 1,3 3v7h-2V8a1,1 0,0 0,-1 -1H9V5z"
|
||||
android:fillColor="#FF000000"/>
|
||||
</vector>
|
||||
@@ -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="m12,19.2 l3.9,-3.9a0.95,0.95 0,0 1,0.7 -0.275q0.425,0 0.7,0.275a0.95,0.95 0,0 1,0.275 0.7,0.95 0.95,0 0,1 -0.275,0.7l-3.875,3.875q-0.575,0.575 -1.425,0.575t-1.425,-0.575L6.7,16.7a0.95,0.95 0,0 1,-0.275 -0.7q0,-0.425 0.275,-0.7a0.95,0.95 0,0 1,0.7 -0.275q0.425,0 0.7,0.275zM12,4.95 L8.1,8.85a0.95,0.95 0,0 1,-0.7 0.275,0.95 0.95,0 0,1 -0.7,-0.275 0.95,0.95 0,0 1,-0.275 -0.7q0,-0.425 0.275,-0.7l3.875,-3.875Q11.15,3 12,3t1.425,0.575L17.3,7.45a0.95,0.95 0,0 1,0.275 0.7,0.95 0.95,0 0,1 -0.275,0.7 0.95,0.95 0,0 1,-0.7 0.275,0.95 0.95,0 0,1 -0.7,-0.275z"
|
||||
android:fillColor="#FF000000"/>
|
||||
</vector>
|
||||
@@ -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="M12,2a1,1 0,0 1,1 1v18a1,1 0,1 1,-2 0L11,3a1,1 0,0 1,1 -1M2,8a1,1 0,0 1,1.6 -0.8l5.334,4a1,1 0,0 1,0 1.6l-5.334,4A1,1 0,0 1,2 16zM20.4,7.2A1,1 0,0 1,22 8v8a1,1 0,0 1,-1.6 0.8l-5.334,-4a1,1 0,0 1,0 -1.6z"
|
||||
android:fillColor="#FF000000"/>
|
||||
</vector>
|
||||
@@ -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="M11.2,15.066a1,1 0,0 1,1.6 0l4,5.334A1,1 0,0 1,16 22L8,22a1,1 0,0 1,-0.8 -1.6zM21,11a1,1 0,1 1,0 2L3,13a1,1 0,1 1,0 -2zM16,2a1,1 0,0 1,0.8 1.6l-4,5.334a1,1 0,0 1,-1.6 0L7.2,3.6A1,1 0,0 1,8 2z"
|
||||
android:fillColor="#FF000000"/>
|
||||
</vector>
|
||||
@@ -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="M9.837,17.869a4,4 0,0 1,4.326 0L18,20.336V4H6v16.336zM20,20.336c0,1.582 -1.751,2.538 -3.082,1.682l-3.836,-2.466a2,2 0,0 0,-2.164 0l-3.836,2.466 -0.126,0.076C5.643,22.814 4,21.869 4,20.336V4a2,2 0,0 1,2 -2h12a2,2 0,0 1,2 2z"
|
||||
android:fillColor="#FF000000"/>
|
||||
</vector>
|
||||
@@ -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="M18,2H6a2,2 0,0 0,-2 2v16.336c0,1.583 1.75,2.538 3.082,1.683l3.836,-2.467a2,2 0,0 1,2.164 0l3.836,2.467c1.331,0.855 3.082,-0.1 3.082,-1.683V4a2,2 0,0 0,-2 -2"
|
||||
android:fillColor="#FF000000"/>
|
||||
</vector>
|
||||
@@ -0,0 +1,13 @@
|
||||
<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.503,2.083a1,1 0,0 1,1.414 0l17,17a1,1 0,1 1,-1.414 1.414L20,19.994v0.342c0,1.582 -1.75,2.538 -3.082,1.683l-3.836,-2.467a2,2 0,0 0,-2.164 0l-3.836,2.467 -0.126,0.075C5.643,22.814 4,21.869 4,20.336V3.994l-0.497,-0.497a1,1 0,0 1,0 -1.414M6,20.336l3.837,-2.467a4,4 0,0 1,4.326 0L18,20.336v-2.342l-12,-12z"
|
||||
android:fillColor="#FF000000"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M18,2a2,2 0,0 1,2 2v10.35l-2,-2V4H9.65l-2,-2z"
|
||||
android:fillColor="#FF000000"/>
|
||||
</vector>
|
||||
Reference in New Issue
Block a user