Endava / BEEQ

BEEQ Design System, a web component library ruled by Endavan developers :)
https://beeq.design
Apache License 2.0
79 stars 12 forks source link

refactor(BEEQ Tailwind): move declarative tokens to its corresponding Tailwind core plugin #1315

Closed dgonzalezr closed 1 month ago

dgonzalezr commented 1 month ago

Description

This PR moves some of the declarative color tokens to their corresponding Tailwind core plugin.

CleanShot 2024-10-22 at 19 17 36

This way, for background, border, text, stroke, and fill core plugins instead of having something like:

<div class="bg-bg-primary">....</div>
<div class="border-stroke-primary">....</div>

we will have:

<div class="bg-primary">....</div>
<div class="border-primary">....</div>

The color plugin has been left with just the primitive tokens and some of the token groups that do not have a counterpart in the Tailwilnd core plugins:

CleanShot 2024-10-22 at 19 18 17

This means that each of the color core plugins can also extend from these.

Related Issue

N/A

Documentation

Screenshots (if applicable)

Checklist

Additional Notes

nx-cloud[bot] commented 1 month ago

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 061f58ae32cbd24f04ccb14bf2eece42fff939ff. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 5 targets - [`nx run beeq:storybook-build --output-style=stream-without-prefixes`](https://cloud.nx.app/runs/jLjIjQni4x?utm_source=pull-request&utm_medium=comment) - [`nx affected -t e2e --exclude=*,!tag:core --parallel=3 --base=49c789b3e7dfd951d2c6817da516cdd8485a7c38 --head=061f58ae32cbd24f04ccb14bf2eece42fff939ff --ci --code-coverage --runInBand`](https://cloud.nx.app/runs/C6LC4tLLVl?utm_source=pull-request&utm_medium=comment) - [`nx affected -t build --exclude=*,!tag:publishable --parallel=3 --base=49c789b3e7dfd951d2c6817da516cdd8485a7c38 --head=061f58ae32cbd24f04ccb14bf2eece42fff939ff`](https://cloud.nx.app/runs/MV48edKHFn?utm_source=pull-request&utm_medium=comment) - [`nx affected -t test --exclude=*,!tag:core --parallel=3 --base=49c789b3e7dfd951d2c6817da516cdd8485a7c38 --head=061f58ae32cbd24f04ccb14bf2eece42fff939ff --ci --runInBand`](https://cloud.nx.app/runs/RivFVaQrDT?utm_source=pull-request&utm_medium=comment) - [`nx affected -t lint --exclude=*,!tag:publishable --parallel=3 --base=49c789b3e7dfd951d2c6817da516cdd8485a7c38 --head=061f58ae32cbd24f04ccb14bf2eece42fff939ff`](https://cloud.nx.app/runs/4cVm4az023?utm_source=pull-request&utm_medium=comment)

Sent with 💌 from NxCloud.

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud