simplestacknavigation/src/shared/styles.rs

44 lines
1.2 KiB
Rust
Raw Permalink Normal View History

2023-12-12 12:44:16 +00:00
use makepad_widgets::*;
live_design! {
TITLE_TEXT = {
font_size: (14),
2023-12-12 17:45:11 +00:00
font: {path: dep("crate://makepad-widgets/resources/GoNotoKurrent-Regular.ttf")}
2023-12-12 12:44:16 +00:00
}
REGULAR_TEXT = {
font_size: (12),
font: {path: dep("crate://makepad-widgets/resources/GoNotoKurrent-Regular.ttf")}
}
TEXT_SUB = {
font_size: (FONT_SIZE_SUB),
font: {path: dep("crate://makepad-widgets/resources/GoNotoKurrent-Regular.ttf")}
}
H3_TEXT_REGULAR = {
font_size: 9.0,
font: {path: dep("crate://makepad-widgets/resources/IBMPlexSans-Text.ttf")}
}
LOGO_MAKEPAD = dep("crate://self/resources/makepad.png")
2023-12-12 17:45:11 +00:00
// LOGO_MAKEPAD = dep("crate://self/resources/makepad.svg")
2023-12-12 12:44:16 +00:00
CARD_CORNER_RADIUS = 20.
CARD_HEIGHT = 550
COLOR_PROFILE_CIRCLE = #xfff8ee
COLOR_DIVIDER = #x00000018
COLOR_DIVIDER_DARK = #x00000044
2023-12-12 17:45:11 +00:00
// COLOR_BG = #xfff8ee
// COLOR_BRAND = #xf88
// COLOR_BRAND_HOVER = #xf66
// COLOR_META_TEXT = #xaaa
// COLOR_META = #xccc
// COLOR_META_INV = #xfffa
// COLOR_OVERLAY_BG = #x000000d8
// COLOR_DIVIDER = #x00000018
// COLOR_DIVIDER_DARK = #x00000044
// COLOR_PROFILE_CIRCLE = #xfff8ee
// COLOR_P = #x999
2023-12-12 12:44:16 +00:00
}