refactoring
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
package ru.fincode.tsudesk.core.ui.theme
|
package ru.fincode.tsudesk.core.ui.theme
|
||||||
|
|
||||||
import androidx.compose.runtime.Composable
|
|
||||||
import androidx.compose.runtime.staticCompositionLocalOf
|
import androidx.compose.runtime.staticCompositionLocalOf
|
||||||
import androidx.compose.ui.graphics.Color
|
import androidx.compose.ui.graphics.Color
|
||||||
|
|
||||||
@@ -16,9 +15,4 @@ val LocalExtendedColors = staticCompositionLocalOf {
|
|||||||
onBrand = Color.Unspecified,
|
onBrand = Color.Unspecified,
|
||||||
brandSoft = Color.Unspecified,
|
brandSoft = Color.Unspecified,
|
||||||
)
|
)
|
||||||
}
|
|
||||||
|
|
||||||
object TSUDeskThemeExt {
|
|
||||||
val colors: ExtendedColors
|
|
||||||
@Composable get() = LocalExtendedColors.current
|
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
package ru.fincode.tsudesk.core.ui.theme
|
||||||
|
|
||||||
|
import androidx.compose.runtime.Composable
|
||||||
|
|
||||||
|
|
||||||
|
object TSUDeskThemeExt {
|
||||||
|
val colors: ExtendedColors
|
||||||
|
@Composable get() = LocalExtendedColors.current
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user