refactoring
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
package ru.fincode.tsudesk.core.ui.theme
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.runtime.staticCompositionLocalOf
|
||||
import androidx.compose.ui.graphics.Color
|
||||
|
||||
@@ -17,8 +16,3 @@ val LocalExtendedColors = staticCompositionLocalOf {
|
||||
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