Darren Burns
|
8617cbdc70
|
Update test over user css over widget css to show important widget css can be overridden by users too
|
2022-06-28 18:39:39 +01:00 |
|
Darren Burns
|
972aeece64
|
Add Specificity5 for user defined CSS
|
2022-06-28 17:26:18 +01:00 |
|
Darren Burns
|
7ebac6b860
|
Add wip test for user over widget css, use type alias
|
2022-06-28 13:52:58 +01:00 |
|
Will McGugan
|
2999626973
|
Merge branch 'css' into scroll-view
|
2022-06-21 10:33:29 +01:00 |
|
Darren Burns
|
c4c7e537f2
|
Fix regex, fix some broken tests around HSL support
|
2022-06-17 15:33:12 +01:00 |
|
Darren Burns
|
be771a0fca
|
Add extra test
|
2022-06-16 15:47:41 +01:00 |
|
Darren Burns
|
4dd0d9fae4
|
Add various additional tests around CSS specificity
|
2022-06-16 15:33:53 +01:00 |
|
Darren Burns
|
dc30ace121
|
Fix specificity ordering
|
2022-06-16 15:01:15 +01:00 |
|
Darren Burns
|
2d033d0e0f
|
Checking empty rules
|
2022-06-16 14:33:27 +01:00 |
|
Darren Burns
|
a07f97e627
|
Take final rule in event of specificity clash
|
2022-06-16 14:32:38 +01:00 |
|
Darren Burns
|
d7159d905a
|
Fix regex, fix some broken tests around HSL support
|
2022-06-07 15:36:45 +01:00 |
|
Will McGugan
|
96c013aa39
|
Scroll view widget
|
2022-05-31 10:48:40 +01:00 |
|
Olivier Philippon
|
aa7b19a193
|
[css] Address PR feedback for "Did you mean" suggestions
|
2022-05-11 10:45:38 +01:00 |
|
Olivier Philippon
|
e37036c816
|
[css] Add a "Did you mean" suggestion when the value of a color is wrong but we can find a close one
|
2022-05-10 11:13:38 +01:00 |
|
Darren Burns
|
4a6b5a31f4
|
Merge pull request #459 from Textualize/expanded-css-hex-support
Support 3 and 4 character hex strings for colours
|
2022-05-04 10:23:54 +01:00 |
|
Darren Burns
|
568f183862
|
Fix test asserting that we dont support hex3 values
|
2022-05-03 17:32:25 +01:00 |
|
Olivier Philippon
|
26f138e69b
|
[css] Address "did you mean" PR feedback
|
2022-05-03 15:40:06 +01:00 |
|
Olivier Philippon
|
f5aac5d028
|
[css] Use a HelpText for unknown CSS property name errors
|
2022-05-03 14:52:32 +01:00 |
|
Olivier Philippon
|
2c03f8cfe1
|
[css] Add a "did you mean" suggestion when an unknown CSS property is spotted
So using "bckgroundu: red" in a CSS file will report _"unknown declaration 'bckgroundu'; did you mean 'background'?"_
|
2022-05-03 14:52:32 +01:00 |
|
Will McGugan
|
dd8b11be87
|
Merge branch 'css' into add-web-colors-management-and-prefix-ansi-ones
|
2022-04-29 10:47:40 +01:00 |
|
Will McGugan
|
8e821d4113
|
lazy parse_rules
|
2022-04-29 10:34:35 +01:00 |
|
Will McGugan
|
233c2c4075
|
fix css reload
|
2022-04-29 10:20:32 +01:00 |
|
Olivier Philippon
|
eedec6c863
|
[colors] Merge the first 16 ANSI colors with the named Web ones, add "transparent"
|
2022-04-28 15:00:26 +01:00 |
|
Olivier Philippon
|
a304334628
|
[colors] Add management of named Web colors to our CSS processing, prefix ANSI ones with ansi_
|
2022-04-28 14:21:02 +01:00 |
|
Olivier Philippon
|
d0b8cacc35
|
[css][bugfix] CSS colors can now have digits at the end of their names
|
2022-04-28 10:44:05 +01:00 |
|