orbtk_theme

Constant DARK_THEME_RON

Source
pub const DARK_THEME_RON: &str = "Theme (\n    styles: {\n        \"base\": (\n            properties: {\n                \"font_size\": \"$FONT_SIZE_16\",\n                \"font_family\": \"$MEDIUM_FONT\",\n                \"icon_size\": \"$ICON_SIZE_16\",\n                \"icon_family\": \"$ICON_FONT\",\n            },\n        ),\n        \"window\": (\n             properties: {\n                \"background\": \"$BRIGHT_GRAY\",\n             },\n        ),\n        \"body\": (\n            properties: {\n                \"foreground\": \"$LINK_WATER\",\n                \"font_size\": \"$FONT_SIZE_16\",\n                \"font_family\": \"$MEDIUM_FONT\",\n            },\n        ),\n        \"header\": (\n            base: \"body\",\n            properties: {\n                \"font_size\": \"$FONT_SIZE_24\",\n            }\n        ),\n        \"button\": ( \n            base: \"base\",\n            properties: {\n                \"height\": 36,\n                \"foreground\": \"$LINK_WATER\",\n                \"icon_brush\": \"$LINK_WATER\",\n                \"background\": \"$LYNCH\",\n                \"border_radius\": 4,\n            }, \n            states: {\n                \"pressed\": {\n                    \"background\": \"$BLUE_BAYOUX\",\n                },\n                \"selected\": {\n                    \"background\": \"$BLUE_BAYOUX\",\n                },\n                \"disabled\": {\n                    \"background\": \"$ROLLING_STONE\",\n                    \"foreground\": \"$BRIGHT_GRAY\",\n                    \"icon_brush\": \"$BRIGHT_GRAY\",\n                },\n            },\n        ),\n        \"button_primary\": (\n            base: \"button\",\n            properties: {\n                \"background\": \"$GOLDEN_DREAM\",\n                \"foreground\": \"$BRIGHT_GRAY\",\n                \"icon_brush\": \"$BRIGHT_GRAY\",\n            },\n        ),\n        \"button_small\": (\n            properties: {\n                \"border_radius\": 0,\n                \"icon_brush\": \"$LINK_WATER\",\n                \"font_size\": \"$ICON_SIZE_12\",\n                \"background\": \"transparent\",\n                \"height\": 14,\n                \"spacing\": 0,\n                \"padding\": 0,\n            },\n            states: {\n                \"pressed\": {\n                    \"background\": \"$BLUE_BAYOUX\",\n                },\n            },\n        ),\n        \"button_square\": ( \n            base: \"button\",\n            properties: {\n                \"border_radius\": 1,\n            }, \n        ),\n        \"button_single_content\": (\n            base: \"button\",\n            properties: {\n                \"spacing\": 0,\n            },\n        ),\n         \"button_icon_only\": (\n            base: \"button\",\n            properties: {\n                \"icon_size\": \"$ICON_SIZE_12\",\n                \"icon_brush\": \"$LINK_WATER\",\n                \"background\": \"transparent\",\n                \"spacing\": 0,\n                \"min_width\": 24,\n                \"height\": 24\n            },\n            states: {\n                 \"pressed\": {\n                    \"background\": \"$BLUE_BAYOUX\",\n                },\n                \"disabled\": {\n                    \"icon_brush\": \"$MANATEE\",\n                },\n            }\n        ),\n        \"check_box\": (\n            base: \"base\",\n            properties: {\n                \"foreground\": \"$LINK_WATER\",\n                \"icon_size\": \"$ICON_SIZE_18\",\n                \"background\": \"transparent\",\n                \"border_radius\": 2,\n                \"border_width\": 1,\n                \"border_brush\": \"$BOMBAY\",\n                \"icon_brush\": \"transparent\",\n            },\n            states: {\n                \"selected\": {\n                    \"background\": \"$GOLDEN_DREAM\",\n                    \"border_brush\": \"$GOLDEN_DREAM\",\n                    \"icon_brush\": \"$BRIGHT_GRAY\",\n                },\n            },\n        ),\n        \"grid\": (\n            base: \"base\",\n            properties: {\n                \"background\": \"transparent\",\n            },\n        ),\n        \"switch\": (\n            properties: {\n                \"width\": 36,\n                \"height\": 32,\n            },\n        ),\n        \"switch_track\": (\n            properties: {\n                \"height\": 14,\n                \"border_radius\": 7,\n                \"background\": \"$SLATE_GRAY\",\n            }\n        ),\n        \"switch_toggle\": (\n            properties: {\n                \"width\": 20,\n                \"height\": 20,\n                \"border_radius\": 10,\n                \"background\": \"$WHITE\",\n            },\n            states: {\n                \"selected\": {\n                    \"background\": \"$GOLDEN_DREAM\",\n                },\n            },\n        ),\n        \"container\": (\n            base: \"base\",\n            properties: {\n                \"padding\": 4,\n            },\n        ),\n        \"text_block_header\": (\n            base: \"base\",\n            properties: {\n                \"font_size\": \"$FONT_SIZE_24\",\n            },\n        ),\n        \"text_box\": (\n            base: \"base\",\n            properties: {\n                \"height\": 32,\n                \"foreground\": \"$PERIWINKLE_GRAY\",\n                \"background\": \"$BRIGHT_GRAY\",\n                \"border_brush\": \"$LYNCH\",\n                \"border_width\": 1,\n                \"border_radius\": 3,\n                \"padding\": 6,\n            },\n            states: {\n                \"focused\": {\n                    \"border_brush\": \"$GOLDEN_DREAM\",\n                },\n                \"empty\": {\n                    \"foreground\": \"$SILVER_CHALICE\",\n                },\n                \"empty_focused\": {\n                    \"foreground\": \"$SILVER_CHALICE\",\n                    \"border_brush\": \"$GOLDEN_DREAM\",\n                }\n            },\n        ),\n        \"numeric_box\": (\n            base: \"base\",\n            properties: {\n                \"height\": 32,\n                \"foreground\": \"$PERIWINKLE_GRAY\",\n                \"background\": \"$BRIGHT_GRAY\",\n                \"border_brush\": \"$LYNCH\",\n                \"border_width\": 1,\n                \"border_radius\": 3,\n                \"padding\": 6,\n            },\n            states: {\n                \"focused\": {\n                    \"border_brush\": \"$GOLDEN_DREAM\",\n                }\n            },\n        ),\n        \"cursor\": (\n            properties: {\n                \"opacity\": 1,\n                \"background\": \"transparent\",\n            },\n            states: {\n                \"focused\": {\n                    \"background\": \"$ENERGY_YELLOW\",\n                },\n                \"expanded\": {\n                    \"opacity\": 0.3,\n                    \"background\": \"$ENERGY_YELLOW\",\n                },\n            },\n        ),\n        \"slider\": (\n            properties: {\n                \"height\": 24,\n                \"border_radius\": 2,\n                \"background\": \"$MINE_SHAFT\",\n            }\n        ),\n        \"thumb\": (\n            properties: {\n                \"width\": 24,\n                \"height\": 24,\n                \"border_radius\": 12,\n                \"background\": \"$LYNCH\",\n            },\n            states: {\n                \"pressed\": {\n                    \"background\": \"$GOLDEN_DREAM\",\n                },\n            },\n        ),\n        \"items_widget\": (\n            properties: {\n                \"background\": \"transparent\",\n                \"border_brush\": \"$LYNCH\",\n                \"border_width\": 1,\n                \"border_radius\": 2,\n                \"padding\": 4,\n            }\n        ),\n        \"small_text\": (\n            base: \"body\",\n             properties: {\n                \"font_size\": \"$FONT_SIZE_12\",\n                \"foreground\": \"$PERIWINKLE_GRAY\",\n            },\n        ),\n        \"combo_box\": (\n            base: \"base\",\n            properties: {\n                \"foreground\": \"$LINK_WATER\",\n                \"icon_brush\": \"$LINK_WATER\",\n                \"background\": \"$BRIGHT_GRAY\",\n                \"border_brush\": \"$LYNCH\",\n                \"border_width\": 1,\n                \"border_radius\": 3,\n                \"padding\": 6,\n            },\n            states: {\n                \"selected\": {\n                    \"border_brush\": \"$ENERGY_YELLOW\",\n                },\n            },\n        ),\n        \"popup\": ( \n            properties: {\n                \"background\": \"$RIVER_BAD\",\n                \"border_brush\": \"$LYNCH\",\n                \"border_width\": 1,\n                \"border_radius\": 2,\n            },\n        ),\n        \"combo_box_item\": (\n            properties: {\n                \"font_size\": \"$FONT_SIZE_12\",\n                \"foreground\": \"$PERIWINKLE_GRAY\",\n                \"background\": \"transparent\",\n                \"padding_left\": 8,\n                \"padding_right\": 8,\n            },\n            states: {\n                \"selected\": {\n                    \"foreground\": \"$BRIGHT_GRAY\",\n                    \"background\": \"$SUNFLOWER\",\n                },\n                \"pressed\": {\n                    \"foreground\": \"$BRIGHT_GRAY\",\n                    \"background\": \"$SUNFLOWER\",\n                },\n            },\n        ),\n        \"scroll_bar\": (\n            properties: {\n                \"background\": \"$LYNCH\",\n                \"border_radius\": 2,\n            },\n        ),\n        \"list_view\": (\n            base: \"base\",\n            properties: {\n                \"foreground\": \"$LINK_WATER\",\n                \"background\": \"transparent\",\n                \"border_brush\": \"$LYNCH\",\n                \"border_width\": 1,\n                \"border_radius\": 3,\n            },\n        ),\n        \"list_view_item\": (\n            properties: {\n                \"font_size\": \"$FONT_SIZE_12\",\n                \"foreground\": \"#ccdeed\",\n                \"background\": \"transparent\",\n                \"padding_left\": 8,\n                \"padding_right\": 8,\n            },\n            states: {\n                \"selected\": {\n                    \"foreground\": \"$BRIGHT_GRAY\",\n                    \"background\": \"$SUNFLOWER\",\n                },\n                \"pressed\": {\n                    \"foreground\": \"$BRIGHT_GRAY\",\n                    \"background\": \"$SUNFLOWER\",\n                },\n            },\n        ),\n        \"progress_bar\": (\n             properties: {\n                \"background\": \"$MINE_SHAFT\",\n                \"border_color\": \"$SILVER\",\n                \"border_radius\": 4,\n                \"border_width\": 1,\n                \"height\": 16,\n                \"padding\": 2,\n             },\n        ),\n        \"progress_bar_indicator\": (\n            properties: {\n                \"background\": \"$GOLDEN_DREAM\",\n                \"border_radius\": 1,\n                \"height\": 12,\n                \"width\": 0,\n            }\n        ),\n        \"tab_widget\": (\n            properties: {\n                \"border_brush\": \"$BLUE_BAYOUX\",\n                \"border_width\": 1,\n                \"background\": \"transparent\",\n            },\n        ),\n        \"tab_header\": (\n            base: \"base\",\n            properties: {\n                \"height\": 32,\n                \"font_sze\": \"$FONT_SIZE_12\",\n                \"foreground\": \"$WHITE\",\n                \"background\": \"$FIORD\",\n                \"padding_left\": 8,\n                \"padding_right\": 8,\n                \"border_radius\": 0\n            },\n            states: {\n                \"selected\": {\n                    \"background\": \"$GORDUROY\"\n                }\n            }\n        ),\n        \"tab_header_bar\": (\n             properties: {\n                \"background\": \"$GOLD_TIPS\",\n                \"height\": 2\n            }\n        )\n    },\n)\n";
Expand description

The dark theme resource file.