use crate::core::{FontAsset, IconRef, Size, Style, VariantKey};
pub const PACK_ID: &str = "carbon";
pub(crate) const FONT_ASSET_CARBON_CARBON_FILLED: FontAsset = FontAsset {
family: "Carbon Filled",
bytes: include_bytes!(concat!(
env!("CARGO_MANIFEST_DIR"),
"/assets/fonts/carbon/carbon-filled.ttf"
)),
};
pub(crate) const FONT_ASSET_CARBON_CARBON_GLYPH: FontAsset = FontAsset {
family: "Carbon Glyph",
bytes: include_bytes!(concat!(
env!("CARGO_MANIFEST_DIR"),
"/assets/fonts/carbon/carbon-glyph.ttf"
)),
};
pub(crate) const FONT_ASSET_CARBON_CARBON_OUTLINE: FontAsset = FontAsset {
family: "Carbon Outline",
bytes: include_bytes!(concat!(
env!("CARGO_MANIFEST_DIR"),
"/assets/fonts/carbon/carbon-outline.ttf"
)),
};
pub(crate) const FONT_ASSET_CARBON_CARBON_REGULAR: FontAsset = FontAsset {
family: "Carbon Regular",
bytes: include_bytes!(concat!(
env!("CARGO_MANIFEST_DIR"),
"/assets/fonts/carbon/carbon-regular.ttf"
)),
};
pub const FONT_ASSETS: &[FontAsset] = &[
FONT_ASSET_CARBON_CARBON_FILLED,
FONT_ASSET_CARBON_CARBON_GLYPH,
FONT_ASSET_CARBON_CARBON_OUTLINE,
FONT_ASSET_CARBON_CARBON_REGULAR,
];
pub const VARIANT_ASSETS: &[(VariantKey, FontAsset)] = &[
(
VariantKey {
style: Style::Filled,
size: Size::Regular,
},
FONT_ASSET_CARBON_CARBON_FILLED,
),
(
VariantKey {
style: Style::Glyph,
size: Size::Regular,
},
FONT_ASSET_CARBON_CARBON_GLYPH,
),
(
VariantKey {
style: Style::Outline,
size: Size::Regular,
},
FONT_ASSET_CARBON_CARBON_OUTLINE,
),
(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
FONT_ASSET_CARBON_CARBON_REGULAR,
),
];
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
pub enum Icon {
Add,
AddOutline,
AddSolid,
Api,
Apis,
AppServices,
Applications,
Apps,
ArrowDown,
ArrowLeft,
ArrowRight,
ArrowUp,
Arrows,
Asleep,
Attachment,
Awake,
BackToTop,
BlockChain,
Calendar,
CaretDown,
CaretLeft,
CaretRight,
CaretUp,
CfApps,
Chat,
Checkmark,
CheckmarkOutline,
CheckmarkSolid,
ChevronDown,
ChevronLeft,
ChevronRight,
ChevronUp,
Close,
CloseOutline,
CloseSolid,
CloudFoundry,
Code,
Console,
Containers,
Copy,
Crash,
Dashboard,
Data,
Delete,
Devices,
Devops,
Document,
Dollars,
Download,
Draggable,
Edit,
Email,
Error,
ErrorOutline,
ErrorSolid,
Favorite,
FavoriteOutline,
FavoriteSolid,
Filter,
Finance,
Financial,
Folder,
FolderAdd,
Forum,
Functions,
Grid,
HeaderAvatar,
HeaderChevron,
HeaderClose,
HeaderContact,
HeaderDocs,
HeaderHamburger,
HeaderHelp,
HeaderNotification,
HeaderSearch,
HeaderTicket,
HeaderUser,
Help,
HelpOutline,
HelpSolid,
Hpa,
HpaStress,
Info,
InfoOutline,
InfoSolid,
Infrastructure,
Integration,
Iot,
Launch,
Light,
Link,
List,
Locked,
Maximize,
Menu,
Minimize,
Mobile,
Network,
NewTab,
NotificationOff,
NotificationOn,
OpenWhisk,
OverflowMenu,
Pa,
PaStress,
Pause,
PauseOutline,
PauseSolid,
Play,
PlayOutline,
PlaySolid,
Portfolio,
Power,
Predictive,
Purchase,
Restart,
Save,
Schematics,
Search,
Security,
Services,
Settings,
StarOutline,
StarSolid,
Start,
StartOutline,
Stop,
StopOutline,
StopSolid,
Storage,
Subtract,
SubtractOutline,
SubtractSolid,
Terminal,
Unlock,
Unlocked,
Upload,
User,
VisibilityOff,
VisibilityOn,
Warning,
WarningOutline,
WarningSolid,
Watson,
Whisk,
}
impl Icon {
pub fn name(self) -> &'static str {
match self {
Icon::Add => "add",
Icon::AddOutline => "add-outline",
Icon::AddSolid => "add-solid",
Icon::Api => "api",
Icon::Apis => "apis",
Icon::AppServices => "app-services",
Icon::Applications => "applications",
Icon::Apps => "apps",
Icon::ArrowDown => "arrow-down",
Icon::ArrowLeft => "arrow-left",
Icon::ArrowRight => "arrow-right",
Icon::ArrowUp => "arrow-up",
Icon::Arrows => "arrows",
Icon::Asleep => "asleep",
Icon::Attachment => "attachment",
Icon::Awake => "awake",
Icon::BackToTop => "back-to-top",
Icon::BlockChain => "block-chain",
Icon::Calendar => "calendar",
Icon::CaretDown => "caret-down",
Icon::CaretLeft => "caret-left",
Icon::CaretRight => "caret-right",
Icon::CaretUp => "caret-up",
Icon::CfApps => "cf-apps",
Icon::Chat => "chat",
Icon::Checkmark => "checkmark",
Icon::CheckmarkOutline => "checkmark-outline",
Icon::CheckmarkSolid => "checkmark-solid",
Icon::ChevronDown => "chevron-down",
Icon::ChevronLeft => "chevron-left",
Icon::ChevronRight => "chevron-right",
Icon::ChevronUp => "chevron-up",
Icon::Close => "close",
Icon::CloseOutline => "close-outline",
Icon::CloseSolid => "close-solid",
Icon::CloudFoundry => "cloud-foundry",
Icon::Code => "code",
Icon::Console => "console",
Icon::Containers => "containers",
Icon::Copy => "copy",
Icon::Crash => "crash",
Icon::Dashboard => "dashboard",
Icon::Data => "data",
Icon::Delete => "delete",
Icon::Devices => "devices",
Icon::Devops => "devops",
Icon::Document => "document",
Icon::Dollars => "dollars",
Icon::Download => "download",
Icon::Draggable => "draggable",
Icon::Edit => "edit",
Icon::Email => "email",
Icon::Error => "error",
Icon::ErrorOutline => "error-outline",
Icon::ErrorSolid => "error-solid",
Icon::Favorite => "favorite",
Icon::FavoriteOutline => "favorite-outline",
Icon::FavoriteSolid => "favorite-solid",
Icon::Filter => "filter",
Icon::Finance => "finance",
Icon::Financial => "financial",
Icon::Folder => "folder",
Icon::FolderAdd => "folder-add",
Icon::Forum => "forum",
Icon::Functions => "functions",
Icon::Grid => "grid",
Icon::HeaderAvatar => "header-avatar",
Icon::HeaderChevron => "header-chevron",
Icon::HeaderClose => "header-close",
Icon::HeaderContact => "header-contact",
Icon::HeaderDocs => "header-docs",
Icon::HeaderHamburger => "header-hamburger",
Icon::HeaderHelp => "header-help",
Icon::HeaderNotification => "header-notification",
Icon::HeaderSearch => "header-search",
Icon::HeaderTicket => "header-ticket",
Icon::HeaderUser => "header-user",
Icon::Help => "help",
Icon::HelpOutline => "help-outline",
Icon::HelpSolid => "help-solid",
Icon::Hpa => "hpa",
Icon::HpaStress => "hpa-stress",
Icon::Info => "info",
Icon::InfoOutline => "info-outline",
Icon::InfoSolid => "info-solid",
Icon::Infrastructure => "infrastructure",
Icon::Integration => "integration",
Icon::Iot => "iot",
Icon::Launch => "launch",
Icon::Light => "light",
Icon::Link => "link",
Icon::List => "list",
Icon::Locked => "locked",
Icon::Maximize => "maximize",
Icon::Menu => "menu",
Icon::Minimize => "minimize",
Icon::Mobile => "mobile",
Icon::Network => "network",
Icon::NewTab => "new-tab",
Icon::NotificationOff => "notification-off",
Icon::NotificationOn => "notification-on",
Icon::OpenWhisk => "open-whisk",
Icon::OverflowMenu => "overflow-menu",
Icon::Pa => "pa",
Icon::PaStress => "pa-stress",
Icon::Pause => "pause",
Icon::PauseOutline => "pause-outline",
Icon::PauseSolid => "pause-solid",
Icon::Play => "play",
Icon::PlayOutline => "play-outline",
Icon::PlaySolid => "play-solid",
Icon::Portfolio => "portfolio",
Icon::Power => "power",
Icon::Predictive => "predictive",
Icon::Purchase => "purchase",
Icon::Restart => "restart",
Icon::Save => "save",
Icon::Schematics => "schematics",
Icon::Search => "search",
Icon::Security => "security",
Icon::Services => "services",
Icon::Settings => "settings",
Icon::StarOutline => "star-outline",
Icon::StarSolid => "star-solid",
Icon::Start => "start",
Icon::StartOutline => "start-outline",
Icon::Stop => "stop",
Icon::StopOutline => "stop-outline",
Icon::StopSolid => "stop-solid",
Icon::Storage => "storage",
Icon::Subtract => "subtract",
Icon::SubtractOutline => "subtract-outline",
Icon::SubtractSolid => "subtract-solid",
Icon::Terminal => "terminal",
Icon::Unlock => "unlock",
Icon::Unlocked => "unlocked",
Icon::Upload => "upload",
Icon::User => "user",
Icon::VisibilityOff => "visibility-off",
Icon::VisibilityOn => "visibility-on",
Icon::Warning => "warning",
Icon::WarningOutline => "warning-outline",
Icon::WarningSolid => "warning-solid",
Icon::Watson => "watson",
Icon::Whisk => "whisk",
}
}
pub fn icon(self, style: Style, size: Size) -> IconRef {
let name = self.name();
let available = icon_available(name).unwrap_or(&[]);
if !available.contains(&(style, size)) {
panic!(
"Icon '{}' is not available in {:?}/{:?}. Available: {:?}",
name, style, size, available
);
}
let variant = variant_info(style, size).unwrap_or_else(|| {
panic!(
"Variant {:?}/{:?} is not available for pack {}",
style, size, PACK_ID
)
});
let codepoint = icon_codepoint(name, variant.key).unwrap_or_else(|| {
panic!("Icon '{}' is not available in {:?}/{:?}", name, style, size)
});
IconRef {
family: variant.family,
codepoint,
}
}
}
pub const ICON_NAMES: &[&str] = &[
"add",
"add-outline",
"add-solid",
"api",
"apis",
"app-services",
"applications",
"apps",
"arrow-down",
"arrow-left",
"arrow-right",
"arrow-up",
"arrows",
"asleep",
"attachment",
"awake",
"back-to-top",
"block-chain",
"calendar",
"caret-down",
"caret-left",
"caret-right",
"caret-up",
"cf-apps",
"chat",
"checkmark",
"checkmark-outline",
"checkmark-solid",
"chevron-down",
"chevron-left",
"chevron-right",
"chevron-up",
"close",
"close-outline",
"close-solid",
"cloud-foundry",
"code",
"console",
"containers",
"copy",
"crash",
"dashboard",
"data",
"delete",
"devices",
"devops",
"document",
"dollars",
"download",
"draggable",
"edit",
"email",
"error",
"error-outline",
"error-solid",
"favorite",
"favorite-outline",
"favorite-solid",
"filter",
"finance",
"financial",
"folder",
"folder-add",
"forum",
"functions",
"grid",
"header-avatar",
"header-chevron",
"header-close",
"header-contact",
"header-docs",
"header-hamburger",
"header-help",
"header-notification",
"header-search",
"header-ticket",
"header-user",
"help",
"help-outline",
"help-solid",
"hpa",
"hpa-stress",
"info",
"info-outline",
"info-solid",
"infrastructure",
"integration",
"iot",
"launch",
"light",
"link",
"list",
"locked",
"maximize",
"menu",
"minimize",
"mobile",
"network",
"new-tab",
"notification-off",
"notification-on",
"open-whisk",
"overflow-menu",
"pa",
"pa-stress",
"pause",
"pause-outline",
"pause-solid",
"play",
"play-outline",
"play-solid",
"portfolio",
"power",
"predictive",
"purchase",
"restart",
"save",
"schematics",
"search",
"security",
"services",
"settings",
"star-outline",
"star-solid",
"start",
"start-outline",
"stop",
"stop-outline",
"stop-solid",
"storage",
"subtract",
"subtract-outline",
"subtract-solid",
"terminal",
"unlock",
"unlocked",
"upload",
"user",
"visibility-off",
"visibility-on",
"warning",
"warning-outline",
"warning-solid",
"watson",
"whisk",
];
#[derive(Clone, Copy, Debug)]
pub(crate) struct VariantInfo {
pub key: VariantKey,
pub family: &'static str,
}
pub(crate) const VARIANTS: &[VariantInfo] = &[
VariantInfo {
key: VariantKey {
style: Style::Filled,
size: Size::Regular,
},
family: "Carbon Filled",
},
VariantInfo {
key: VariantKey {
style: Style::Glyph,
size: Size::Regular,
},
family: "Carbon Glyph",
},
VariantInfo {
key: VariantKey {
style: Style::Outline,
size: Size::Regular,
},
family: "Carbon Outline",
},
VariantInfo {
key: VariantKey {
style: Style::Regular,
size: Size::Regular,
},
family: "Carbon Regular",
},
];
const ICON_ADD_CODEPOINTS: &[(VariantKey, u32)] = &[
(
VariantKey {
style: Style::Glyph,
size: Size::Regular,
},
57344,
),
(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57344,
),
];
const ICON_ADD_OUTLINE_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Outline,
size: Size::Regular,
},
57344,
)];
const ICON_ADD_SOLID_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Filled,
size: Size::Regular,
},
57344,
)];
const ICON_API_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57345,
)];
const ICON_APIS_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57346,
)];
const ICON_APP_SERVICES_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57347,
)];
const ICON_APPLICATIONS_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57348,
)];
const ICON_APPS_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57349,
)];
const ICON_ARROW_DOWN_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57350,
)];
const ICON_ARROW_LEFT_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57351,
)];
const ICON_ARROW_RIGHT_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57352,
)];
const ICON_ARROW_UP_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57353,
)];
const ICON_ARROWS_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57354,
)];
const ICON_ASLEEP_CODEPOINTS: &[(VariantKey, u32)] = &[
(
VariantKey {
style: Style::Glyph,
size: Size::Regular,
},
57345,
),
(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57355,
),
];
const ICON_ATTACHMENT_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57356,
)];
const ICON_AWAKE_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57357,
)];
const ICON_BACK_TO_TOP_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57358,
)];
const ICON_BLOCK_CHAIN_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57359,
)];
const ICON_CALENDAR_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57360,
)];
const ICON_CARET_DOWN_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57361,
)];
const ICON_CARET_LEFT_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57362,
)];
const ICON_CARET_RIGHT_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57363,
)];
const ICON_CARET_UP_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57364,
)];
const ICON_CF_APPS_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57365,
)];
const ICON_CHAT_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57366,
)];
const ICON_CHECKMARK_CODEPOINTS: &[(VariantKey, u32)] = &[
(
VariantKey {
style: Style::Glyph,
size: Size::Regular,
},
57346,
),
(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57367,
),
];
const ICON_CHECKMARK_OUTLINE_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Outline,
size: Size::Regular,
},
57345,
)];
const ICON_CHECKMARK_SOLID_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Filled,
size: Size::Regular,
},
57345,
)];
const ICON_CHEVRON_DOWN_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57368,
)];
const ICON_CHEVRON_LEFT_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57369,
)];
const ICON_CHEVRON_RIGHT_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57370,
)];
const ICON_CHEVRON_UP_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57371,
)];
const ICON_CLOSE_CODEPOINTS: &[(VariantKey, u32)] = &[
(
VariantKey {
style: Style::Glyph,
size: Size::Regular,
},
57347,
),
(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57372,
),
];
const ICON_CLOSE_OUTLINE_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Outline,
size: Size::Regular,
},
57346,
)];
const ICON_CLOSE_SOLID_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Filled,
size: Size::Regular,
},
57346,
)];
const ICON_CLOUD_FOUNDRY_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57373,
)];
const ICON_CODE_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57374,
)];
const ICON_CONSOLE_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57375,
)];
const ICON_CONTAINERS_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57376,
)];
const ICON_COPY_CODEPOINTS: &[(VariantKey, u32)] = &[
(
VariantKey {
style: Style::Glyph,
size: Size::Regular,
},
57348,
),
(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57377,
),
];
const ICON_CRASH_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57378,
)];
const ICON_DASHBOARD_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57379,
)];
const ICON_DATA_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57380,
)];
const ICON_DELETE_CODEPOINTS: &[(VariantKey, u32)] = &[
(
VariantKey {
style: Style::Glyph,
size: Size::Regular,
},
57349,
),
(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57381,
),
];
const ICON_DEVICES_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57382,
)];
const ICON_DEVOPS_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57383,
)];
const ICON_DOCUMENT_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57384,
)];
const ICON_DOLLARS_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57385,
)];
const ICON_DOWNLOAD_CODEPOINTS: &[(VariantKey, u32)] = &[
(
VariantKey {
style: Style::Glyph,
size: Size::Regular,
},
57350,
),
(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57386,
),
];
const ICON_DRAGGABLE_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57387,
)];
const ICON_EDIT_CODEPOINTS: &[(VariantKey, u32)] = &[
(
VariantKey {
style: Style::Glyph,
size: Size::Regular,
},
57351,
),
(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57388,
),
];
const ICON_EMAIL_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57389,
)];
const ICON_ERROR_CODEPOINTS: &[(VariantKey, u32)] = &[
(
VariantKey {
style: Style::Glyph,
size: Size::Regular,
},
57352,
),
(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57390,
),
];
const ICON_ERROR_OUTLINE_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Outline,
size: Size::Regular,
},
57347,
)];
const ICON_ERROR_SOLID_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Filled,
size: Size::Regular,
},
57347,
)];
const ICON_FAVORITE_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57391,
)];
const ICON_FAVORITE_OUTLINE_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Outline,
size: Size::Regular,
},
57348,
)];
const ICON_FAVORITE_SOLID_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Filled,
size: Size::Regular,
},
57348,
)];
const ICON_FILTER_CODEPOINTS: &[(VariantKey, u32)] = &[
(
VariantKey {
style: Style::Glyph,
size: Size::Regular,
},
57353,
),
(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57392,
),
];
const ICON_FINANCE_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57393,
)];
const ICON_FINANCIAL_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57394,
)];
const ICON_FOLDER_CODEPOINTS: &[(VariantKey, u32)] = &[
(
VariantKey {
style: Style::Glyph,
size: Size::Regular,
},
57354,
),
(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57396,
),
];
const ICON_FOLDER_ADD_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57395,
)];
const ICON_FORUM_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57397,
)];
const ICON_FUNCTIONS_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57398,
)];
const ICON_GRID_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57399,
)];
const ICON_HEADER_AVATAR_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57400,
)];
const ICON_HEADER_CHEVRON_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57401,
)];
const ICON_HEADER_CLOSE_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57402,
)];
const ICON_HEADER_CONTACT_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57403,
)];
const ICON_HEADER_DOCS_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57404,
)];
const ICON_HEADER_HAMBURGER_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57405,
)];
const ICON_HEADER_HELP_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57406,
)];
const ICON_HEADER_NOTIFICATION_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57407,
)];
const ICON_HEADER_SEARCH_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57408,
)];
const ICON_HEADER_TICKET_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57409,
)];
const ICON_HEADER_USER_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57410,
)];
const ICON_HELP_CODEPOINTS: &[(VariantKey, u32)] = &[
(
VariantKey {
style: Style::Glyph,
size: Size::Regular,
},
57355,
),
(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57411,
),
];
const ICON_HELP_OUTLINE_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Outline,
size: Size::Regular,
},
57349,
)];
const ICON_HELP_SOLID_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Filled,
size: Size::Regular,
},
57349,
)];
const ICON_HPA_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57413,
)];
const ICON_HPA_STRESS_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57412,
)];
const ICON_INFO_CODEPOINTS: &[(VariantKey, u32)] = &[
(
VariantKey {
style: Style::Glyph,
size: Size::Regular,
},
57356,
),
(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57414,
),
];
const ICON_INFO_OUTLINE_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Outline,
size: Size::Regular,
},
57350,
)];
const ICON_INFO_SOLID_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Filled,
size: Size::Regular,
},
57350,
)];
const ICON_INFRASTRUCTURE_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57415,
)];
const ICON_INTEGRATION_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57416,
)];
const ICON_IOT_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57417,
)];
const ICON_LAUNCH_CODEPOINTS: &[(VariantKey, u32)] = &[
(
VariantKey {
style: Style::Glyph,
size: Size::Regular,
},
57357,
),
(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57418,
),
];
const ICON_LIGHT_CODEPOINTS: &[(VariantKey, u32)] = &[
(
VariantKey {
style: Style::Glyph,
size: Size::Regular,
},
57358,
),
(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57419,
),
];
const ICON_LINK_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57420,
)];
const ICON_LIST_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57421,
)];
const ICON_LOCKED_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57422,
)];
const ICON_MAXIMIZE_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57423,
)];
const ICON_MENU_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57424,
)];
const ICON_MINIMIZE_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57425,
)];
const ICON_MOBILE_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57426,
)];
const ICON_NETWORK_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57427,
)];
const ICON_NEW_TAB_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57428,
)];
const ICON_NOTIFICATION_OFF_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57429,
)];
const ICON_NOTIFICATION_ON_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57430,
)];
const ICON_OPEN_WHISK_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57431,
)];
const ICON_OVERFLOW_MENU_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57432,
)];
const ICON_PA_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57434,
)];
const ICON_PA_STRESS_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57433,
)];
const ICON_PAUSE_CODEPOINTS: &[(VariantKey, u32)] = &[
(
VariantKey {
style: Style::Glyph,
size: Size::Regular,
},
57359,
),
(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57435,
),
];
const ICON_PAUSE_OUTLINE_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Outline,
size: Size::Regular,
},
57351,
)];
const ICON_PAUSE_SOLID_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Filled,
size: Size::Regular,
},
57351,
)];
const ICON_PLAY_CODEPOINTS: &[(VariantKey, u32)] = &[
(
VariantKey {
style: Style::Glyph,
size: Size::Regular,
},
57360,
),
(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57436,
),
];
const ICON_PLAY_OUTLINE_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Outline,
size: Size::Regular,
},
57352,
)];
const ICON_PLAY_SOLID_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Filled,
size: Size::Regular,
},
57352,
)];
const ICON_PORTFOLIO_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57437,
)];
const ICON_POWER_CODEPOINTS: &[(VariantKey, u32)] = &[
(
VariantKey {
style: Style::Glyph,
size: Size::Regular,
},
57361,
),
(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57438,
),
];
const ICON_PREDICTIVE_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57439,
)];
const ICON_PURCHASE_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57440,
)];
const ICON_RESTART_CODEPOINTS: &[(VariantKey, u32)] = &[
(
VariantKey {
style: Style::Glyph,
size: Size::Regular,
},
57362,
),
(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57441,
),
];
const ICON_SAVE_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57442,
)];
const ICON_SCHEMATICS_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57443,
)];
const ICON_SEARCH_CODEPOINTS: &[(VariantKey, u32)] = &[
(
VariantKey {
style: Style::Glyph,
size: Size::Regular,
},
57363,
),
(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57444,
),
];
const ICON_SECURITY_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57445,
)];
const ICON_SERVICES_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57446,
)];
const ICON_SETTINGS_CODEPOINTS: &[(VariantKey, u32)] = &[
(
VariantKey {
style: Style::Glyph,
size: Size::Regular,
},
57364,
),
(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57447,
),
];
const ICON_STAR_OUTLINE_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Outline,
size: Size::Regular,
},
57353,
)];
const ICON_STAR_SOLID_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Filled,
size: Size::Regular,
},
57353,
)];
const ICON_START_CODEPOINTS: &[(VariantKey, u32)] = &[
(
VariantKey {
style: Style::Glyph,
size: Size::Regular,
},
57365,
),
(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57448,
),
];
const ICON_START_OUTLINE_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Outline,
size: Size::Regular,
},
57354,
)];
const ICON_STOP_CODEPOINTS: &[(VariantKey, u32)] = &[
(
VariantKey {
style: Style::Glyph,
size: Size::Regular,
},
57366,
),
(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57449,
),
];
const ICON_STOP_OUTLINE_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Outline,
size: Size::Regular,
},
57355,
)];
const ICON_STOP_SOLID_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Filled,
size: Size::Regular,
},
57354,
)];
const ICON_STORAGE_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57450,
)];
const ICON_SUBTRACT_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Glyph,
size: Size::Regular,
},
57367,
)];
const ICON_SUBTRACT_OUTLINE_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Outline,
size: Size::Regular,
},
57356,
)];
const ICON_SUBTRACT_SOLID_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Filled,
size: Size::Regular,
},
57355,
)];
const ICON_TERMINAL_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57451,
)];
const ICON_UNLOCK_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57452,
)];
const ICON_UNLOCKED_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57453,
)];
const ICON_UPLOAD_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57454,
)];
const ICON_USER_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57455,
)];
const ICON_VISIBILITY_OFF_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57456,
)];
const ICON_VISIBILITY_ON_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57457,
)];
const ICON_WARNING_CODEPOINTS: &[(VariantKey, u32)] = &[
(
VariantKey {
style: Style::Glyph,
size: Size::Regular,
},
57368,
),
(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57458,
),
];
const ICON_WARNING_OUTLINE_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Outline,
size: Size::Regular,
},
57357,
)];
const ICON_WARNING_SOLID_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Filled,
size: Size::Regular,
},
57356,
)];
const ICON_WATSON_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57459,
)];
const ICON_WHISK_CODEPOINTS: &[(VariantKey, u32)] = &[(
VariantKey {
style: Style::Regular,
size: Size::Regular,
},
57460,
)];
const ICON_ADD_AVAILABLE: &[(Style, Size)] = &[
(Style::Glyph, Size::Regular),
(Style::Regular, Size::Regular),
];
const ICON_ADD_OUTLINE_AVAILABLE: &[(Style, Size)] = &[(Style::Outline, Size::Regular)];
const ICON_ADD_SOLID_AVAILABLE: &[(Style, Size)] = &[(Style::Filled, Size::Regular)];
const ICON_API_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_APIS_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_APP_SERVICES_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_APPLICATIONS_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_APPS_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_ARROW_DOWN_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_ARROW_LEFT_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_ARROW_RIGHT_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_ARROW_UP_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_ARROWS_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_ASLEEP_AVAILABLE: &[(Style, Size)] = &[
(Style::Glyph, Size::Regular),
(Style::Regular, Size::Regular),
];
const ICON_ATTACHMENT_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_AWAKE_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_BACK_TO_TOP_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_BLOCK_CHAIN_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_CALENDAR_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_CARET_DOWN_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_CARET_LEFT_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_CARET_RIGHT_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_CARET_UP_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_CF_APPS_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_CHAT_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_CHECKMARK_AVAILABLE: &[(Style, Size)] = &[
(Style::Glyph, Size::Regular),
(Style::Regular, Size::Regular),
];
const ICON_CHECKMARK_OUTLINE_AVAILABLE: &[(Style, Size)] = &[(Style::Outline, Size::Regular)];
const ICON_CHECKMARK_SOLID_AVAILABLE: &[(Style, Size)] = &[(Style::Filled, Size::Regular)];
const ICON_CHEVRON_DOWN_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_CHEVRON_LEFT_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_CHEVRON_RIGHT_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_CHEVRON_UP_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_CLOSE_AVAILABLE: &[(Style, Size)] = &[
(Style::Glyph, Size::Regular),
(Style::Regular, Size::Regular),
];
const ICON_CLOSE_OUTLINE_AVAILABLE: &[(Style, Size)] = &[(Style::Outline, Size::Regular)];
const ICON_CLOSE_SOLID_AVAILABLE: &[(Style, Size)] = &[(Style::Filled, Size::Regular)];
const ICON_CLOUD_FOUNDRY_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_CODE_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_CONSOLE_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_CONTAINERS_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_COPY_AVAILABLE: &[(Style, Size)] = &[
(Style::Glyph, Size::Regular),
(Style::Regular, Size::Regular),
];
const ICON_CRASH_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_DASHBOARD_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_DATA_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_DELETE_AVAILABLE: &[(Style, Size)] = &[
(Style::Glyph, Size::Regular),
(Style::Regular, Size::Regular),
];
const ICON_DEVICES_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_DEVOPS_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_DOCUMENT_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_DOLLARS_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_DOWNLOAD_AVAILABLE: &[(Style, Size)] = &[
(Style::Glyph, Size::Regular),
(Style::Regular, Size::Regular),
];
const ICON_DRAGGABLE_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_EDIT_AVAILABLE: &[(Style, Size)] = &[
(Style::Glyph, Size::Regular),
(Style::Regular, Size::Regular),
];
const ICON_EMAIL_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_ERROR_AVAILABLE: &[(Style, Size)] = &[
(Style::Glyph, Size::Regular),
(Style::Regular, Size::Regular),
];
const ICON_ERROR_OUTLINE_AVAILABLE: &[(Style, Size)] = &[(Style::Outline, Size::Regular)];
const ICON_ERROR_SOLID_AVAILABLE: &[(Style, Size)] = &[(Style::Filled, Size::Regular)];
const ICON_FAVORITE_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_FAVORITE_OUTLINE_AVAILABLE: &[(Style, Size)] = &[(Style::Outline, Size::Regular)];
const ICON_FAVORITE_SOLID_AVAILABLE: &[(Style, Size)] = &[(Style::Filled, Size::Regular)];
const ICON_FILTER_AVAILABLE: &[(Style, Size)] = &[
(Style::Glyph, Size::Regular),
(Style::Regular, Size::Regular),
];
const ICON_FINANCE_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_FINANCIAL_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_FOLDER_AVAILABLE: &[(Style, Size)] = &[
(Style::Glyph, Size::Regular),
(Style::Regular, Size::Regular),
];
const ICON_FOLDER_ADD_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_FORUM_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_FUNCTIONS_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_GRID_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_HEADER_AVATAR_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_HEADER_CHEVRON_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_HEADER_CLOSE_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_HEADER_CONTACT_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_HEADER_DOCS_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_HEADER_HAMBURGER_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_HEADER_HELP_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_HEADER_NOTIFICATION_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_HEADER_SEARCH_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_HEADER_TICKET_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_HEADER_USER_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_HELP_AVAILABLE: &[(Style, Size)] = &[
(Style::Glyph, Size::Regular),
(Style::Regular, Size::Regular),
];
const ICON_HELP_OUTLINE_AVAILABLE: &[(Style, Size)] = &[(Style::Outline, Size::Regular)];
const ICON_HELP_SOLID_AVAILABLE: &[(Style, Size)] = &[(Style::Filled, Size::Regular)];
const ICON_HPA_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_HPA_STRESS_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_INFO_AVAILABLE: &[(Style, Size)] = &[
(Style::Glyph, Size::Regular),
(Style::Regular, Size::Regular),
];
const ICON_INFO_OUTLINE_AVAILABLE: &[(Style, Size)] = &[(Style::Outline, Size::Regular)];
const ICON_INFO_SOLID_AVAILABLE: &[(Style, Size)] = &[(Style::Filled, Size::Regular)];
const ICON_INFRASTRUCTURE_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_INTEGRATION_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_IOT_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_LAUNCH_AVAILABLE: &[(Style, Size)] = &[
(Style::Glyph, Size::Regular),
(Style::Regular, Size::Regular),
];
const ICON_LIGHT_AVAILABLE: &[(Style, Size)] = &[
(Style::Glyph, Size::Regular),
(Style::Regular, Size::Regular),
];
const ICON_LINK_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_LIST_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_LOCKED_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_MAXIMIZE_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_MENU_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_MINIMIZE_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_MOBILE_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_NETWORK_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_NEW_TAB_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_NOTIFICATION_OFF_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_NOTIFICATION_ON_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_OPEN_WHISK_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_OVERFLOW_MENU_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_PA_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_PA_STRESS_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_PAUSE_AVAILABLE: &[(Style, Size)] = &[
(Style::Glyph, Size::Regular),
(Style::Regular, Size::Regular),
];
const ICON_PAUSE_OUTLINE_AVAILABLE: &[(Style, Size)] = &[(Style::Outline, Size::Regular)];
const ICON_PAUSE_SOLID_AVAILABLE: &[(Style, Size)] = &[(Style::Filled, Size::Regular)];
const ICON_PLAY_AVAILABLE: &[(Style, Size)] = &[
(Style::Glyph, Size::Regular),
(Style::Regular, Size::Regular),
];
const ICON_PLAY_OUTLINE_AVAILABLE: &[(Style, Size)] = &[(Style::Outline, Size::Regular)];
const ICON_PLAY_SOLID_AVAILABLE: &[(Style, Size)] = &[(Style::Filled, Size::Regular)];
const ICON_PORTFOLIO_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_POWER_AVAILABLE: &[(Style, Size)] = &[
(Style::Glyph, Size::Regular),
(Style::Regular, Size::Regular),
];
const ICON_PREDICTIVE_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_PURCHASE_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_RESTART_AVAILABLE: &[(Style, Size)] = &[
(Style::Glyph, Size::Regular),
(Style::Regular, Size::Regular),
];
const ICON_SAVE_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_SCHEMATICS_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_SEARCH_AVAILABLE: &[(Style, Size)] = &[
(Style::Glyph, Size::Regular),
(Style::Regular, Size::Regular),
];
const ICON_SECURITY_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_SERVICES_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_SETTINGS_AVAILABLE: &[(Style, Size)] = &[
(Style::Glyph, Size::Regular),
(Style::Regular, Size::Regular),
];
const ICON_STAR_OUTLINE_AVAILABLE: &[(Style, Size)] = &[(Style::Outline, Size::Regular)];
const ICON_STAR_SOLID_AVAILABLE: &[(Style, Size)] = &[(Style::Filled, Size::Regular)];
const ICON_START_AVAILABLE: &[(Style, Size)] = &[
(Style::Glyph, Size::Regular),
(Style::Regular, Size::Regular),
];
const ICON_START_OUTLINE_AVAILABLE: &[(Style, Size)] = &[(Style::Outline, Size::Regular)];
const ICON_STOP_AVAILABLE: &[(Style, Size)] = &[
(Style::Glyph, Size::Regular),
(Style::Regular, Size::Regular),
];
const ICON_STOP_OUTLINE_AVAILABLE: &[(Style, Size)] = &[(Style::Outline, Size::Regular)];
const ICON_STOP_SOLID_AVAILABLE: &[(Style, Size)] = &[(Style::Filled, Size::Regular)];
const ICON_STORAGE_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_SUBTRACT_AVAILABLE: &[(Style, Size)] = &[(Style::Glyph, Size::Regular)];
const ICON_SUBTRACT_OUTLINE_AVAILABLE: &[(Style, Size)] = &[(Style::Outline, Size::Regular)];
const ICON_SUBTRACT_SOLID_AVAILABLE: &[(Style, Size)] = &[(Style::Filled, Size::Regular)];
const ICON_TERMINAL_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_UNLOCK_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_UNLOCKED_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_UPLOAD_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_USER_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_VISIBILITY_OFF_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_VISIBILITY_ON_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_WARNING_AVAILABLE: &[(Style, Size)] = &[
(Style::Glyph, Size::Regular),
(Style::Regular, Size::Regular),
];
const ICON_WARNING_OUTLINE_AVAILABLE: &[(Style, Size)] = &[(Style::Outline, Size::Regular)];
const ICON_WARNING_SOLID_AVAILABLE: &[(Style, Size)] = &[(Style::Filled, Size::Regular)];
const ICON_WATSON_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
const ICON_WHISK_AVAILABLE: &[(Style, Size)] = &[(Style::Regular, Size::Regular)];
#[derive(Clone, Copy, Debug)]
pub(crate) struct IconCodepoints {
pub name: &'static str,
pub codepoints: &'static [(VariantKey, u32)],
}
pub(crate) const ICON_CODEPOINTS: &[IconCodepoints] = &[
IconCodepoints {
name: "add",
codepoints: ICON_ADD_CODEPOINTS,
},
IconCodepoints {
name: "add-outline",
codepoints: ICON_ADD_OUTLINE_CODEPOINTS,
},
IconCodepoints {
name: "add-solid",
codepoints: ICON_ADD_SOLID_CODEPOINTS,
},
IconCodepoints {
name: "api",
codepoints: ICON_API_CODEPOINTS,
},
IconCodepoints {
name: "apis",
codepoints: ICON_APIS_CODEPOINTS,
},
IconCodepoints {
name: "app-services",
codepoints: ICON_APP_SERVICES_CODEPOINTS,
},
IconCodepoints {
name: "applications",
codepoints: ICON_APPLICATIONS_CODEPOINTS,
},
IconCodepoints {
name: "apps",
codepoints: ICON_APPS_CODEPOINTS,
},
IconCodepoints {
name: "arrow-down",
codepoints: ICON_ARROW_DOWN_CODEPOINTS,
},
IconCodepoints {
name: "arrow-left",
codepoints: ICON_ARROW_LEFT_CODEPOINTS,
},
IconCodepoints {
name: "arrow-right",
codepoints: ICON_ARROW_RIGHT_CODEPOINTS,
},
IconCodepoints {
name: "arrow-up",
codepoints: ICON_ARROW_UP_CODEPOINTS,
},
IconCodepoints {
name: "arrows",
codepoints: ICON_ARROWS_CODEPOINTS,
},
IconCodepoints {
name: "asleep",
codepoints: ICON_ASLEEP_CODEPOINTS,
},
IconCodepoints {
name: "attachment",
codepoints: ICON_ATTACHMENT_CODEPOINTS,
},
IconCodepoints {
name: "awake",
codepoints: ICON_AWAKE_CODEPOINTS,
},
IconCodepoints {
name: "back-to-top",
codepoints: ICON_BACK_TO_TOP_CODEPOINTS,
},
IconCodepoints {
name: "block-chain",
codepoints: ICON_BLOCK_CHAIN_CODEPOINTS,
},
IconCodepoints {
name: "calendar",
codepoints: ICON_CALENDAR_CODEPOINTS,
},
IconCodepoints {
name: "caret-down",
codepoints: ICON_CARET_DOWN_CODEPOINTS,
},
IconCodepoints {
name: "caret-left",
codepoints: ICON_CARET_LEFT_CODEPOINTS,
},
IconCodepoints {
name: "caret-right",
codepoints: ICON_CARET_RIGHT_CODEPOINTS,
},
IconCodepoints {
name: "caret-up",
codepoints: ICON_CARET_UP_CODEPOINTS,
},
IconCodepoints {
name: "cf-apps",
codepoints: ICON_CF_APPS_CODEPOINTS,
},
IconCodepoints {
name: "chat",
codepoints: ICON_CHAT_CODEPOINTS,
},
IconCodepoints {
name: "checkmark",
codepoints: ICON_CHECKMARK_CODEPOINTS,
},
IconCodepoints {
name: "checkmark-outline",
codepoints: ICON_CHECKMARK_OUTLINE_CODEPOINTS,
},
IconCodepoints {
name: "checkmark-solid",
codepoints: ICON_CHECKMARK_SOLID_CODEPOINTS,
},
IconCodepoints {
name: "chevron-down",
codepoints: ICON_CHEVRON_DOWN_CODEPOINTS,
},
IconCodepoints {
name: "chevron-left",
codepoints: ICON_CHEVRON_LEFT_CODEPOINTS,
},
IconCodepoints {
name: "chevron-right",
codepoints: ICON_CHEVRON_RIGHT_CODEPOINTS,
},
IconCodepoints {
name: "chevron-up",
codepoints: ICON_CHEVRON_UP_CODEPOINTS,
},
IconCodepoints {
name: "close",
codepoints: ICON_CLOSE_CODEPOINTS,
},
IconCodepoints {
name: "close-outline",
codepoints: ICON_CLOSE_OUTLINE_CODEPOINTS,
},
IconCodepoints {
name: "close-solid",
codepoints: ICON_CLOSE_SOLID_CODEPOINTS,
},
IconCodepoints {
name: "cloud-foundry",
codepoints: ICON_CLOUD_FOUNDRY_CODEPOINTS,
},
IconCodepoints {
name: "code",
codepoints: ICON_CODE_CODEPOINTS,
},
IconCodepoints {
name: "console",
codepoints: ICON_CONSOLE_CODEPOINTS,
},
IconCodepoints {
name: "containers",
codepoints: ICON_CONTAINERS_CODEPOINTS,
},
IconCodepoints {
name: "copy",
codepoints: ICON_COPY_CODEPOINTS,
},
IconCodepoints {
name: "crash",
codepoints: ICON_CRASH_CODEPOINTS,
},
IconCodepoints {
name: "dashboard",
codepoints: ICON_DASHBOARD_CODEPOINTS,
},
IconCodepoints {
name: "data",
codepoints: ICON_DATA_CODEPOINTS,
},
IconCodepoints {
name: "delete",
codepoints: ICON_DELETE_CODEPOINTS,
},
IconCodepoints {
name: "devices",
codepoints: ICON_DEVICES_CODEPOINTS,
},
IconCodepoints {
name: "devops",
codepoints: ICON_DEVOPS_CODEPOINTS,
},
IconCodepoints {
name: "document",
codepoints: ICON_DOCUMENT_CODEPOINTS,
},
IconCodepoints {
name: "dollars",
codepoints: ICON_DOLLARS_CODEPOINTS,
},
IconCodepoints {
name: "download",
codepoints: ICON_DOWNLOAD_CODEPOINTS,
},
IconCodepoints {
name: "draggable",
codepoints: ICON_DRAGGABLE_CODEPOINTS,
},
IconCodepoints {
name: "edit",
codepoints: ICON_EDIT_CODEPOINTS,
},
IconCodepoints {
name: "email",
codepoints: ICON_EMAIL_CODEPOINTS,
},
IconCodepoints {
name: "error",
codepoints: ICON_ERROR_CODEPOINTS,
},
IconCodepoints {
name: "error-outline",
codepoints: ICON_ERROR_OUTLINE_CODEPOINTS,
},
IconCodepoints {
name: "error-solid",
codepoints: ICON_ERROR_SOLID_CODEPOINTS,
},
IconCodepoints {
name: "favorite",
codepoints: ICON_FAVORITE_CODEPOINTS,
},
IconCodepoints {
name: "favorite-outline",
codepoints: ICON_FAVORITE_OUTLINE_CODEPOINTS,
},
IconCodepoints {
name: "favorite-solid",
codepoints: ICON_FAVORITE_SOLID_CODEPOINTS,
},
IconCodepoints {
name: "filter",
codepoints: ICON_FILTER_CODEPOINTS,
},
IconCodepoints {
name: "finance",
codepoints: ICON_FINANCE_CODEPOINTS,
},
IconCodepoints {
name: "financial",
codepoints: ICON_FINANCIAL_CODEPOINTS,
},
IconCodepoints {
name: "folder",
codepoints: ICON_FOLDER_CODEPOINTS,
},
IconCodepoints {
name: "folder-add",
codepoints: ICON_FOLDER_ADD_CODEPOINTS,
},
IconCodepoints {
name: "forum",
codepoints: ICON_FORUM_CODEPOINTS,
},
IconCodepoints {
name: "functions",
codepoints: ICON_FUNCTIONS_CODEPOINTS,
},
IconCodepoints {
name: "grid",
codepoints: ICON_GRID_CODEPOINTS,
},
IconCodepoints {
name: "header-avatar",
codepoints: ICON_HEADER_AVATAR_CODEPOINTS,
},
IconCodepoints {
name: "header-chevron",
codepoints: ICON_HEADER_CHEVRON_CODEPOINTS,
},
IconCodepoints {
name: "header-close",
codepoints: ICON_HEADER_CLOSE_CODEPOINTS,
},
IconCodepoints {
name: "header-contact",
codepoints: ICON_HEADER_CONTACT_CODEPOINTS,
},
IconCodepoints {
name: "header-docs",
codepoints: ICON_HEADER_DOCS_CODEPOINTS,
},
IconCodepoints {
name: "header-hamburger",
codepoints: ICON_HEADER_HAMBURGER_CODEPOINTS,
},
IconCodepoints {
name: "header-help",
codepoints: ICON_HEADER_HELP_CODEPOINTS,
},
IconCodepoints {
name: "header-notification",
codepoints: ICON_HEADER_NOTIFICATION_CODEPOINTS,
},
IconCodepoints {
name: "header-search",
codepoints: ICON_HEADER_SEARCH_CODEPOINTS,
},
IconCodepoints {
name: "header-ticket",
codepoints: ICON_HEADER_TICKET_CODEPOINTS,
},
IconCodepoints {
name: "header-user",
codepoints: ICON_HEADER_USER_CODEPOINTS,
},
IconCodepoints {
name: "help",
codepoints: ICON_HELP_CODEPOINTS,
},
IconCodepoints {
name: "help-outline",
codepoints: ICON_HELP_OUTLINE_CODEPOINTS,
},
IconCodepoints {
name: "help-solid",
codepoints: ICON_HELP_SOLID_CODEPOINTS,
},
IconCodepoints {
name: "hpa",
codepoints: ICON_HPA_CODEPOINTS,
},
IconCodepoints {
name: "hpa-stress",
codepoints: ICON_HPA_STRESS_CODEPOINTS,
},
IconCodepoints {
name: "info",
codepoints: ICON_INFO_CODEPOINTS,
},
IconCodepoints {
name: "info-outline",
codepoints: ICON_INFO_OUTLINE_CODEPOINTS,
},
IconCodepoints {
name: "info-solid",
codepoints: ICON_INFO_SOLID_CODEPOINTS,
},
IconCodepoints {
name: "infrastructure",
codepoints: ICON_INFRASTRUCTURE_CODEPOINTS,
},
IconCodepoints {
name: "integration",
codepoints: ICON_INTEGRATION_CODEPOINTS,
},
IconCodepoints {
name: "iot",
codepoints: ICON_IOT_CODEPOINTS,
},
IconCodepoints {
name: "launch",
codepoints: ICON_LAUNCH_CODEPOINTS,
},
IconCodepoints {
name: "light",
codepoints: ICON_LIGHT_CODEPOINTS,
},
IconCodepoints {
name: "link",
codepoints: ICON_LINK_CODEPOINTS,
},
IconCodepoints {
name: "list",
codepoints: ICON_LIST_CODEPOINTS,
},
IconCodepoints {
name: "locked",
codepoints: ICON_LOCKED_CODEPOINTS,
},
IconCodepoints {
name: "maximize",
codepoints: ICON_MAXIMIZE_CODEPOINTS,
},
IconCodepoints {
name: "menu",
codepoints: ICON_MENU_CODEPOINTS,
},
IconCodepoints {
name: "minimize",
codepoints: ICON_MINIMIZE_CODEPOINTS,
},
IconCodepoints {
name: "mobile",
codepoints: ICON_MOBILE_CODEPOINTS,
},
IconCodepoints {
name: "network",
codepoints: ICON_NETWORK_CODEPOINTS,
},
IconCodepoints {
name: "new-tab",
codepoints: ICON_NEW_TAB_CODEPOINTS,
},
IconCodepoints {
name: "notification-off",
codepoints: ICON_NOTIFICATION_OFF_CODEPOINTS,
},
IconCodepoints {
name: "notification-on",
codepoints: ICON_NOTIFICATION_ON_CODEPOINTS,
},
IconCodepoints {
name: "open-whisk",
codepoints: ICON_OPEN_WHISK_CODEPOINTS,
},
IconCodepoints {
name: "overflow-menu",
codepoints: ICON_OVERFLOW_MENU_CODEPOINTS,
},
IconCodepoints {
name: "pa",
codepoints: ICON_PA_CODEPOINTS,
},
IconCodepoints {
name: "pa-stress",
codepoints: ICON_PA_STRESS_CODEPOINTS,
},
IconCodepoints {
name: "pause",
codepoints: ICON_PAUSE_CODEPOINTS,
},
IconCodepoints {
name: "pause-outline",
codepoints: ICON_PAUSE_OUTLINE_CODEPOINTS,
},
IconCodepoints {
name: "pause-solid",
codepoints: ICON_PAUSE_SOLID_CODEPOINTS,
},
IconCodepoints {
name: "play",
codepoints: ICON_PLAY_CODEPOINTS,
},
IconCodepoints {
name: "play-outline",
codepoints: ICON_PLAY_OUTLINE_CODEPOINTS,
},
IconCodepoints {
name: "play-solid",
codepoints: ICON_PLAY_SOLID_CODEPOINTS,
},
IconCodepoints {
name: "portfolio",
codepoints: ICON_PORTFOLIO_CODEPOINTS,
},
IconCodepoints {
name: "power",
codepoints: ICON_POWER_CODEPOINTS,
},
IconCodepoints {
name: "predictive",
codepoints: ICON_PREDICTIVE_CODEPOINTS,
},
IconCodepoints {
name: "purchase",
codepoints: ICON_PURCHASE_CODEPOINTS,
},
IconCodepoints {
name: "restart",
codepoints: ICON_RESTART_CODEPOINTS,
},
IconCodepoints {
name: "save",
codepoints: ICON_SAVE_CODEPOINTS,
},
IconCodepoints {
name: "schematics",
codepoints: ICON_SCHEMATICS_CODEPOINTS,
},
IconCodepoints {
name: "search",
codepoints: ICON_SEARCH_CODEPOINTS,
},
IconCodepoints {
name: "security",
codepoints: ICON_SECURITY_CODEPOINTS,
},
IconCodepoints {
name: "services",
codepoints: ICON_SERVICES_CODEPOINTS,
},
IconCodepoints {
name: "settings",
codepoints: ICON_SETTINGS_CODEPOINTS,
},
IconCodepoints {
name: "star-outline",
codepoints: ICON_STAR_OUTLINE_CODEPOINTS,
},
IconCodepoints {
name: "star-solid",
codepoints: ICON_STAR_SOLID_CODEPOINTS,
},
IconCodepoints {
name: "start",
codepoints: ICON_START_CODEPOINTS,
},
IconCodepoints {
name: "start-outline",
codepoints: ICON_START_OUTLINE_CODEPOINTS,
},
IconCodepoints {
name: "stop",
codepoints: ICON_STOP_CODEPOINTS,
},
IconCodepoints {
name: "stop-outline",
codepoints: ICON_STOP_OUTLINE_CODEPOINTS,
},
IconCodepoints {
name: "stop-solid",
codepoints: ICON_STOP_SOLID_CODEPOINTS,
},
IconCodepoints {
name: "storage",
codepoints: ICON_STORAGE_CODEPOINTS,
},
IconCodepoints {
name: "subtract",
codepoints: ICON_SUBTRACT_CODEPOINTS,
},
IconCodepoints {
name: "subtract-outline",
codepoints: ICON_SUBTRACT_OUTLINE_CODEPOINTS,
},
IconCodepoints {
name: "subtract-solid",
codepoints: ICON_SUBTRACT_SOLID_CODEPOINTS,
},
IconCodepoints {
name: "terminal",
codepoints: ICON_TERMINAL_CODEPOINTS,
},
IconCodepoints {
name: "unlock",
codepoints: ICON_UNLOCK_CODEPOINTS,
},
IconCodepoints {
name: "unlocked",
codepoints: ICON_UNLOCKED_CODEPOINTS,
},
IconCodepoints {
name: "upload",
codepoints: ICON_UPLOAD_CODEPOINTS,
},
IconCodepoints {
name: "user",
codepoints: ICON_USER_CODEPOINTS,
},
IconCodepoints {
name: "visibility-off",
codepoints: ICON_VISIBILITY_OFF_CODEPOINTS,
},
IconCodepoints {
name: "visibility-on",
codepoints: ICON_VISIBILITY_ON_CODEPOINTS,
},
IconCodepoints {
name: "warning",
codepoints: ICON_WARNING_CODEPOINTS,
},
IconCodepoints {
name: "warning-outline",
codepoints: ICON_WARNING_OUTLINE_CODEPOINTS,
},
IconCodepoints {
name: "warning-solid",
codepoints: ICON_WARNING_SOLID_CODEPOINTS,
},
IconCodepoints {
name: "watson",
codepoints: ICON_WATSON_CODEPOINTS,
},
IconCodepoints {
name: "whisk",
codepoints: ICON_WHISK_CODEPOINTS,
},
];
#[derive(Clone, Copy, Debug)]
pub(crate) struct IconAvailability {
pub name: &'static str,
pub available: &'static [(Style, Size)],
}
pub(crate) const ICON_AVAILABILITY: &[IconAvailability] = &[
IconAvailability {
name: "add",
available: ICON_ADD_AVAILABLE,
},
IconAvailability {
name: "add-outline",
available: ICON_ADD_OUTLINE_AVAILABLE,
},
IconAvailability {
name: "add-solid",
available: ICON_ADD_SOLID_AVAILABLE,
},
IconAvailability {
name: "api",
available: ICON_API_AVAILABLE,
},
IconAvailability {
name: "apis",
available: ICON_APIS_AVAILABLE,
},
IconAvailability {
name: "app-services",
available: ICON_APP_SERVICES_AVAILABLE,
},
IconAvailability {
name: "applications",
available: ICON_APPLICATIONS_AVAILABLE,
},
IconAvailability {
name: "apps",
available: ICON_APPS_AVAILABLE,
},
IconAvailability {
name: "arrow-down",
available: ICON_ARROW_DOWN_AVAILABLE,
},
IconAvailability {
name: "arrow-left",
available: ICON_ARROW_LEFT_AVAILABLE,
},
IconAvailability {
name: "arrow-right",
available: ICON_ARROW_RIGHT_AVAILABLE,
},
IconAvailability {
name: "arrow-up",
available: ICON_ARROW_UP_AVAILABLE,
},
IconAvailability {
name: "arrows",
available: ICON_ARROWS_AVAILABLE,
},
IconAvailability {
name: "asleep",
available: ICON_ASLEEP_AVAILABLE,
},
IconAvailability {
name: "attachment",
available: ICON_ATTACHMENT_AVAILABLE,
},
IconAvailability {
name: "awake",
available: ICON_AWAKE_AVAILABLE,
},
IconAvailability {
name: "back-to-top",
available: ICON_BACK_TO_TOP_AVAILABLE,
},
IconAvailability {
name: "block-chain",
available: ICON_BLOCK_CHAIN_AVAILABLE,
},
IconAvailability {
name: "calendar",
available: ICON_CALENDAR_AVAILABLE,
},
IconAvailability {
name: "caret-down",
available: ICON_CARET_DOWN_AVAILABLE,
},
IconAvailability {
name: "caret-left",
available: ICON_CARET_LEFT_AVAILABLE,
},
IconAvailability {
name: "caret-right",
available: ICON_CARET_RIGHT_AVAILABLE,
},
IconAvailability {
name: "caret-up",
available: ICON_CARET_UP_AVAILABLE,
},
IconAvailability {
name: "cf-apps",
available: ICON_CF_APPS_AVAILABLE,
},
IconAvailability {
name: "chat",
available: ICON_CHAT_AVAILABLE,
},
IconAvailability {
name: "checkmark",
available: ICON_CHECKMARK_AVAILABLE,
},
IconAvailability {
name: "checkmark-outline",
available: ICON_CHECKMARK_OUTLINE_AVAILABLE,
},
IconAvailability {
name: "checkmark-solid",
available: ICON_CHECKMARK_SOLID_AVAILABLE,
},
IconAvailability {
name: "chevron-down",
available: ICON_CHEVRON_DOWN_AVAILABLE,
},
IconAvailability {
name: "chevron-left",
available: ICON_CHEVRON_LEFT_AVAILABLE,
},
IconAvailability {
name: "chevron-right",
available: ICON_CHEVRON_RIGHT_AVAILABLE,
},
IconAvailability {
name: "chevron-up",
available: ICON_CHEVRON_UP_AVAILABLE,
},
IconAvailability {
name: "close",
available: ICON_CLOSE_AVAILABLE,
},
IconAvailability {
name: "close-outline",
available: ICON_CLOSE_OUTLINE_AVAILABLE,
},
IconAvailability {
name: "close-solid",
available: ICON_CLOSE_SOLID_AVAILABLE,
},
IconAvailability {
name: "cloud-foundry",
available: ICON_CLOUD_FOUNDRY_AVAILABLE,
},
IconAvailability {
name: "code",
available: ICON_CODE_AVAILABLE,
},
IconAvailability {
name: "console",
available: ICON_CONSOLE_AVAILABLE,
},
IconAvailability {
name: "containers",
available: ICON_CONTAINERS_AVAILABLE,
},
IconAvailability {
name: "copy",
available: ICON_COPY_AVAILABLE,
},
IconAvailability {
name: "crash",
available: ICON_CRASH_AVAILABLE,
},
IconAvailability {
name: "dashboard",
available: ICON_DASHBOARD_AVAILABLE,
},
IconAvailability {
name: "data",
available: ICON_DATA_AVAILABLE,
},
IconAvailability {
name: "delete",
available: ICON_DELETE_AVAILABLE,
},
IconAvailability {
name: "devices",
available: ICON_DEVICES_AVAILABLE,
},
IconAvailability {
name: "devops",
available: ICON_DEVOPS_AVAILABLE,
},
IconAvailability {
name: "document",
available: ICON_DOCUMENT_AVAILABLE,
},
IconAvailability {
name: "dollars",
available: ICON_DOLLARS_AVAILABLE,
},
IconAvailability {
name: "download",
available: ICON_DOWNLOAD_AVAILABLE,
},
IconAvailability {
name: "draggable",
available: ICON_DRAGGABLE_AVAILABLE,
},
IconAvailability {
name: "edit",
available: ICON_EDIT_AVAILABLE,
},
IconAvailability {
name: "email",
available: ICON_EMAIL_AVAILABLE,
},
IconAvailability {
name: "error",
available: ICON_ERROR_AVAILABLE,
},
IconAvailability {
name: "error-outline",
available: ICON_ERROR_OUTLINE_AVAILABLE,
},
IconAvailability {
name: "error-solid",
available: ICON_ERROR_SOLID_AVAILABLE,
},
IconAvailability {
name: "favorite",
available: ICON_FAVORITE_AVAILABLE,
},
IconAvailability {
name: "favorite-outline",
available: ICON_FAVORITE_OUTLINE_AVAILABLE,
},
IconAvailability {
name: "favorite-solid",
available: ICON_FAVORITE_SOLID_AVAILABLE,
},
IconAvailability {
name: "filter",
available: ICON_FILTER_AVAILABLE,
},
IconAvailability {
name: "finance",
available: ICON_FINANCE_AVAILABLE,
},
IconAvailability {
name: "financial",
available: ICON_FINANCIAL_AVAILABLE,
},
IconAvailability {
name: "folder",
available: ICON_FOLDER_AVAILABLE,
},
IconAvailability {
name: "folder-add",
available: ICON_FOLDER_ADD_AVAILABLE,
},
IconAvailability {
name: "forum",
available: ICON_FORUM_AVAILABLE,
},
IconAvailability {
name: "functions",
available: ICON_FUNCTIONS_AVAILABLE,
},
IconAvailability {
name: "grid",
available: ICON_GRID_AVAILABLE,
},
IconAvailability {
name: "header-avatar",
available: ICON_HEADER_AVATAR_AVAILABLE,
},
IconAvailability {
name: "header-chevron",
available: ICON_HEADER_CHEVRON_AVAILABLE,
},
IconAvailability {
name: "header-close",
available: ICON_HEADER_CLOSE_AVAILABLE,
},
IconAvailability {
name: "header-contact",
available: ICON_HEADER_CONTACT_AVAILABLE,
},
IconAvailability {
name: "header-docs",
available: ICON_HEADER_DOCS_AVAILABLE,
},
IconAvailability {
name: "header-hamburger",
available: ICON_HEADER_HAMBURGER_AVAILABLE,
},
IconAvailability {
name: "header-help",
available: ICON_HEADER_HELP_AVAILABLE,
},
IconAvailability {
name: "header-notification",
available: ICON_HEADER_NOTIFICATION_AVAILABLE,
},
IconAvailability {
name: "header-search",
available: ICON_HEADER_SEARCH_AVAILABLE,
},
IconAvailability {
name: "header-ticket",
available: ICON_HEADER_TICKET_AVAILABLE,
},
IconAvailability {
name: "header-user",
available: ICON_HEADER_USER_AVAILABLE,
},
IconAvailability {
name: "help",
available: ICON_HELP_AVAILABLE,
},
IconAvailability {
name: "help-outline",
available: ICON_HELP_OUTLINE_AVAILABLE,
},
IconAvailability {
name: "help-solid",
available: ICON_HELP_SOLID_AVAILABLE,
},
IconAvailability {
name: "hpa",
available: ICON_HPA_AVAILABLE,
},
IconAvailability {
name: "hpa-stress",
available: ICON_HPA_STRESS_AVAILABLE,
},
IconAvailability {
name: "info",
available: ICON_INFO_AVAILABLE,
},
IconAvailability {
name: "info-outline",
available: ICON_INFO_OUTLINE_AVAILABLE,
},
IconAvailability {
name: "info-solid",
available: ICON_INFO_SOLID_AVAILABLE,
},
IconAvailability {
name: "infrastructure",
available: ICON_INFRASTRUCTURE_AVAILABLE,
},
IconAvailability {
name: "integration",
available: ICON_INTEGRATION_AVAILABLE,
},
IconAvailability {
name: "iot",
available: ICON_IOT_AVAILABLE,
},
IconAvailability {
name: "launch",
available: ICON_LAUNCH_AVAILABLE,
},
IconAvailability {
name: "light",
available: ICON_LIGHT_AVAILABLE,
},
IconAvailability {
name: "link",
available: ICON_LINK_AVAILABLE,
},
IconAvailability {
name: "list",
available: ICON_LIST_AVAILABLE,
},
IconAvailability {
name: "locked",
available: ICON_LOCKED_AVAILABLE,
},
IconAvailability {
name: "maximize",
available: ICON_MAXIMIZE_AVAILABLE,
},
IconAvailability {
name: "menu",
available: ICON_MENU_AVAILABLE,
},
IconAvailability {
name: "minimize",
available: ICON_MINIMIZE_AVAILABLE,
},
IconAvailability {
name: "mobile",
available: ICON_MOBILE_AVAILABLE,
},
IconAvailability {
name: "network",
available: ICON_NETWORK_AVAILABLE,
},
IconAvailability {
name: "new-tab",
available: ICON_NEW_TAB_AVAILABLE,
},
IconAvailability {
name: "notification-off",
available: ICON_NOTIFICATION_OFF_AVAILABLE,
},
IconAvailability {
name: "notification-on",
available: ICON_NOTIFICATION_ON_AVAILABLE,
},
IconAvailability {
name: "open-whisk",
available: ICON_OPEN_WHISK_AVAILABLE,
},
IconAvailability {
name: "overflow-menu",
available: ICON_OVERFLOW_MENU_AVAILABLE,
},
IconAvailability {
name: "pa",
available: ICON_PA_AVAILABLE,
},
IconAvailability {
name: "pa-stress",
available: ICON_PA_STRESS_AVAILABLE,
},
IconAvailability {
name: "pause",
available: ICON_PAUSE_AVAILABLE,
},
IconAvailability {
name: "pause-outline",
available: ICON_PAUSE_OUTLINE_AVAILABLE,
},
IconAvailability {
name: "pause-solid",
available: ICON_PAUSE_SOLID_AVAILABLE,
},
IconAvailability {
name: "play",
available: ICON_PLAY_AVAILABLE,
},
IconAvailability {
name: "play-outline",
available: ICON_PLAY_OUTLINE_AVAILABLE,
},
IconAvailability {
name: "play-solid",
available: ICON_PLAY_SOLID_AVAILABLE,
},
IconAvailability {
name: "portfolio",
available: ICON_PORTFOLIO_AVAILABLE,
},
IconAvailability {
name: "power",
available: ICON_POWER_AVAILABLE,
},
IconAvailability {
name: "predictive",
available: ICON_PREDICTIVE_AVAILABLE,
},
IconAvailability {
name: "purchase",
available: ICON_PURCHASE_AVAILABLE,
},
IconAvailability {
name: "restart",
available: ICON_RESTART_AVAILABLE,
},
IconAvailability {
name: "save",
available: ICON_SAVE_AVAILABLE,
},
IconAvailability {
name: "schematics",
available: ICON_SCHEMATICS_AVAILABLE,
},
IconAvailability {
name: "search",
available: ICON_SEARCH_AVAILABLE,
},
IconAvailability {
name: "security",
available: ICON_SECURITY_AVAILABLE,
},
IconAvailability {
name: "services",
available: ICON_SERVICES_AVAILABLE,
},
IconAvailability {
name: "settings",
available: ICON_SETTINGS_AVAILABLE,
},
IconAvailability {
name: "star-outline",
available: ICON_STAR_OUTLINE_AVAILABLE,
},
IconAvailability {
name: "star-solid",
available: ICON_STAR_SOLID_AVAILABLE,
},
IconAvailability {
name: "start",
available: ICON_START_AVAILABLE,
},
IconAvailability {
name: "start-outline",
available: ICON_START_OUTLINE_AVAILABLE,
},
IconAvailability {
name: "stop",
available: ICON_STOP_AVAILABLE,
},
IconAvailability {
name: "stop-outline",
available: ICON_STOP_OUTLINE_AVAILABLE,
},
IconAvailability {
name: "stop-solid",
available: ICON_STOP_SOLID_AVAILABLE,
},
IconAvailability {
name: "storage",
available: ICON_STORAGE_AVAILABLE,
},
IconAvailability {
name: "subtract",
available: ICON_SUBTRACT_AVAILABLE,
},
IconAvailability {
name: "subtract-outline",
available: ICON_SUBTRACT_OUTLINE_AVAILABLE,
},
IconAvailability {
name: "subtract-solid",
available: ICON_SUBTRACT_SOLID_AVAILABLE,
},
IconAvailability {
name: "terminal",
available: ICON_TERMINAL_AVAILABLE,
},
IconAvailability {
name: "unlock",
available: ICON_UNLOCK_AVAILABLE,
},
IconAvailability {
name: "unlocked",
available: ICON_UNLOCKED_AVAILABLE,
},
IconAvailability {
name: "upload",
available: ICON_UPLOAD_AVAILABLE,
},
IconAvailability {
name: "user",
available: ICON_USER_AVAILABLE,
},
IconAvailability {
name: "visibility-off",
available: ICON_VISIBILITY_OFF_AVAILABLE,
},
IconAvailability {
name: "visibility-on",
available: ICON_VISIBILITY_ON_AVAILABLE,
},
IconAvailability {
name: "warning",
available: ICON_WARNING_AVAILABLE,
},
IconAvailability {
name: "warning-outline",
available: ICON_WARNING_OUTLINE_AVAILABLE,
},
IconAvailability {
name: "warning-solid",
available: ICON_WARNING_SOLID_AVAILABLE,
},
IconAvailability {
name: "watson",
available: ICON_WATSON_AVAILABLE,
},
IconAvailability {
name: "whisk",
available: ICON_WHISK_AVAILABLE,
},
];
pub(crate) fn variant_info(style: Style, size: Size) -> Option<&'static VariantInfo> {
VARIANTS
.iter()
.find(|variant| variant.key == VariantKey { style, size })
}
pub(crate) fn icon_codepoint(name: &str, key: VariantKey) -> Option<u32> {
ICON_CODEPOINTS
.iter()
.find(|entry| entry.name == name)
.and_then(|entry| {
entry
.codepoints
.iter()
.find(|(k, _)| *k == key)
.map(|(_, cp)| *cp)
})
}
pub(crate) fn icon_available(name: &str) -> Option<&'static [(Style, Size)]> {
ICON_AVAILABILITY
.iter()
.find(|entry| entry.name == name)
.map(|entry| entry.available)
}