Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Support additional prefixes/profiles in .properties- files #649

Open
valerakostin opened this issue Feb 17, 2023 · 0 comments
Open

Comments

@valerakostin
Copy link
Contributor

It would be nice to have a possibility to define properties with a custom prefix similar to platform specific values.

<LaF>.properties

# use 0 for Button.arc in Windows 10 or default value otherwise
[win10]Button.arc = 0
[win10]TextComponent.arc = $Button.arc

# Environment
[dev]Toolbar.background = @color1
[test]Toolbar.background = @color2
[prod]Toolbar.background = @color3

Use Cases:

  • Windows 11 comes with the new rounded edges. There is no possibility to define different *.arc values for Win10 and Win11 in the same <LaF>.properties file.
  • Customizing for different environment like dev, text, prod etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant