Skip to content

Commit

Permalink
THUB-15: setting up the variants
Browse files Browse the repository at this point in the history
  • Loading branch information
jenbreese committed Jun 29, 2024
1 parent 0e3d8fd commit 9fc087d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dist/css/main.css

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions taiwan_hub_subtheme.react_behaviors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Example react_behaviors plugin definitions.
# Plugin property $defaults are defined in ReactBehaviorsPluginManager.
banner_variant_info: # part of the key after the :
id: banner_type
label: 'Banner Paragraphs Type'
bundles:
- paragraphs_type|stanford_banner
config:
banner_style:
type: select
title: 'Banner style'
description: Select the button color for displaying this banner.
options:
thub-wrapper--banner-default: Default variant
thub-wrapper--banner-top: Top variant
thub-wrapper--banner-overlay: Overlay variant

0 comments on commit 9fc087d

Please sign in to comment.