Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import com.varabyte.kobweb.compose.ui.modifiers.display
import com.varabyte.kobweb.compose.ui.modifiers.fontWeight
import com.varabyte.kobweb.compose.ui.toAttrs
import com.varabyte.kobweb.silk.style.toModifier
import energy.lux.frontend.components.widgets.LangText
import com.zenmo.web.zenmo.theme.font.HeaderTextStyle
import com.zenmo.web.zenmo.theme.font.TextStyle
import energy.lux.frontend.components.widgets.LangText
import org.jetbrains.compose.web.css.CSSColorValue
import org.jetbrains.compose.web.css.Color
import org.jetbrains.compose.web.css.DisplayStyle
Expand All @@ -21,8 +21,8 @@ fun HeaderText(
modifier: Modifier = Modifier,
textColor: CSSColorValue = Color.currentColor,
fontWeight: FontWeight = FontWeight.Normal,
enText: String,
nlText: String,
enText: String = nlText,
) {
H1(
TextStyle.toModifier(HeaderTextStyle)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import com.varabyte.kobweb.compose.ui.modifiers.display
import com.varabyte.kobweb.compose.ui.modifiers.fontWeight
import com.varabyte.kobweb.compose.ui.toAttrs
import com.varabyte.kobweb.silk.style.toModifier
import energy.lux.frontend.components.widgets.LangText
import com.zenmo.web.zenmo.theme.font.TextStyle
import com.zenmo.web.zenmo.theme.font.TitleTextStyle
import energy.lux.frontend.components.widgets.LangText
import org.jetbrains.compose.web.css.CSSColorValue
import org.jetbrains.compose.web.css.Color
import org.jetbrains.compose.web.css.DisplayStyle
Expand All @@ -21,8 +21,8 @@ fun SubHeaderText(
modifier: Modifier = Modifier,
textColor: CSSColorValue = Color.currentColor,
fontWeight: FontWeight = FontWeight.Normal,
enText: String,
nlText: String,
enText: String = nlText,
) {
H3(
TextStyle.toModifier(TitleTextStyle)
Expand Down
Loading