hugo/resources/resource_transformers/tocss/scss
Bjørn Erik Pedersen ecf3cd514f tocss: Simplify the hugo:vars type handling
Instead of maintaing a list of all CSS units and functions this commit:

* Uses 3 regexps to detect typed CSS values (e.g. `24px`) + properly handle numeric Go types.
* These regexps may have some false positives -- e.g. strings that needs to be quoted.
* For that rare case, you can mark the string with e.g. `"32xxx" | css.Quoted`
* For the opposite case:  `"32" | css.Unquoted`

Updates #10632
2023-02-22 13:26:10 +01:00
..
client.go tocss: Simplify the hugo:vars type handling 2023-02-22 13:26:10 +01:00
client_extended.go Improve SASS errors 2022-05-15 20:25:25 +02:00
client_notavailable.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
client_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
integration_test.go tocss: Add some more test cases 2022-12-21 11:21:07 +01:00
tocss.go tocss: Add vars option 2022-12-20 19:36:30 +01:00