Skip to content

Modernize color picker and add ColorFormField#4353

Merged
10 commits merged intomasterfrom
ColorFormField
Jul 2, 2021
Merged

Modernize color picker and add ColorFormField#4353
10 commits merged intomasterfrom
ColorFormField

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Jul 1, 2021

Best reviewed commit by commit.

@ghost ghost added the Feature label Jul 1, 2021
@ghost ghost requested a review from TimWolla July 1, 2021 08:07
Matthias Schmidt added 3 commits July 1, 2021 10:09
Instead of having to implement a color picker ourselves, we delegate the task to the browser by using a `input[type=color]` element. Because this color input does not support transparency, there is an additional `input[type=range]` element for transparency.
@ghost ghost force-pushed the ColorFormField branch from 01a9db3 to 11dd518 Compare July 1, 2021 08:09
@ghost ghost force-pushed the ColorFormField branch from 11dd518 to ea94fb5 Compare July 1, 2021 08:13
Comment thread ts/WoltLabSuite/Core/ColorUtil.ts
Comment thread ts/WoltLabSuite/Core/Ui/Color/Picker.ts
@ghost ghost merged commit 0bdfca2 into master Jul 2, 2021
@ghost ghost deleted the ColorFormField branch July 2, 2021 09:04
ghost pushed a commit to WoltLab/docs.woltlab.com that referenced this pull request Jul 2, 2021
ghost pushed a commit to WoltLab/docs.woltlab.com that referenced this pull request Jul 2, 2021
ghost pushed a commit to WoltLab/docs.woltlab.com that referenced this pull request Jul 2, 2021
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant