LPS-136427 Move Some Custom Properties to Clay CSS #104983
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Forwarded from: liferay-frontend#1277 (Took 1
ci:forward
attempt in 3 minutes)Console
@pat270
@liferay-frontend
Original pull request comment:
https://issues.liferay.com/browse/LPS-136427
Hey @marcoscv-work @edalgrin @nhpatt @dsanz @matuzalemsteles @drakonux ,
I was able to move a lot of the custom properties to Clay CSS. Some places that are giving me trouble is:
It's due to Bootstrap functions and mixins. I need to update those, but didn't have enough time today to figure out a work around. Anyway take a look and tell me what you think.
Edit: I've cleaned the custom properties implementation up a lot. I believe we can get rid of the
custom_properties
directory and bake it directly into Classic Theme. Some things that need to be updated besides the two points above:#wrapper
:can we change this to replace the custom property inside
:root
? We don't need to try and scope CSS this way anymore with Cadmin.initial
and resetting the property back to its default.#wrapper
anymore and just usebody
. I can update Clay CSS so we can customizefont-size
in thebody
tag better.--hr-border-color
called Separation Border Color in Stylebook? It's so hard to make the connection between that label and the variable name.Here is some markup you can toss into a fragment for testing:
✔️ ci:test:stable - 9 out of 9 jobs passed
✔️ ci:test:relevant - 22 out of 22 jobs passed in 1 hour 24 minutes
Click here for more details.
Base Branch:
Branch Name: master
Branch GIT ID: 7cb912889719a27e3dff73a0501155c0f36610f9
Upstream Comparison:
Branch GIT ID: 7cb912889719a27e3dff73a0501155c0f36610f9
Jenkins Build URL: Acceptance Upstream DXP (master) #2168
ci:test:stable - 9 out of 9 jobs PASSED
9 Successful Jobs:
ci:test:relevant - 22 out of 22 jobs PASSED
22 Successful Jobs:
For more details click here.
Test bundle downloads:
✔️ ci:test:sf - 1 out of 1 jobs passed in 2 minutes
Click here for more details.
Base Branch:
Branch Name: master
Branch GIT ID: 7cb912889719a27e3dff73a0501155c0f36610f9
Sender Branch:
Branch Name: custom-properties
1 out of 1jobs PASSEDBranch GIT ID: d363d9a9b65885a7b071e9f47312b7935c7050c6
1 Successful Jobs:
For more details click here.