refactoring to id.databisnis.bachot

This commit is contained in:
2026-02-20 14:01:46 +07:00
parent e5bfd1c4b0
commit 8d43893962
3932 changed files with 23073 additions and 23073 deletions
+2 -2
View File
@@ -9,12 +9,12 @@ import extension.testCommonDependencies
*/
plugins {
id("io.element.android-compose-library")
id("id.databisnis.android.bachot-compose-library")
alias(libs.plugins.roborazzi)
}
android {
namespace = "io.element.android.compound"
namespace = "id.databisnis.android.bachot.compound"
testOptions {
unitTests.isIncludeAndroidResources = true
@@ -6,7 +6,7 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.annotations
package id.databisnis.android.bachot.compound.annotations
@RequiresOptIn(
message = "This is a Core color token, which should only be used to declare semantic colors, otherwise it" +
@@ -6,11 +6,11 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.colors
package id.databisnis.android.bachot.compound.colors
import io.element.android.compound.tokens.generated.SemanticColors
import io.element.android.compound.tokens.generated.compoundColorsDark
import io.element.android.compound.tokens.generated.compoundColorsLight
import id.databisnis.android.bachot.compound.tokens.generated.SemanticColors
import id.databisnis.android.bachot.compound.tokens.generated.compoundColorsDark
import id.databisnis.android.bachot.compound.tokens.generated.compoundColorsLight
data class SemanticColorsLightDark(
val light: SemanticColors,
@@ -6,7 +6,7 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.previews
package id.databisnis.android.bachot.compound.previews
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
@@ -6,7 +6,7 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.previews
package id.databisnis.android.bachot.compound.previews
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
@@ -22,7 +22,7 @@ import androidx.compose.ui.graphics.Brush
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
import io.element.android.compound.utils.toHrf
import id.databisnis.android.bachot.compound.utils.toHrf
@Composable
fun ColorPreview(
@@ -6,7 +6,7 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.previews
package id.databisnis.android.bachot.compound.previews
import androidx.compose.material3.ColorScheme
import androidx.compose.runtime.Composable
@@ -6,7 +6,7 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.previews
package id.databisnis.android.bachot.compound.previews
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
@@ -37,8 +37,8 @@ import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.LayoutDirection
import androidx.compose.ui.unit.dp
import io.element.android.compound.theme.ElementTheme
import io.element.android.compound.tokens.generated.CompoundIcons
import id.databisnis.android.bachot.compound.theme.ElementTheme
import id.databisnis.android.bachot.compound.tokens.generated.CompoundIcons
import kotlinx.collections.immutable.ImmutableList
import kotlinx.collections.immutable.toImmutableList
@@ -6,7 +6,7 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.previews
package id.databisnis.android.bachot.compound.previews
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
@@ -18,8 +18,8 @@ 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.theme.ElementTheme
import io.element.android.compound.tokens.generated.compoundColorsHcDark
import id.databisnis.android.bachot.compound.theme.ElementTheme
import id.databisnis.android.bachot.compound.tokens.generated.compoundColorsHcDark
import kotlinx.collections.immutable.ImmutableMap
import kotlinx.collections.immutable.persistentMapOf
@@ -6,7 +6,7 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.previews
package id.databisnis.android.bachot.compound.previews
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
@@ -16,7 +16,7 @@ import androidx.compose.runtime.Composable
import androidx.compose.ui.text.TextStyle
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import io.element.android.compound.theme.ElementTheme
import id.databisnis.android.bachot.compound.theme.ElementTheme
@Preview
@Composable
@@ -6,7 +6,7 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.showkase
package id.databisnis.android.bachot.compound.showkase
import com.airbnb.android.showkase.annotation.ShowkaseRoot
import com.airbnb.android.showkase.annotation.ShowkaseRootModule
@@ -6,7 +6,7 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.theme
package id.databisnis.android.bachot.compound.theme
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
@@ -6,7 +6,7 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.theme
package id.databisnis.android.bachot.compound.theme
import android.os.Build
import androidx.activity.ComponentActivity
@@ -28,11 +28,11 @@ import androidx.compose.runtime.staticCompositionLocalOf
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.toArgb
import androidx.compose.ui.platform.LocalContext
import io.element.android.compound.tokens.compoundTypography
import io.element.android.compound.tokens.generated.SemanticColors
import io.element.android.compound.tokens.generated.TypographyTokens
import io.element.android.compound.tokens.generated.compoundColorsDark
import io.element.android.compound.tokens.generated.compoundColorsLight
import id.databisnis.android.bachot.compound.tokens.compoundTypography
import id.databisnis.android.bachot.compound.tokens.generated.SemanticColors
import id.databisnis.android.bachot.compound.tokens.generated.TypographyTokens
import id.databisnis.android.bachot.compound.tokens.generated.compoundColorsDark
import id.databisnis.android.bachot.compound.tokens.generated.compoundColorsLight
/**
* Inspired from https://medium.com/@lucasyujideveloper/54cbcbde1ace
@@ -6,7 +6,7 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.theme
package id.databisnis.android.bachot.compound.theme
import androidx.activity.ComponentActivity
import androidx.activity.SystemBarStyle
@@ -17,7 +17,7 @@ import androidx.compose.runtime.Composable
import androidx.compose.runtime.DisposableEffect
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.toArgb
import io.element.android.compound.colors.SemanticColorsLightDark
import id.databisnis.android.bachot.compound.colors.SemanticColorsLightDark
/**
* Can be used to force a composable in dark theme.
@@ -6,12 +6,12 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.theme
package id.databisnis.android.bachot.compound.theme
import androidx.compose.ui.graphics.Color
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
import id.databisnis.android.bachot.compound.annotations.CoreColorToken
import id.databisnis.android.bachot.compound.tokens.generated.internal.DarkColorTokens
import id.databisnis.android.bachot.compound.tokens.generated.internal.LightColorTokens
// =================================================================================================
// IMPORTANT!
@@ -6,13 +6,13 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.theme
package id.databisnis.android.bachot.compound.theme
import androidx.compose.material3.ColorScheme
import androidx.compose.material3.darkColorScheme
import io.element.android.compound.annotations.CoreColorToken
import io.element.android.compound.tokens.generated.SemanticColors
import io.element.android.compound.tokens.generated.internal.DarkColorTokens
import id.databisnis.android.bachot.compound.annotations.CoreColorToken
import id.databisnis.android.bachot.compound.tokens.generated.SemanticColors
import id.databisnis.android.bachot.compound.tokens.generated.internal.DarkColorTokens
/**
* See the mapping in
@@ -6,13 +6,13 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.theme
package id.databisnis.android.bachot.compound.theme
import androidx.compose.material3.ColorScheme
import androidx.compose.material3.lightColorScheme
import io.element.android.compound.annotations.CoreColorToken
import io.element.android.compound.tokens.generated.SemanticColors
import io.element.android.compound.tokens.generated.internal.LightColorTokens
import id.databisnis.android.bachot.compound.annotations.CoreColorToken
import id.databisnis.android.bachot.compound.tokens.generated.SemanticColors
import id.databisnis.android.bachot.compound.tokens.generated.internal.LightColorTokens
/**
* See the mapping in
@@ -6,7 +6,7 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.theme
package id.databisnis.android.bachot.compound.theme
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
@@ -27,7 +27,7 @@ import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
import io.element.android.compound.utils.toHrf
import id.databisnis.android.bachot.compound.utils.toHrf
@Preview(heightDp = 1200, widthDp = 420)
@Composable
@@ -6,16 +6,16 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.theme
package id.databisnis.android.bachot.compound.theme
import androidx.compose.material3.ColorScheme
import androidx.compose.runtime.Composable
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.tooling.preview.Preview
import io.element.android.compound.previews.ColorsSchemePreview
import io.element.android.compound.tokens.generated.SemanticColors
import io.element.android.compound.tokens.generated.compoundColorsHcDark
import io.element.android.compound.tokens.generated.compoundColorsHcLight
import id.databisnis.android.bachot.compound.previews.ColorsSchemePreview
import id.databisnis.android.bachot.compound.tokens.generated.SemanticColors
import id.databisnis.android.bachot.compound.tokens.generated.compoundColorsHcDark
import id.databisnis.android.bachot.compound.tokens.generated.compoundColorsHcLight
fun SemanticColors.toMaterialColorScheme(): ColorScheme {
return if (isLight) {
@@ -6,7 +6,7 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.theme
package id.databisnis.android.bachot.compound.theme
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.runtime.Composable
@@ -6,7 +6,7 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.tokens
package id.databisnis.android.bachot.compound.tokens
import androidx.compose.material3.Typography
import androidx.compose.ui.text.PlatformTextStyle
@@ -17,7 +17,7 @@ import androidx.compose.ui.text.style.LineHeightStyle
import androidx.compose.ui.unit.em
import androidx.compose.ui.unit.sp
import com.airbnb.android.showkase.annotation.ShowkaseTypography
import io.element.android.compound.tokens.generated.TypographyTokens
import id.databisnis.android.bachot.compound.tokens.generated.TypographyTokens
// 32px (Material) vs 34px, it's the closest one
@ShowkaseTypography(name = "M3 Headline Large", group = "Compound")
@@ -17,9 +17,9 @@
@file:Suppress("all")
package io.element.android.compound.tokens.generated
package id.databisnis.android.bachot.compound.tokens.generated
import io.element.android.compound.R
import id.databisnis.android.bachot.compound.R
import androidx.compose.runtime.Composable
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.res.vectorResource
@@ -8,7 +8,7 @@
@file:Suppress("all")
package io.element.android.compound.tokens.generated
package id.databisnis.android.bachot.compound.tokens.generated
import androidx.compose.runtime.Immutable
import androidx.compose.ui.graphics.Color
@@ -16,10 +16,10 @@
@file:Suppress("all")
package io.element.android.compound.tokens.generated
package id.databisnis.android.bachot.compound.tokens.generated
import io.element.android.compound.annotations.CoreColorToken
import io.element.android.compound.tokens.generated.internal.DarkColorTokens
import id.databisnis.android.bachot.compound.annotations.CoreColorToken
import id.databisnis.android.bachot.compound.tokens.generated.internal.DarkColorTokens
/**
* Semantic colors for the dark Compound theme.
@@ -16,10 +16,10 @@
@file:Suppress("all")
package io.element.android.compound.tokens.generated
package id.databisnis.android.bachot.compound.tokens.generated
import io.element.android.compound.annotations.CoreColorToken
import io.element.android.compound.tokens.generated.internal.DarkHcColorTokens
import id.databisnis.android.bachot.compound.annotations.CoreColorToken
import id.databisnis.android.bachot.compound.tokens.generated.internal.DarkHcColorTokens
/**
* Semantic colors for the high contrast dark Compound theme.
@@ -16,10 +16,10 @@
@file:Suppress("all")
package io.element.android.compound.tokens.generated
package id.databisnis.android.bachot.compound.tokens.generated
import io.element.android.compound.annotations.CoreColorToken
import io.element.android.compound.tokens.generated.internal.LightColorTokens
import id.databisnis.android.bachot.compound.annotations.CoreColorToken
import id.databisnis.android.bachot.compound.tokens.generated.internal.LightColorTokens
/**
* Semantic colors for the light Compound theme.
@@ -16,10 +16,10 @@
@file:Suppress("all")
package io.element.android.compound.tokens.generated
package id.databisnis.android.bachot.compound.tokens.generated
import io.element.android.compound.annotations.CoreColorToken
import io.element.android.compound.tokens.generated.internal.LightHcColorTokens
import id.databisnis.android.bachot.compound.annotations.CoreColorToken
import id.databisnis.android.bachot.compound.tokens.generated.internal.LightHcColorTokens
/**
* Semantic colors for the high contrast light Compound theme.
@@ -17,7 +17,7 @@
@file:Suppress("all")
package io.element.android.compound.tokens.generated
package id.databisnis.android.bachot.compound.tokens.generated
import androidx.compose.ui.text.font.FontFamily
import androidx.compose.ui.text.font.FontWeight
@@ -16,10 +16,10 @@
@file:Suppress("all")
package io.element.android.compound.tokens.generated.internal
package id.databisnis.android.bachot.compound.tokens.generated.internal
import androidx.compose.ui.graphics.Color
import io.element.android.compound.annotations.CoreColorToken
import id.databisnis.android.bachot.compound.annotations.CoreColorToken
@CoreColorToken
object DarkColorTokens {
@@ -16,10 +16,10 @@
@file:Suppress("all")
package io.element.android.compound.tokens.generated.internal
package id.databisnis.android.bachot.compound.tokens.generated.internal
import androidx.compose.ui.graphics.Color
import io.element.android.compound.annotations.CoreColorToken
import id.databisnis.android.bachot.compound.annotations.CoreColorToken
@CoreColorToken
object DarkHcColorTokens {
@@ -16,10 +16,10 @@
@file:Suppress("all")
package io.element.android.compound.tokens.generated.internal
package id.databisnis.android.bachot.compound.tokens.generated.internal
import androidx.compose.ui.graphics.Color
import io.element.android.compound.annotations.CoreColorToken
import id.databisnis.android.bachot.compound.annotations.CoreColorToken
@CoreColorToken
object LightColorTokens {
@@ -16,10 +16,10 @@
@file:Suppress("all")
package io.element.android.compound.tokens.generated.internal
package id.databisnis.android.bachot.compound.tokens.generated.internal
import androidx.compose.ui.graphics.Color
import io.element.android.compound.annotations.CoreColorToken
import id.databisnis.android.bachot.compound.annotations.CoreColorToken
@CoreColorToken
object LightHcColorTokens {
@@ -6,7 +6,7 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.utils
package id.databisnis.android.bachot.compound.utils
import androidx.compose.ui.graphics.Color
@@ -6,13 +6,13 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.screenshot
package id.databisnis.android.bachot.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.AvatarColorsPreviewDark
import io.element.android.compound.theme.AvatarColorsPreviewLight
import id.databisnis.android.bachot.compound.screenshot.utils.screenshotFile
import id.databisnis.android.bachot.compound.theme.AvatarColorsPreviewDark
import id.databisnis.android.bachot.compound.theme.AvatarColorsPreviewLight
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.annotation.Config
@@ -6,20 +6,20 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.screenshot
package id.databisnis.android.bachot.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.IconsCompoundPreviewRtl
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 id.databisnis.android.bachot.compound.previews.IconsCompoundPreviewDark
import id.databisnis.android.bachot.compound.previews.IconsCompoundPreviewLight
import id.databisnis.android.bachot.compound.previews.IconsCompoundPreviewRtl
import id.databisnis.android.bachot.compound.previews.IconsPreview
import id.databisnis.android.bachot.compound.screenshot.utils.screenshotFile
import id.databisnis.android.bachot.compound.theme.ElementTheme
import id.databisnis.android.bachot.compound.tokens.generated.CompoundIcons
import kotlinx.collections.immutable.toImmutableList
import org.junit.Test
import org.junit.runner.RunWith
@@ -6,7 +6,7 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.screenshot
package id.databisnis.android.bachot.compound.screenshot
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
@@ -17,9 +17,9 @@ 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 id.databisnis.android.bachot.compound.screenshot.utils.screenshotFile
import id.databisnis.android.bachot.compound.theme.ElementTheme
import id.databisnis.android.bachot.compound.tokens.generated.TypographyTokens
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.annotation.Config
@@ -6,7 +6,7 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.screenshot
package id.databisnis.android.bachot.compound.screenshot
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
@@ -20,10 +20,10 @@ 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.colors.SemanticColorsLightDark
import io.element.android.compound.screenshot.utils.screenshotFile
import io.element.android.compound.theme.ElementTheme
import io.element.android.compound.theme.ForcedDarkElementTheme
import id.databisnis.android.bachot.compound.colors.SemanticColorsLightDark
import id.databisnis.android.bachot.compound.screenshot.utils.screenshotFile
import id.databisnis.android.bachot.compound.theme.ElementTheme
import id.databisnis.android.bachot.compound.theme.ForcedDarkElementTheme
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.annotation.Config
@@ -6,7 +6,7 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.screenshot
package id.databisnis.android.bachot.compound.screenshot
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
@@ -20,12 +20,12 @@ 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 id.databisnis.android.bachot.compound.previews.ColorPreview
import id.databisnis.android.bachot.compound.screenshot.utils.screenshotFile
import id.databisnis.android.bachot.compound.theme.ElementTheme
import id.databisnis.android.bachot.compound.theme.LinkColor
import id.databisnis.android.bachot.compound.theme.SnackBarLabelColorDark
import id.databisnis.android.bachot.compound.theme.SnackBarLabelColorLight
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.annotation.Config
@@ -6,7 +6,7 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.screenshot
package id.databisnis.android.bachot.compound.screenshot
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
@@ -20,12 +20,12 @@ 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.ColorsSchemeDarkHcPreview
import io.element.android.compound.theme.ColorsSchemeDarkPreview
import io.element.android.compound.theme.ColorsSchemeLightHcPreview
import io.element.android.compound.theme.ColorsSchemeLightPreview
import io.element.android.compound.theme.ElementTheme
import id.databisnis.android.bachot.compound.screenshot.utils.screenshotFile
import id.databisnis.android.bachot.compound.theme.ColorsSchemeDarkHcPreview
import id.databisnis.android.bachot.compound.theme.ColorsSchemeDarkPreview
import id.databisnis.android.bachot.compound.theme.ColorsSchemeLightHcPreview
import id.databisnis.android.bachot.compound.theme.ColorsSchemeLightPreview
import id.databisnis.android.bachot.compound.theme.ElementTheme
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.annotation.Config
@@ -6,12 +6,12 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.screenshot
package id.databisnis.android.bachot.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.MaterialTextPreview
import id.databisnis.android.bachot.compound.screenshot.utils.screenshotFile
import id.databisnis.android.bachot.compound.theme.MaterialTextPreview
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.annotation.Config
@@ -6,12 +6,12 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.screenshot
package id.databisnis.android.bachot.compound.screenshot
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.github.takahirom.roborazzi.captureRoboImage
import io.element.android.compound.previews.TypographyPreview
import io.element.android.compound.screenshot.utils.screenshotFile
import id.databisnis.android.bachot.compound.previews.TypographyPreview
import id.databisnis.android.bachot.compound.screenshot.utils.screenshotFile
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.annotation.Config
@@ -6,7 +6,7 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.screenshot
package id.databisnis.android.bachot.compound.screenshot
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
@@ -21,9 +21,9 @@ 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 id.databisnis.android.bachot.compound.previews.ColorsSchemePreview
import id.databisnis.android.bachot.compound.screenshot.utils.screenshotFile
import id.databisnis.android.bachot.compound.theme.ElementTheme
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.annotation.Config
@@ -6,15 +6,15 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.screenshot
package id.databisnis.android.bachot.compound.screenshot
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.github.takahirom.roborazzi.captureRoboImage
import io.element.android.compound.previews.CompoundSemanticColorsDark
import io.element.android.compound.previews.CompoundSemanticColorsDarkHc
import io.element.android.compound.previews.CompoundSemanticColorsLight
import io.element.android.compound.previews.CompoundSemanticColorsLightHc
import io.element.android.compound.screenshot.utils.screenshotFile
import id.databisnis.android.bachot.compound.previews.CompoundSemanticColorsDark
import id.databisnis.android.bachot.compound.previews.CompoundSemanticColorsDarkHc
import id.databisnis.android.bachot.compound.previews.CompoundSemanticColorsLight
import id.databisnis.android.bachot.compound.previews.CompoundSemanticColorsLightHc
import id.databisnis.android.bachot.compound.screenshot.utils.screenshotFile
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.annotation.Config
@@ -6,7 +6,7 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.screenshot.utils
package id.databisnis.android.bachot.compound.screenshot.utils
import java.io.File
@@ -6,7 +6,7 @@
* Please see LICENSE files in the repository root for full details.
*/
package io.element.android.compound.theme
package id.databisnis.android.bachot.compound.theme
import android.content.res.Configuration
import androidx.compose.runtime.CompositionLocalProvider