diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9494630 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +compound/screenshots/** filter=lfs diff=lfs merge=lfs -text diff --git a/.github/workflows/nightlyReports.yml b/.github/workflows/nightlyReports.yml new file mode 100644 index 0000000..3694833 --- /dev/null +++ b/.github/workflows/nightlyReports.yml @@ -0,0 +1,75 @@ +name: Nightly reports + +on: + workflow_dispatch: + schedule: + # Every nights at 5 + - cron: "0 5 * * *" + +# Enrich gradle.properties for CI/CD +env: + GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx3g -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError" -Dkotlin.daemon.jvm.options="-Xmx2560m" -Dkotlin.incremental=false -XX:+UseParallelGC + CI_GRADLE_ARG_PROPERTIES: --stacktrace -PpreDexEnable=false --max-workers 4 + +jobs: + nightlyReports: + name: Create kover report artifact and upload sonar result. + runs-on: ubuntu-latest + if: ${{ github.repository == 'element-hq/compound-android' }} + steps: + - name: ⏬ Checkout with LFS + uses: nschloe/action-cached-lfs-checkout@v1.2.2 + + - name: Use JDK 17 + uses: actions/setup-java@v4 + with: + distribution: 'temurin' # See 'Supported distributions' for available options + java-version: '17' + + - name: ⚙️ Run unit tests + run: ./gradlew testDebugUnitTest $CI_GRADLE_ARG_PROPERTIES + + - name: 📸 Run screenshot tests + run: ./gradlew :compound:verifyRoborazziDebug $CI_GRADLE_ARG_PROPERTIES + + - name: 📈 Generate kover report and verify coverage + run: ./gradlew :compound:koverHtmlReport :compound:koverXmlReport :compound:koverVerify $CI_GRADLE_ARG_PROPERTIES -Pci-build=true + + - name: ✅ Upload kover report + if: always() + uses: actions/upload-artifact@v4 + with: + name: kover-results + path: | + **/build/reports/kover + + - name: 🔊 Publish results to Sonar + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + ORG_GRADLE_PROJECT_SONAR_LOGIN: ${{ secrets.SONAR_TOKEN }} + if: ${{ always() && env.SONAR_TOKEN != '' && env.ORG_GRADLE_PROJECT_SONAR_LOGIN != '' }} + run: ./gradlew sonar $CI_GRADLE_ARG_PROPERTIES + + # Gradle dependency analysis using https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin + dependency-analysis: + name: Dependency analysis + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Use JDK 17 + uses: actions/setup-java@v4 + with: + distribution: 'temurin' # See 'Supported distributions' for available options + java-version: '17' + - name: Configure gradle + uses: gradle/gradle-build-action@v2.11.1 + with: + cache-read-only: ${{ github.ref != 'refs/heads/main' }} + - name: Dependency analysis + run: ./gradlew dependencyCheckAnalyze $CI_GRADLE_ARG_PROPERTIES + - name: Upload dependency analysis + if: always() + uses: actions/upload-artifact@v4 + with: + name: dependency-analysis + path: build/reports/dependency-check-report.html diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..105af42 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,37 @@ +name: Publish + +on: + push: + tags: + - '*' + workflow_dispatch: + +env: + GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx4096m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError" -Dkotlin.daemon.jvm.options="-Xmx2560m" -Dkotlin.incremental=false + CI_GRADLE_ARG_PROPERTIES: --stacktrace -PpreDexEnable=false --max-workers 4 --no-daemon + ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }} + ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }} + ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.ANDROID_SIGNING_GPG }} + ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.ANDROID_SIGNING_KEY_ID }} + ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.ANDROID_SIGNING_KEY_PASSWORD }} + +jobs: + publish: + name: Publish to maven + runs-on: ubuntu-latest + steps: + - name: 🧮 Checkout code + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: ☕️ Setup Java + uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: '17' + + - name: ⬆️ Publish to Sonatype + uses: gradle/gradle-build-action@v2 + with: + arguments: publishAndReleaseToMavenCentral --no-configuration-cache diff --git a/.github/workflows/recordScreenshots.yml b/.github/workflows/recordScreenshots.yml new file mode 100644 index 0000000..11cd8e3 --- /dev/null +++ b/.github/workflows/recordScreenshots.yml @@ -0,0 +1,50 @@ +name: Record screenshots + +on: + workflow_dispatch: + pull_request: + types: [ labeled ] + +# Enrich gradle.properties for CI/CD +env: + GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx3584m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError" -Dkotlin.incremental=false -XX:+UseParallelGC + +jobs: + record: + name: Record screenshots on branch ${{ github.event.pull_request.head.ref || github.ref_name }} + runs-on: ubuntu-latest + if: github.event_name == 'workflow_dispatch' || github.event.label.name == 'Record-Screenshots' + + steps: + - name: Remove Record-Screenshots label + if: github.event.label.name == 'Record-Screenshots' + uses: actions-ecosystem/action-remove-labels@v1 + with: + labels: Record-Screenshots + - name: ⏬ Checkout with LFS (PR) + if: github.event.label.name == 'Record-Screenshots' + uses: nschloe/action-cached-lfs-checkout@v1.2.2 + with: + persist-credentials: false + ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || github.ref }} + - name: ⏬ Checkout with LFS (Branch) + if: github.event_name == 'workflow_dispatch' + uses: nschloe/action-cached-lfs-checkout@v1.2.2 + with: + persist-credentials: false + - name: ☕️ Use JDK 17 + uses: actions/setup-java@v4 + with: + distribution: 'temurin' # See 'Supported distributions' for available options + java-version: '17' + # Add gradle cache, this should speed up the process + - name: Configure gradle + uses: gradle/gradle-build-action@v2.11.1 + with: + cache-read-only: ${{ github.ref != 'refs/heads/develop' }} + - name: Record screenshots + id: record + run: ./.github/workflows/scripts/recordScreenshots.sh + env: + GITHUB_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN || secrets.GITHUB_TOKEN }} + GITHUB_REPOSITORY: ${{ secrets.GITHUB_REPOSITORY }} diff --git a/.github/workflows/scripts/recordScreenshots.sh b/.github/workflows/scripts/recordScreenshots.sh new file mode 100755 index 0000000..f1a79f7 --- /dev/null +++ b/.github/workflows/scripts/recordScreenshots.sh @@ -0,0 +1,94 @@ +#!/bin/bash + +# +# Copyright (c) 2023 New Vector Ltd +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +set -e + +TOKEN=$GITHUB_TOKEN +REPO=$GITHUB_REPOSITORY + +SHORT=t:,r: +LONG=token:,repo: +OPTS=$(getopt -a -n recordScreenshots --options $SHORT --longoptions $LONG -- "$@") + +eval set -- "$OPTS" +while : +do + case "$1" in + -t | --token ) + TOKEN="$2" + shift 2 + ;; + -r | --repo ) + REPO="$2" + shift 2 + ;; + --) + shift; + break + ;; + *) + echo "Unexpected option: $1" + help + ;; + esac +done + +BRANCH=$(git rev-parse --abbrev-ref HEAD) +echo Branch used: $BRANCH + +if [[ -z ${TOKEN} ]]; then + echo "No token specified, either set the env var GITHUB_TOKEN or use the --token option" + exit 1 +fi + +if [[ -z ${REPO} ]]; then + echo "No repo specified, either set the env var GITHUB_REPOSITORY or use the --repo option" + exit 1 +fi + +echo "Deleting previous screenshots" +./gradlew removeOldSnapshots --stacktrace -PpreDexEnable=false --max-workers 4 --warn + +echo "Record screenshots" +./gradlew :compound:recordRoborazziDebug --stacktrace -PpreDexEnable=false --max-workers 4 --warn + +echo "Committing changes" +git config http.sslVerify false + +if [[ -z ${INPUT_AUTHOR_NAME} ]]; then + git config user.name "ElementBot" +else + git config --local user.name "${INPUT_AUTHOR_NAME}" +fi + +if [[ -z ${INPUT_AUTHOR_EMAIL} ]]; then + git config user.email "benoitm+elementbot@element.io" +else + git config --local user.name "${INPUT_AUTHOR_EMAIL}" +fi +git add -A +git commit -m "Update screenshots" + +GITHUB_REPO="https://$GITHUB_ACTOR:$TOKEN@github.com/$REPO.git" +echo "Pushing changes" +if [[ -z ${GITHUB_ACTOR} ]]; then + echo "No GITHUB_ACTOR env var" + GITHUB_REPO="https://$TOKEN@github.com/$REPO.git" +fi +git push $GITHUB_REPO "$BRANCH" +echo "Done!" diff --git a/.github/workflows/tag-release.yml b/.github/workflows/tag-release.yml new file mode 100644 index 0000000..40e644c --- /dev/null +++ b/.github/workflows/tag-release.yml @@ -0,0 +1,33 @@ +name: Tag Release + +on: + pull_request: + types: + - closed + branches: + - 'main' + +jobs: + tag_release: + if: ${{ github.event.pull_request.merged == true && startsWith( github.head_ref, 'version-' ) }} + runs-on: ubuntu-latest + steps: + - name: 🧮 Checkout code + uses: actions/checkout@v3 + with: + token: ${{ secrets.PAT }} + + - name: Get Version + uses: mad9000/actions-find-and-replace-string@3 + id: get-version + with: + source: ${{ github.head_ref }} + find: 'version-' + replace: '' + + - name: Add Tag + uses: mathieudutour/github-tag-action@v6.1 + with: + github_token: ${{ secrets.PAT }} + custom_tag: ${{steps.get-version.outputs.value}} + tag_prefix: '' diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..bc43261 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,86 @@ +name: Test + +on: + workflow_dispatch: + pull_request: + merge_group: + push: + branches: [ main ] + +# Enrich gradle.properties for CI/CD +env: + GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx3584m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError" -Dkotlin.incremental=false -XX:+UseParallelGC + CI_GRADLE_ARG_PROPERTIES: --stacktrace -PpreDexEnable=false --max-workers 4 --warn + +jobs: + tests: + name: Runs unit tests + runs-on: ubuntu-latest + + # Allow all jobs on main. Just one per PR. + concurrency: + group: ${{ github.ref == 'refs/heads/main' && format('unit-tests-main-{0}', github.sha) || format('unit-tests-{0}', github.ref) }} + cancel-in-progress: true + steps: + # Increase swapfile size to prevent screenshot tests getting terminated + # https://github.com/actions/runner-images/discussions/7188#discussioncomment-6750749 + - name: 💽 Increase swapfile size + run: | + sudo swapoff -a + sudo fallocate -l 8G /mnt/swapfile + sudo chmod 600 /mnt/swapfile + sudo mkswap /mnt/swapfile + sudo swapon /mnt/swapfile + sudo swapon --show + - name: ⏬ Checkout with LFS + uses: nschloe/action-cached-lfs-checkout@v1.2.2 + with: + # Ensure we are building the branch and not the branch after being merged on main + # https://github.com/actions/checkout/issues/881 + ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.ref }} + - name: ☕️ Use JDK 17 + uses: actions/setup-java@v4 + with: + distribution: 'temurin' # See 'Supported distributions' for available options + java-version: '17' + - name: Configure gradle + uses: gradle/gradle-build-action@v2.11.1 + with: + cache-read-only: ${{ github.ref != 'refs/heads/main' }} + + - name: ⚙️ Run unit tests + run: ./gradlew testDebugUnitTest $CI_GRADLE_ARG_PROPERTIES + + - name: 📸 Run screenshot tests + run: ./gradlew :compound:verifyRoborazziDebug $CI_GRADLE_ARG_PROPERTIES + + - name: 📈Generate kover report and verify coverage + run: ./gradlew :compound:koverHtmlReport :compound:koverXmlReport :compound:koverVerify $CI_GRADLE_ARG_PROPERTIES -Pci-build=true + + - name: 🚫 Upload kover failed coverage reports + if: failure() + uses: actions/upload-artifact@v4 + with: + name: kover-error-report + path: | + compound/build/reports/kover/verify.err + + - name: ✅ Upload kover report (disabled) + if: always() + run: echo "This is now done only once a day, see nightlyReports.yml" + + - name: 🚫 Upload test results on error + if: failure() + uses: actions/upload-artifact@v4 + with: + name: tests-and-screenshot-tests-results + path: | + **/build/roborazzi/failures/ + **/build/reports/tests/*UnitTest/ + + # https://github.com/codecov/codecov-action + - name: ☂️ Upload coverage reports to codecov + if: always() + uses: codecov/codecov-action@v3 + # with: + # files: build/reports/kover/xml/report.xml diff --git a/.github/workflows/validate-lfs.yml b/.github/workflows/validate-lfs.yml new file mode 100644 index 0000000..ad04fff --- /dev/null +++ b/.github/workflows/validate-lfs.yml @@ -0,0 +1,13 @@ +name: Validate Git LFS + +on: [pull_request] + +jobs: + build: + runs-on: ubuntu-latest + name: Validate + steps: + - uses: nschloe/action-cached-lfs-checkout@v1.2.2 + + - run: | + ./scripts/validate_lfs.sh diff --git a/.idea/kotlinc.xml b/.idea/kotlinc.xml index e805548..8d81632 100644 --- a/.idea/kotlinc.xml +++ b/.idea/kotlinc.xml @@ -1,6 +1,6 @@ - \ No newline at end of file diff --git a/README.md b/README.md index c89ed80..2d18eeb 100644 --- a/README.md +++ b/README.md @@ -19,3 +19,11 @@ All tokens can be accessed through the `ElementTheme` object, which contains the ## Adding new tokens All new tokens **should** come from Compound and added to the `compound.generated` package. To map the literal tokens to the semantic ones, you'll have to update both `compoundColorsLight` and `compoundColorsDark` in `CompoundColors.kt`. + +## Releasing + +To release a new version of the module, you'll have to: + +1. Update the version in `compound/build.gradle.kts`. +2. Create a `version-x.y.z` branch and create a PR. +3. When the PR is merged, a new tag will be created and the module will automatically be published to Maven Central. diff --git a/build.gradle.kts b/build.gradle.kts index a0ee703..b2eccfd 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,4 +8,4 @@ buildscript { plugins { alias(libs.plugins.android.library) apply false alias(libs.plugins.kotlin.android) apply false -} \ No newline at end of file +} diff --git a/compound/build.gradle.kts b/compound/build.gradle.kts index 65f5b3a..39634f0 100644 --- a/compound/build.gradle.kts +++ b/compound/build.gradle.kts @@ -19,8 +19,10 @@ import com.vanniktech.maven.publish.SonatypeHost plugins { alias(libs.plugins.android.library) alias(libs.plugins.kotlin.android) - alias(libs.plugins.ksp) alias(libs.plugins.maven.publish) + alias(libs.plugins.ksp) + alias(libs.plugins.kover) + alias(libs.plugins.roborazzi) } android { @@ -41,6 +43,10 @@ android { targetCompatibility = JavaVersion.VERSION_17 } + testOptions { + unitTests.isIncludeAndroidResources = true + } + buildTypes { release { isMinifyEnabled = false @@ -62,12 +68,6 @@ android { } } - sourceSets { - named("main") { - kotlin.srcDir(project.buildDir.resolve("generated/icons/main/kotlin")) - } - } - dependencies { implementation(libs.androidx.compose.material3) implementation(platform(libs.androidx.compose.bom)) @@ -79,6 +79,16 @@ android { kspTest(libs.showkase.processor) implementation(libs.accompanist.systemui) + + testImplementation(libs.test.junit) + + testImplementation(libs.androidx.activity.activity) + testImplementation(libs.androidx.compose.ui.test.junit) + testImplementation(libs.test.robolectric) + testImplementation(libs.test.roborazzi) + testImplementation(libs.test.roborazzi.compose) + testImplementation(libs.test.roborazzi.junit) + testImplementation(libs.test.espresso.core) } } @@ -98,7 +108,7 @@ mavenPublishing { name = "Compound Android" description.set("Compound Tokens in a format Android projects can use.") inceptionYear.set("2023") - url.set("https://github.com/vector-im/compound-android/") + url.set("https://github.com/element-hq/compound-android/") licenses { license { name.set("The Apache License, Version 2.0") @@ -110,14 +120,99 @@ mavenPublishing { developer { id.set("matrixdev") name.set("matrixdev") - url.set("https://github.com/vector-im/") + url.set("https://github.com/element-hq/") email.set("android@element.io") } } scm { url.set("https://github.com/username/mylibrary/") - connection.set("scm:git:git://github.com/username/mylibrary.git") - developerConnection.set("scm:git:ssh://git@github.com/username/mylibrary.git") + connection.set("scm:git:git://github.com/element-hq/compound-android.git") + developerConnection.set("scm:git:ssh://git@github.com/element-hq/compound-android.git") } } } + +// Workaround: `kover` tasks somehow trigger the screenshot tests with a broken configuration, removing +// any previous test results and not creating new ones. This is a workaround to disable the screenshot tests +// when the `kover` tasks are detected. +tasks.withType { + if (project.gradle.startParameter.taskNames.any { it.contains("kover", ignoreCase = true) }) { + println("WARNING: Kover task detected, disabling screenshot test task $name.") + isEnabled = false + } +} + +// https://kotlin.github.io/kotlinx-kover/ +// Run `./gradlew :app:koverHtmlReport` to get report at ./app/build/reports/kover +// Run `./gradlew :app:koverXmlReport` to get XML report +koverReport { + filters { + excludes { + classes( + // Exclude generated classes. + "com.airbnb.android.showkase*", + "io.element.android.compound.showkase*", + "*BuildConfig", + // Generated by Showkase. + // These should be annotated with some `*Generated` annotation), but until them we need to filter them out manually. + "*Ioelementandroid*PreviewKt$*", + "*Ioelementandroid*PreviewKt", + "io.element.android.compound.previews.IconsCompoundPreviewDarkDefaultGroupIconsCompoundPreviewDarkKt*", + "io.element.android.compound.previews.IconsCompoundPreviewLightDefaultGroupIconsCompoundPreviewLightKt*", + "io.element.android.compound.tokens.CompoundBodyLgMediumCompoundM3TitleMediumKt", + "io.element.android.compound.tokens.CompoundBodyLgRegularCompoundM3BodyLargeKt", + "io.element.android.compound.tokens.CompoundBodyMdMediumCompoundM3TitleSmallKt", + "io.element.android.compound.tokens.CompoundBodyMdMediumLabelLargeCompoundM3LabelLargeKt", + "io.element.android.compound.tokens.CompoundBodyMdRegularCompoundM3BodyMediumKt", + "io.element.android.compound.tokens.CompoundBodySmMediumCompoundM3LabelMediumKt", + "io.element.android.compound.tokens.CompoundBodySmRegularCompoundM3BodySmallKt", + "io.element.android.compound.tokens.CompoundBodyXsMediumCompoundM3LabelSmallKt", + "io.element.android.compound.tokens.CompoundHeadingLgRegularCompoundM3HeadlineMediumKt", + "io.element.android.compound.tokens.CompoundHeadingMdRegularCompoundM3TitleLargeKt", + "io.element.android.compound.tokens.CompoundHeadingXlRegularCompoundM3HeadlineLargeKt", + "io.element.android.compound.tokens.DefaultHeadlineSmallCompoundM3HeadlineSmallKt", + "io.element.android.compound.theme.AvatarColorsDarkPreviewDefaultGroupAvatarColorsDarkPreviewKt", + "io.element.android.compound.theme.AvatarColorsLightPreviewDefaultGroupAvatarColorsLightPreviewKt", + "io.element.android.compound.theme.ColorsSchemeDarkPreviewDefaultGroupColorsSchemeDarkPreviewKt", + "io.element.android.compound.theme.ColorsSchemeLightPreviewDefaultGroupColorsSchemeLightPreviewKt", + "*ComposableSingletons*", + ) + annotatedBy( + "androidx.compose.ui.tooling.preview.Preview", + ) + } + } + + defaults { + // add reports of both 'debug' and 'release' Android build variants to default reports + mergeWith("debug") + + verify { + onCheck = true + // General rule: minimum code coverage. + rule("Global minimum code coverage.") { + isEnabled = true + entity = kotlinx.kover.gradle.plugin.dsl.GroupingEntityType.APPLICATION + bound { + minValue = 80 + metric = kotlinx.kover.gradle.plugin.dsl.MetricType.INSTRUCTION + aggregation = kotlinx.kover.gradle.plugin.dsl.AggregationType.COVERED_PERCENTAGE + } + } + } + } +} + +val snapshotsDir = File("${projectDir}/screenshots") +val removeOldScreenshotsTask = tasks.register("removeOldSnapshots") { + onlyIf { snapshotsDir.exists() } + doFirst { + println("Delete previous screenshots located at $snapshotsDir\n") + snapshotsDir.deleteRecursively() + } +} +afterEvaluate { + tasks.findByName("recordRoborazzi")?.dependsOn(removeOldScreenshotsTask) + tasks.findByName("recordRoborazziDebug")?.dependsOn(removeOldScreenshotsTask) + tasks.findByName("recordRoborazziRelease")?.dependsOn(removeOldScreenshotsTask) +} \ No newline at end of file diff --git a/compound/screenshots/Avatar Colors - Dark.png b/compound/screenshots/Avatar Colors - Dark.png new file mode 100644 index 0000000..3baf602 --- /dev/null +++ b/compound/screenshots/Avatar Colors - Dark.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a08cc01007ac1d1e85ec119e6b428ebf8ac9640560194de94ba9b70910eee8a +size 13410 diff --git a/compound/screenshots/Avatar Colors - Light.png b/compound/screenshots/Avatar Colors - Light.png new file mode 100644 index 0000000..3ee6b4f --- /dev/null +++ b/compound/screenshots/Avatar Colors - Light.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa2c64328eb84eb999b8c070f11137162a960a59f4b2a080b1602a091e9a513d +size 14109 diff --git a/compound/screenshots/Compound Icons - Dark.png b/compound/screenshots/Compound Icons - Dark.png new file mode 100644 index 0000000..0168ce9 --- /dev/null +++ b/compound/screenshots/Compound Icons - Dark.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b61192d2f323a6a5d0fd69eaacf56a4d79b879a7c11983887f6e0b6f14a6c76e +size 150300 diff --git a/compound/screenshots/Compound Icons - Light.png b/compound/screenshots/Compound Icons - Light.png new file mode 100644 index 0000000..bbb8f02 --- /dev/null +++ b/compound/screenshots/Compound Icons - Light.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bfd190aadc4b8fd453eba3b8675606861af367048d68f2e278004ad904cc8040 +size 157560 diff --git a/compound/screenshots/Compound Semantic Colors - Dark.png b/compound/screenshots/Compound Semantic Colors - Dark.png new file mode 100644 index 0000000..71d4719 --- /dev/null +++ b/compound/screenshots/Compound Semantic Colors - Dark.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b0f2e4be4f9ecaaad5d5d06a6cf865c4cc92be1e6ae0f5c923b0f19db4326e04 +size 309546 diff --git a/compound/screenshots/Compound Semantic Colors - Light.png b/compound/screenshots/Compound Semantic Colors - Light.png new file mode 100644 index 0000000..057e89e --- /dev/null +++ b/compound/screenshots/Compound Semantic Colors - Light.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:902a25c104b63b276d4636b3b82def05d0e995ed67ab3ab17785d1415e1025df +size 301008 diff --git a/compound/screenshots/Compound Typography.png b/compound/screenshots/Compound Typography.png new file mode 100644 index 0000000..b3ff42a --- /dev/null +++ b/compound/screenshots/Compound Typography.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:630c272f8246117da1fb1c97be2a0e6ee4ee7d52d2b92411cc56867868ad45b3 +size 119477 diff --git a/compound/screenshots/Compound Vector Icons - Dark.png b/compound/screenshots/Compound Vector Icons - Dark.png new file mode 100644 index 0000000..c6fc410 --- /dev/null +++ b/compound/screenshots/Compound Vector Icons - Dark.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:59af27dab83481bd15e2fdd616abf478cc3f673e957df101a827548b5ed188d6 +size 53457 diff --git a/compound/screenshots/Compound Vector Icons - Light.png b/compound/screenshots/Compound Vector Icons - Light.png new file mode 100644 index 0000000..5a8292c --- /dev/null +++ b/compound/screenshots/Compound Vector Icons - Light.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:21825d5e3ef8732fb89ea9b263a06549e9b457772dec2ab5e1bd1239d1423d1b +size 57262 diff --git a/compound/screenshots/ForcedDarkElementTheme.png b/compound/screenshots/ForcedDarkElementTheme.png new file mode 100644 index 0000000..9d553a8 --- /dev/null +++ b/compound/screenshots/ForcedDarkElementTheme.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be78ab885e7952fbf074cbc310618b439954a4ae525c57aa2a3367e7ed1ea8fa +size 20932 diff --git a/compound/screenshots/Legacy Colors.png b/compound/screenshots/Legacy Colors.png new file mode 100644 index 0000000..94625f3 --- /dev/null +++ b/compound/screenshots/Legacy Colors.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e456ae23b98eb2bb41a7a10d51565e85325cf5c7d2eec9f416ff8b9a10e99079 +size 33645 diff --git a/compound/screenshots/Material Typography.png b/compound/screenshots/Material Typography.png new file mode 100644 index 0000000..5e9b9a3 --- /dev/null +++ b/compound/screenshots/Material Typography.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f86d4ef4d92962aa1748175104e5915c6a453380232a631217e51e1cb466316c +size 110160 diff --git a/compound/screenshots/Material3 Colors - Dark.png b/compound/screenshots/Material3 Colors - Dark.png new file mode 100644 index 0000000..e056af4 --- /dev/null +++ b/compound/screenshots/Material3 Colors - Dark.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:debb627966e57117909dc96de8238ca90812e087f917d74a9c7793f8d7776594 +size 159164 diff --git a/compound/screenshots/Material3 Colors - Light.png b/compound/screenshots/Material3 Colors - Light.png new file mode 100644 index 0000000..b2cc4bc --- /dev/null +++ b/compound/screenshots/Material3 Colors - Light.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a01100b7ab7b57f2bc51ceba548fd6f68e1a7a426bb6caedddf20d8f062ced2f +size 162934 diff --git a/compound/screenshots/MaterialYou Theme - Dark.png b/compound/screenshots/MaterialYou Theme - Dark.png new file mode 100644 index 0000000..cf85bef --- /dev/null +++ b/compound/screenshots/MaterialYou Theme - Dark.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:570967f58a57ff6965cfac64ddb3be4d92b097fc6bbab3c46eb262f6e0c66c13 +size 166013 diff --git a/compound/screenshots/MaterialYou Theme - Light.png b/compound/screenshots/MaterialYou Theme - Light.png new file mode 100644 index 0000000..5210a7b --- /dev/null +++ b/compound/screenshots/MaterialYou Theme - Light.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:20fec7bef3d5657c365bf519e15ac66771477fef4a0762ae55e7ec79e5425775 +size 163552 diff --git a/compound/src/main/kotlin/io/element/android/compound/previews/ColorPreview.kt b/compound/src/main/kotlin/io/element/android/compound/previews/ColorPreview.kt index cb53836..04d2cc6 100644 --- a/compound/src/main/kotlin/io/element/android/compound/previews/ColorPreview.kt +++ b/compound/src/main/kotlin/io/element/android/compound/previews/ColorPreview.kt @@ -36,11 +36,17 @@ import io.element.android.compound.utils.toHrf fun ColorPreview( backgroundColor: Color, foregroundColor: Color, - name: String, color: Color, + name: String, + color: Color, modifier: Modifier = Modifier, ) { Column(modifier = modifier.fillMaxWidth()) { - Text(text = name + " " + color.toHrf(), fontSize = 6.sp, color = foregroundColor) + Text( + modifier = Modifier.padding(horizontal = 10.dp), + text = name + " " + color.toHrf(), + fontSize = 6.sp, + color = foregroundColor + ) val backgroundBrush = Brush.linearGradient( listOf( backgroundColor, @@ -54,6 +60,7 @@ fun ColorPreview( Box( modifier = Modifier .padding(1.dp) + .background(Color.White) .background(color = color) .height(10.dp) .weight(1f) diff --git a/compound/src/main/kotlin/io/element/android/compound/previews/CompoundIconsPreview.kt b/compound/src/main/kotlin/io/element/android/compound/previews/CompoundIconsPreview.kt new file mode 100644 index 0000000..96e644a --- /dev/null +++ b/compound/src/main/kotlin/io/element/android/compound/previews/CompoundIconsPreview.kt @@ -0,0 +1,112 @@ +package io.element.android.compound.previews + +import androidx.compose.foundation.background +import androidx.compose.foundation.layout.Arrangement +import androidx.compose.foundation.layout.Column +import androidx.compose.foundation.layout.ColumnScope +import androidx.compose.foundation.layout.IntrinsicSize +import androidx.compose.foundation.layout.Row +import androidx.compose.foundation.layout.fillMaxHeight +import androidx.compose.foundation.layout.fillMaxWidth +import androidx.compose.foundation.layout.height +import androidx.compose.foundation.layout.padding +import androidx.compose.foundation.layout.size +import androidx.compose.foundation.layout.width +import androidx.compose.material3.Icon +import androidx.compose.material3.MaterialTheme +import androidx.compose.material3.Surface +import androidx.compose.material3.Text +import androidx.compose.runtime.Composable +import androidx.compose.ui.Alignment +import androidx.compose.ui.Modifier +import androidx.compose.ui.graphics.vector.ImageVector +import androidx.compose.ui.platform.LocalContext +import androidx.compose.ui.res.vectorResource +import androidx.compose.ui.text.style.TextAlign +import androidx.compose.ui.tooling.preview.Preview +import androidx.compose.ui.unit.dp +import io.element.android.compound.theme.ElementTheme +import io.element.android.compound.tokens.generated.CompoundIcons + +@Preview(widthDp = 730, heightDp = 1600) +@Composable +internal fun IconsCompoundPreviewLight() = ElementTheme { + IconsCompoundPreview() +} + +@Preview(widthDp = 730, heightDp = 1600) +@Composable +internal fun IconsCompoundPreviewDark() = ElementTheme(darkTheme = true) { + IconsCompoundPreview() +} + +@Composable +private fun IconsCompoundPreview() { + val context = LocalContext.current + val content: Sequence<@Composable ColumnScope.() -> Unit> = sequence { + for (icon in CompoundIcons.allResIds) { + yield { + Icon( + modifier = Modifier.size(32.dp), + imageVector = ImageVector.vectorResource(icon), + contentDescription = null, + ) + Text( + modifier = Modifier.fillMaxWidth(), + text = context.resources.getResourceEntryName(icon) + .removePrefix("ic_compound_") + .replace("_", " "), + textAlign = TextAlign.Center, + style = ElementTheme.typography.fontBodyXsMedium, + color = ElementTheme.colors.textSecondary, + ) + } + } + } + IconsPreview( + title = "Compound Icons", + content = content.toList(), + ) +} + +@Composable +internal fun IconsPreview( + title: String, + content: List<@Composable ColumnScope.() -> Unit>, +) = Surface { + Column( + modifier = Modifier + .background(MaterialTheme.colorScheme.surfaceVariant) + .padding(16.dp) + .width(IntrinsicSize.Max), + verticalArrangement = Arrangement.spacedBy(6.dp), + ) { + Text( + modifier = Modifier + .fillMaxWidth() + .padding(bottom = 16.dp), + style = ElementTheme.typography.fontHeadingSmMedium, + text = title, + textAlign = TextAlign.Center, + ) + content.chunked(10).forEach { chunk -> + Row( + modifier = Modifier.height(IntrinsicSize.Max), + horizontalArrangement = Arrangement.spacedBy(6.dp), + ) { + chunk.forEach { icon -> + Column( + modifier = Modifier + .background(MaterialTheme.colorScheme.background) + .fillMaxHeight() + .width(64.dp) + .padding(4.dp), + horizontalAlignment = Alignment.CenterHorizontally, + ) { + icon() + } + } + } + } + } +} \ No newline at end of file diff --git a/compound/src/main/kotlin/io/element/android/compound/theme/AvatarColors.kt b/compound/src/main/kotlin/io/element/android/compound/theme/AvatarColors.kt index 4bffa13..64e91cf 100644 --- a/compound/src/main/kotlin/io/element/android/compound/theme/AvatarColors.kt +++ b/compound/src/main/kotlin/io/element/android/compound/theme/AvatarColors.kt @@ -1,39 +1,104 @@ package io.element.android.compound.theme +import androidx.compose.foundation.background +import androidx.compose.foundation.layout.Arrangement +import androidx.compose.foundation.layout.Box +import androidx.compose.foundation.layout.Column +import androidx.compose.foundation.layout.Row +import androidx.compose.foundation.layout.size +import androidx.compose.material3.Text +import androidx.compose.runtime.Composable +import androidx.compose.ui.Alignment +import androidx.compose.ui.Modifier +import androidx.compose.ui.graphics.Color +import androidx.compose.ui.tooling.preview.Preview +import androidx.compose.ui.unit.dp import io.element.android.compound.annotations.CoreColorToken import io.element.android.compound.tokens.generated.internal.DarkColorTokens import io.element.android.compound.tokens.generated.internal.LightColorTokens +/** + * Data class to hold avatar colors. + */ +data class AvatarColors( + /** Background color for the avatar. */ + val background: Color, + /** Foreground color for the avatar. */ + val foreground: Color, +) + /** * Avatar colors are not yet part of SemanticColors, so create list here. * LightColorTokens is internal to the module. */ - @OptIn(CoreColorToken::class) val avatarColorsLight = listOf( - LightColorTokens.colorBlue300 to LightColorTokens.colorBlue1200, - LightColorTokens.colorFuchsia300 to LightColorTokens.colorFuchsia1200, - LightColorTokens.colorGreen300 to LightColorTokens.colorGreen1200, - LightColorTokens.colorPink300 to LightColorTokens.colorPink1200, - LightColorTokens.colorOrange300 to LightColorTokens.colorOrange1200, - LightColorTokens.colorCyan300 to LightColorTokens.colorCyan1200, - LightColorTokens.colorPurple300 to LightColorTokens.colorPurple1200, - LightColorTokens.colorLime300 to LightColorTokens.colorLime1200, + AvatarColors(background = LightColorTokens.colorBlue300, foreground = LightColorTokens.colorBlue1200), + AvatarColors(background = LightColorTokens.colorFuchsia300, foreground = LightColorTokens.colorFuchsia1200), + AvatarColors(background = LightColorTokens.colorGreen300, foreground = LightColorTokens.colorGreen1200), + AvatarColors(background = LightColorTokens.colorPink300, foreground = LightColorTokens.colorPink1200), + AvatarColors(background = LightColorTokens.colorOrange300, foreground = LightColorTokens.colorOrange1200), + AvatarColors(background = LightColorTokens.colorCyan300, foreground = LightColorTokens.colorCyan1200), + AvatarColors(background = LightColorTokens.colorPurple300, foreground = LightColorTokens.colorPurple1200), + AvatarColors(background = LightColorTokens.colorLime300, foreground = LightColorTokens.colorLime1200), ) /** * Avatar colors are not yet part of SemanticColors, so create list here. * DarkColorTokens is internal to the module. */ - @OptIn(CoreColorToken::class) val avatarColorsDark = listOf( - DarkColorTokens.colorBlue300 to DarkColorTokens.colorBlue1200, - DarkColorTokens.colorFuchsia300 to DarkColorTokens.colorFuchsia1200, - DarkColorTokens.colorGreen300 to DarkColorTokens.colorGreen1200, - DarkColorTokens.colorPink300 to DarkColorTokens.colorPink1200, - DarkColorTokens.colorOrange300 to DarkColorTokens.colorOrange1200, - DarkColorTokens.colorCyan300 to DarkColorTokens.colorCyan1200, - DarkColorTokens.colorPurple300 to DarkColorTokens.colorPurple1200, - DarkColorTokens.colorLime300 to DarkColorTokens.colorLime1200, + AvatarColors(background = DarkColorTokens.colorBlue300, foreground = DarkColorTokens.colorBlue1200), + AvatarColors(background = DarkColorTokens.colorFuchsia300, foreground = DarkColorTokens.colorFuchsia1200), + AvatarColors(background = DarkColorTokens.colorGreen300, foreground = DarkColorTokens.colorGreen1200), + AvatarColors(background = DarkColorTokens.colorPink300, foreground = DarkColorTokens.colorPink1200), + AvatarColors(background = DarkColorTokens.colorOrange300, foreground = DarkColorTokens.colorOrange1200), + AvatarColors(background = DarkColorTokens.colorCyan300, foreground = DarkColorTokens.colorCyan1200), + AvatarColors(background = DarkColorTokens.colorPurple300, foreground = DarkColorTokens.colorPurple1200), + AvatarColors(background = DarkColorTokens.colorLime300, foreground = DarkColorTokens.colorLime1200), ) + +@Preview +@Composable +internal fun AvatarColorsLightPreview() { + val chunks = avatarColorsLight.chunked(4) + ElementTheme { + Column(verticalArrangement = Arrangement.spacedBy(8.dp)) { + for (chunk in chunks) { + AvatarColorRow(chunk) + } + } + } +} + +@Preview +@Composable +internal fun AvatarColorsDarkPreview() { + val chunks = avatarColorsDark.chunked(4) + ElementTheme { + Column(verticalArrangement = Arrangement.spacedBy(8.dp)) { + for (chunk in chunks) { + AvatarColorRow(chunk) + } + } + } +} + +@Composable +private fun AvatarColorRow(colors: List) { + Row(horizontalArrangement = Arrangement.spacedBy(8.dp)) { + colors.forEach { color -> + Box( + modifier = Modifier.size(48.dp) + .background(color.background), + ) { + Text( + modifier = Modifier.align(Alignment.Center), + text = "A", + color = color.foreground, + ) + } + } + } +} \ No newline at end of file diff --git a/compound/src/main/kotlin/io/element/android/compound/theme/MaterialThemeColors.kt b/compound/src/main/kotlin/io/element/android/compound/theme/MaterialThemeColors.kt index ddd770e..95ed16b 100644 --- a/compound/src/main/kotlin/io/element/android/compound/theme/MaterialThemeColors.kt +++ b/compound/src/main/kotlin/io/element/android/compound/theme/MaterialThemeColors.kt @@ -94,16 +94,20 @@ internal val materialColorSchemeDark = darkColorScheme( @Preview @Composable -internal fun ColorsSchemeLightPreview() = ColorsSchemePreview( - Color.Black, - Color.White, - materialColorSchemeLight, -) +internal fun ColorsSchemeLightPreview() = ElementTheme { + ColorsSchemePreview( + Color.Black, + Color.White, + ElementTheme.materialColors, + ) +} @Preview @Composable -internal fun ColorsSchemeDarkPreview() = ColorsSchemePreview( - Color.White, - Color.Black, - materialColorSchemeDark, -) +internal fun ColorsSchemeDarkPreview() = ElementTheme(darkTheme = true) { + ColorsSchemePreview( + Color.White, + Color.Black, + materialColorSchemeDark, + ) +} diff --git a/compound/src/main/kotlin/io/element/android/compound/tokens/generated/CompoundIcons.kt b/compound/src/main/kotlin/io/element/android/compound/tokens/generated/CompoundIcons.kt index 6412b0f..fd12391 100644 --- a/compound/src/main/kotlin/io/element/android/compound/tokens/generated/CompoundIcons.kt +++ b/compound/src/main/kotlin/io/element/android/compound/tokens/generated/CompoundIcons.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2023 New Vector Ltd + * Copyright (c) 2024 New Vector Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,328 +25,835 @@ import androidx.compose.ui.res.vectorResource import kotlinx.collections.immutable.persistentListOf object CompoundIcons { - val ArrowLeft @Composable get() = ImageVector.vectorResource(R.drawable.ic_arrow_left) - val ArrowRight @Composable get() = ImageVector.vectorResource(R.drawable.ic_arrow_right) - val ArrowUpRight @Composable get() = ImageVector.vectorResource(R.drawable.ic_arrow_up_right) - val Block @Composable get() = ImageVector.vectorResource(R.drawable.ic_block) - val Chat @Composable get() = ImageVector.vectorResource(R.drawable.ic_chat) - val ChatNew @Composable get() = ImageVector.vectorResource(R.drawable.ic_chat_new) - val ChatProblem @Composable get() = ImageVector.vectorResource(R.drawable.ic_chat_problem) - val ChatSolid @Composable get() = ImageVector.vectorResource(R.drawable.ic_chat_solid) - val Check @Composable get() = ImageVector.vectorResource(R.drawable.ic_check) - val CheckCircle @Composable get() = ImageVector.vectorResource(R.drawable.ic_check_circle) - val CheckCircleSolid @Composable get() = ImageVector.vectorResource(R.drawable.ic_check_circle_solid) - val ChevronDown @Composable get() = ImageVector.vectorResource(R.drawable.ic_chevron_down) - val ChevronLeft @Composable get() = ImageVector.vectorResource(R.drawable.ic_chevron_left) - val ChevronRight @Composable get() = ImageVector.vectorResource(R.drawable.ic_chevron_right) - val ChevronUp @Composable get() = ImageVector.vectorResource(R.drawable.ic_chevron_up) - val ChevronUpDown @Composable get() = ImageVector.vectorResource(R.drawable.ic_chevron_up_down) - val Close @Composable get() = ImageVector.vectorResource(R.drawable.ic_close) - val Collapse @Composable get() = ImageVector.vectorResource(R.drawable.ic_collapse) - val Company @Composable get() = ImageVector.vectorResource(R.drawable.ic_company) - val Computer @Composable get() = ImageVector.vectorResource(R.drawable.ic_computer) - val DarkMode @Composable get() = ImageVector.vectorResource(R.drawable.ic_dark_mode) - val Delete @Composable get() = ImageVector.vectorResource(R.drawable.ic_delete) - val Download @Composable get() = ImageVector.vectorResource(R.drawable.ic_download) - val DragGrid @Composable get() = ImageVector.vectorResource(R.drawable.ic_drag_grid) - val DragList @Composable get() = ImageVector.vectorResource(R.drawable.ic_drag_list) - val Edit @Composable get() = ImageVector.vectorResource(R.drawable.ic_edit) - val Email @Composable get() = ImageVector.vectorResource(R.drawable.ic_email) - val EmailSolid @Composable get() = ImageVector.vectorResource(R.drawable.ic_email_solid) - val EndCall @Composable get() = ImageVector.vectorResource(R.drawable.ic_end_call) - val Error @Composable get() = ImageVector.vectorResource(R.drawable.ic_error) - val Expand @Composable get() = ImageVector.vectorResource(R.drawable.ic_expand) - val ExportArchive @Composable get() = ImageVector.vectorResource(R.drawable.ic_export_archive) - val Extensions @Composable get() = ImageVector.vectorResource(R.drawable.ic_extensions) - val FavouriteOff @Composable get() = ImageVector.vectorResource(R.drawable.ic_favourite_off) - val FavouriteOn @Composable get() = ImageVector.vectorResource(R.drawable.ic_favourite_on) - val Files @Composable get() = ImageVector.vectorResource(R.drawable.ic_files) - val Filter @Composable get() = ImageVector.vectorResource(R.drawable.ic_filter) - val Grid @Composable get() = ImageVector.vectorResource(R.drawable.ic_grid) - val Help @Composable get() = ImageVector.vectorResource(R.drawable.ic_help) - val HelpSolid @Composable get() = ImageVector.vectorResource(R.drawable.ic_help_solid) - val Host @Composable get() = ImageVector.vectorResource(R.drawable.ic_host) - val Image @Composable get() = ImageVector.vectorResource(R.drawable.ic_image) - val Info @Composable get() = ImageVector.vectorResource(R.drawable.ic_info) - val InfoSolid @Composable get() = ImageVector.vectorResource(R.drawable.ic_info_solid) - val Leave @Composable get() = ImageVector.vectorResource(R.drawable.ic_leave) - val Link @Composable get() = ImageVector.vectorResource(R.drawable.ic_link) - val Lock @Composable get() = ImageVector.vectorResource(R.drawable.ic_lock) - val LockOff @Composable get() = ImageVector.vectorResource(R.drawable.ic_lock_off) - val MarkerReadReceipts @Composable get() = ImageVector.vectorResource(R.drawable.ic_marker_read_receipts) - val Mention @Composable get() = ImageVector.vectorResource(R.drawable.ic_mention) - val Menu @Composable get() = ImageVector.vectorResource(R.drawable.ic_menu) - val MicOffOutline @Composable get() = ImageVector.vectorResource(R.drawable.ic_mic_off_outline) - val MicOffSolid @Composable get() = ImageVector.vectorResource(R.drawable.ic_mic_off_solid) - val MicOnOutline @Composable get() = ImageVector.vectorResource(R.drawable.ic_mic_on_outline) - val MicOnSolid @Composable get() = ImageVector.vectorResource(R.drawable.ic_mic_on_solid) - val Mobile @Composable get() = ImageVector.vectorResource(R.drawable.ic_mobile) - val Notifications @Composable get() = ImageVector.vectorResource(R.drawable.ic_notifications) - val NotificationsOff @Composable get() = ImageVector.vectorResource(R.drawable.ic_notifications_off) - val NotificationsSolid @Composable get() = ImageVector.vectorResource(R.drawable.ic_notifications_solid) - val NotificationsSolidOff @Composable get() = ImageVector.vectorResource(R.drawable.ic_notifications_solid_off) - val Offline @Composable get() = ImageVector.vectorResource(R.drawable.ic_offline) - val OverflowHorizontal @Composable get() = ImageVector.vectorResource(R.drawable.ic_overflow_horizontal) - val OverflowVertical @Composable get() = ImageVector.vectorResource(R.drawable.ic_overflow_vertical) - val PinOff @Composable get() = ImageVector.vectorResource(R.drawable.ic_pin_off) - val PinOn @Composable get() = ImageVector.vectorResource(R.drawable.ic_pin_on) - val Plus @Composable get() = ImageVector.vectorResource(R.drawable.ic_plus) - val Polls @Composable get() = ImageVector.vectorResource(R.drawable.ic_polls) - val PollsEnd @Composable get() = ImageVector.vectorResource(R.drawable.ic_polls_end) - val PopOut @Composable get() = ImageVector.vectorResource(R.drawable.ic_pop_out) - val Public @Composable get() = ImageVector.vectorResource(R.drawable.ic_public) - val RoomAdmin @Composable get() = ImageVector.vectorResource(R.drawable.ic_room_admin) - val Search @Composable get() = ImageVector.vectorResource(R.drawable.ic_search) - val Send @Composable get() = ImageVector.vectorResource(R.drawable.ic_send) - val SendSolid @Composable get() = ImageVector.vectorResource(R.drawable.ic_send_solid) - val Settings @Composable get() = ImageVector.vectorResource(R.drawable.ic_settings) - val SettingsSolid @Composable get() = ImageVector.vectorResource(R.drawable.ic_settings_solid) - val Share @Composable get() = ImageVector.vectorResource(R.drawable.ic_share) - val ShareAndroid @Composable get() = ImageVector.vectorResource(R.drawable.ic_share_android) - val ShareScreenOutline @Composable get() = ImageVector.vectorResource(R.drawable.ic_share_screen_outline) - val ShareScreenSolid @Composable get() = ImageVector.vectorResource(R.drawable.ic_share_screen_solid) - val Spotlight @Composable get() = ImageVector.vectorResource(R.drawable.ic_spotlight) - val SwitchCameraSolid @Composable get() = ImageVector.vectorResource(R.drawable.ic_switch_camera_solid) - val Threads @Composable get() = ImageVector.vectorResource(R.drawable.ic_threads) - val ThreadsSolid @Composable get() = ImageVector.vectorResource(R.drawable.ic_threads_solid) - val Unknown @Composable get() = ImageVector.vectorResource(R.drawable.ic_unknown) - val UnknownSolid @Composable get() = ImageVector.vectorResource(R.drawable.ic_unknown_solid) - val UserAdd @Composable get() = ImageVector.vectorResource(R.drawable.ic_user_add) - val UserAddSolid @Composable get() = ImageVector.vectorResource(R.drawable.ic_user_add_solid) - val UserProfile @Composable get() = ImageVector.vectorResource(R.drawable.ic_user_profile) - val UserProfileSolid @Composable get() = ImageVector.vectorResource(R.drawable.ic_user_profile_solid) - val Verified @Composable get() = ImageVector.vectorResource(R.drawable.ic_verified) - val VideoCall @Composable get() = ImageVector.vectorResource(R.drawable.ic_video_call) - val VideoCallDeclinedSolid @Composable get() = ImageVector.vectorResource(R.drawable.ic_video_call_declined_solid) - val VideoCallMissedSolid @Composable get() = ImageVector.vectorResource(R.drawable.ic_video_call_missed_solid) - val VideoCallOff @Composable get() = ImageVector.vectorResource(R.drawable.ic_video_call_off) - val VideoCallOffSolid @Composable get() = ImageVector.vectorResource(R.drawable.ic_video_call_off_solid) - val VideoCallSolid @Composable get() = ImageVector.vectorResource(R.drawable.ic_video_call_solid) - val VisibilityOff @Composable get() = ImageVector.vectorResource(R.drawable.ic_visibility_off) - val VisibilityOn @Composable get() = ImageVector.vectorResource(R.drawable.ic_visibility_on) - val VoiceCall @Composable get() = ImageVector.vectorResource(R.drawable.ic_voice_call) - val VolumeOff @Composable get() = ImageVector.vectorResource(R.drawable.ic_volume_off) - val VolumeOffSolid @Composable get() = ImageVector.vectorResource(R.drawable.ic_volume_off_solid) - val VolumeOn @Composable get() = ImageVector.vectorResource(R.drawable.ic_volume_on) - val VolumeOnSolid @Composable get() = ImageVector.vectorResource(R.drawable.ic_volume_on_solid) - val Warning @Composable get() = ImageVector.vectorResource(R.drawable.ic_warning) - val WebBrowser @Composable get() = ImageVector.vectorResource(R.drawable.ic_web_browser) + @Composable fun Admin(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_admin) + } + @Composable fun ArrowDown(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_arrow_down) + } + @Composable fun ArrowLeft(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_arrow_left) + } + @Composable fun ArrowRight(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_arrow_right) + } + @Composable fun ArrowUp(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_arrow_up) + } + @Composable fun ArrowUpRight(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_arrow_up_right) + } + @Composable fun Attachment(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_attachment) + } + @Composable fun Block(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_block) + } + @Composable fun Bold(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_bold) + } + @Composable fun Chart(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_chart) + } + @Composable fun Chat(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_chat) + } + @Composable fun ChatNew(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_chat_new) + } + @Composable fun ChatProblem(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_chat_problem) + } + @Composable fun ChatSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_chat_solid) + } + @Composable fun Check(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_check) + } + @Composable fun CheckCircle(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_check_circle) + } + @Composable fun CheckCircleSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_check_circle_solid) + } + @Composable fun ChevronDown(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_chevron_down) + } + @Composable fun ChevronLeft(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_chevron_left) + } + @Composable fun ChevronRight(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_chevron_right) + } + @Composable fun ChevronUp(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_chevron_up) + } + @Composable fun ChevronUpDown(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_chevron_up_down) + } + @Composable fun Circle(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_circle) + } + @Composable fun Close(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_close) + } + @Composable fun Cloud(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_cloud) + } + @Composable fun CloudSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_cloud_solid) + } + @Composable fun Code(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_code) + } + @Composable fun Collapse(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_collapse) + } + @Composable fun Company(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_company) + } + @Composable fun Compose(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_compose) + } + @Composable fun Computer(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_computer) + } + @Composable fun Copy(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_copy) + } + @Composable fun DarkMode(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_dark_mode) + } + @Composable fun Delete(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_delete) + } + @Composable fun Devices(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_devices) + } + @Composable fun Document(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_document) + } + @Composable fun Download(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_download) + } + @Composable fun DragGrid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_drag_grid) + } + @Composable fun DragList(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_drag_list) + } + @Composable fun Edit(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_edit) + } + @Composable fun EditSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_edit_solid) + } + @Composable fun Email(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_email) + } + @Composable fun EmailSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_email_solid) + } + @Composable fun EndCall(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_end_call) + } + @Composable fun Error(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_error) + } + @Composable fun Expand(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_expand) + } + @Composable fun ExportArchive(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_export_archive) + } + @Composable fun Extensions(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_extensions) + } + @Composable fun Favourite(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_favourite) + } + @Composable fun FavouriteSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_favourite_solid) + } + @Composable fun FileError(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_file_error) + } + @Composable fun Files(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_files) + } + @Composable fun Filter(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_filter) + } + @Composable fun Forward(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_forward) + } + @Composable fun Grid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_grid) + } + @Composable fun Help(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_help) + } + @Composable fun HelpSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_help_solid) + } + @Composable fun History(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_history) + } + @Composable fun Home(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_home) + } + @Composable fun HomeSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_home_solid) + } + @Composable fun Host(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_host) + } + @Composable fun Image(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_image) + } + @Composable fun ImageError(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_image_error) + } + @Composable fun IndentDecrease(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_indent_decrease) + } + @Composable fun IndentIncrease(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_indent_increase) + } + @Composable fun Info(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_info) + } + @Composable fun InfoSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_info_solid) + } + @Composable fun InlineCode(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_inline_code) + } + @Composable fun Italic(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_italic) + } + @Composable fun Key(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_key) + } + @Composable fun KeyOff(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_key_off) + } + @Composable fun KeyOffSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_key_off_solid) + } + @Composable fun KeySolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_key_solid) + } + @Composable fun Keyboard(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_keyboard) + } + @Composable fun Labs(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_labs) + } + @Composable fun Leave(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_leave) + } + @Composable fun Link(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_link) + } + @Composable fun ListBulleted(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_list_bulleted) + } + @Composable fun ListNumbered(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_list_numbered) + } + @Composable fun LocationNavigator(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_location_navigator) + } + @Composable fun LocationNavigatorCentred(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_location_navigator_centred) + } + @Composable fun LocationPin(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_location_pin) + } + @Composable fun LocationPinSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_location_pin_solid) + } + @Composable fun Lock(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_lock) + } + @Composable fun LockOff(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_lock_off) + } + @Composable fun LockSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_lock_solid) + } + @Composable fun MarkerReadReceipts(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_marker_read_receipts) + } + @Composable fun Mention(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_mention) + } + @Composable fun Menu(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_menu) + } + @Composable fun MicOff(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_mic_off) + } + @Composable fun MicOffSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_mic_off_solid) + } + @Composable fun MicOn(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_mic_on) + } + @Composable fun MicOnSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_mic_on_solid) + } + @Composable fun Mobile(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_mobile) + } + @Composable fun Notifications(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_notifications) + } + @Composable fun NotificationsOff(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_notifications_off) + } + @Composable fun NotificationsOffSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_notifications_off_solid) + } + @Composable fun NotificationsSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_notifications_solid) + } + @Composable fun Offline(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_offline) + } + @Composable fun OverflowHorizontal(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_overflow_horizontal) + } + @Composable fun OverflowVertical(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_overflow_vertical) + } + @Composable fun Pause(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_pause) + } + @Composable fun PauseSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_pause_solid) + } + @Composable fun Pin(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_pin) + } + @Composable fun PinSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_pin_solid) + } + @Composable fun Play(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_play) + } + @Composable fun PlaySolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_play_solid) + } + @Composable fun Plus(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_plus) + } + @Composable fun Polls(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_polls) + } + @Composable fun PollsEnd(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_polls_end) + } + @Composable fun PopOut(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_pop_out) + } + @Composable fun Preferences(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_preferences) + } + @Composable fun Public(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_public) + } + @Composable fun QrCode(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_qr_code) + } + @Composable fun Quote(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_quote) + } + @Composable fun Reaction(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_reaction) + } + @Composable fun ReactionAdd(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_reaction_add) + } + @Composable fun Reply(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_reply) + } + @Composable fun Restart(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_restart) + } + @Composable fun Search(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_search) + } + @Composable fun Send(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_send) + } + @Composable fun SendSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_send_solid) + } + @Composable fun Settings(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_settings) + } + @Composable fun SettingsSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_settings_solid) + } + @Composable fun Share(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_share) + } + @Composable fun ShareAndroid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_share_android) + } + @Composable fun ShareIos(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_share_ios) + } + @Composable fun ShareScreen(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_share_screen) + } + @Composable fun ShareScreenSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_share_screen_solid) + } + @Composable fun Sidebar(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_sidebar) + } + @Composable fun SignOut(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_sign_out) + } + @Composable fun Spinner(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_spinner) + } + @Composable fun Spotlight(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_spotlight) + } + @Composable fun Strikethrough(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_strikethrough) + } + @Composable fun SwitchCameraSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_switch_camera_solid) + } + @Composable fun TakePhoto(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_take_photo) + } + @Composable fun TextFormatting(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_text_formatting) + } + @Composable fun Threads(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_threads) + } + @Composable fun ThreadsSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_threads_solid) + } + @Composable fun Time(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_time) + } + @Composable fun Underline(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_underline) + } + @Composable fun Unknown(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_unknown) + } + @Composable fun UnknownSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_unknown_solid) + } + @Composable fun User(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_user) + } + @Composable fun UserAdd(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_user_add) + } + @Composable fun UserAddSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_user_add_solid) + } + @Composable fun UserProfile(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_user_profile) + } + @Composable fun UserProfileSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_user_profile_solid) + } + @Composable fun UserSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_user_solid) + } + @Composable fun Verified(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_verified) + } + @Composable fun VideoCall(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_video_call) + } + @Composable fun VideoCallDeclinedSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_video_call_declined_solid) + } + @Composable fun VideoCallMissedSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_video_call_missed_solid) + } + @Composable fun VideoCallOff(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_video_call_off) + } + @Composable fun VideoCallOffSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_video_call_off_solid) + } + @Composable fun VideoCallSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_video_call_solid) + } + @Composable fun VisibilityOff(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_visibility_off) + } + @Composable fun VisibilityOn(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_visibility_on) + } + @Composable fun VoiceCall(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_voice_call) + } + @Composable fun VolumeOff(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_volume_off) + } + @Composable fun VolumeOffSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_volume_off_solid) + } + @Composable fun VolumeOn(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_volume_on) + } + @Composable fun VolumeOnSolid(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_volume_on_solid) + } + @Composable fun Warning(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_warning) + } + @Composable fun WebBrowser(): ImageVector { + return ImageVector.vectorResource(R.drawable.ic_compound_web_browser) + } val all @Composable get() = persistentListOf( - ArrowLeft, - ArrowRight, - ArrowUpRight, - Block, - Chat, - ChatNew, - ChatProblem, - ChatSolid, - Check, - CheckCircle, - CheckCircleSolid, - ChevronDown, - ChevronLeft, - ChevronRight, - ChevronUp, - ChevronUpDown, - Close, - Collapse, - Company, - Computer, - DarkMode, - Delete, - Download, - DragGrid, - DragList, - Edit, - Email, - EmailSolid, - EndCall, - Error, - Expand, - ExportArchive, - Extensions, - FavouriteOff, - FavouriteOn, - Files, - Filter, - Grid, - Help, - HelpSolid, - Host, - Image, - Info, - InfoSolid, - Leave, - Link, - Lock, - LockOff, - MarkerReadReceipts, - Mention, - Menu, - MicOffOutline, - MicOffSolid, - MicOnOutline, - MicOnSolid, - Mobile, - Notifications, - NotificationsOff, - NotificationsSolid, - NotificationsSolidOff, - Offline, - OverflowHorizontal, - OverflowVertical, - PinOff, - PinOn, - Plus, - Polls, - PollsEnd, - PopOut, - Public, - RoomAdmin, - Search, - Send, - SendSolid, - Settings, - SettingsSolid, - Share, - ShareAndroid, - ShareScreenOutline, - ShareScreenSolid, - Spotlight, - SwitchCameraSolid, - Threads, - ThreadsSolid, - Unknown, - UnknownSolid, - UserAdd, - UserAddSolid, - UserProfile, - UserProfileSolid, - Verified, - VideoCall, - VideoCallDeclinedSolid, - VideoCallMissedSolid, - VideoCallOff, - VideoCallOffSolid, - VideoCallSolid, - VisibilityOff, - VisibilityOn, - VoiceCall, - VolumeOff, - VolumeOffSolid, - VolumeOn, - VolumeOnSolid, - Warning, - WebBrowser, + Admin(), + ArrowDown(), + ArrowLeft(), + ArrowRight(), + ArrowUp(), + ArrowUpRight(), + Attachment(), + Block(), + Bold(), + Chart(), + Chat(), + ChatNew(), + ChatProblem(), + ChatSolid(), + Check(), + CheckCircle(), + CheckCircleSolid(), + ChevronDown(), + ChevronLeft(), + ChevronRight(), + ChevronUp(), + ChevronUpDown(), + Circle(), + Close(), + Cloud(), + CloudSolid(), + Code(), + Collapse(), + Company(), + Compose(), + Computer(), + Copy(), + DarkMode(), + Delete(), + Devices(), + Document(), + Download(), + DragGrid(), + DragList(), + Edit(), + EditSolid(), + Email(), + EmailSolid(), + EndCall(), + Error(), + Expand(), + ExportArchive(), + Extensions(), + Favourite(), + FavouriteSolid(), + FileError(), + Files(), + Filter(), + Forward(), + Grid(), + Help(), + HelpSolid(), + History(), + Home(), + HomeSolid(), + Host(), + Image(), + ImageError(), + IndentDecrease(), + IndentIncrease(), + Info(), + InfoSolid(), + InlineCode(), + Italic(), + Key(), + KeyOff(), + KeyOffSolid(), + KeySolid(), + Keyboard(), + Labs(), + Leave(), + Link(), + ListBulleted(), + ListNumbered(), + LocationNavigator(), + LocationNavigatorCentred(), + LocationPin(), + LocationPinSolid(), + Lock(), + LockOff(), + LockSolid(), + MarkerReadReceipts(), + Mention(), + Menu(), + MicOff(), + MicOffSolid(), + MicOn(), + MicOnSolid(), + Mobile(), + Notifications(), + NotificationsOff(), + NotificationsOffSolid(), + NotificationsSolid(), + Offline(), + OverflowHorizontal(), + OverflowVertical(), + Pause(), + PauseSolid(), + Pin(), + PinSolid(), + Play(), + PlaySolid(), + Plus(), + Polls(), + PollsEnd(), + PopOut(), + Preferences(), + Public(), + QrCode(), + Quote(), + Reaction(), + ReactionAdd(), + Reply(), + Restart(), + Search(), + Send(), + SendSolid(), + Settings(), + SettingsSolid(), + Share(), + ShareAndroid(), + ShareIos(), + ShareScreen(), + ShareScreenSolid(), + Sidebar(), + SignOut(), + Spinner(), + Spotlight(), + Strikethrough(), + SwitchCameraSolid(), + TakePhoto(), + TextFormatting(), + Threads(), + ThreadsSolid(), + Time(), + Underline(), + Unknown(), + UnknownSolid(), + User(), + UserAdd(), + UserAddSolid(), + UserProfile(), + UserProfileSolid(), + UserSolid(), + Verified(), + VideoCall(), + VideoCallDeclinedSolid(), + VideoCallMissedSolid(), + VideoCallOff(), + VideoCallOffSolid(), + VideoCallSolid(), + VisibilityOff(), + VisibilityOn(), + VoiceCall(), + VolumeOff(), + VolumeOffSolid(), + VolumeOn(), + VolumeOnSolid(), + Warning(), + WebBrowser(), ) val allResIds get() = persistentListOf( - R.drawable.ic_arrow_left, - R.drawable.ic_arrow_right, - R.drawable.ic_arrow_up_right, - R.drawable.ic_block, - R.drawable.ic_chat, - R.drawable.ic_chat_new, - R.drawable.ic_chat_problem, - R.drawable.ic_chat_solid, - R.drawable.ic_check, - R.drawable.ic_check_circle, - R.drawable.ic_check_circle_solid, - R.drawable.ic_chevron_down, - R.drawable.ic_chevron_left, - R.drawable.ic_chevron_right, - R.drawable.ic_chevron_up, - R.drawable.ic_chevron_up_down, - R.drawable.ic_close, - R.drawable.ic_collapse, - R.drawable.ic_company, - R.drawable.ic_computer, - R.drawable.ic_dark_mode, - R.drawable.ic_delete, - R.drawable.ic_download, - R.drawable.ic_drag_grid, - R.drawable.ic_drag_list, - R.drawable.ic_edit, - R.drawable.ic_email, - R.drawable.ic_email_solid, - R.drawable.ic_end_call, - R.drawable.ic_error, - R.drawable.ic_expand, - R.drawable.ic_export_archive, - R.drawable.ic_extensions, - R.drawable.ic_favourite_off, - R.drawable.ic_favourite_on, - R.drawable.ic_files, - R.drawable.ic_filter, - R.drawable.ic_grid, - R.drawable.ic_help, - R.drawable.ic_help_solid, - R.drawable.ic_host, - R.drawable.ic_image, - R.drawable.ic_info, - R.drawable.ic_info_solid, - R.drawable.ic_leave, - R.drawable.ic_link, - R.drawable.ic_lock, - R.drawable.ic_lock_off, - R.drawable.ic_marker_read_receipts, - R.drawable.ic_mention, - R.drawable.ic_menu, - R.drawable.ic_mic_off_outline, - R.drawable.ic_mic_off_solid, - R.drawable.ic_mic_on_outline, - R.drawable.ic_mic_on_solid, - R.drawable.ic_mobile, - R.drawable.ic_notifications, - R.drawable.ic_notifications_off, - R.drawable.ic_notifications_solid, - R.drawable.ic_notifications_solid_off, - R.drawable.ic_offline, - R.drawable.ic_overflow_horizontal, - R.drawable.ic_overflow_vertical, - R.drawable.ic_pin_off, - R.drawable.ic_pin_on, - R.drawable.ic_plus, - R.drawable.ic_polls, - R.drawable.ic_polls_end, - R.drawable.ic_pop_out, - R.drawable.ic_public, - R.drawable.ic_room_admin, - R.drawable.ic_search, - R.drawable.ic_send, - R.drawable.ic_send_solid, - R.drawable.ic_settings, - R.drawable.ic_settings_solid, - R.drawable.ic_share, - R.drawable.ic_share_android, - R.drawable.ic_share_screen_outline, - R.drawable.ic_share_screen_solid, - R.drawable.ic_spotlight, - R.drawable.ic_switch_camera_solid, - R.drawable.ic_threads, - R.drawable.ic_threads_solid, - R.drawable.ic_unknown, - R.drawable.ic_unknown_solid, - R.drawable.ic_user_add, - R.drawable.ic_user_add_solid, - R.drawable.ic_user_profile, - R.drawable.ic_user_profile_solid, - R.drawable.ic_verified, - R.drawable.ic_video_call, - R.drawable.ic_video_call_declined_solid, - R.drawable.ic_video_call_missed_solid, - R.drawable.ic_video_call_off, - R.drawable.ic_video_call_off_solid, - R.drawable.ic_video_call_solid, - R.drawable.ic_visibility_off, - R.drawable.ic_visibility_on, - R.drawable.ic_voice_call, - R.drawable.ic_volume_off, - R.drawable.ic_volume_off_solid, - R.drawable.ic_volume_on, - R.drawable.ic_volume_on_solid, - R.drawable.ic_warning, - R.drawable.ic_web_browser, + R.drawable.ic_compound_admin, + R.drawable.ic_compound_arrow_down, + R.drawable.ic_compound_arrow_left, + R.drawable.ic_compound_arrow_right, + R.drawable.ic_compound_arrow_up, + R.drawable.ic_compound_arrow_up_right, + R.drawable.ic_compound_attachment, + R.drawable.ic_compound_block, + R.drawable.ic_compound_bold, + R.drawable.ic_compound_chart, + R.drawable.ic_compound_chat, + R.drawable.ic_compound_chat_new, + R.drawable.ic_compound_chat_problem, + R.drawable.ic_compound_chat_solid, + R.drawable.ic_compound_check, + R.drawable.ic_compound_check_circle, + R.drawable.ic_compound_check_circle_solid, + R.drawable.ic_compound_chevron_down, + R.drawable.ic_compound_chevron_left, + R.drawable.ic_compound_chevron_right, + R.drawable.ic_compound_chevron_up, + R.drawable.ic_compound_chevron_up_down, + R.drawable.ic_compound_circle, + R.drawable.ic_compound_close, + R.drawable.ic_compound_cloud, + R.drawable.ic_compound_cloud_solid, + R.drawable.ic_compound_code, + R.drawable.ic_compound_collapse, + R.drawable.ic_compound_company, + R.drawable.ic_compound_compose, + R.drawable.ic_compound_computer, + R.drawable.ic_compound_copy, + R.drawable.ic_compound_dark_mode, + R.drawable.ic_compound_delete, + R.drawable.ic_compound_devices, + R.drawable.ic_compound_document, + R.drawable.ic_compound_download, + R.drawable.ic_compound_drag_grid, + R.drawable.ic_compound_drag_list, + R.drawable.ic_compound_edit, + R.drawable.ic_compound_edit_solid, + R.drawable.ic_compound_email, + R.drawable.ic_compound_email_solid, + R.drawable.ic_compound_end_call, + R.drawable.ic_compound_error, + R.drawable.ic_compound_expand, + R.drawable.ic_compound_export_archive, + R.drawable.ic_compound_extensions, + R.drawable.ic_compound_favourite, + R.drawable.ic_compound_favourite_solid, + R.drawable.ic_compound_file_error, + R.drawable.ic_compound_files, + R.drawable.ic_compound_filter, + R.drawable.ic_compound_forward, + R.drawable.ic_compound_grid, + R.drawable.ic_compound_help, + R.drawable.ic_compound_help_solid, + R.drawable.ic_compound_history, + R.drawable.ic_compound_home, + R.drawable.ic_compound_home_solid, + R.drawable.ic_compound_host, + R.drawable.ic_compound_image, + R.drawable.ic_compound_image_error, + R.drawable.ic_compound_indent_decrease, + R.drawable.ic_compound_indent_increase, + R.drawable.ic_compound_info, + R.drawable.ic_compound_info_solid, + R.drawable.ic_compound_inline_code, + R.drawable.ic_compound_italic, + R.drawable.ic_compound_key, + R.drawable.ic_compound_key_off, + R.drawable.ic_compound_key_off_solid, + R.drawable.ic_compound_key_solid, + R.drawable.ic_compound_keyboard, + R.drawable.ic_compound_labs, + R.drawable.ic_compound_leave, + R.drawable.ic_compound_link, + R.drawable.ic_compound_list_bulleted, + R.drawable.ic_compound_list_numbered, + R.drawable.ic_compound_location_navigator, + R.drawable.ic_compound_location_navigator_centred, + R.drawable.ic_compound_location_pin, + R.drawable.ic_compound_location_pin_solid, + R.drawable.ic_compound_lock, + R.drawable.ic_compound_lock_off, + R.drawable.ic_compound_lock_solid, + R.drawable.ic_compound_marker_read_receipts, + R.drawable.ic_compound_mention, + R.drawable.ic_compound_menu, + R.drawable.ic_compound_mic_off, + R.drawable.ic_compound_mic_off_solid, + R.drawable.ic_compound_mic_on, + R.drawable.ic_compound_mic_on_solid, + R.drawable.ic_compound_mobile, + R.drawable.ic_compound_notifications, + R.drawable.ic_compound_notifications_off, + R.drawable.ic_compound_notifications_off_solid, + R.drawable.ic_compound_notifications_solid, + R.drawable.ic_compound_offline, + R.drawable.ic_compound_overflow_horizontal, + R.drawable.ic_compound_overflow_vertical, + R.drawable.ic_compound_pause, + R.drawable.ic_compound_pause_solid, + R.drawable.ic_compound_pin, + R.drawable.ic_compound_pin_solid, + R.drawable.ic_compound_play, + R.drawable.ic_compound_play_solid, + R.drawable.ic_compound_plus, + R.drawable.ic_compound_polls, + R.drawable.ic_compound_polls_end, + R.drawable.ic_compound_pop_out, + R.drawable.ic_compound_preferences, + R.drawable.ic_compound_public, + R.drawable.ic_compound_qr_code, + R.drawable.ic_compound_quote, + R.drawable.ic_compound_reaction, + R.drawable.ic_compound_reaction_add, + R.drawable.ic_compound_reply, + R.drawable.ic_compound_restart, + R.drawable.ic_compound_search, + R.drawable.ic_compound_send, + R.drawable.ic_compound_send_solid, + R.drawable.ic_compound_settings, + R.drawable.ic_compound_settings_solid, + R.drawable.ic_compound_share, + R.drawable.ic_compound_share_android, + R.drawable.ic_compound_share_ios, + R.drawable.ic_compound_share_screen, + R.drawable.ic_compound_share_screen_solid, + R.drawable.ic_compound_sidebar, + R.drawable.ic_compound_sign_out, + R.drawable.ic_compound_spinner, + R.drawable.ic_compound_spotlight, + R.drawable.ic_compound_strikethrough, + R.drawable.ic_compound_switch_camera_solid, + R.drawable.ic_compound_take_photo, + R.drawable.ic_compound_text_formatting, + R.drawable.ic_compound_threads, + R.drawable.ic_compound_threads_solid, + R.drawable.ic_compound_time, + R.drawable.ic_compound_underline, + R.drawable.ic_compound_unknown, + R.drawable.ic_compound_unknown_solid, + R.drawable.ic_compound_user, + R.drawable.ic_compound_user_add, + R.drawable.ic_compound_user_add_solid, + R.drawable.ic_compound_user_profile, + R.drawable.ic_compound_user_profile_solid, + R.drawable.ic_compound_user_solid, + R.drawable.ic_compound_verified, + R.drawable.ic_compound_video_call, + R.drawable.ic_compound_video_call_declined_solid, + R.drawable.ic_compound_video_call_missed_solid, + R.drawable.ic_compound_video_call_off, + R.drawable.ic_compound_video_call_off_solid, + R.drawable.ic_compound_video_call_solid, + R.drawable.ic_compound_visibility_off, + R.drawable.ic_compound_visibility_on, + R.drawable.ic_compound_voice_call, + R.drawable.ic_compound_volume_off, + R.drawable.ic_compound_volume_off_solid, + R.drawable.ic_compound_volume_on, + R.drawable.ic_compound_volume_on_solid, + R.drawable.ic_compound_warning, + R.drawable.ic_compound_web_browser, ) } diff --git a/compound/src/main/res/drawable/ic_arrow_right.xml b/compound/src/main/res/drawable/ic_arrow_right.xml deleted file mode 100644 index b372ee9..0000000 --- a/compound/src/main/res/drawable/ic_arrow_right.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_arrow_up_right.xml b/compound/src/main/res/drawable/ic_arrow_up_right.xml deleted file mode 100644 index 8bd6887..0000000 --- a/compound/src/main/res/drawable/ic_arrow_up_right.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_block.xml b/compound/src/main/res/drawable/ic_block.xml deleted file mode 100644 index 1103b5a..0000000 --- a/compound/src/main/res/drawable/ic_block.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_chat.xml b/compound/src/main/res/drawable/ic_chat.xml deleted file mode 100644 index d77f859..0000000 --- a/compound/src/main/res/drawable/ic_chat.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_chat_new.xml b/compound/src/main/res/drawable/ic_chat_new.xml deleted file mode 100644 index 4378b2b..0000000 --- a/compound/src/main/res/drawable/ic_chat_new.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - diff --git a/compound/src/main/res/drawable/ic_chat_problem.xml b/compound/src/main/res/drawable/ic_chat_problem.xml deleted file mode 100644 index 0e0d44d..0000000 --- a/compound/src/main/res/drawable/ic_chat_problem.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - diff --git a/compound/src/main/res/drawable/ic_chat_solid.xml b/compound/src/main/res/drawable/ic_chat_solid.xml deleted file mode 100644 index 6ce9615..0000000 --- a/compound/src/main/res/drawable/ic_chat_solid.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_check.xml b/compound/src/main/res/drawable/ic_check.xml deleted file mode 100644 index 738e5f4..0000000 --- a/compound/src/main/res/drawable/ic_check.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_check_circle.xml b/compound/src/main/res/drawable/ic_check_circle.xml deleted file mode 100644 index 9bc98af..0000000 --- a/compound/src/main/res/drawable/ic_check_circle.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_check_circle_solid.xml b/compound/src/main/res/drawable/ic_check_circle_solid.xml deleted file mode 100644 index 740b706..0000000 --- a/compound/src/main/res/drawable/ic_check_circle_solid.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_chevron.xml b/compound/src/main/res/drawable/ic_chevron.xml deleted file mode 100644 index 4ecd3f1..0000000 --- a/compound/src/main/res/drawable/ic_chevron.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_chevron_down.xml b/compound/src/main/res/drawable/ic_chevron_down.xml deleted file mode 100644 index fa80ed1..0000000 --- a/compound/src/main/res/drawable/ic_chevron_down.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_chevron_left.xml b/compound/src/main/res/drawable/ic_chevron_left.xml deleted file mode 100644 index 634b3da..0000000 --- a/compound/src/main/res/drawable/ic_chevron_left.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_chevron_right.xml b/compound/src/main/res/drawable/ic_chevron_right.xml deleted file mode 100644 index f8f16da..0000000 --- a/compound/src/main/res/drawable/ic_chevron_right.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_chevron_up.xml b/compound/src/main/res/drawable/ic_chevron_up.xml deleted file mode 100644 index 0b0ea6d..0000000 --- a/compound/src/main/res/drawable/ic_chevron_up.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_chevron_up_down.xml b/compound/src/main/res/drawable/ic_chevron_up_down.xml deleted file mode 100644 index e0e0fd8..0000000 --- a/compound/src/main/res/drawable/ic_chevron_up_down.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_close.xml b/compound/src/main/res/drawable/ic_close.xml deleted file mode 100644 index 56b8991..0000000 --- a/compound/src/main/res/drawable/ic_close.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_collapse.xml b/compound/src/main/res/drawable/ic_collapse.xml deleted file mode 100644 index 4113400..0000000 --- a/compound/src/main/res/drawable/ic_collapse.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - diff --git a/compound/src/main/res/drawable/ic_company.xml b/compound/src/main/res/drawable/ic_company.xml deleted file mode 100644 index 6f47532..0000000 --- a/compound/src/main/res/drawable/ic_company.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_compound_admin.xml b/compound/src/main/res/drawable/ic_compound_admin.xml new file mode 100644 index 0000000..2b9427b --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_admin.xml @@ -0,0 +1,10 @@ + + + diff --git a/compound/src/main/res/drawable/ic_spotlight.xml b/compound/src/main/res/drawable/ic_compound_arrow_down.xml similarity index 59% rename from compound/src/main/res/drawable/ic_spotlight.xml rename to compound/src/main/res/drawable/ic_compound_arrow_down.xml index cc141bc..22d6ffb 100644 --- a/compound/src/main/res/drawable/ic_spotlight.xml +++ b/compound/src/main/res/drawable/ic_compound_arrow_down.xml @@ -5,5 +5,5 @@ android:viewportHeight="24"> + android:pathData="M12 4.5a1 1 0 0 1 1 1v10.59l4.3-4.3a1 1 0 0 1 1.4 1.42l-6 6a1 1 0 0 1-1.4 0l-6-6a1 1 0 1 1 1.4-1.42l4.3 4.3V5.5a1 1 0 0 1 1-1Z"/> diff --git a/compound/src/main/res/drawable/ic_video_call_solid.xml b/compound/src/main/res/drawable/ic_compound_arrow_left.xml similarity index 56% rename from compound/src/main/res/drawable/ic_video_call_solid.xml rename to compound/src/main/res/drawable/ic_compound_arrow_left.xml index fe183d8..288f65c 100644 --- a/compound/src/main/res/drawable/ic_video_call_solid.xml +++ b/compound/src/main/res/drawable/ic_compound_arrow_left.xml @@ -5,5 +5,5 @@ android:viewportHeight="24"> + android:pathData="M12.2 5.3a1 1 0 0 1 0 1.4L7.92 11H18.5a1 1 0 1 1 0 2H7.91l4.3 4.3a1 1 0 0 1-1.42 1.4l-6-6a1 1 0 0 1 0-1.4l6-6a1 1 0 0 1 1.42 0Z"/> diff --git a/compound/src/main/res/drawable/ic_send_solid.xml b/compound/src/main/res/drawable/ic_compound_arrow_right.xml similarity index 53% rename from compound/src/main/res/drawable/ic_send_solid.xml rename to compound/src/main/res/drawable/ic_compound_arrow_right.xml index a126bf6..e99b141 100644 --- a/compound/src/main/res/drawable/ic_send_solid.xml +++ b/compound/src/main/res/drawable/ic_compound_arrow_right.xml @@ -5,5 +5,5 @@ android:viewportHeight="24"> + android:pathData="M11.8 5.3a1 1 0 0 1 1.4 0l6 6a1 1 0 0 1 0 1.4l-6 6a1 1 0 0 1-1.4-1.4l4.29-4.3H5.5a1 1 0 1 1 0-2h10.59l-4.3-4.3a1 1 0 0 1 0-1.4Z"/> diff --git a/compound/src/main/res/drawable/ic_compound_arrow_up.xml b/compound/src/main/res/drawable/ic_compound_arrow_up.xml new file mode 100644 index 0000000..dbeac8c --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_arrow_up.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_arrow_up_right.xml b/compound/src/main/res/drawable/ic_compound_arrow_up_right.xml new file mode 100644 index 0000000..84224f3 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_arrow_up_right.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_attachment.xml b/compound/src/main/res/drawable/ic_compound_attachment.xml new file mode 100644 index 0000000..4855ea7 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_attachment.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_block.xml b/compound/src/main/res/drawable/ic_compound_block.xml new file mode 100644 index 0000000..24cb775 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_block.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_bold.xml b/compound/src/main/res/drawable/ic_compound_bold.xml new file mode 100644 index 0000000..f9f40ac --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_bold.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_chart.xml b/compound/src/main/res/drawable/ic_compound_chart.xml new file mode 100644 index 0000000..dca8c87 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_chart.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_chat.xml b/compound/src/main/res/drawable/ic_compound_chat.xml new file mode 100644 index 0000000..b0df29b --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_chat.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_chat_new.xml b/compound/src/main/res/drawable/ic_compound_chat_new.xml new file mode 100644 index 0000000..9ea7bce --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_chat_new.xml @@ -0,0 +1,12 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_chat_problem.xml b/compound/src/main/res/drawable/ic_compound_chat_problem.xml new file mode 100644 index 0000000..a8d075a --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_chat_problem.xml @@ -0,0 +1,12 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_chat_solid.xml b/compound/src/main/res/drawable/ic_compound_chat_solid.xml new file mode 100644 index 0000000..a05af64 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_chat_solid.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_check.xml b/compound/src/main/res/drawable/ic_compound_check.xml new file mode 100644 index 0000000..16a6fdc --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_check.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_check_circle.xml b/compound/src/main/res/drawable/ic_compound_check_circle.xml new file mode 100644 index 0000000..2fc8b19 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_check_circle.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_check_circle_solid.xml b/compound/src/main/res/drawable/ic_compound_check_circle_solid.xml new file mode 100644 index 0000000..ad3aacb --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_check_circle_solid.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_chevron_down.xml b/compound/src/main/res/drawable/ic_compound_chevron_down.xml new file mode 100644 index 0000000..8f0360e --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_chevron_down.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_chevron_left.xml b/compound/src/main/res/drawable/ic_compound_chevron_left.xml new file mode 100644 index 0000000..2f847af --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_chevron_left.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_chevron_right.xml b/compound/src/main/res/drawable/ic_compound_chevron_right.xml new file mode 100644 index 0000000..e3e64cb --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_chevron_right.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_chevron_up.xml b/compound/src/main/res/drawable/ic_compound_chevron_up.xml new file mode 100644 index 0000000..827f8db --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_chevron_up.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_chevron_up_down.xml b/compound/src/main/res/drawable/ic_compound_chevron_up_down.xml new file mode 100644 index 0000000..ffdfad5 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_chevron_up_down.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_circle.xml b/compound/src/main/res/drawable/ic_compound_circle.xml new file mode 100644 index 0000000..00e9a71 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_circle.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_close.xml b/compound/src/main/res/drawable/ic_compound_close.xml new file mode 100644 index 0000000..c9187de --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_close.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_cloud.xml b/compound/src/main/res/drawable/ic_compound_cloud.xml new file mode 100644 index 0000000..ae3ef66 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_cloud.xml @@ -0,0 +1,10 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_cloud_solid.xml b/compound/src/main/res/drawable/ic_compound_cloud_solid.xml new file mode 100644 index 0000000..6f10172 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_cloud_solid.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_code.xml b/compound/src/main/res/drawable/ic_compound_code.xml new file mode 100644 index 0000000..d2ca0ba --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_code.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_collapse.xml b/compound/src/main/res/drawable/ic_compound_collapse.xml new file mode 100644 index 0000000..763a854 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_collapse.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_company.xml b/compound/src/main/res/drawable/ic_compound_company.xml new file mode 100644 index 0000000..21cad83 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_company.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_compose.xml b/compound/src/main/res/drawable/ic_compound_compose.xml new file mode 100644 index 0000000..35a704d --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_compose.xml @@ -0,0 +1,17 @@ + + + + + diff --git a/compound/src/main/res/drawable/ic_compound_computer.xml b/compound/src/main/res/drawable/ic_compound_computer.xml new file mode 100644 index 0000000..e2748c2 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_computer.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_image.xml b/compound/src/main/res/drawable/ic_compound_copy.xml similarity index 51% rename from compound/src/main/res/drawable/ic_image.xml rename to compound/src/main/res/drawable/ic_compound_copy.xml index 68bc961..978ce49 100644 --- a/compound/src/main/res/drawable/ic_image.xml +++ b/compound/src/main/res/drawable/ic_compound_copy.xml @@ -5,8 +5,8 @@ android:viewportHeight="24"> + android:pathData="M14 5H5v9h1a1 1 0 1 1 0 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1a1 1 0 1 1-2 0V5Z"/> + android:pathData="M8 10a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-9a2 2 0 0 1-2-2v-9Zm2 0v9h9v-9h-9Z"/> diff --git a/compound/src/main/res/drawable/ic_dark_mode.xml b/compound/src/main/res/drawable/ic_compound_dark_mode.xml similarity index 55% rename from compound/src/main/res/drawable/ic_dark_mode.xml rename to compound/src/main/res/drawable/ic_compound_dark_mode.xml index d00b6c3..5979c63 100644 --- a/compound/src/main/res/drawable/ic_dark_mode.xml +++ b/compound/src/main/res/drawable/ic_compound_dark_mode.xml @@ -6,5 +6,5 @@ + android:pathData="M17.98 17.31C13.33 15.66 10 11.22 10 6c0-0.6 0.04-1.2 0.13-1.78a8 8 0 1 0 7.85 13.1Zm1.82-1.55c0.67 0.15 1.1 0.86 0.74 1.44A10 10 0 0 1 12 22C6.48 22 2 17.52 2 12S6.48 2 12 2c0.4 0 0.65 0.42 0.52 0.8A9.99 9.99 0 0 0 12 6c0 4.77 3.34 8.76 7.8 9.76Z"/> diff --git a/compound/src/main/res/drawable/ic_compound_delete.xml b/compound/src/main/res/drawable/ic_compound_delete.xml new file mode 100644 index 0000000..c376341 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_delete.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_devices.xml b/compound/src/main/res/drawable/ic_compound_devices.xml new file mode 100644 index 0000000..0640212 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_devices.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_document.xml b/compound/src/main/res/drawable/ic_compound_document.xml new file mode 100644 index 0000000..5e88f74 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_document.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_download.xml b/compound/src/main/res/drawable/ic_compound_download.xml new file mode 100644 index 0000000..bcbeb2e --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_download.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_drag_grid.xml b/compound/src/main/res/drawable/ic_compound_drag_grid.xml new file mode 100644 index 0000000..791e54a --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_drag_grid.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_drag_list.xml b/compound/src/main/res/drawable/ic_compound_drag_list.xml new file mode 100644 index 0000000..9c14772 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_drag_list.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_edit.xml b/compound/src/main/res/drawable/ic_compound_edit.xml new file mode 100644 index 0000000..d155d0b --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_edit.xml @@ -0,0 +1,10 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_edit_solid.xml b/compound/src/main/res/drawable/ic_compound_edit_solid.xml new file mode 100644 index 0000000..b04c490 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_edit_solid.xml @@ -0,0 +1,17 @@ + + + + + + + diff --git a/compound/src/main/res/drawable/ic_compound_email.xml b/compound/src/main/res/drawable/ic_compound_email.xml new file mode 100644 index 0000000..4c5353c --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_email.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_email_solid.xml b/compound/src/main/res/drawable/ic_compound_email_solid.xml new file mode 100644 index 0000000..e9d9b8d --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_email_solid.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_end_call.xml b/compound/src/main/res/drawable/ic_compound_end_call.xml new file mode 100644 index 0000000..47b5c89 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_end_call.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_error.xml b/compound/src/main/res/drawable/ic_compound_error.xml new file mode 100644 index 0000000..d978824 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_error.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_expand.xml b/compound/src/main/res/drawable/ic_compound_expand.xml new file mode 100644 index 0000000..757bc79 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_expand.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_export_archive.xml b/compound/src/main/res/drawable/ic_compound_export_archive.xml new file mode 100644 index 0000000..6a5d913 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_export_archive.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_extensions.xml b/compound/src/main/res/drawable/ic_compound_extensions.xml new file mode 100644 index 0000000..be2e180 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_extensions.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_favourite.xml b/compound/src/main/res/drawable/ic_compound_favourite.xml new file mode 100644 index 0000000..373852d --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_favourite.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_arrow_left.xml b/compound/src/main/res/drawable/ic_compound_favourite_solid.xml similarity index 50% rename from compound/src/main/res/drawable/ic_arrow_left.xml rename to compound/src/main/res/drawable/ic_compound_favourite_solid.xml index b05b8c6..05292ac 100644 --- a/compound/src/main/res/drawable/ic_arrow_left.xml +++ b/compound/src/main/res/drawable/ic_compound_favourite_solid.xml @@ -5,5 +5,5 @@ android:viewportHeight="24"> + android:pathData="M12.9 2.82l2.33 4.73 5.23 0.76a1 1 0 0 1 0.55 1.7l-3.78 3.69 0.9 5.2a1 1 0 0 1-1.46 1.06L12 17.5l-4.67 2.46a1 1 0 0 1-1.45-1.06l0.89-5.2-3.78-3.68A1 1 0 0 1 3.54 8.3l5.23-0.76 2.33-4.73a1 1 0 0 1 1.8 0Z"/> diff --git a/compound/src/main/res/drawable/ic_compound_file_error.xml b/compound/src/main/res/drawable/ic_compound_file_error.xml new file mode 100644 index 0000000..8e514a3 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_file_error.xml @@ -0,0 +1,12 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_files.xml b/compound/src/main/res/drawable/ic_compound_files.xml new file mode 100644 index 0000000..9d96cca --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_files.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_filter.xml b/compound/src/main/res/drawable/ic_compound_filter.xml new file mode 100644 index 0000000..eb8fc62 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_filter.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_forward.xml b/compound/src/main/res/drawable/ic_compound_forward.xml new file mode 100644 index 0000000..c9e19a1 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_forward.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_grid.xml b/compound/src/main/res/drawable/ic_compound_grid.xml new file mode 100644 index 0000000..c3d3b95 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_grid.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_help.xml b/compound/src/main/res/drawable/ic_compound_help.xml new file mode 100644 index 0000000..7babf6d --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_help.xml @@ -0,0 +1,12 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_help_solid.xml b/compound/src/main/res/drawable/ic_compound_help_solid.xml new file mode 100644 index 0000000..21e7a43 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_help_solid.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_history.xml b/compound/src/main/res/drawable/ic_compound_history.xml new file mode 100644 index 0000000..023a701 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_history.xml @@ -0,0 +1,12 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_email.xml b/compound/src/main/res/drawable/ic_compound_home.xml similarity index 56% rename from compound/src/main/res/drawable/ic_email.xml rename to compound/src/main/res/drawable/ic_compound_home.xml index 0d0ef20..d3dc2ea 100644 --- a/compound/src/main/res/drawable/ic_email.xml +++ b/compound/src/main/res/drawable/ic_compound_home.xml @@ -6,5 +6,5 @@ + android:pathData="M16 11v8h3V9.18l-7-3.9-7 3.9V19h3v-8h8Zm-6 10H5a2 2 0 0 1-2-2V9.18a2 2 0 0 1 1.03-1.75l7-3.9a2 2 0 0 1 1.94 0l7 3.9A2 2 0 0 1 21 9.18V19a2 2 0 0 1-2 2h-5v-8h-4v8Z"/> diff --git a/compound/src/main/res/drawable/ic_compound_home_solid.xml b/compound/src/main/res/drawable/ic_compound_home_solid.xml new file mode 100644 index 0000000..6bbb4bb --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_home_solid.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_host.xml b/compound/src/main/res/drawable/ic_compound_host.xml new file mode 100644 index 0000000..56b6394 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_host.xml @@ -0,0 +1,13 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_image.xml b/compound/src/main/res/drawable/ic_compound_image.xml new file mode 100644 index 0000000..4413f8c --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_image.xml @@ -0,0 +1,12 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_image_error.xml b/compound/src/main/res/drawable/ic_compound_image_error.xml new file mode 100644 index 0000000..793a88a --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_image_error.xml @@ -0,0 +1,12 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_indent_decrease.xml b/compound/src/main/res/drawable/ic_compound_indent_decrease.xml new file mode 100644 index 0000000..0a443f4 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_indent_decrease.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_indent_increase.xml b/compound/src/main/res/drawable/ic_compound_indent_increase.xml new file mode 100644 index 0000000..b898407 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_indent_increase.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_info.xml b/compound/src/main/res/drawable/ic_compound_info.xml new file mode 100644 index 0000000..38afc92 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_info.xml @@ -0,0 +1,13 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_info_solid.xml b/compound/src/main/res/drawable/ic_compound_info_solid.xml new file mode 100644 index 0000000..69865e3 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_info_solid.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_inline_code.xml b/compound/src/main/res/drawable/ic_compound_inline_code.xml new file mode 100644 index 0000000..0e2b73d --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_inline_code.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_italic.xml b/compound/src/main/res/drawable/ic_compound_italic.xml new file mode 100644 index 0000000..9017938 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_italic.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_key.xml b/compound/src/main/res/drawable/ic_compound_key.xml new file mode 100644 index 0000000..015ade4 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_key.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_key_off.xml b/compound/src/main/res/drawable/ic_compound_key_off.xml new file mode 100644 index 0000000..d470332 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_key_off.xml @@ -0,0 +1,12 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_key_off_solid.xml b/compound/src/main/res/drawable/ic_compound_key_off_solid.xml new file mode 100644 index 0000000..0af4d41 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_key_off_solid.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_key_solid.xml b/compound/src/main/res/drawable/ic_compound_key_solid.xml new file mode 100644 index 0000000..ce3fb35 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_key_solid.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_keyboard.xml b/compound/src/main/res/drawable/ic_compound_keyboard.xml new file mode 100644 index 0000000..7cfcfbf --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_keyboard.xml @@ -0,0 +1,13 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_labs.xml b/compound/src/main/res/drawable/ic_compound_labs.xml new file mode 100644 index 0000000..c805413 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_labs.xml @@ -0,0 +1,16 @@ + + + + + diff --git a/compound/src/main/res/drawable/ic_compound_leave.xml b/compound/src/main/res/drawable/ic_compound_leave.xml new file mode 100644 index 0000000..f18348a --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_leave.xml @@ -0,0 +1,12 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_link.xml b/compound/src/main/res/drawable/ic_compound_link.xml new file mode 100644 index 0000000..c05880f --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_link.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_list_bulleted.xml b/compound/src/main/res/drawable/ic_compound_list_bulleted.xml new file mode 100644 index 0000000..7b24814 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_list_bulleted.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_list_numbered.xml b/compound/src/main/res/drawable/ic_compound_list_numbered.xml new file mode 100644 index 0000000..47c1b88 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_list_numbered.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_location_navigator.xml b/compound/src/main/res/drawable/ic_compound_location_navigator.xml new file mode 100644 index 0000000..bc5ff44 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_location_navigator.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_location_navigator_centred.xml b/compound/src/main/res/drawable/ic_compound_location_navigator_centred.xml new file mode 100644 index 0000000..3f1e180 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_location_navigator_centred.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_location_pin.xml b/compound/src/main/res/drawable/ic_compound_location_pin.xml new file mode 100644 index 0000000..959a2c8 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_location_pin.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_location_pin_solid.xml b/compound/src/main/res/drawable/ic_compound_location_pin_solid.xml new file mode 100644 index 0000000..1371877 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_location_pin_solid.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_lock.xml b/compound/src/main/res/drawable/ic_compound_lock.xml new file mode 100644 index 0000000..2fe6c9f --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_lock.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_lock_off.xml b/compound/src/main/res/drawable/ic_compound_lock_off.xml new file mode 100644 index 0000000..cc44a74 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_lock_off.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_lock_solid.xml b/compound/src/main/res/drawable/ic_compound_lock_solid.xml new file mode 100644 index 0000000..2ada59e --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_lock_solid.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_marker_read_receipts.xml b/compound/src/main/res/drawable/ic_compound_marker_read_receipts.xml new file mode 100644 index 0000000..e87b73d --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_marker_read_receipts.xml @@ -0,0 +1,12 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_mention.xml b/compound/src/main/res/drawable/ic_compound_mention.xml new file mode 100644 index 0000000..76bc49c --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_mention.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_menu.xml b/compound/src/main/res/drawable/ic_compound_menu.xml new file mode 100644 index 0000000..c50f2b6 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_menu.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_mic_off.xml b/compound/src/main/res/drawable/ic_compound_mic_off.xml new file mode 100644 index 0000000..c33e2ed --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_mic_off.xml @@ -0,0 +1,13 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_mic_off_solid.xml b/compound/src/main/res/drawable/ic_compound_mic_off_solid.xml new file mode 100644 index 0000000..72470e8 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_mic_off_solid.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_mic_on.xml b/compound/src/main/res/drawable/ic_compound_mic_on.xml new file mode 100644 index 0000000..ff6b1bd --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_mic_on.xml @@ -0,0 +1,13 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_mic_on_solid.xml b/compound/src/main/res/drawable/ic_compound_mic_on_solid.xml new file mode 100644 index 0000000..ebafd2c --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_mic_on_solid.xml @@ -0,0 +1,12 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_mobile.xml b/compound/src/main/res/drawable/ic_compound_mobile.xml new file mode 100644 index 0000000..f2c46be --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_mobile.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_notifications.xml b/compound/src/main/res/drawable/ic_compound_notifications.xml new file mode 100644 index 0000000..268fc9e --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_notifications.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_notifications_off.xml b/compound/src/main/res/drawable/ic_compound_notifications_off.xml new file mode 100644 index 0000000..ab625e5 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_notifications_off.xml @@ -0,0 +1,12 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_notifications_off_solid.xml b/compound/src/main/res/drawable/ic_compound_notifications_off_solid.xml new file mode 100644 index 0000000..e10012f --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_notifications_off_solid.xml @@ -0,0 +1,12 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_notifications_solid.xml b/compound/src/main/res/drawable/ic_compound_notifications_solid.xml similarity index 74% rename from compound/src/main/res/drawable/ic_notifications_solid.xml rename to compound/src/main/res/drawable/ic_compound_notifications_solid.xml index ce62fde..8624e59 100644 --- a/compound/src/main/res/drawable/ic_notifications_solid.xml +++ b/compound/src/main/res/drawable/ic_compound_notifications_solid.xml @@ -5,8 +5,5 @@ android:viewportHeight="24"> - + android:pathData="M20.3 17.3c0.62 0.62 0.18 1.7-0.71 1.7H4.4c-0.89 0-1.33-1.08-0.7-1.7L5 16v-6s0-7 7-7 7 7 7 7v6l1.3 1.3ZM12 22a2 2 0 0 1-2-2h4a2 2 0 0 1-2 2Z"/> diff --git a/compound/src/main/res/drawable/ic_compound_offline.xml b/compound/src/main/res/drawable/ic_compound_offline.xml new file mode 100644 index 0000000..b077522 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_offline.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_overflow_horizontal.xml b/compound/src/main/res/drawable/ic_compound_overflow_horizontal.xml new file mode 100644 index 0000000..08be08e --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_overflow_horizontal.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_overflow_vertical.xml b/compound/src/main/res/drawable/ic_compound_overflow_vertical.xml new file mode 100644 index 0000000..ff38ec2 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_overflow_vertical.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_pause.xml b/compound/src/main/res/drawable/ic_compound_pause.xml new file mode 100644 index 0000000..8915f51 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_pause.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_pause_solid.xml b/compound/src/main/res/drawable/ic_compound_pause_solid.xml new file mode 100644 index 0000000..8a0f51a --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_pause_solid.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_pin.xml b/compound/src/main/res/drawable/ic_compound_pin.xml new file mode 100644 index 0000000..db4c302 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_pin.xml @@ -0,0 +1,10 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_pin_solid.xml b/compound/src/main/res/drawable/ic_compound_pin_solid.xml new file mode 100644 index 0000000..dc1a522 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_pin_solid.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_play.xml b/compound/src/main/res/drawable/ic_compound_play.xml new file mode 100644 index 0000000..8cca27e --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_play.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_play_solid.xml b/compound/src/main/res/drawable/ic_compound_play_solid.xml new file mode 100644 index 0000000..4184deb --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_play_solid.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_plus.xml b/compound/src/main/res/drawable/ic_compound_plus.xml new file mode 100644 index 0000000..794990c --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_plus.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_polls.xml b/compound/src/main/res/drawable/ic_compound_polls.xml new file mode 100644 index 0000000..ddb0c39 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_polls.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_polls_end.xml b/compound/src/main/res/drawable/ic_compound_polls_end.xml new file mode 100644 index 0000000..380a002 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_polls_end.xml @@ -0,0 +1,12 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_pop_out.xml b/compound/src/main/res/drawable/ic_compound_pop_out.xml new file mode 100644 index 0000000..5422a70 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_pop_out.xml @@ -0,0 +1,12 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_preferences.xml b/compound/src/main/res/drawable/ic_compound_preferences.xml new file mode 100644 index 0000000..825a627 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_preferences.xml @@ -0,0 +1,10 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_public.xml b/compound/src/main/res/drawable/ic_compound_public.xml new file mode 100644 index 0000000..a34911c --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_public.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_qr_code.xml b/compound/src/main/res/drawable/ic_compound_qr_code.xml new file mode 100644 index 0000000..f9ee851 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_qr_code.xml @@ -0,0 +1,16 @@ + + + + + diff --git a/compound/src/main/res/drawable/ic_compound_quote.xml b/compound/src/main/res/drawable/ic_compound_quote.xml new file mode 100644 index 0000000..42b11fd --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_quote.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_reaction.xml b/compound/src/main/res/drawable/ic_compound_reaction.xml new file mode 100644 index 0000000..0bd5735 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_reaction.xml @@ -0,0 +1,12 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_reaction_add.xml b/compound/src/main/res/drawable/ic_compound_reaction_add.xml new file mode 100644 index 0000000..6cb1710 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_reaction_add.xml @@ -0,0 +1,12 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_reply.xml b/compound/src/main/res/drawable/ic_compound_reply.xml new file mode 100644 index 0000000..5ccc16f --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_reply.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_restart.xml b/compound/src/main/res/drawable/ic_compound_restart.xml new file mode 100644 index 0000000..748fa06 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_restart.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_search.xml b/compound/src/main/res/drawable/ic_compound_search.xml new file mode 100644 index 0000000..3e8120e --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_search.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_send.xml b/compound/src/main/res/drawable/ic_compound_send.xml new file mode 100644 index 0000000..3c6a459 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_send.xml @@ -0,0 +1,10 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_send_solid.xml b/compound/src/main/res/drawable/ic_compound_send_solid.xml new file mode 100644 index 0000000..0ff8334 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_send_solid.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_settings.xml b/compound/src/main/res/drawable/ic_compound_settings.xml new file mode 100644 index 0000000..a12a26d --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_settings.xml @@ -0,0 +1,12 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_settings_solid.xml b/compound/src/main/res/drawable/ic_compound_settings_solid.xml new file mode 100644 index 0000000..38155d0 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_settings_solid.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_share.xml b/compound/src/main/res/drawable/ic_compound_share.xml new file mode 100644 index 0000000..749524c --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_share.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_share_android.xml b/compound/src/main/res/drawable/ic_compound_share_android.xml new file mode 100644 index 0000000..8207f19 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_share_android.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_share_ios.xml b/compound/src/main/res/drawable/ic_compound_share_ios.xml new file mode 100644 index 0000000..3f7365d --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_share_ios.xml @@ -0,0 +1,12 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_share_screen.xml b/compound/src/main/res/drawable/ic_compound_share_screen.xml new file mode 100644 index 0000000..cd7d34f --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_share_screen.xml @@ -0,0 +1,12 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_share_screen_solid.xml b/compound/src/main/res/drawable/ic_compound_share_screen_solid.xml new file mode 100644 index 0000000..bdcdc3a --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_share_screen_solid.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_sidebar.xml b/compound/src/main/res/drawable/ic_compound_sidebar.xml new file mode 100644 index 0000000..c30aab6 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_sidebar.xml @@ -0,0 +1,10 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_sign_out.xml b/compound/src/main/res/drawable/ic_compound_sign_out.xml new file mode 100644 index 0000000..e7d2869 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_sign_out.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_email_solid.xml b/compound/src/main/res/drawable/ic_compound_spinner.xml similarity index 60% rename from compound/src/main/res/drawable/ic_email_solid.xml rename to compound/src/main/res/drawable/ic_compound_spinner.xml index 9e4e16a..15169dc 100644 --- a/compound/src/main/res/drawable/ic_email_solid.xml +++ b/compound/src/main/res/drawable/ic_compound_spinner.xml @@ -6,5 +6,5 @@ + android:pathData="M12 4.03a8 8 0 1 0 8 8 1 1 0 0 1 2 0c0 5.52-4.48 10-10 10s-10-4.48-10-10 4.48-10 10-10a1 1 0 1 1 0 2Z"/> diff --git a/compound/src/main/res/drawable/ic_compound_spotlight.xml b/compound/src/main/res/drawable/ic_compound_spotlight.xml new file mode 100644 index 0000000..9861a57 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_spotlight.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_strikethrough.xml b/compound/src/main/res/drawable/ic_compound_strikethrough.xml new file mode 100644 index 0000000..e7a51a3 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_strikethrough.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_switch_camera_solid.xml b/compound/src/main/res/drawable/ic_compound_switch_camera_solid.xml new file mode 100644 index 0000000..0d60f1e --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_switch_camera_solid.xml @@ -0,0 +1,12 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_take_photo.xml b/compound/src/main/res/drawable/ic_compound_take_photo.xml new file mode 100644 index 0000000..3209a3c --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_take_photo.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_text_formatting.xml b/compound/src/main/res/drawable/ic_compound_text_formatting.xml new file mode 100644 index 0000000..7c8a093 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_text_formatting.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_threads.xml b/compound/src/main/res/drawable/ic_compound_threads.xml new file mode 100644 index 0000000..61a4993 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_threads.xml @@ -0,0 +1,12 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_threads_solid.xml b/compound/src/main/res/drawable/ic_compound_threads_solid.xml new file mode 100644 index 0000000..f7daf52 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_threads_solid.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_time.xml b/compound/src/main/res/drawable/ic_compound_time.xml new file mode 100644 index 0000000..165e46a --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_time.xml @@ -0,0 +1,13 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_underline.xml b/compound/src/main/res/drawable/ic_compound_underline.xml new file mode 100644 index 0000000..60cd6da --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_underline.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_unknown.xml b/compound/src/main/res/drawable/ic_compound_unknown.xml new file mode 100644 index 0000000..6e092b8 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_unknown.xml @@ -0,0 +1,12 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_unknown_solid.xml b/compound/src/main/res/drawable/ic_compound_unknown_solid.xml new file mode 100644 index 0000000..23987fe --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_unknown_solid.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_user.xml b/compound/src/main/res/drawable/ic_compound_user.xml new file mode 100644 index 0000000..1e0b322 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_user.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_user_add.xml b/compound/src/main/res/drawable/ic_compound_user_add.xml new file mode 100644 index 0000000..7fe07c1 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_user_add.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_user_add_solid.xml b/compound/src/main/res/drawable/ic_compound_user_add_solid.xml new file mode 100644 index 0000000..9d7ad1e --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_user_add_solid.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_user_profile.xml b/compound/src/main/res/drawable/ic_compound_user_profile.xml new file mode 100644 index 0000000..cb9ae7e --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_user_profile.xml @@ -0,0 +1,15 @@ + + + + + diff --git a/compound/src/main/res/drawable/ic_compound_user_profile_solid.xml b/compound/src/main/res/drawable/ic_compound_user_profile_solid.xml new file mode 100644 index 0000000..a666c35 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_user_profile_solid.xml @@ -0,0 +1,12 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_user_solid.xml b/compound/src/main/res/drawable/ic_compound_user_solid.xml new file mode 100644 index 0000000..19ade28 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_user_solid.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_verified.xml b/compound/src/main/res/drawable/ic_compound_verified.xml new file mode 100644 index 0000000..3d1130d --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_verified.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_video_call.xml b/compound/src/main/res/drawable/ic_compound_video_call.xml new file mode 100644 index 0000000..40b8824 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_video_call.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_video_call_declined_solid.xml b/compound/src/main/res/drawable/ic_compound_video_call_declined_solid.xml new file mode 100644 index 0000000..c360100 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_video_call_declined_solid.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_video_call_missed_solid.xml b/compound/src/main/res/drawable/ic_compound_video_call_missed_solid.xml new file mode 100644 index 0000000..f780748 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_video_call_missed_solid.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_video_call_off.xml b/compound/src/main/res/drawable/ic_compound_video_call_off.xml new file mode 100644 index 0000000..0c5949a --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_video_call_off.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_video_call_off_solid.xml b/compound/src/main/res/drawable/ic_compound_video_call_off_solid.xml new file mode 100644 index 0000000..87d0174 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_video_call_off_solid.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_video_call_solid.xml b/compound/src/main/res/drawable/ic_compound_video_call_solid.xml new file mode 100644 index 0000000..54b489e --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_video_call_solid.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_visibility_off.xml b/compound/src/main/res/drawable/ic_compound_visibility_off.xml new file mode 100644 index 0000000..5bb70e6 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_visibility_off.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_visibility_visible.xml b/compound/src/main/res/drawable/ic_compound_visibility_on.xml similarity index 70% rename from compound/src/main/res/drawable/ic_visibility_visible.xml rename to compound/src/main/res/drawable/ic_compound_visibility_on.xml index 1283a15..401543b 100644 --- a/compound/src/main/res/drawable/ic_visibility_visible.xml +++ b/compound/src/main/res/drawable/ic_compound_visibility_on.xml @@ -5,5 +5,5 @@ android:viewportHeight="24"> + android:pathData="M12 16c1.25 0 2.31-0.44 3.19-1.31 0.87-0.88 1.31-1.94 1.31-3.19s-0.44-2.31-1.31-3.19C14.3 7.44 13.25 7 12 7S9.69 7.44 8.81 8.31C7.94 9.2 7.5 10.25 7.5 11.5s0.44 2.31 1.31 3.19C9.7 15.56 10.75 16 12 16Zm0-1.8c-0.75 0-1.39-0.26-1.91-0.79A2.6 2.6 0 0 1 9.3 11.5c0-0.75 0.26-1.39 0.79-1.91A2.6 2.6 0 0 1 12 8.8c0.75 0 1.39 0.26 1.91 0.79 0.53 0.52 0.79 1.16 0.79 1.91s-0.26 1.39-0.79 1.91A2.6 2.6 0 0 1 12 14.2Zm0 4.8c-2.32 0-4.43-0.61-6.35-1.84-1.92-1.22-3.37-2.88-4.35-4.96a0.81 0.81 0 0 1-0.1-0.31 2.93 2.93 0 0 1 0-0.78 0.81 0.81 0 0 1 0.1-0.31c0.98-2.08 2.43-3.74 4.35-4.96C7.57 4.6 9.68 4 12 4c2.32 0 4.43 0.61 6.35 1.84 1.92 1.22 3.37 2.88 4.35 4.96a0.81 0.81 0 0 1 0.1 0.31 2.92 2.92 0 0 1 0 0.78 0.81 0.81 0 0 1-0.1 0.31c-0.98 2.08-2.43 3.74-4.35 4.96C16.43 18.4 14.32 19 12 19Zm0-2a9.54 9.54 0 0 0 5.19-1.49 9.77 9.77 0 0 0 3.61-4.01 9.77 9.77 0 0 0-3.61-4.01A9.54 9.54 0 0 0 12 6a9.54 9.54 0 0 0-5.19 1.49A9.77 9.77 0 0 0 3.2 11.5a9.77 9.77 0 0 0 3.61 4.01A9.54 9.54 0 0 0 12 17Z"/> diff --git a/compound/src/main/res/drawable/ic_compound_voice_call.xml b/compound/src/main/res/drawable/ic_compound_voice_call.xml new file mode 100644 index 0000000..a3f7ab9 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_voice_call.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_volume_off.xml b/compound/src/main/res/drawable/ic_compound_volume_off.xml new file mode 100644 index 0000000..f8f9b84 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_volume_off.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_volume_off_solid.xml b/compound/src/main/res/drawable/ic_compound_volume_off_solid.xml new file mode 100644 index 0000000..2ad38b4 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_volume_off_solid.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_compound_volume_on.xml b/compound/src/main/res/drawable/ic_compound_volume_on.xml new file mode 100644 index 0000000..85b1dcb --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_volume_on.xml @@ -0,0 +1,12 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_volume_on_solid.xml b/compound/src/main/res/drawable/ic_compound_volume_on_solid.xml new file mode 100644 index 0000000..29bdee8 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_volume_on_solid.xml @@ -0,0 +1,12 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_warning.xml b/compound/src/main/res/drawable/ic_compound_warning.xml new file mode 100644 index 0000000..7cebbdf --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_warning.xml @@ -0,0 +1,13 @@ + + + + diff --git a/compound/src/main/res/drawable/ic_compound_web_browser.xml b/compound/src/main/res/drawable/ic_compound_web_browser.xml new file mode 100644 index 0000000..080ce75 --- /dev/null +++ b/compound/src/main/res/drawable/ic_compound_web_browser.xml @@ -0,0 +1,9 @@ + + + diff --git a/compound/src/main/res/drawable/ic_computer.xml b/compound/src/main/res/drawable/ic_computer.xml deleted file mode 100644 index a6264fd..0000000 --- a/compound/src/main/res/drawable/ic_computer.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_delete.xml b/compound/src/main/res/drawable/ic_delete.xml deleted file mode 100644 index 9e538a8..0000000 --- a/compound/src/main/res/drawable/ic_delete.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_download.xml b/compound/src/main/res/drawable/ic_download.xml deleted file mode 100644 index 23196e7..0000000 --- a/compound/src/main/res/drawable/ic_download.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_drag_grid.xml b/compound/src/main/res/drawable/ic_drag_grid.xml deleted file mode 100644 index eccf2c6..0000000 --- a/compound/src/main/res/drawable/ic_drag_grid.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_drag_list.xml b/compound/src/main/res/drawable/ic_drag_list.xml deleted file mode 100644 index 82f7543..0000000 --- a/compound/src/main/res/drawable/ic_drag_list.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_edit.xml b/compound/src/main/res/drawable/ic_edit.xml deleted file mode 100644 index e36ac7f..0000000 --- a/compound/src/main/res/drawable/ic_edit.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - diff --git a/compound/src/main/res/drawable/ic_end_call.xml b/compound/src/main/res/drawable/ic_end_call.xml deleted file mode 100644 index c10a226..0000000 --- a/compound/src/main/res/drawable/ic_end_call.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_error.xml b/compound/src/main/res/drawable/ic_error.xml deleted file mode 100644 index 8411ce0..0000000 --- a/compound/src/main/res/drawable/ic_error.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_expand.xml b/compound/src/main/res/drawable/ic_expand.xml deleted file mode 100644 index 31809b9..0000000 --- a/compound/src/main/res/drawable/ic_expand.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_export_archive.xml b/compound/src/main/res/drawable/ic_export_archive.xml deleted file mode 100644 index d2c8e0e..0000000 --- a/compound/src/main/res/drawable/ic_export_archive.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_extensions.xml b/compound/src/main/res/drawable/ic_extensions.xml deleted file mode 100644 index b30f057..0000000 --- a/compound/src/main/res/drawable/ic_extensions.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - diff --git a/compound/src/main/res/drawable/ic_favourite_off.xml b/compound/src/main/res/drawable/ic_favourite_off.xml deleted file mode 100644 index 678c6c7..0000000 --- a/compound/src/main/res/drawable/ic_favourite_off.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_favourite_on.xml b/compound/src/main/res/drawable/ic_favourite_on.xml deleted file mode 100644 index 4e58a6e..0000000 --- a/compound/src/main/res/drawable/ic_favourite_on.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_files.xml b/compound/src/main/res/drawable/ic_files.xml deleted file mode 100644 index a6a0e35..0000000 --- a/compound/src/main/res/drawable/ic_files.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_filter.xml b/compound/src/main/res/drawable/ic_filter.xml deleted file mode 100644 index 17d2dc2..0000000 --- a/compound/src/main/res/drawable/ic_filter.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - diff --git a/compound/src/main/res/drawable/ic_grid.xml b/compound/src/main/res/drawable/ic_grid.xml deleted file mode 100644 index f80a544..0000000 --- a/compound/src/main/res/drawable/ic_grid.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - diff --git a/compound/src/main/res/drawable/ic_grid_view.xml b/compound/src/main/res/drawable/ic_grid_view.xml deleted file mode 100644 index f80a544..0000000 --- a/compound/src/main/res/drawable/ic_grid_view.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - diff --git a/compound/src/main/res/drawable/ic_help.xml b/compound/src/main/res/drawable/ic_help.xml deleted file mode 100644 index bd1fc15..0000000 --- a/compound/src/main/res/drawable/ic_help.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - diff --git a/compound/src/main/res/drawable/ic_help_solid.xml b/compound/src/main/res/drawable/ic_help_solid.xml deleted file mode 100644 index 24da516..0000000 --- a/compound/src/main/res/drawable/ic_help_solid.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_host.xml b/compound/src/main/res/drawable/ic_host.xml deleted file mode 100644 index 2005c12..0000000 --- a/compound/src/main/res/drawable/ic_host.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - diff --git a/compound/src/main/res/drawable/ic_info.xml b/compound/src/main/res/drawable/ic_info.xml deleted file mode 100644 index 171edb5..0000000 --- a/compound/src/main/res/drawable/ic_info.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - diff --git a/compound/src/main/res/drawable/ic_info_solid.xml b/compound/src/main/res/drawable/ic_info_solid.xml deleted file mode 100644 index de15089..0000000 --- a/compound/src/main/res/drawable/ic_info_solid.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_leave.xml b/compound/src/main/res/drawable/ic_leave.xml deleted file mode 100644 index d870d87..0000000 --- a/compound/src/main/res/drawable/ic_leave.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - diff --git a/compound/src/main/res/drawable/ic_link.xml b/compound/src/main/res/drawable/ic_link.xml deleted file mode 100644 index 5a88846..0000000 --- a/compound/src/main/res/drawable/ic_link.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_lock.xml b/compound/src/main/res/drawable/ic_lock.xml deleted file mode 100644 index 391fc36..0000000 --- a/compound/src/main/res/drawable/ic_lock.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_lock_off.xml b/compound/src/main/res/drawable/ic_lock_off.xml deleted file mode 100644 index b09e59c..0000000 --- a/compound/src/main/res/drawable/ic_lock_off.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - diff --git a/compound/src/main/res/drawable/ic_marker_read_receipts.xml b/compound/src/main/res/drawable/ic_marker_read_receipts.xml deleted file mode 100644 index a663eda..0000000 --- a/compound/src/main/res/drawable/ic_marker_read_receipts.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - diff --git a/compound/src/main/res/drawable/ic_mention.xml b/compound/src/main/res/drawable/ic_mention.xml deleted file mode 100644 index 540dbe2..0000000 --- a/compound/src/main/res/drawable/ic_mention.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_menu.xml b/compound/src/main/res/drawable/ic_menu.xml deleted file mode 100644 index 5b2f7bd..0000000 --- a/compound/src/main/res/drawable/ic_menu.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_mic_off_outline.xml b/compound/src/main/res/drawable/ic_mic_off_outline.xml deleted file mode 100644 index 30c4746..0000000 --- a/compound/src/main/res/drawable/ic_mic_off_outline.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - diff --git a/compound/src/main/res/drawable/ic_mic_off_solid.xml b/compound/src/main/res/drawable/ic_mic_off_solid.xml deleted file mode 100644 index c8c0dc7..0000000 --- a/compound/src/main/res/drawable/ic_mic_off_solid.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - diff --git a/compound/src/main/res/drawable/ic_mic_on_outline.xml b/compound/src/main/res/drawable/ic_mic_on_outline.xml deleted file mode 100644 index fceb7b5..0000000 --- a/compound/src/main/res/drawable/ic_mic_on_outline.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - diff --git a/compound/src/main/res/drawable/ic_mic_on_solid.xml b/compound/src/main/res/drawable/ic_mic_on_solid.xml deleted file mode 100644 index 6b23d0c..0000000 --- a/compound/src/main/res/drawable/ic_mic_on_solid.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - diff --git a/compound/src/main/res/drawable/ic_mobile.xml b/compound/src/main/res/drawable/ic_mobile.xml deleted file mode 100644 index 1e32888..0000000 --- a/compound/src/main/res/drawable/ic_mobile.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_notifications.xml b/compound/src/main/res/drawable/ic_notifications.xml deleted file mode 100644 index 90e92cb..0000000 --- a/compound/src/main/res/drawable/ic_notifications.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - diff --git a/compound/src/main/res/drawable/ic_notifications_off.xml b/compound/src/main/res/drawable/ic_notifications_off.xml deleted file mode 100644 index 2297b4e..0000000 --- a/compound/src/main/res/drawable/ic_notifications_off.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - diff --git a/compound/src/main/res/drawable/ic_notifications_solid_off.xml b/compound/src/main/res/drawable/ic_notifications_solid_off.xml deleted file mode 100644 index 92834ee..0000000 --- a/compound/src/main/res/drawable/ic_notifications_solid_off.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - diff --git a/compound/src/main/res/drawable/ic_offline.xml b/compound/src/main/res/drawable/ic_offline.xml deleted file mode 100644 index afa4b66..0000000 --- a/compound/src/main/res/drawable/ic_offline.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_overflow_horizontal.xml b/compound/src/main/res/drawable/ic_overflow_horizontal.xml deleted file mode 100644 index d955551..0000000 --- a/compound/src/main/res/drawable/ic_overflow_horizontal.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_overflow_vertical.xml b/compound/src/main/res/drawable/ic_overflow_vertical.xml deleted file mode 100644 index 3362f9e..0000000 --- a/compound/src/main/res/drawable/ic_overflow_vertical.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_pin_off.xml b/compound/src/main/res/drawable/ic_pin_off.xml deleted file mode 100644 index 541a9d0..0000000 --- a/compound/src/main/res/drawable/ic_pin_off.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_pin_on.xml b/compound/src/main/res/drawable/ic_pin_on.xml deleted file mode 100644 index e35fdce..0000000 --- a/compound/src/main/res/drawable/ic_pin_on.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_plus.xml b/compound/src/main/res/drawable/ic_plus.xml deleted file mode 100644 index ae69de2..0000000 --- a/compound/src/main/res/drawable/ic_plus.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_polls.xml b/compound/src/main/res/drawable/ic_polls.xml deleted file mode 100644 index 7ce54c8..0000000 --- a/compound/src/main/res/drawable/ic_polls.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_polls_end.xml b/compound/src/main/res/drawable/ic_polls_end.xml deleted file mode 100644 index 4b8470e..0000000 --- a/compound/src/main/res/drawable/ic_polls_end.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - diff --git a/compound/src/main/res/drawable/ic_pop_out.xml b/compound/src/main/res/drawable/ic_pop_out.xml deleted file mode 100644 index e66fee2..0000000 --- a/compound/src/main/res/drawable/ic_pop_out.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - diff --git a/compound/src/main/res/drawable/ic_public.xml b/compound/src/main/res/drawable/ic_public.xml deleted file mode 100644 index 8b3b8d4..0000000 --- a/compound/src/main/res/drawable/ic_public.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_room_admin.xml b/compound/src/main/res/drawable/ic_room_admin.xml deleted file mode 100644 index cfbdd6e..0000000 --- a/compound/src/main/res/drawable/ic_room_admin.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - diff --git a/compound/src/main/res/drawable/ic_search.xml b/compound/src/main/res/drawable/ic_search.xml deleted file mode 100644 index 02c63ca..0000000 --- a/compound/src/main/res/drawable/ic_search.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_send.xml b/compound/src/main/res/drawable/ic_send.xml deleted file mode 100644 index 77958c9..0000000 --- a/compound/src/main/res/drawable/ic_send.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_settings.xml b/compound/src/main/res/drawable/ic_settings.xml deleted file mode 100644 index 587403f..0000000 --- a/compound/src/main/res/drawable/ic_settings.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - diff --git a/compound/src/main/res/drawable/ic_settings_solid.xml b/compound/src/main/res/drawable/ic_settings_solid.xml deleted file mode 100644 index 739edd4..0000000 --- a/compound/src/main/res/drawable/ic_settings_solid.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_share.xml b/compound/src/main/res/drawable/ic_share.xml deleted file mode 100644 index bd0b736..0000000 --- a/compound/src/main/res/drawable/ic_share.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_share_android.xml b/compound/src/main/res/drawable/ic_share_android.xml deleted file mode 100644 index 10ce570..0000000 --- a/compound/src/main/res/drawable/ic_share_android.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_share_screen_outline.xml b/compound/src/main/res/drawable/ic_share_screen_outline.xml deleted file mode 100644 index afced4a..0000000 --- a/compound/src/main/res/drawable/ic_share_screen_outline.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - diff --git a/compound/src/main/res/drawable/ic_share_screen_solid.xml b/compound/src/main/res/drawable/ic_share_screen_solid.xml deleted file mode 100644 index 37762eb..0000000 --- a/compound/src/main/res/drawable/ic_share_screen_solid.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - diff --git a/compound/src/main/res/drawable/ic_spotlight_view.xml b/compound/src/main/res/drawable/ic_spotlight_view.xml deleted file mode 100644 index ca58f25..0000000 --- a/compound/src/main/res/drawable/ic_spotlight_view.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - diff --git a/compound/src/main/res/drawable/ic_switch_camera_solid.xml b/compound/src/main/res/drawable/ic_switch_camera_solid.xml deleted file mode 100644 index f735965..0000000 --- a/compound/src/main/res/drawable/ic_switch_camera_solid.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - diff --git a/compound/src/main/res/drawable/ic_thread.xml b/compound/src/main/res/drawable/ic_thread.xml deleted file mode 100644 index d3293fa..0000000 --- a/compound/src/main/res/drawable/ic_thread.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - diff --git a/compound/src/main/res/drawable/ic_threads.xml b/compound/src/main/res/drawable/ic_threads.xml deleted file mode 100644 index ff43ac8..0000000 --- a/compound/src/main/res/drawable/ic_threads.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - diff --git a/compound/src/main/res/drawable/ic_threads_solid.xml b/compound/src/main/res/drawable/ic_threads_solid.xml deleted file mode 100644 index a1955a9..0000000 --- a/compound/src/main/res/drawable/ic_threads_solid.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_unknown.xml b/compound/src/main/res/drawable/ic_unknown.xml deleted file mode 100644 index 3f91073..0000000 --- a/compound/src/main/res/drawable/ic_unknown.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - diff --git a/compound/src/main/res/drawable/ic_unknown_solid.xml b/compound/src/main/res/drawable/ic_unknown_solid.xml deleted file mode 100644 index aa7179b..0000000 --- a/compound/src/main/res/drawable/ic_unknown_solid.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - diff --git a/compound/src/main/res/drawable/ic_user.xml b/compound/src/main/res/drawable/ic_user.xml deleted file mode 100644 index 5f61985..0000000 --- a/compound/src/main/res/drawable/ic_user.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_user_add.xml b/compound/src/main/res/drawable/ic_user_add.xml deleted file mode 100644 index 0287387..0000000 --- a/compound/src/main/res/drawable/ic_user_add.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_user_add_solid.xml b/compound/src/main/res/drawable/ic_user_add_solid.xml deleted file mode 100644 index 56d0569..0000000 --- a/compound/src/main/res/drawable/ic_user_add_solid.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_user_profile.xml b/compound/src/main/res/drawable/ic_user_profile.xml deleted file mode 100644 index 6487c31..0000000 --- a/compound/src/main/res/drawable/ic_user_profile.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - diff --git a/compound/src/main/res/drawable/ic_user_profile_solid.xml b/compound/src/main/res/drawable/ic_user_profile_solid.xml deleted file mode 100644 index e8ae292..0000000 --- a/compound/src/main/res/drawable/ic_user_profile_solid.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - diff --git a/compound/src/main/res/drawable/ic_verified.xml b/compound/src/main/res/drawable/ic_verified.xml deleted file mode 100644 index ec52ad5..0000000 --- a/compound/src/main/res/drawable/ic_verified.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_video_call.xml b/compound/src/main/res/drawable/ic_video_call.xml deleted file mode 100644 index 3e8dea1..0000000 --- a/compound/src/main/res/drawable/ic_video_call.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_video_call_declined.xml b/compound/src/main/res/drawable/ic_video_call_declined.xml deleted file mode 100644 index c23869e..0000000 --- a/compound/src/main/res/drawable/ic_video_call_declined.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_video_call_declined_solid.xml b/compound/src/main/res/drawable/ic_video_call_declined_solid.xml deleted file mode 100644 index c23869e..0000000 --- a/compound/src/main/res/drawable/ic_video_call_declined_solid.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_video_call_missed.xml b/compound/src/main/res/drawable/ic_video_call_missed.xml deleted file mode 100644 index 4c8bda6..0000000 --- a/compound/src/main/res/drawable/ic_video_call_missed.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_video_call_missed_solid.xml b/compound/src/main/res/drawable/ic_video_call_missed_solid.xml deleted file mode 100644 index 4c8bda6..0000000 --- a/compound/src/main/res/drawable/ic_video_call_missed_solid.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_video_call_off.xml b/compound/src/main/res/drawable/ic_video_call_off.xml deleted file mode 100644 index 486b4af..0000000 --- a/compound/src/main/res/drawable/ic_video_call_off.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_video_call_off_solid.xml b/compound/src/main/res/drawable/ic_video_call_off_solid.xml deleted file mode 100644 index 11eeffd..0000000 --- a/compound/src/main/res/drawable/ic_video_call_off_solid.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - diff --git a/compound/src/main/res/drawable/ic_visibility_invisible.xml b/compound/src/main/res/drawable/ic_visibility_invisible.xml deleted file mode 100644 index 3f20783..0000000 --- a/compound/src/main/res/drawable/ic_visibility_invisible.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_visibility_off.xml b/compound/src/main/res/drawable/ic_visibility_off.xml deleted file mode 100644 index b5b18aa..0000000 --- a/compound/src/main/res/drawable/ic_visibility_off.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_visibility_on.xml b/compound/src/main/res/drawable/ic_visibility_on.xml deleted file mode 100644 index 515fa3d..0000000 --- a/compound/src/main/res/drawable/ic_visibility_on.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_voice_call.xml b/compound/src/main/res/drawable/ic_voice_call.xml deleted file mode 100644 index 64b448c..0000000 --- a/compound/src/main/res/drawable/ic_voice_call.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/main/res/drawable/ic_volume_off.xml b/compound/src/main/res/drawable/ic_volume_off.xml deleted file mode 100644 index 79550b4..0000000 --- a/compound/src/main/res/drawable/ic_volume_off.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - diff --git a/compound/src/main/res/drawable/ic_volume_off_solid.xml b/compound/src/main/res/drawable/ic_volume_off_solid.xml deleted file mode 100644 index 70d8cc6..0000000 --- a/compound/src/main/res/drawable/ic_volume_off_solid.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - diff --git a/compound/src/main/res/drawable/ic_volume_on.xml b/compound/src/main/res/drawable/ic_volume_on.xml deleted file mode 100644 index c4d7364..0000000 --- a/compound/src/main/res/drawable/ic_volume_on.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - diff --git a/compound/src/main/res/drawable/ic_volume_on_solid.xml b/compound/src/main/res/drawable/ic_volume_on_solid.xml deleted file mode 100644 index 1fe2367..0000000 --- a/compound/src/main/res/drawable/ic_volume_on_solid.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - diff --git a/compound/src/main/res/drawable/ic_warning.xml b/compound/src/main/res/drawable/ic_warning.xml deleted file mode 100644 index 845c6b2..0000000 --- a/compound/src/main/res/drawable/ic_warning.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - diff --git a/compound/src/main/res/drawable/ic_web_browser.xml b/compound/src/main/res/drawable/ic_web_browser.xml deleted file mode 100644 index 6eaa225..0000000 --- a/compound/src/main/res/drawable/ic_web_browser.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/compound/src/test/kotlin/io/element/android/compound/screenshot/AvatarColorsTests.kt b/compound/src/test/kotlin/io/element/android/compound/screenshot/AvatarColorsTests.kt new file mode 100644 index 0000000..94d3a3a --- /dev/null +++ b/compound/src/test/kotlin/io/element/android/compound/screenshot/AvatarColorsTests.kt @@ -0,0 +1,26 @@ +package io.element.android.compound.screenshot + +import androidx.test.ext.junit.runners.AndroidJUnit4 +import com.github.takahirom.roborazzi.captureRoboImage +import io.element.android.compound.screenshot.utils.screenshotFile +import io.element.android.compound.theme.AvatarColorsDarkPreview +import io.element.android.compound.theme.AvatarColorsLightPreview +import org.junit.Test +import org.junit.runner.RunWith +import org.robolectric.annotation.Config +import org.robolectric.annotation.GraphicsMode + +@RunWith(AndroidJUnit4::class) +@GraphicsMode(GraphicsMode.Mode.NATIVE) +class AvatarColorsTests { + @Test + @Config(sdk = [34], qualifiers = "xxhdpi") + fun screenshots() { + captureRoboImage(file = screenshotFile("Avatar Colors - Light.png")) { + AvatarColorsLightPreview() + } + captureRoboImage(file = screenshotFile("Avatar Colors - Dark.png")) { + AvatarColorsDarkPreview() + } + } +} \ No newline at end of file diff --git a/compound/src/test/kotlin/io/element/android/compound/screenshot/CompoundIconTests.kt b/compound/src/test/kotlin/io/element/android/compound/screenshot/CompoundIconTests.kt new file mode 100644 index 0000000..74bf65f --- /dev/null +++ b/compound/src/test/kotlin/io/element/android/compound/screenshot/CompoundIconTests.kt @@ -0,0 +1,54 @@ +package io.element.android.compound.screenshot + +import androidx.compose.foundation.layout.ColumnScope +import androidx.compose.material3.Icon +import androidx.compose.runtime.Composable +import androidx.test.ext.junit.runners.AndroidJUnit4 +import com.github.takahirom.roborazzi.captureRoboImage +import io.element.android.compound.previews.IconsCompoundPreviewDark +import io.element.android.compound.previews.IconsCompoundPreviewLight +import io.element.android.compound.previews.IconsPreview +import io.element.android.compound.screenshot.utils.screenshotFile +import io.element.android.compound.theme.ElementTheme +import io.element.android.compound.tokens.generated.CompoundIcons +import org.junit.Test +import org.junit.runner.RunWith +import org.robolectric.annotation.Config +import org.robolectric.annotation.GraphicsMode + +@RunWith(AndroidJUnit4::class) +@GraphicsMode(GraphicsMode.Mode.NATIVE) +class CompoundIconTests { + @Test + @Config(sdk = [34], qualifiers = "w1024dp-h2048dp") + fun screenshots() { + captureRoboImage(file = screenshotFile("Compound Icons - Light.png")) { + IconsCompoundPreviewLight() + } + captureRoboImage(file = screenshotFile("Compound Icons - Dark.png")) { + IconsCompoundPreviewDark() + } + captureRoboImage(file = screenshotFile("Compound Vector Icons - Light.png")) { + val content: List<@Composable ColumnScope.() -> Unit> = CompoundIcons.all.map { + @Composable { Icon(imageVector = it, contentDescription = null) } + } + ElementTheme { + IconsPreview( + title = "Compound Vector Icons", + content = content + ) + } + } + captureRoboImage(file = screenshotFile("Compound Vector Icons - Dark.png")) { + val content: List<@Composable ColumnScope.() -> Unit> = CompoundIcons.all.map { + @Composable { Icon(imageVector = it, contentDescription = null) } + } + ElementTheme(darkTheme = true) { + IconsPreview( + title = "Compound Vector Icons", + content = content + ) + } + } + } +} \ No newline at end of file diff --git a/compound/src/test/kotlin/io/element/android/compound/screenshot/CompoundTypographyTests.kt b/compound/src/test/kotlin/io/element/android/compound/screenshot/CompoundTypographyTests.kt new file mode 100644 index 0000000..8e5a525 --- /dev/null +++ b/compound/src/test/kotlin/io/element/android/compound/screenshot/CompoundTypographyTests.kt @@ -0,0 +1,58 @@ +package io.element.android.compound.screenshot + +import androidx.compose.foundation.layout.Arrangement +import androidx.compose.foundation.layout.Column +import androidx.compose.material3.Surface +import androidx.compose.material3.Text +import androidx.compose.runtime.Composable +import androidx.compose.ui.text.TextStyle +import androidx.compose.ui.unit.dp +import androidx.test.ext.junit.runners.AndroidJUnit4 +import com.github.takahirom.roborazzi.captureRoboImage +import io.element.android.compound.screenshot.utils.screenshotFile +import io.element.android.compound.theme.ElementTheme +import io.element.android.compound.tokens.generated.TypographyTokens +import org.junit.Test +import org.junit.runner.RunWith +import org.robolectric.annotation.Config +import org.robolectric.annotation.GraphicsMode + +@RunWith(AndroidJUnit4::class) +@GraphicsMode(GraphicsMode.Mode.NATIVE) +class CompoundTypographyTests { + @Test + @Config(sdk = [34], qualifiers = "h2048dp-xxhdpi") + fun screenshots() { + captureRoboImage(file = screenshotFile("Compound Typography.png")) { + ElementTheme { + Surface { + Column(verticalArrangement = Arrangement.spacedBy(8.dp)) { + with(TypographyTokens) { + TypographyTokenPreview(fontHeadingXlBold, "Heading XL Bold") + TypographyTokenPreview(fontHeadingXlRegular, "Heading XL Regular") + TypographyTokenPreview(fontHeadingLgBold, "Heading LG Bold") + TypographyTokenPreview(fontHeadingLgRegular, "Heading LG Regular") + TypographyTokenPreview(fontHeadingMdBold, "Heading MD Bold") + TypographyTokenPreview(fontHeadingMdRegular, "Heading MD Regular") + TypographyTokenPreview(fontHeadingSmMedium, "Heading SM Medium") + TypographyTokenPreview(fontHeadingSmRegular, "Heading SM Regular") + TypographyTokenPreview(fontBodyLgMedium, "Body LG Medium") + TypographyTokenPreview(fontBodyLgRegular, "Body LG Regular") + TypographyTokenPreview(fontBodyMdMedium, "Body MD Medium") + TypographyTokenPreview(fontBodyMdRegular, "Body MD Regular") + TypographyTokenPreview(fontBodySmMedium, "Body SM Medium") + TypographyTokenPreview(fontBodySmRegular, "Body SM Regular") + TypographyTokenPreview(fontBodyXsMedium, "Body XS Medium") + TypographyTokenPreview(fontBodyXsRegular, "Body XS Regular") + } + } + } + } + } + } + + @Composable + private fun TypographyTokenPreview(style: TextStyle, text: String) { + Text(text = text, style = style) + } +} diff --git a/compound/src/test/kotlin/io/element/android/compound/screenshot/ForcedDarkElementThemeTests.kt b/compound/src/test/kotlin/io/element/android/compound/screenshot/ForcedDarkElementThemeTests.kt new file mode 100644 index 0000000..c99cd3e --- /dev/null +++ b/compound/src/test/kotlin/io/element/android/compound/screenshot/ForcedDarkElementThemeTests.kt @@ -0,0 +1,50 @@ +package io.element.android.compound.screenshot + +import androidx.compose.foundation.layout.Arrangement +import androidx.compose.foundation.layout.Box +import androidx.compose.foundation.layout.Column +import androidx.compose.foundation.layout.fillMaxSize +import androidx.compose.foundation.layout.padding +import androidx.compose.material3.Surface +import androidx.compose.material3.Text +import androidx.compose.ui.Alignment +import androidx.compose.ui.Modifier +import androidx.compose.ui.unit.dp +import androidx.test.ext.junit.runners.AndroidJUnit4 +import com.github.takahirom.roborazzi.captureRoboImage +import io.element.android.compound.screenshot.utils.screenshotFile +import io.element.android.compound.theme.ElementTheme +import io.element.android.compound.theme.ForcedDarkElementTheme +import org.junit.Test +import org.junit.runner.RunWith +import org.robolectric.annotation.Config +import org.robolectric.annotation.GraphicsMode + +@RunWith(AndroidJUnit4::class) +@GraphicsMode(GraphicsMode.Mode.NATIVE) +class ForcedDarkElementThemeTests { + @Test + @Config(sdk = [34], qualifiers = "xxhdpi") + fun screenshots() { + captureRoboImage(file = screenshotFile("ForcedDarkElementTheme.png")) { + ElementTheme { + Surface { + Column( + modifier = Modifier.padding(16.dp), + horizontalAlignment = Alignment.CenterHorizontally, + verticalArrangement = Arrangement.spacedBy(10.dp) + ) { + Text(text = "Outside") + ForcedDarkElementTheme { + Surface { + Box(modifier = Modifier.fillMaxSize()) { + Text(text = "Inside ForcedDarkElementTheme", modifier = Modifier.align(Alignment.Center)) + } + } + } + } + } + } + } + } +} diff --git a/compound/src/test/kotlin/io/element/android/compound/screenshot/LegacyColorsTests.kt b/compound/src/test/kotlin/io/element/android/compound/screenshot/LegacyColorsTests.kt new file mode 100644 index 0000000..7e6dd68 --- /dev/null +++ b/compound/src/test/kotlin/io/element/android/compound/screenshot/LegacyColorsTests.kt @@ -0,0 +1,65 @@ +package io.element.android.compound.screenshot + +import androidx.compose.foundation.layout.Column +import androidx.compose.foundation.layout.Spacer +import androidx.compose.foundation.layout.height +import androidx.compose.foundation.layout.padding +import androidx.compose.material3.Surface +import androidx.compose.material3.Text +import androidx.compose.runtime.Composable +import androidx.compose.ui.Modifier +import androidx.compose.ui.graphics.Color +import androidx.compose.ui.unit.dp +import androidx.test.ext.junit.runners.AndroidJUnit4 +import com.github.takahirom.roborazzi.captureRoboImage +import io.element.android.compound.previews.ColorPreview +import io.element.android.compound.screenshot.utils.screenshotFile +import io.element.android.compound.theme.ElementTheme +import io.element.android.compound.theme.LinkColor +import io.element.android.compound.theme.SnackBarLabelColorDark +import io.element.android.compound.theme.SnackBarLabelColorLight +import org.junit.Test +import org.junit.runner.RunWith +import org.robolectric.annotation.Config +import org.robolectric.annotation.GraphicsMode + +@RunWith(AndroidJUnit4::class) +@GraphicsMode(GraphicsMode.Mode.NATIVE) +class LegacyColorsTests { + @Test + @Config(sdk = [34], qualifiers = "xxhdpi") + fun screenshots() { + captureRoboImage(file = screenshotFile("Legacy Colors.png")) { + ElementTheme { + Surface { + Column(modifier = Modifier.padding(16.dp)) { + Text(text = "Legacy Colors") + Spacer(modifier = Modifier.height(10.dp)) + LegacyColorPreview( + color = LinkColor, + name = "Link" + ) + LegacyColorPreview( + color = SnackBarLabelColorLight, + name = "SnackBar Label - Light" + ) + LegacyColorPreview( + color = SnackBarLabelColorDark, + name = "SnackBar Label - Dark" + ) + } + } + } + } + } + + @Composable + private fun LegacyColorPreview(color: Color, name: String) { + ColorPreview( + backgroundColor = Color.White, + foregroundColor = Color.Black, + name = name, + color = color + ) + } +} \ No newline at end of file diff --git a/compound/src/test/kotlin/io/element/android/compound/screenshot/MaterialColorSchemeTests.kt b/compound/src/test/kotlin/io/element/android/compound/screenshot/MaterialColorSchemeTests.kt new file mode 100644 index 0000000..90b0c27 --- /dev/null +++ b/compound/src/test/kotlin/io/element/android/compound/screenshot/MaterialColorSchemeTests.kt @@ -0,0 +1,59 @@ +package io.element.android.compound.screenshot + +import androidx.compose.foundation.layout.Column +import androidx.compose.foundation.layout.Spacer +import androidx.compose.foundation.layout.height +import androidx.compose.foundation.layout.padding +import androidx.compose.material3.Surface +import androidx.compose.material3.Text +import androidx.compose.ui.Modifier +import androidx.compose.ui.text.TextStyle +import androidx.compose.ui.unit.dp +import androidx.compose.ui.unit.sp +import androidx.test.ext.junit.runners.AndroidJUnit4 +import com.github.takahirom.roborazzi.captureRoboImage +import io.element.android.compound.screenshot.utils.screenshotFile +import io.element.android.compound.theme.ColorsSchemeDarkPreview +import io.element.android.compound.theme.ColorsSchemeLightPreview +import io.element.android.compound.theme.ElementTheme +import org.junit.Test +import org.junit.runner.RunWith +import org.robolectric.annotation.Config +import org.robolectric.annotation.GraphicsMode + +@RunWith(AndroidJUnit4::class) +@GraphicsMode(GraphicsMode.Mode.NATIVE) +class MaterialColorSchemeTests { + @Test + @Config(sdk = [34], qualifiers = "h2048dp-xhdpi") + fun screenshots() { + captureRoboImage(file = screenshotFile("Material3 Colors - Light.png")) { + ElementTheme { + Surface { + Column(modifier = Modifier.padding(16.dp)) { + Text( + text = "M3 Light colors", + style = TextStyle.Default.copy(fontSize = 18.sp), + ) + Spacer(modifier = Modifier.height(12.dp)) + ColorsSchemeLightPreview() + } + } + } + } + captureRoboImage(file = screenshotFile("Material3 Colors - Dark.png")) { + ElementTheme { + Surface { + Column(modifier = Modifier.padding(16.dp)) { + Text( + text = "M3 Dark colors", + style = TextStyle.Default.copy(fontSize = 18.sp), + ) + Spacer(modifier = Modifier.height(12.dp)) + ColorsSchemeDarkPreview() + } + } + } + } + } +} diff --git a/compound/src/test/kotlin/io/element/android/compound/screenshot/MaterialTypographyTests.kt b/compound/src/test/kotlin/io/element/android/compound/screenshot/MaterialTypographyTests.kt new file mode 100644 index 0000000..11dce33 --- /dev/null +++ b/compound/src/test/kotlin/io/element/android/compound/screenshot/MaterialTypographyTests.kt @@ -0,0 +1,56 @@ +package io.element.android.compound.screenshot + +import androidx.compose.foundation.layout.Arrangement +import androidx.compose.foundation.layout.Column +import androidx.compose.material3.Surface +import androidx.compose.material3.Text +import androidx.compose.runtime.Composable +import androidx.compose.ui.text.TextStyle +import androidx.compose.ui.unit.dp +import androidx.test.ext.junit.runners.AndroidJUnit4 +import com.github.takahirom.roborazzi.captureRoboImage +import io.element.android.compound.screenshot.utils.screenshotFile +import io.element.android.compound.theme.ElementTheme +import org.junit.Test +import org.junit.runner.RunWith +import org.robolectric.annotation.Config +import org.robolectric.annotation.GraphicsMode + +@RunWith(AndroidJUnit4::class) +@GraphicsMode(GraphicsMode.Mode.NATIVE) +class MaterialTypographyTests { + @Test + @Config(sdk = [34], qualifiers = "h2048dp-xxhdpi") + fun screenshots() { + captureRoboImage(file = screenshotFile("Material Typography.png")) { + ElementTheme { + Surface { + Column(verticalArrangement = Arrangement.spacedBy(8.dp)) { + with(ElementTheme.materialTypography) { + TypographyTokenPreview(displayLarge, "Display large") + TypographyTokenPreview(displayMedium, "Display medium") + TypographyTokenPreview(displaySmall, "Display small") + TypographyTokenPreview(headlineLarge, "Headline large") + TypographyTokenPreview(headlineMedium, "Headline medium") + TypographyTokenPreview(headlineSmall, "Headline small") + TypographyTokenPreview(titleLarge, "Title large") + TypographyTokenPreview(titleMedium, "Title medium") + TypographyTokenPreview(titleSmall, "Title small") + TypographyTokenPreview(bodyLarge, "Body large") + TypographyTokenPreview(bodyMedium, "Body medium") + TypographyTokenPreview(bodySmall, "Body small") + TypographyTokenPreview(labelLarge, "Label large") + TypographyTokenPreview(labelMedium, "Label medium") + TypographyTokenPreview(labelSmall, "Label small") + } + } + } + } + } + } + + @Composable + private fun TypographyTokenPreview(style: TextStyle, text: String) { + Text(text = text, style = style) + } +} diff --git a/compound/src/test/kotlin/io/element/android/compound/screenshot/MaterialYouThemeTests.kt b/compound/src/test/kotlin/io/element/android/compound/screenshot/MaterialYouThemeTests.kt new file mode 100644 index 0000000..c00ff2c --- /dev/null +++ b/compound/src/test/kotlin/io/element/android/compound/screenshot/MaterialYouThemeTests.kt @@ -0,0 +1,61 @@ +package io.element.android.compound.screenshot + +import androidx.compose.foundation.layout.Arrangement +import androidx.compose.foundation.layout.Column +import androidx.compose.foundation.layout.Spacer +import androidx.compose.foundation.layout.height +import androidx.compose.foundation.layout.padding +import androidx.compose.material3.Surface +import androidx.compose.material3.Text +import androidx.compose.ui.Alignment +import androidx.compose.ui.Modifier +import androidx.compose.ui.graphics.Color +import androidx.compose.ui.unit.dp +import androidx.test.ext.junit.runners.AndroidJUnit4 +import com.github.takahirom.roborazzi.captureRoboImage +import io.element.android.compound.previews.ColorsSchemePreview +import io.element.android.compound.screenshot.utils.screenshotFile +import io.element.android.compound.theme.ElementTheme +import org.junit.Test +import org.junit.runner.RunWith +import org.robolectric.annotation.Config +import org.robolectric.annotation.GraphicsMode + +@RunWith(AndroidJUnit4::class) +@GraphicsMode(GraphicsMode.Mode.NATIVE) +class MaterialYouThemeTests { + @Test + @Config(sdk = [34], qualifiers = "h2048dp-xhdpi") + fun screenshots() { + captureRoboImage(file = screenshotFile("MaterialYou Theme - Light.png")) { + ElementTheme(dynamicColor = true) { + Surface { + Column( + modifier = Modifier.padding(16.dp), + horizontalAlignment = Alignment.CenterHorizontally, + verticalArrangement = Arrangement.spacedBy(10.dp) + ) { + Text(text = "Material You Theme - Light") + Spacer(modifier = Modifier.height(12.dp)) + ColorsSchemePreview(Color.White, Color.Black, ElementTheme.materialColors) + } + } + } + } + captureRoboImage(file = screenshotFile("MaterialYou Theme - Dark.png")) { + ElementTheme(dynamicColor = true, darkTheme = true) { + Surface { + Column( + modifier = Modifier.padding(16.dp), + horizontalAlignment = Alignment.CenterHorizontally, + verticalArrangement = Arrangement.spacedBy(10.dp) + ) { + Text(text = "Material You Theme - Dark") + Spacer(modifier = Modifier.height(12.dp)) + ColorsSchemePreview(Color.White, Color.Black, ElementTheme.materialColors) + } + } + } + } + } +} diff --git a/compound/src/test/kotlin/io/element/android/compound/screenshot/SemanticColorsTests.kt b/compound/src/test/kotlin/io/element/android/compound/screenshot/SemanticColorsTests.kt new file mode 100644 index 0000000..61c189e --- /dev/null +++ b/compound/src/test/kotlin/io/element/android/compound/screenshot/SemanticColorsTests.kt @@ -0,0 +1,125 @@ +package io.element.android.compound.screenshot + +import androidx.compose.foundation.layout.Arrangement +import androidx.compose.foundation.layout.Column +import androidx.compose.foundation.layout.padding +import androidx.compose.material3.Surface +import androidx.compose.material3.Text +import androidx.compose.runtime.Composable +import androidx.compose.ui.Modifier +import androidx.compose.ui.graphics.Color +import androidx.compose.ui.unit.dp +import androidx.test.ext.junit.runners.AndroidJUnit4 +import com.github.takahirom.roborazzi.captureRoboImage +import io.element.android.compound.previews.ColorListPreview +import io.element.android.compound.screenshot.utils.screenshotFile +import io.element.android.compound.theme.ElementTheme +import kotlinx.collections.immutable.toImmutableMap +import org.junit.Test +import org.junit.runner.RunWith +import org.robolectric.annotation.Config +import org.robolectric.annotation.GraphicsMode + +@RunWith(AndroidJUnit4::class) +@GraphicsMode(GraphicsMode.Mode.NATIVE) +class SemanticColorsTests { + @Config(sdk = [34], qualifiers = "h2048dp-xhdpi") + @Test + fun screenshots() { + captureRoboImage(file = screenshotFile("Compound Semantic Colors - Light.png")) { + ElementTheme { + Surface { + Column( + modifier = Modifier.padding(16.dp), + verticalArrangement = Arrangement.spacedBy(10.dp) + ) { + Text("Compound Semantic Colors - Light") + ColorListPreview( + backgroundColor = Color.White, + foregroundColor = Color.Black, + colors = getSemanticColors().toMap().toImmutableMap() + ) + } + } + } + } + + captureRoboImage(file = screenshotFile("Compound Semantic Colors - Dark.png")) { + ElementTheme(darkTheme = true) { + Surface { + Column( + modifier = Modifier.padding(16.dp), + verticalArrangement = Arrangement.spacedBy(10.dp) + ) { + Text("Compound Semantic Colors - Dark") + ColorListPreview( + backgroundColor = Color.White, + foregroundColor = Color.Black, + colors = getSemanticColors().toMap().toImmutableMap() + ) + } + } + } + } + } + + @Composable + private fun getSemanticColors(): List> { + return with(ElementTheme.colors) { + listOf( + "bgActionPrimaryDisabled" to bgActionPrimaryDisabled, + "bgActionPrimaryHovered" to bgActionPrimaryHovered, + "bgActionPrimaryPressed" to bgActionPrimaryPressed, + "bgActionPrimaryRest" to bgActionPrimaryRest, + "bgActionSecondaryHovered" to bgActionSecondaryHovered, + "bgActionSecondaryPressed" to bgActionSecondaryPressed, + "bgActionSecondaryRest" to bgActionSecondaryRest, + "bgCanvasDefault" to bgCanvasDefault, + "bgCanvasDisabled" to bgCanvasDisabled, + "bgCriticalHovered" to bgCriticalHovered, + "bgCriticalPrimary" to bgCriticalPrimary, + "bgCriticalSubtle" to bgCriticalSubtle, + "bgCriticalSubtleHovered" to bgCriticalSubtleHovered, + "bgInfoSubtle" to bgInfoSubtle, + "bgSubtlePrimary" to bgSubtlePrimary, + "bgSubtleSecondary" to bgSubtleSecondary, + "bgSuccessSubtle" to bgSuccessSubtle, + "borderCriticalHovered" to borderCriticalHovered, + "borderCriticalPrimary" to borderCriticalPrimary, + "borderCriticalSubtle" to borderCriticalSubtle, + "borderDisabled" to borderDisabled, + "borderFocused" to borderFocused, + "borderInfoSubtle" to borderInfoSubtle, + "borderInteractiveHovered" to borderInteractiveHovered, + "borderInteractivePrimary" to borderInteractivePrimary, + "borderInteractiveSecondary" to borderInteractiveSecondary, + "borderSuccessSubtle" to borderSuccessSubtle, + "iconAccentTertiary" to iconAccentTertiary, + "iconCriticalPrimary" to iconCriticalPrimary, + "iconDisabled" to iconDisabled, + "iconInfoPrimary" to iconInfoPrimary, + "iconOnSolidPrimary" to iconOnSolidPrimary, + "iconPrimary" to iconPrimary, + "iconPrimaryAlpha" to iconPrimaryAlpha, + "iconQuaternary" to iconQuaternary, + "iconQuaternaryAlpha" to iconQuaternaryAlpha, + "iconSecondary" to iconSecondary, + "iconSecondaryAlpha" to iconSecondaryAlpha, + "iconSuccessPrimary" to iconSuccessPrimary, + "iconTertiary" to iconTertiary, + "iconTertiaryAlpha" to iconTertiaryAlpha, + "textActionAccent" to textActionAccent, + "textActionPrimary" to textActionPrimary, + "textCriticalPrimary" to textCriticalPrimary, + "textDisabled" to textDisabled, + "textInfoPrimary" to textInfoPrimary, + "textLinkExternal" to textLinkExternal, + "textOnSolidPrimary" to textOnSolidPrimary, + "textPlaceholder" to textPlaceholder, + "textPrimary" to textPrimary, + "textSecondary" to textSecondary, + "textSuccessPrimary" to textSuccessPrimary, + ) + } + } +} diff --git a/compound/src/test/kotlin/io/element/android/compound/screenshot/utils/ScreenshotUtils.kt b/compound/src/test/kotlin/io/element/android/compound/screenshot/utils/ScreenshotUtils.kt new file mode 100644 index 0000000..13df6e2 --- /dev/null +++ b/compound/src/test/kotlin/io/element/android/compound/screenshot/utils/ScreenshotUtils.kt @@ -0,0 +1,11 @@ +package io.element.android.compound.screenshot.utils + +import java.io.File + +/** + * Returns a [File] object for a screenshot with the given [filename]. + * This is to ensure we have a consistent location for all screenshots. + */ +fun screenshotFile(filename: String): File { + return File("screenshots", filename) +} \ No newline at end of file diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 1ceae05..bcf38fe 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,27 +1,35 @@ [versions] # Project -android_gradle_plugin = "8.1.4" -kotlin = "1.9.20" -ksp = "1.9.20-1.0.14" +android_gradle_plugin = "8.2.2" +kotlin = "1.9.22" +ksp = "1.9.22-1.0.17" + +# AndroidX +activity = "1.8.2" # Compose -compose_bom = "2023.10.01" -composecompiler = "1.5.4" +compose_bom = "2024.02.00" +composecompiler = "1.5.9" # Accompanist -accompanist = "0.32.0" +accompanist = "0.34.0" # Others showkase = "1.0.2" -ui-tooling-preview-android = "1.5.4" +ui-tooling-preview-android = "1.6.1" +kover = "0.7.5" +roborazzi = "1.9.0" [libraries] # Project kotlin_gradle_plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" } +kover_gradle_plugin = { module = "org.jetbrains.kotlinx:kover-gradle-plugin", version.ref = "kover" } # AndroidX androidx_compose_bom = { module = "androidx.compose:compose-bom", version.ref = "compose_bom" } -androidx_compose_material3 = "androidx.compose.material3:material3:1.2.0-alpha11" +androidx_compose_material3 = "androidx.compose.material3:material3:1.2.0" +androidx_activity_activity = { module = "androidx.activity:activity", version.ref = "activity" } +androidx_compose_ui_test_junit = { module = "androidx.compose.ui:ui-test-junit4-android" } # Kotlin kotlinx_collections = "org.jetbrains.kotlinx:kotlinx-collections-immutable:0.3.6" @@ -29,6 +37,14 @@ kotlinx_collections = "org.jetbrains.kotlinx:kotlinx-collections-immutable:0.3.6 # Accompanist accompanist_systemui = { module = "com.google.accompanist:accompanist-systemuicontroller", version.ref = "accompanist" } +# Test +test_junit = "junit:junit:4.13.2" +test_robolectric = "org.robolectric:robolectric:4.11.1" +test_roborazzi = { module = "io.github.takahirom.roborazzi:roborazzi", version.ref = "roborazzi" } +test_roborazzi_compose = { module = "io.github.takahirom.roborazzi:roborazzi-compose", version.ref = "roborazzi" } +test_roborazzi_junit = { module = "io.github.takahirom.roborazzi:roborazzi-junit-rule", version.ref = "roborazzi" } +test_espresso_core = "androidx.test.espresso:espresso-core:3.5.1" + # Others showkase = { module = "com.airbnb.android:showkase", version.ref = "showkase" } showkase_processor = { module = "com.airbnb.android:showkase-processor", version.ref = "showkase" } @@ -41,3 +57,5 @@ android_library = { id = "com.android.library", version.ref = "android_gradle_pl kotlin_android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" } ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" } maven_publish = { id = "com.vanniktech.maven.publish", version = "0.25.3" } +kover = { id = "org.jetbrains.kotlinx.kover", version.ref = "kover" } +roborazzi = { id = "io.github.takahirom.roborazzi", version.ref = "roborazzi" } diff --git a/scripts/validate_lfs.sh b/scripts/validate_lfs.sh new file mode 100755 index 0000000..ce12105 --- /dev/null +++ b/scripts/validate_lfs.sh @@ -0,0 +1,29 @@ +#! /bin/bash + +# +# Copyright (c) 2022 New Vector Ltd +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Based on https://cashapp.github.io/paparazzi/#git-lfs + +# Compare the output of `git ls-files ':(attr:filter=lfs)'` against `git lfs ls-files` +# If there's no diff we assume the files have been committed using git lfs +diff <(git ls-files ':(attr:filter=lfs)' | sort) <(git lfs ls-files -n | sort) >/dev/null + +ret=$? +if [[ $ret -ne 0 ]]; then + echo >&2 "Detected files committed without using Git LFS." + echo >&2 "Install git lfs (eg brew install git-lfs) and run 'git lfs install --local' within the root repository directory and re-commit your files." + exit 1 +fi