refactoring

This commit is contained in:
2026-02-27 18:23:36 +03:00
parent bc07ea421b
commit 075dac1fc7
2 changed files with 9 additions and 6 deletions

View File

@@ -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
@@ -17,8 +16,3 @@ val LocalExtendedColors = staticCompositionLocalOf {
brandSoft = Color.Unspecified, brandSoft = Color.Unspecified,
) )
} }
object TSUDeskThemeExt {
val colors: ExtendedColors
@Composable get() = LocalExtendedColors.current
}

View File

@@ -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
}