Skip to content

Commit

Permalink
Enable Spectrum Palette
Browse files Browse the repository at this point in the history
  • Loading branch information
sonvnn committed Sep 1, 2022
1 parent 2664898 commit b5dea1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/astroid.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var spectrumConfig = {
allowEmpty: true,
showAlpha: true,
disabled: false,
showPalette: false,
showPalette: true,
showPaletteOnly: false,
showSelectionPalette: true,
showButtons: false,
Expand Down

4 comments on commit b5dea1e

@ramblerswebs
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sonny
thank you very much for that.
I see this file is in media/astroid/assets
I see this is part of the Astroid framework?
Will this change be in future releases of the framework?

@Chacapamac
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just try and it work.
The fact to have a color palette that you can define (by the Theming Colors) for me is important.
It permit the designer of the website to define a set of colors that can be use and re-use easily making sure the website stay visually uniform and not become a rainbow mix of colors that are not matching together.
Normally, at least, in my editor, l set a limited palette of colors that match the visual and feeling of the website design to help editors make professionally looking pages without having to search for a specific color.

@sonvnn
Copy link
Member Author

@sonvnn sonvnn commented on b5dea1e Oct 11, 2022 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Chacapamac
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, Thanks!

Please sign in to comment.