@salesforce/afv-skills 1.14.0 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/skills/activating-datacloud/SKILL.md +0 -1
- package/skills/analyzing-omnistudio-dependencies/SKILL.md +0 -1
- package/skills/applying-slds/SKILL.md +322 -0
- package/skills/applying-slds/checklists.md +83 -0
- package/skills/applying-slds/examples.md +283 -0
- package/skills/applying-slds/guidance/README.md +83 -0
- package/skills/applying-slds/guidance/blueprints-index.md +213 -0
- package/skills/applying-slds/guidance/icons-guidance.md +186 -0
- package/skills/applying-slds/guidance/overviews/borders.md +236 -0
- package/skills/applying-slds/guidance/overviews/color.md +266 -0
- package/skills/applying-slds/guidance/overviews/display-density.md +366 -0
- package/skills/applying-slds/guidance/overviews/icons.md +240 -0
- package/skills/applying-slds/guidance/overviews/illustrations.md +235 -0
- package/skills/applying-slds/guidance/overviews/shadows.md +176 -0
- package/skills/applying-slds/guidance/overviews/spacing.md +216 -0
- package/skills/applying-slds/guidance/overviews/typography.md +323 -0
- package/skills/applying-slds/guidance/overviews/utilities.md +542 -0
- package/skills/applying-slds/guidance/slds-development-guide.md +288 -0
- package/skills/applying-slds/guidance/styling-hooks/borders.md +202 -0
- package/skills/applying-slds/guidance/styling-hooks/color/expressive-palette-hooks.md +153 -0
- package/skills/applying-slds/guidance/styling-hooks/color/index.md +171 -0
- package/skills/applying-slds/guidance/styling-hooks/color/semantic/accent-hooks.md +204 -0
- package/skills/applying-slds/guidance/styling-hooks/color/semantic/feedback-hooks.md +768 -0
- package/skills/applying-slds/guidance/styling-hooks/color/semantic/surface-hooks.md +337 -0
- package/skills/applying-slds/guidance/styling-hooks/color/system-hooks.md +132 -0
- package/skills/applying-slds/guidance/styling-hooks/index.md +327 -0
- package/skills/applying-slds/guidance/styling-hooks/shadows.md +238 -0
- package/skills/applying-slds/guidance/styling-hooks/spacing.md +254 -0
- package/skills/applying-slds/guidance/styling-hooks/typography.md +448 -0
- package/skills/applying-slds/guidance/utilities/alignment.md +119 -0
- package/skills/applying-slds/guidance/utilities/borders.md +131 -0
- package/skills/applying-slds/guidance/utilities/box.md +125 -0
- package/skills/applying-slds/guidance/utilities/color.md +165 -0
- package/skills/applying-slds/guidance/utilities/dark-mode.md +111 -0
- package/skills/applying-slds/guidance/utilities/description-list.md +168 -0
- package/skills/applying-slds/guidance/utilities/floats.md +117 -0
- package/skills/applying-slds/guidance/utilities/grid.md +264 -0
- package/skills/applying-slds/guidance/utilities/horizontal-list.md +110 -0
- package/skills/applying-slds/guidance/utilities/hyphenation.md +84 -0
- package/skills/applying-slds/guidance/utilities/index.md +205 -0
- package/skills/applying-slds/guidance/utilities/interactions.md +89 -0
- package/skills/applying-slds/guidance/utilities/layout.md +109 -0
- package/skills/applying-slds/guidance/utilities/line-clamp.md +131 -0
- package/skills/applying-slds/guidance/utilities/margin.md +155 -0
- package/skills/applying-slds/guidance/utilities/media-object.md +161 -0
- package/skills/applying-slds/guidance/utilities/name-value-list.md +152 -0
- package/skills/applying-slds/guidance/utilities/padding.md +155 -0
- package/skills/applying-slds/guidance/utilities/position.md +177 -0
- package/skills/applying-slds/guidance/utilities/print.md +114 -0
- package/skills/applying-slds/guidance/utilities/scrollable.md +126 -0
- package/skills/applying-slds/guidance/utilities/sizing.md +190 -0
- package/skills/applying-slds/guidance/utilities/themes.md +121 -0
- package/skills/applying-slds/guidance/utilities/truncate.md +127 -0
- package/skills/applying-slds/guidance/utilities/typography.md +166 -0
- package/skills/applying-slds/guidance/utilities/vertical-list.md +166 -0
- package/skills/applying-slds/guidance/utilities/visibility.md +228 -0
- package/skills/applying-slds/metadata/README.md +84 -0
- package/skills/applying-slds/metadata/blueprints/components/accordion.yaml +304 -0
- package/skills/applying-slds/metadata/blueprints/components/activity-timeline.yaml +92 -0
- package/skills/applying-slds/metadata/blueprints/components/alert.yaml +103 -0
- package/skills/applying-slds/metadata/blueprints/components/app-launcher.yaml +94 -0
- package/skills/applying-slds/metadata/blueprints/components/avatar-group.yaml +81 -0
- package/skills/applying-slds/metadata/blueprints/components/avatar.yaml +97 -0
- package/skills/applying-slds/metadata/blueprints/components/badges.yaml +102 -0
- package/skills/applying-slds/metadata/blueprints/components/brand-band.yaml +198 -0
- package/skills/applying-slds/metadata/blueprints/components/breadcrumbs.yaml +95 -0
- package/skills/applying-slds/metadata/blueprints/components/builder-header.yaml +192 -0
- package/skills/applying-slds/metadata/blueprints/components/button-groups.yaml +82 -0
- package/skills/applying-slds/metadata/blueprints/components/button-icons.yaml +295 -0
- package/skills/applying-slds/metadata/blueprints/components/buttons.yaml +230 -0
- package/skills/applying-slds/metadata/blueprints/components/cards.yaml +124 -0
- package/skills/applying-slds/metadata/blueprints/components/carousel.yaml +140 -0
- package/skills/applying-slds/metadata/blueprints/components/chat.yaml +179 -0
- package/skills/applying-slds/metadata/blueprints/components/checkbox-button-group.yaml +192 -0
- package/skills/applying-slds/metadata/blueprints/components/checkbox-button.yaml +204 -0
- package/skills/applying-slds/metadata/blueprints/components/checkbox-toggle.yaml +177 -0
- package/skills/applying-slds/metadata/blueprints/components/checkbox.yaml +108 -0
- package/skills/applying-slds/metadata/blueprints/components/color-picker.yaml +172 -0
- package/skills/applying-slds/metadata/blueprints/components/combobox.yaml +136 -0
- package/skills/applying-slds/metadata/blueprints/components/counter.yaml +147 -0
- package/skills/applying-slds/metadata/blueprints/components/data-tables.yaml +157 -0
- package/skills/applying-slds/metadata/blueprints/components/datepickers.yaml +130 -0
- package/skills/applying-slds/metadata/blueprints/components/datetime-picker.yaml +155 -0
- package/skills/applying-slds/metadata/blueprints/components/docked-composer.yaml +201 -0
- package/skills/applying-slds/metadata/blueprints/components/docked-form-footer.yaml +161 -0
- package/skills/applying-slds/metadata/blueprints/components/docked-utility-bar.yaml +175 -0
- package/skills/applying-slds/metadata/blueprints/components/drop-zone.yaml +115 -0
- package/skills/applying-slds/metadata/blueprints/components/dueling-picklist.yaml +196 -0
- package/skills/applying-slds/metadata/blueprints/components/dynamic-icons.yaml +128 -0
- package/skills/applying-slds/metadata/blueprints/components/dynamic-menu.yaml +141 -0
- package/skills/applying-slds/metadata/blueprints/components/expandable-section.yaml +115 -0
- package/skills/applying-slds/metadata/blueprints/components/expression.yaml +143 -0
- package/skills/applying-slds/metadata/blueprints/components/feeds.yaml +125 -0
- package/skills/applying-slds/metadata/blueprints/components/file-selector.yaml +154 -0
- package/skills/applying-slds/metadata/blueprints/components/files.yaml +119 -0
- package/skills/applying-slds/metadata/blueprints/components/form-element.yaml +145 -0
- package/skills/applying-slds/metadata/blueprints/components/global-header.yaml +120 -0
- package/skills/applying-slds/metadata/blueprints/components/global-navigation.yaml +100 -0
- package/skills/applying-slds/metadata/blueprints/components/icons.yaml +138 -0
- package/skills/applying-slds/metadata/blueprints/components/illustration.yaml +205 -0
- package/skills/applying-slds/metadata/blueprints/components/input.yaml +151 -0
- package/skills/applying-slds/metadata/blueprints/components/list-builder.yaml +127 -0
- package/skills/applying-slds/metadata/blueprints/components/lookups.yaml +132 -0
- package/skills/applying-slds/metadata/blueprints/components/map.yaml +118 -0
- package/skills/applying-slds/metadata/blueprints/components/menus.yaml +134 -0
- package/skills/applying-slds/metadata/blueprints/components/modals.yaml +152 -0
- package/skills/applying-slds/metadata/blueprints/components/notifications.yaml +88 -0
- package/skills/applying-slds/metadata/blueprints/components/page-headers.yaml +135 -0
- package/skills/applying-slds/metadata/blueprints/components/panels.yaml +149 -0
- package/skills/applying-slds/metadata/blueprints/components/path.yaml +154 -0
- package/skills/applying-slds/metadata/blueprints/components/picklist.yaml +125 -0
- package/skills/applying-slds/metadata/blueprints/components/pills.yaml +154 -0
- package/skills/applying-slds/metadata/blueprints/components/popovers.yaml +120 -0
- package/skills/applying-slds/metadata/blueprints/components/progress-bar.yaml +110 -0
- package/skills/applying-slds/metadata/blueprints/components/progress-indicator.yaml +133 -0
- package/skills/applying-slds/metadata/blueprints/components/progress-ring.yaml +102 -0
- package/skills/applying-slds/metadata/blueprints/components/prompt.yaml +126 -0
- package/skills/applying-slds/metadata/blueprints/components/publishers.yaml +178 -0
- package/skills/applying-slds/metadata/blueprints/components/radio-button-group.yaml +172 -0
- package/skills/applying-slds/metadata/blueprints/components/radio-group.yaml +112 -0
- package/skills/applying-slds/metadata/blueprints/components/rich-text-editor.yaml +135 -0
- package/skills/applying-slds/metadata/blueprints/components/scoped-notifications.yaml +188 -0
- package/skills/applying-slds/metadata/blueprints/components/scoped-tabs.yaml +97 -0
- package/skills/applying-slds/metadata/blueprints/components/select.yaml +127 -0
- package/skills/applying-slds/metadata/blueprints/components/setup-assistant.yaml +152 -0
- package/skills/applying-slds/metadata/blueprints/components/slider.yaml +111 -0
- package/skills/applying-slds/metadata/blueprints/components/spinners.yaml +135 -0
- package/skills/applying-slds/metadata/blueprints/components/split-view.yaml +112 -0
- package/skills/applying-slds/metadata/blueprints/components/summary-detail.yaml +103 -0
- package/skills/applying-slds/metadata/blueprints/components/tabs.yaml +138 -0
- package/skills/applying-slds/metadata/blueprints/components/textarea.yaml +116 -0
- package/skills/applying-slds/metadata/blueprints/components/tiles.yaml +108 -0
- package/skills/applying-slds/metadata/blueprints/components/timepicker.yaml +111 -0
- package/skills/applying-slds/metadata/blueprints/components/toast.yaml +154 -0
- package/skills/applying-slds/metadata/blueprints/components/tooltips.yaml +107 -0
- package/skills/applying-slds/metadata/blueprints/components/tree-grid.yaml +116 -0
- package/skills/applying-slds/metadata/blueprints/components/trees.yaml +116 -0
- package/skills/applying-slds/metadata/blueprints/components/trial-bar.yaml +112 -0
- package/skills/applying-slds/metadata/blueprints/components/vertical-navigation.yaml +130 -0
- package/skills/applying-slds/metadata/blueprints/components/vertical-tabs.yaml +140 -0
- package/skills/applying-slds/metadata/blueprints/components/visual-picker.yaml +150 -0
- package/skills/applying-slds/metadata/blueprints/components/welcome-mat.yaml +136 -0
- package/skills/applying-slds/metadata/hooks-index.json +6272 -0
- package/skills/applying-slds/metadata/icon-metadata.json +38466 -0
- package/skills/applying-slds/metadata/utilities-index.json +21912 -0
- package/skills/applying-slds/references/component-selection.md +112 -0
- package/skills/applying-slds/references/icons-decision-guide.md +124 -0
- package/skills/applying-slds/references/styling-decision-guide.md +228 -0
- package/skills/applying-slds/references/utilities-quick-ref.md +125 -0
- package/skills/applying-slds/scripts/search-blueprints.cjs +117 -0
- package/skills/applying-slds/scripts/search-hooks.cjs +139 -0
- package/skills/applying-slds/scripts/search-icons.cjs +174 -0
- package/skills/applying-slds/scripts/search-utilities.cjs +161 -0
- package/skills/building-mobile-apps/SKILL.md +0 -1
- package/skills/building-omnistudio-callable-apex/SKILL.md +0 -1
- package/skills/building-omnistudio-datamapper/SKILL.md +0 -1
- package/skills/building-omnistudio-flexcard/SKILL.md +0 -1
- package/skills/building-omnistudio-integration-procedure/SKILL.md +0 -1
- package/skills/building-omnistudio-omniscript/SKILL.md +0 -1
- package/skills/building-sf-integrations/SKILL.md +0 -1
- package/skills/configuring-connected-apps/SKILL.md +0 -1
- package/skills/connecting-datacloud/SKILL.md +0 -1
- package/skills/creating-b2b-commerce-store/SKILL.md +0 -1
- package/skills/debugging-apex-logs/SKILL.md +0 -1
- package/skills/deploying-metadata/SKILL.md +0 -1
- package/skills/deploying-omnistudio-datapacks/SKILL.md +0 -1
- package/skills/developing-agentforce/SKILL.md +0 -1
- package/skills/fetching-salesforce-docs/SKILL.md +0 -1
- package/skills/generating-custom-lightning-type/SKILL.md +17 -39
- package/skills/generating-custom-lightning-type/assets/primitive-types-and-constraints.md +41 -0
- package/skills/generating-custom-lightning-type/references/widget-rendition.md +124 -0
- package/skills/generating-lwc-components/SKILL.md +0 -1
- package/skills/generating-mermaid-diagrams/SKILL.md +0 -1
- package/skills/generating-visual-diagrams/SKILL.md +0 -1
- package/skills/handling-sf-data/SKILL.md +0 -1
- package/skills/harmonizing-datacloud/SKILL.md +0 -1
- package/skills/integrating-b2b-commerce-open-code-components/SKILL.md +0 -1
- package/skills/investigating-agentforce-architecture/README.md +156 -0
- package/skills/investigating-agentforce-architecture/SKILL.md +230 -0
- package/skills/investigating-agentforce-architecture/assets/cli/describe_sobject.yaml +16 -0
- package/skills/investigating-agentforce-architecture/assets/cli/describe_tooling_sobject.yaml +17 -0
- package/skills/investigating-agentforce-architecture/assets/cli/list_metadata_genaiprompttemplate.yaml +17 -0
- package/skills/investigating-agentforce-architecture/assets/cli/org_display.yaml +15 -0
- package/skills/investigating-agentforce-architecture/assets/cli/retrieve_genai_plugin.yaml +18 -0
- package/skills/investigating-agentforce-architecture/assets/cli/show_access_token.yaml +27 -0
- package/skills/investigating-agentforce-architecture/assets/mermaid/action_tree.mmd +20 -0
- package/skills/investigating-agentforce-architecture/assets/mermaid/data_flow.mmd +19 -0
- package/skills/investigating-agentforce-architecture/assets/mermaid/dependency_graph.mmd +19 -0
- package/skills/investigating-agentforce-architecture/assets/mermaid/invocation_sequence.mmd +20 -0
- package/skills/investigating-agentforce-architecture/assets/mermaid/planner_state.mmd +18 -0
- package/skills/investigating-agentforce-architecture/assets/soql/apex_class_bodies_by_ids.soql +3 -0
- package/skills/investigating-agentforce-architecture/assets/soql/apex_class_bodies_by_names.soql +3 -0
- package/skills/investigating-agentforce-architecture/assets/soql/bot_definition_details.soql +3 -0
- package/skills/investigating-agentforce-architecture/assets/soql/bot_version_lookup.soql +4 -0
- package/skills/investigating-agentforce-architecture/assets/soql/flow_definition_by_ids.soql +3 -0
- package/skills/investigating-agentforce-architecture/assets/soql/flow_definition_ids_by_names.soql +3 -0
- package/skills/investigating-agentforce-architecture/assets/soql/flow_definition_view_by_durable_ids.soql +4 -0
- package/skills/investigating-agentforce-architecture/assets/soql/flow_metadata_by_id.soql +3 -0
- package/skills/investigating-agentforce-architecture/assets/soql/functions_by_plugins.soql +5 -0
- package/skills/investigating-agentforce-architecture/assets/soql/planner_attrs_by_parent_ids.soql +3 -0
- package/skills/investigating-agentforce-architecture/assets/soql/planner_bundle_functions.soql +3 -0
- package/skills/investigating-agentforce-architecture/assets/soql/planner_definition_by_agent_chain.soql +3 -0
- package/skills/investigating-agentforce-architecture/assets/soql/plugin_functions_by_plugin_ids.soql +3 -0
- package/skills/investigating-agentforce-architecture/assets/soql/plugin_instructions_by_plugin_ids.soql +3 -0
- package/skills/investigating-agentforce-architecture/assets/soql/plugins_by_planner.soql +4 -0
- package/skills/investigating-agentforce-architecture/references/architecture_sections.md +243 -0
- package/skills/investigating-agentforce-architecture/references/contract.json +244 -0
- package/skills/investigating-agentforce-architecture/references/soql_fields.md +512 -0
- package/skills/investigating-agentforce-architecture/scripts/_shared/__init__.py +1 -0
- package/skills/investigating-agentforce-architecture/scripts/_shared/fs_guard.py +329 -0
- package/skills/investigating-agentforce-architecture/scripts/_shared/paths.py +110 -0
- package/skills/investigating-agentforce-architecture/scripts/_shared/runtime.py +59 -0
- package/skills/investigating-agentforce-architecture/scripts/_shared/sql.py +10 -0
- package/skills/investigating-agentforce-architecture/scripts/cache_check.py +234 -0
- package/skills/investigating-agentforce-architecture/scripts/config.py +131 -0
- package/skills/investigating-agentforce-architecture/scripts/fetch_soql.py +689 -0
- package/skills/investigating-agentforce-architecture/scripts/finalize.py +295 -0
- package/skills/investigating-agentforce-architecture/scripts/main.py +2835 -0
- package/skills/investigating-agentforce-architecture/scripts/metadata_listing.py +265 -0
- package/skills/investigating-agentforce-architecture/scripts/parallel_retrieve.py +69 -0
- package/skills/investigating-agentforce-architecture/scripts/parse_bundle.py +215 -0
- package/skills/investigating-agentforce-architecture/scripts/parse_wave.py +845 -0
- package/skills/investigating-agentforce-architecture/scripts/probe_channels.py +302 -0
- package/skills/investigating-agentforce-architecture/scripts/render_architecture.py +1043 -0
- package/skills/investigating-agentforce-architecture/scripts/resolve_bot.py +255 -0
- package/skills/investigating-agentforce-architecture/scripts/resolve_invocation_target.py +130 -0
- package/skills/investigating-agentforce-architecture/scripts/rest_client.py +763 -0
- package/skills/investigating-agentforce-architecture/scripts/retrieve_planner.py +13 -0
- package/skills/investigating-agentforce-architecture/scripts/sf_cli.py +242 -0
- package/skills/investigating-agentforce-architecture/scripts/soql_loader.py +253 -0
- package/skills/investigating-agentforce-architecture/scripts/summarize_tree.py +143 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/__init__.py +0 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/_bootstrap.py +23 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/fixtures/__init__.py +0 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/fixtures/genai_payloads.py +400 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_cache_check.py +307 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_cache_check_main.py +283 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_config.py +115 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_end_to_end_fixture.py +651 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_finalize.py +278 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_flow_children_inflation.py +582 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_fs_guard.py +113 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_iterative_wave_b.py +478 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_main_pipeline.py +3359 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_parallel_retrieve.py +131 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_parse_bundle.py +400 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_parse_wave.py +644 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_parse_wave_classifiers.py +224 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_parse_wave_helpers.py +380 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_parse_wave_main.py +397 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_per_branch_visited.py +244 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_probe_channels.py +359 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_probe_cli_recipes.py +185 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_render_architecture.py +810 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_resolve_bot.py +203 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_resolve_creds.py +157 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_resolve_invocation_target.py +145 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_rest_client.py +1253 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_runtime_override.py +100 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_sf_cli.py +261 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_signature_stamping.py +466 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_soql_loader.py +501 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_summarize_tree.py +241 -0
- package/skills/investigating-agentforce-architecture/scripts/tests/test_write_emit_ctx.py +480 -0
- package/skills/investigating-agentforce-architecture/tools/emit_env.py +157 -0
- package/skills/investigating-agentforce-architecture/tools/emit_result.py +262 -0
- package/skills/investigating-agentforce-architecture/tools/sanitize.py +33 -0
- package/skills/investigating-agentforce-architecture/tools/write_emit_ctx.py +332 -0
- package/skills/investigating-agentforce-d360/README.md +123 -0
- package/skills/investigating-agentforce-d360/SKILL.md +163 -0
- package/skills/investigating-agentforce-d360/assets/dc/app_generation.sql +51 -0
- package/skills/investigating-agentforce-d360/assets/dc/content_category.sql +44 -0
- package/skills/investigating-agentforce-d360/assets/dc/content_quality.sql +41 -0
- package/skills/investigating-agentforce-d360/assets/dc/discover_sessions.sql +36 -0
- package/skills/investigating-agentforce-d360/assets/dc/feedback.sql +47 -0
- package/skills/investigating-agentforce-d360/assets/dc/feedback_details.sql +38 -0
- package/skills/investigating-agentforce-d360/assets/dc/gateway_records.sql +45 -0
- package/skills/investigating-agentforce-d360/assets/dc/gateway_request_llm.sql +50 -0
- package/skills/investigating-agentforce-d360/assets/dc/gateway_request_metadata.sql +44 -0
- package/skills/investigating-agentforce-d360/assets/dc/gateway_request_tags.sql +42 -0
- package/skills/investigating-agentforce-d360/assets/dc/gateway_requests.sql +89 -0
- package/skills/investigating-agentforce-d360/assets/dc/gateway_responses.sql +43 -0
- package/skills/investigating-agentforce-d360/assets/dc/generations.sql +52 -0
- package/skills/investigating-agentforce-d360/assets/dc/interactions.sql +53 -0
- package/skills/investigating-agentforce-d360/assets/dc/messages.sql +53 -0
- package/skills/investigating-agentforce-d360/assets/dc/messaging_session.sql +37 -0
- package/skills/investigating-agentforce-d360/assets/dc/moment_interactions.sql +34 -0
- package/skills/investigating-agentforce-d360/assets/dc/moments.sql +39 -0
- package/skills/investigating-agentforce-d360/assets/dc/participants.sql +48 -0
- package/skills/investigating-agentforce-d360/assets/dc/sessions.sql +78 -0
- package/skills/investigating-agentforce-d360/assets/dc/steps.sql +64 -0
- package/skills/investigating-agentforce-d360/assets/dc/tag_associations.sql +46 -0
- package/skills/investigating-agentforce-d360/assets/dc/tag_definition_associations.sql +37 -0
- package/skills/investigating-agentforce-d360/assets/dc/tag_definitions.sql +50 -0
- package/skills/investigating-agentforce-d360/assets/dc/tags.sql +37 -0
- package/skills/investigating-agentforce-d360/assets/dc/telemetry_spans.sql +55 -0
- package/skills/investigating-agentforce-d360/references/artifacts.md +50 -0
- package/skills/investigating-agentforce-d360/references/dc_dmo_fields.md +823 -0
- package/skills/investigating-agentforce-d360/references/dc_pipeline_contract.md +608 -0
- package/skills/investigating-agentforce-d360/scripts/_shared/__init__.py +2 -0
- package/skills/investigating-agentforce-d360/scripts/_shared/cli_override.py +98 -0
- package/skills/investigating-agentforce-d360/scripts/_shared/fs_guard.py +334 -0
- package/skills/investigating-agentforce-d360/scripts/_shared/paths.py +155 -0
- package/skills/investigating-agentforce-d360/scripts/_shared/runtime.py +59 -0
- package/skills/investigating-agentforce-d360/scripts/_shared/sql.py +14 -0
- package/skills/investigating-agentforce-d360/scripts/assemble_dc.py +1624 -0
- package/skills/investigating-agentforce-d360/scripts/config.py +45 -0
- package/skills/investigating-agentforce-d360/scripts/dc.py +188 -0
- package/skills/investigating-agentforce-d360/scripts/discover_sessions.py +556 -0
- package/skills/investigating-agentforce-d360/scripts/fetch_dc.py +1045 -0
- package/skills/investigating-agentforce-d360/scripts/render_dc.py +1750 -0
- package/skills/investigating-agentforce-d360/scripts/resolve_session.py +264 -0
- package/skills/investigating-agentforce-d360/scripts/storage.py +92 -0
- package/skills/investigating-agentforce-d360/scripts/tests/__init__.py +0 -0
- package/skills/investigating-agentforce-d360/scripts/tests/_bootstrap.py +15 -0
- package/skills/investigating-agentforce-d360/scripts/tests/fixtures/__init__.py +0 -0
- package/skills/investigating-agentforce-d360/scripts/tests/fixtures/synthetic_session.py +424 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_assemble_dc_bootstrap_and_mode.py +115 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_assemble_dc_gateway_direct.py +220 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_assemble_dc_gateway_direct_integration.py +158 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_assemble_dc_helpers.py +287 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_assemble_dc_integration.py +247 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_dc_and_resolve_session.py +433 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_discover_sessions.py +458 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_discover_sessions_grep_ci.py +193 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_fetch_dc_helpers.py +266 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_fetch_dc_identity.py +528 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_fetch_dc_main.py +251 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_fetch_dc_waterfall.py +229 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_fetch_dc_waterfall_full.py +283 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_identity_coherence.py +327 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_render_dc_branches.py +256 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_render_dc_gateway_direct.py +130 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_render_dc_helpers.py +291 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_render_dc_integration.py +220 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_render_dc_planner_llm_calls.py +284 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_render_dc_show_prompts_gating.py +215 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_resolve_from_disk.py +100 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_resolve_session_main.py +149 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_runtime_override.py +104 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_session_shape.py +95 -0
- package/skills/investigating-agentforce-d360/scripts/tests/test_session_shape_dropped_by_stdm.py +85 -0
- package/skills/managing-managed-event-subscription/SKILL.md +152 -0
- package/skills/managing-managed-event-subscription/assets/managed-event-subscription-template.xml +20 -0
- package/skills/managing-managed-event-subscription/references/delete-guide.md +57 -0
- package/skills/managing-managed-event-subscription/references/topic-name-formats.md +26 -0
- package/skills/managing-managed-event-subscription/references/update-constraints.md +30 -0
- package/skills/modeling-omnistudio-epc-catalog/SKILL.md +0 -1
- package/skills/observing-agentforce/SKILL.md +0 -1
- package/skills/orchestrating-datacloud/SKILL.md +0 -1
- package/skills/preparing-datacloud/SKILL.md +0 -1
- package/skills/querying-soql/SKILL.md +0 -1
- package/skills/retrieving-datacloud/SKILL.md +0 -1
- package/skills/running-apex-tests/SKILL.md +0 -1
- package/skills/running-code-analyzer/SKILL.md +0 -1
- package/skills/segmenting-datacloud/SKILL.md +0 -1
- package/skills/testing-agentforce/SKILL.md +0 -1
- package/skills/uplifting-components-to-slds2/SKILL.md +3 -2
- package/skills/uplifting-components-to-slds2/references/color-hooks-decision-guide.md +30 -9
- package/skills/uplifting-components-to-slds2/references/examples.md +24 -6
- package/skills/validating-slds/SKILL.md +262 -0
- package/skills/validating-slds/references/quality-checks.md +308 -0
- package/skills/validating-slds/references/report-format.md +302 -0
- package/skills/validating-slds/scripts/analyze-quality.cjs +521 -0
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: slds.guidance.hooks.color
|
|
3
|
+
title: SLDS Color Styling Hooks
|
|
4
|
+
description: Index and decision guide for color styling hooks - semantic, system, and expressive palettes
|
|
5
|
+
summary: "Entry point for color styling hooks. Provides hook selection hierarchy (semantic 85%, system 5-10%, palette 5%), quick decision guide, and pointers to detailed documentation for accent, surface, feedback, system, and expressive colors."
|
|
6
|
+
|
|
7
|
+
artifact_type: index
|
|
8
|
+
domain: styling-hooks
|
|
9
|
+
topic: color
|
|
10
|
+
|
|
11
|
+
content_format: structured
|
|
12
|
+
complexity: intermediate
|
|
13
|
+
audience: [implementer]
|
|
14
|
+
|
|
15
|
+
tasks: [choose, explore]
|
|
16
|
+
|
|
17
|
+
children:
|
|
18
|
+
- slds.guidance.hooks.color.accent
|
|
19
|
+
- slds.guidance.hooks.color.surface
|
|
20
|
+
- slds.guidance.hooks.color.feedback
|
|
21
|
+
- slds.guidance.hooks.color.system
|
|
22
|
+
- slds.guidance.hooks.color.expressive-palette
|
|
23
|
+
|
|
24
|
+
refs:
|
|
25
|
+
- slds.guidance.hooks
|
|
26
|
+
- slds.guidance.hooks.color.accent
|
|
27
|
+
- slds.guidance.hooks.color.surface
|
|
28
|
+
- slds.guidance.hooks.color.feedback
|
|
29
|
+
- slds.guidance.hooks.color.system
|
|
30
|
+
- slds.guidance.hooks.color.expressive-palette
|
|
31
|
+
tags: [styling-hooks, color, index, semantic, system, palette]
|
|
32
|
+
keywords: [color hooks, accent, surface, feedback, system colors, expressive palette, color selection]
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
# SLDS Color Styling Hooks
|
|
36
|
+
|
|
37
|
+
## Overview
|
|
38
|
+
|
|
39
|
+
SLDS color styling hooks provide a systematic approach to applying colors that maintain accessibility, support theming (including dark mode), and create consistent visual hierarchy across all Salesforce interfaces.
|
|
40
|
+
|
|
41
|
+
## Hook Selection Hierarchy
|
|
42
|
+
|
|
43
|
+
When choosing color hooks, follow this priority order:
|
|
44
|
+
|
|
45
|
+
1. **Semantic Hooks (85% of use cases)** - First choice for standard UI
|
|
46
|
+
2. **System Hooks (5-10%)** - Edge cases where semantic hooks don't apply
|
|
47
|
+
3. **Palette Hooks (5%)** - Data visualization and decorative purposes
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## Semantic Color Hooks
|
|
52
|
+
|
|
53
|
+
Semantic hooks are purpose-driven and automatically handle accessibility and theming.
|
|
54
|
+
|
|
55
|
+
### Accent Colors
|
|
56
|
+
|
|
57
|
+
Brand identity and interactive elements like links, buttons, and icons.
|
|
58
|
+
|
|
59
|
+
**Hook patterns:** `--slds-g-color-accent-*`, `--slds-g-color-accent-container-*`, `--slds-g-color-border-accent-*`, `--slds-g-color-on-accent-*`
|
|
60
|
+
|
|
61
|
+
**Use for:** Links, brand buttons, interactive icons, selected states
|
|
62
|
+
|
|
63
|
+
> **Detailed guidance:** [Accent Color Hooks](ref:slds.guidance.hooks.color.accent)
|
|
64
|
+
|
|
65
|
+
### Surface Colors
|
|
66
|
+
|
|
67
|
+
Backgrounds and canvases that establish visual stacking context and enable theming.
|
|
68
|
+
|
|
69
|
+
**Hook patterns:** `--slds-g-color-surface-*`, `--slds-g-color-surface-container-*`, `--slds-g-color-on-surface-*`
|
|
70
|
+
|
|
71
|
+
**Use for:** Page backgrounds, modals, cards, panels, popovers
|
|
72
|
+
|
|
73
|
+
> **Detailed guidance:** [Surface Color Hooks](ref:slds.guidance.hooks.color.surface)
|
|
74
|
+
|
|
75
|
+
### Feedback Colors
|
|
76
|
+
|
|
77
|
+
Visual feedback for status and state communication.
|
|
78
|
+
|
|
79
|
+
**Hook patterns:** `--slds-g-color-error-*`, `--slds-g-color-warning-*`, `--slds-g-color-success-*`, `--slds-g-color-info-*`, `--slds-g-color-disabled-*`
|
|
80
|
+
|
|
81
|
+
**Use for:** Error messages, warnings, success confirmations, informational alerts, disabled states
|
|
82
|
+
|
|
83
|
+
> **Detailed guidance:** [Feedback Color Hooks](ref:slds.guidance.hooks.color.feedback)
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## System Color Hooks
|
|
88
|
+
|
|
89
|
+
Direct access to brand, neutral, and feedback color palettes for edge cases.
|
|
90
|
+
|
|
91
|
+
**Hook patterns:** `--slds-g-color-neutral-base-{grade}`, `--slds-g-color-brand-base-{grade}`, `--slds-g-color-error-base-{grade}`, `--slds-g-color-warning-base-{grade}`, `--slds-g-color-success-base-{grade}`
|
|
92
|
+
|
|
93
|
+
**Use for:** Data visualization, custom brand elements, legacy migration, specialized UI
|
|
94
|
+
|
|
95
|
+
**Important:** System colors bypass built-in accessibility guarantees. Manual verification required.
|
|
96
|
+
|
|
97
|
+
> **Detailed guidance:** [System Color Hooks](ref:slds.guidance.hooks.color.system)
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
## Expressive Palette Hooks
|
|
102
|
+
|
|
103
|
+
Extended color palettes for data visualization and highlighting.
|
|
104
|
+
|
|
105
|
+
### Cool Tones (Recommended)
|
|
106
|
+
|
|
107
|
+
- **Cloud Blue:** `--slds-g-color-palette-cloud-blue-{grade}` - Professional, calm
|
|
108
|
+
- **Indigo:** `--slds-g-color-palette-indigo-{grade}` - Similar to brand
|
|
109
|
+
- **Purple:** `--slds-g-color-palette-purple-{grade}` - Expressive, creative
|
|
110
|
+
- **Violet:** `--slds-g-color-palette-violet-{grade}` - Accent, emphasis
|
|
111
|
+
|
|
112
|
+
### Warm Tones (Use with caution)
|
|
113
|
+
|
|
114
|
+
- **Green:** `--slds-g-color-palette-green-{grade}` - Highlights (avoid confusion with success)
|
|
115
|
+
- **Orange:** `--slds-g-color-palette-orange-{grade}` - Attention-grabbing
|
|
116
|
+
- **Hot Orange:** `--slds-g-color-palette-hot-orange-{grade}` - Maximum emphasis
|
|
117
|
+
- **Red:** `--slds-g-color-palette-red-{grade}` - Urgent (avoid confusion with error)
|
|
118
|
+
|
|
119
|
+
**Use for:** Charts, graphs, dashboards, data categories, infographics
|
|
120
|
+
|
|
121
|
+
> **Detailed guidance:** [Expressive Palette Hooks](ref:slds.guidance.hooks.color.expressive-palette)
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
125
|
+
## The Numerical Color System
|
|
126
|
+
|
|
127
|
+
SLDS uses a 0-100 grade scale where:
|
|
128
|
+
|
|
129
|
+
- **0** = Darkest
|
|
130
|
+
- **100** = Lightest
|
|
131
|
+
|
|
132
|
+
### Accessibility Guarantees
|
|
133
|
+
|
|
134
|
+
| Separation | Contrast Ratio | Use Case |
|
|
135
|
+
| ---------- | -------------- | -------------------- |
|
|
136
|
+
| 50 points | 4.5:1 | Text (WCAG AA) |
|
|
137
|
+
| 40 points | 3:1 | UI elements, borders |
|
|
138
|
+
|
|
139
|
+
### Common Pairings
|
|
140
|
+
|
|
141
|
+
| Background | Foreground | Purpose |
|
|
142
|
+
| -------------------- | ------------------ | ---------------- |
|
|
143
|
+
| `surface-1` | `on-surface-1/2/3` | Standard content |
|
|
144
|
+
| `accent-container-1` | `on-accent-1` | Brand buttons |
|
|
145
|
+
| `error-container-1` | `on-error-1` | Error alerts |
|
|
146
|
+
|
|
147
|
+
---
|
|
148
|
+
|
|
149
|
+
## Quick Decision Guide
|
|
150
|
+
|
|
151
|
+
| Need | Hook Category | Example |
|
|
152
|
+
| ----------------- | ------------------ | -------------------------------------- |
|
|
153
|
+
| Link color | Accent | `--slds-g-color-accent-2` |
|
|
154
|
+
| Page background | Surface | `--slds-g-color-surface-1` |
|
|
155
|
+
| Card background | Surface Container | `--slds-g-color-surface-container-1` |
|
|
156
|
+
| Button background | Accent Container | `--slds-g-color-accent-container-1` |
|
|
157
|
+
| Error message | Feedback | `--slds-g-color-error-1` |
|
|
158
|
+
| Chart colors | Expressive Palette | `--slds-g-color-palette-cloud-blue-50` |
|
|
159
|
+
| Body text | On Surface | `--slds-g-color-on-surface-2` |
|
|
160
|
+
|
|
161
|
+
---
|
|
162
|
+
|
|
163
|
+
## Detailed Guidance
|
|
164
|
+
|
|
165
|
+
For implementation details on specific color types, see:
|
|
166
|
+
|
|
167
|
+
1. **Accent colors:** [Accent Color Hooks](ref:slds.guidance.hooks.color.accent)
|
|
168
|
+
2. **Surface colors:** [Surface Color Hooks](ref:slds.guidance.hooks.color.surface)
|
|
169
|
+
3. **Feedback colors:** [Feedback Color Hooks](ref:slds.guidance.hooks.color.feedback)
|
|
170
|
+
4. **System colors:** [System Color Hooks](ref:slds.guidance.hooks.color.system)
|
|
171
|
+
5. **Expressive palette:** [Expressive Palette Hooks](ref:slds.guidance.hooks.color.expressive-palette)
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: slds.guidance.hooks.color.accent
|
|
3
|
+
title: Accent Color Styling Hooks
|
|
4
|
+
description: Semantic hooks for brand identity, interactive elements, and visual emphasis
|
|
5
|
+
summary: "Guidance for accent color hooks used for links, buttons, and brand emphasis. Covers accent, accent-container, border-accent, and on-accent hooks with state progression and accessibility pairing."
|
|
6
|
+
|
|
7
|
+
artifact_type: reference
|
|
8
|
+
domain: styling-hooks
|
|
9
|
+
topic: color
|
|
10
|
+
subtopic: semantic
|
|
11
|
+
|
|
12
|
+
content_format: structured
|
|
13
|
+
complexity: intermediate
|
|
14
|
+
audience: [implementer]
|
|
15
|
+
|
|
16
|
+
tasks: [choose, implement, troubleshoot]
|
|
17
|
+
|
|
18
|
+
refs:
|
|
19
|
+
- slds.guidance.hooks.color.surface
|
|
20
|
+
- slds.guidance.hooks.color
|
|
21
|
+
- slds.guidance.hooks.color.feedback
|
|
22
|
+
|
|
23
|
+
tags: [styling-hooks, color, semantic, accent, brand, interactive, links, buttons]
|
|
24
|
+
keywords: [accent color, brand color, links, buttons, interactive elements, visual hierarchy, hover states]
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
# Accent Color Styling Hooks
|
|
28
|
+
|
|
29
|
+
> **Hook Selection:** Semantic hooks like accent are the first choice (85% of use cases). See [Hook Selection Hierarchy](ref:slds.guidance.hooks.color).
|
|
30
|
+
|
|
31
|
+
## Overview
|
|
32
|
+
|
|
33
|
+
Accent colors express a brand's accent color throughout the user interface or to draw attention to an action. Brand colors highlight actions on the page through buttons and links.
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## `--slds-g-color-accent-*`
|
|
38
|
+
|
|
39
|
+
### Description
|
|
40
|
+
Accent colors that are generally used for text or icons.
|
|
41
|
+
|
|
42
|
+
### Available Hooks
|
|
43
|
+
- `--slds-g-color-accent-1` - Lightest accent color
|
|
44
|
+
- `--slds-g-color-accent-2` - Medium accent color
|
|
45
|
+
- `--slds-g-color-accent-3` - Darkest accent color
|
|
46
|
+
|
|
47
|
+
### State Progression Logic
|
|
48
|
+
|
|
49
|
+
The variant number you use depends on the default state's contrast requirements:
|
|
50
|
+
- **If default state uses `accent-1`**: Use `accent-2` for hover states
|
|
51
|
+
- **If default state uses `accent-2`**: Use `accent-3` for hover states
|
|
52
|
+
|
|
53
|
+
**Why this matters**: `accent-2` is often the default for links and interactive text because `accent-1` may not meet accessibility contrast requirements on non-white backgrounds. The hover state then uses the next darker variant.
|
|
54
|
+
|
|
55
|
+
### Usage
|
|
56
|
+
|
|
57
|
+
#### Do
|
|
58
|
+
- Use accent colors for brand identity and interactive elements (links, buttons, icons)
|
|
59
|
+
- Use accent colors for emphasizing key actions and content
|
|
60
|
+
- Use accent colors to create visual hierarchy with brand colors
|
|
61
|
+
<!-- - Consider brand-base-90 and 80 for backgrounds and hover states for menu type components using the brand-base styling hook -->
|
|
62
|
+
|
|
63
|
+
#### Don't
|
|
64
|
+
- Avoid using for large background areas
|
|
65
|
+
- Avoid using for container backgrounds
|
|
66
|
+
- Avoid for body text or long-form content
|
|
67
|
+
- Avoid using without ensuring proper contrast
|
|
68
|
+
- Avoid using as the only color indicator for status
|
|
69
|
+
- Avoid using system colors or colors from another group like surface colors in combination with accent colors
|
|
70
|
+
|
|
71
|
+
#### Context
|
|
72
|
+
- Links and interactive text (commonly use accent-2 by default, accent-3 on hover)
|
|
73
|
+
- Brand elements and identity
|
|
74
|
+
- Icon fills and accents
|
|
75
|
+
- Icon Buttons and interactive text
|
|
76
|
+
- Indicates active or selected states in components
|
|
77
|
+
- **Note**: Interactive icons that respond to hover are treated as Button Icon components and handle the state changes on their own.
|
|
78
|
+
|
|
79
|
+
### Accessibility
|
|
80
|
+
- All accent colors are AA compliant and maintain a 4.5:1 contrast using semantic colors with a 50 gradepoint difference between the background and foreground
|
|
81
|
+
- Best paired with on-accent colors for foreground text and icons. Choose on-accent level based on content importance and required contrast, not strict number matching. For example, pair `--slds-g-color-accent-1` with `--slds-g-color-on-accent-1` for consistency, though other on-accent levels may be used based on emphasis needs while maintaining accessibility compliance
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## `--slds-g-color-accent-container-*`
|
|
86
|
+
|
|
87
|
+
### Description
|
|
88
|
+
Background fills using accent colors for containers.
|
|
89
|
+
|
|
90
|
+
### Available Hooks
|
|
91
|
+
- `--slds-g-color-accent-container-1` - Lightest accent container background
|
|
92
|
+
- `--slds-g-color-accent-container-2` - Medium accent container background
|
|
93
|
+
- `--slds-g-color-accent-container-3` - Darkest accent container background
|
|
94
|
+
|
|
95
|
+
### State Progression Logic
|
|
96
|
+
|
|
97
|
+
Container variants follow a straightforward state progression pattern:
|
|
98
|
+
- **If default state uses `accent-container-1`**: Use `accent-container-2` for hover/active states
|
|
99
|
+
- **If default state uses `accent-container-2`**: Use `accent-container-3` for hover/active states
|
|
100
|
+
|
|
101
|
+
**Why this pattern**: Higher numbered variants provide increased visual emphasis and contrast, making interactive states clearly distinguishable from default states.
|
|
102
|
+
|
|
103
|
+
### Usage
|
|
104
|
+
|
|
105
|
+
#### Do
|
|
106
|
+
- Use accent container colors for containers such as brand buttons and their hover and active states
|
|
107
|
+
- Use accent container colors for interactive container backgrounds that need accent color emphasis
|
|
108
|
+
- Use accent container colors for interactive element backgrounds
|
|
109
|
+
- Use accent container colors for hover/focus/active states of interactive containers
|
|
110
|
+
|
|
111
|
+
#### Don't
|
|
112
|
+
- Avoid using for non-interactive decorative elements
|
|
113
|
+
- Avoid using as primary or secondary brand colors outside interactive container contexts
|
|
114
|
+
- Avoid for subtle interactions where less emphasis is needed
|
|
115
|
+
- Avoid using for large areas without specific interaction requirements
|
|
116
|
+
- Avoid without proper interaction context
|
|
117
|
+
- Avoid using system colors or colors from another group like surface colors in combination with accent container colors
|
|
118
|
+
|
|
119
|
+
**Important**: Accent containers carry brand significance indicating interaction and should only be used for interactive elements, not for non-interactive decorative purposes.
|
|
120
|
+
|
|
121
|
+
#### Context
|
|
122
|
+
- Brand button backgrounds and their interactive states
|
|
123
|
+
- Interactive element backgrounds
|
|
124
|
+
- Hover/focus/active state backgrounds for interactive containers
|
|
125
|
+
- Interactive content areas requiring brand emphasis
|
|
126
|
+
|
|
127
|
+
### Accessibility
|
|
128
|
+
- All container colors are AA compliant and maintain a 4.5:1 contrast using semantic colors with a 50 gradepoint difference between the background and foreground
|
|
129
|
+
- Best paired with on-accent colors for foreground text and icons. Choose on-accent level based on content importance and required contrast, not strict number matching. For example, pair `--slds-g-color-accent-container-1` with `--slds-g-color-on-accent-1` for consistency, though other on-accent levels may be used based on emphasis needs while maintaining accessibility compliance
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
## `--slds-g-color-border-accent-*`
|
|
134
|
+
|
|
135
|
+
### Description
|
|
136
|
+
Accent border colors for brand-colored outlines when higher visual emphasis is required beyond neutral borders.
|
|
137
|
+
|
|
138
|
+
### Available Hooks
|
|
139
|
+
- `--slds-g-color-border-accent-1` - Lightest accent border color
|
|
140
|
+
- `--slds-g-color-border-accent-2` - Medium accent border color
|
|
141
|
+
- `--slds-g-color-border-accent-3` - Darkest accent border color
|
|
142
|
+
|
|
143
|
+
### Usage
|
|
144
|
+
|
|
145
|
+
#### Do
|
|
146
|
+
- Use neutral border hooks (`--slds-g-color-border-2`) as the primary choice for standard interactive elements to ensure cross-component consistency
|
|
147
|
+
- Use border-accent hooks only when explicit brand-colored outlines are required by the design
|
|
148
|
+
- Use border-accent hooks for high-emphasis brand identity elements that need to stand out from standard UI
|
|
149
|
+
- Pair with accent container colors for unified brand treatments
|
|
150
|
+
|
|
151
|
+
#### Don't
|
|
152
|
+
- Avoid using border-accent hooks as the default border choice — prefer neutral borders unless brand emphasis is explicitly needed
|
|
153
|
+
- Avoid using as the default border for interactive elements unless a high-contrast brand treatment is specifically required
|
|
154
|
+
- Avoid using for large background areas (borders should define, not fill)
|
|
155
|
+
- Avoid for body text or long-form content
|
|
156
|
+
- Avoid using without ensuring proper contrast
|
|
157
|
+
- Avoid using as the only color indicator for status
|
|
158
|
+
- Avoid using non-border accent colors on borders to achieve a border with an accent color
|
|
159
|
+
|
|
160
|
+
#### Context
|
|
161
|
+
- Brand button outlines
|
|
162
|
+
- Interactive element outlines
|
|
163
|
+
|
|
164
|
+
**Note**: To align with current design patterns, most interactive components—including brand-variant buttons—rely on neutral border hooks (`--slds-g-color-border-2`) or are borderless. Border-accent hooks are primarily reserved for specialized theming, custom brand components, or specific focus indicators where standard neutral borders do not provide sufficient emphasis.
|
|
165
|
+
|
|
166
|
+
### Accessibility
|
|
167
|
+
- All border accent colors are AA compliant and maintain a 4.5:1 contrast using semantic colors with a 50 gradepoint difference between the background
|
|
168
|
+
- Works best on neutral backgrounds or paired with matching accent container colors.
|
|
169
|
+
- Maintains visibiltiy and consisteny when paired with `--slds-g-sizing-border-*` sizing hooks
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
173
|
+
## `--slds-g-color-on-accent-*`
|
|
174
|
+
|
|
175
|
+
### Description
|
|
176
|
+
Foreground colors for content placed on accent color backgrounds, such as text and icons.
|
|
177
|
+
|
|
178
|
+
### Available Hooks
|
|
179
|
+
- `--slds-g-color-on-accent-1` - Lightest foreground color for accent backgrounds
|
|
180
|
+
- `--slds-g-color-on-accent-2` - Medium foreground color for accent backgrounds
|
|
181
|
+
- `--slds-g-color-on-accent-3` - Darkest foreground color for accent backgrounds
|
|
182
|
+
|
|
183
|
+
### Usage
|
|
184
|
+
|
|
185
|
+
#### Do
|
|
186
|
+
- Use on-accent colors for text placed on accent color backgrounds
|
|
187
|
+
- Use on-accent colors for icons displayed on accent color backgrounds
|
|
188
|
+
- Use on-accent colors for any content that needs to be readable on accent backgrounds
|
|
189
|
+
- Pair on-accent colors with the corresponding accent background color
|
|
190
|
+
|
|
191
|
+
#### Don't
|
|
192
|
+
- Avoid using on light or non-accent backgrounds
|
|
193
|
+
- Avoid using without the corresponding accent background
|
|
194
|
+
- Avoid using for decorative elements that don't require readability
|
|
195
|
+
- Avoid mixing with non-matching accent backgrounds
|
|
196
|
+
|
|
197
|
+
#### Context
|
|
198
|
+
- Text on accent backgrounds
|
|
199
|
+
- Icons on accent surfaces
|
|
200
|
+
|
|
201
|
+
### Accessibility
|
|
202
|
+
- All on-accent colors are AA compliant and maintain a 4.5:1 contrast using semantic colors with a 50 gradepoint difference between the background
|
|
203
|
+
- Works best paired with a corresponding accent background color. Choose on-accent level based on content importance and required contrast, not strict number matching. For example, pair `--slds-g-color-on-accent-1` with `--slds-g-color-accent-1` or `--slds-g-color-accent-container-1` for consistency, though other pairings may be used based on emphasis needs while maintaining accessibility compliance
|
|
204
|
+
|