Olivier Philippon

Results 39 comments of Olivier Philippon

Since we're targetting people who are already writing Python code, I wonder if [Starlark](https://github.com/bazelbuild/starlark#readme), the Python sandboxed dialect created by Google for their Bazel build tool, couldn't be a good...

@willmcgugan the implementation is twice more verbose than the "_sentinel 'auto' Color_" one, and I'm not a big fan of the fact that we now offload a characteristic of a...

@willmcgugan Feedback (hopefully) addressed! :slightly_smiling_face: [28edacf](https://github.com/Textualize/textual/pull/596/commits/28edacfa57e9f72cf66399be19ff39a60bc58bc2)

> So `self.styles.color` could return a Color or an Auto? > What kind of interface would the Auto support? Can I write `self.styles.color.r` or would I have to do `is...

While we're at it I'm putting this here - mostly for myself, for future reference :smile: #### List of the "universal" values we can apply to _any_ CSS property in...

> For the Python interface, I think we will need `color_auto` as a boolean, but also `color_auto_alpha` as a float to capture the alpha color. I think that would avoid...

As I was implementing this I realised that there is a slight issue :sweat_smile: : - In order to make ColorProperty return a conytrasting colour on the fly when we...

@willmcgugan here you go! [4439ca1](https://github.com/Textualize/textual/pull/596/commits/4439ca1308926c8c5ac44e60f31ea66c385df4e4)

We shouldn't start working on it as long as #569 is not merged, since this other ticket also affect the colours rendering