Skip to main content

Test and publish PyPI version

Wagtail-Color-Panel

Introduces panels for selecting colors in Wagtail.

Screen1

Features

  • NativeColorPanel that can be used in your edit handler
  • NativeColorBlock for usage in a StreamField
  • Based on the native HTML5 color picker
  • A custom db field for improved validation
  • PolyfillColorPanel for cases that require IE11 support (built on Spectrum)

Example

from wagtail.models import Page

from wagtail_color_panel.fields import ColorField
from wagtail_color_panel.edit_handlers import NativeColorPanel


class MyPage(Page):
    color = ColorField()

    content_panels = Page.content_panels + [
        NativeColorPanel('color'),
    ]

Documentation

Contributing

Want to contribute? Awesome. Just send a pull request.

License

Wagtail-Color-Panel is released under the MIT License.

Release files for wagtail-color-panel 1.8.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wagtail-color-panel 1.8.1
File Size Uploaded
wagtail_color_panel-1.8.1.tar.gz 10.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wagtail-color-panel 1.8.1
File Interpreter ABI Platform
wagtail_color_panel-1.8.1-py3-none-any.whl Python 3 none any Details

Total release size: 20.0 kB

Release files / wagtail_color_panel-1.8.1.tar.gz

Download URL wagtail_color_panel-1.8.1.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
aca26f8b7178ff596aa2eac8982167396bbbc222fadbae4b6b1f18291b33473a
BLAKE2b-256 checksum
How to use checksums
9e44bd3e5a9ee9bc9b72153e0a227aae5b7e181d2ce4e601ff9b01c1074fbbb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / wagtail_color_panel-1.8.1-py3-none-any.whl

Download URL wagtail_color_panel-1.8.1-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6e8aaeceac3618a9b69370b5097fa4d3c2db19b31bff95b7726343660793e55e
BLAKE2b-256 checksum
How to use checksums
6dbb86ee676a4613c0dade91685fb3402766de4c20874ad6f18d91807d9813cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release history Release notifications | RSS feed

This release

1.8.1 This release

2 release files

1.7.1

2 release files

1.7.0

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.1

2 release files

1.3.0

1 release file

1.2.0

1 release file

1.1.0

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page