Skip to content

plain-solutions-gmbh/kirby-toggles-suite

Repository files navigation

Plain Toggles Suite Plugin for Kirby CMS

Kirby Toggles Suite

Extends the Kirby Toggles Field with colors, images and many more.

Installation

Manually

Download and unzip the content into your plugin folder: /site/plugins/

With Composer

composer require plain/kirby-toggles-suite

Examples

Manual Options

label: Theme
type: toggles
options:
  - text: Primary
    value: primary
    color: '#356A86'
  - text: Secondary
    value: secondary
    color: '#D3AF4C'
  - text: Negative
    value: negative
    color: '#FFFFFF'
    background: '#EC5555'
  - text: Positive
    value: positive
    color: '#FFFFFF'
    background: '#A3CD4F'

Query Options

label: Theme
type: toggles
options:
  type: query
  query: site.colors.tostructure
  text: '{{ item.label }}'
  value: '{{ item.class }}'
  color: '{{ item.invert }}'
  background: '{{ item.default }}'
  icon: alpha

License

By using this project, you agree to the terms and conditions outlined in our Terms of Service.

To acquire a license for this project, please visit our Licensing Page.

About

Extends the Kirby Toggles Field with colors, images and many more.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published