kirbydesign / designsystem

Kirby Design System
https://cookbook.kirby.design
MIT License
82 stars 22 forks source link

[Enhancement] Extend DesignTokenHelper with breakpoint-map from _variables.scss #3119

Closed PeterLarsenIT closed 7 months ago

PeterLarsenIT commented 1 year ago

Describe the enhancement

I would like $breakpoint-map from _variables.scss to be available in DesignTokenHelper

Describe the solution you'd like

The possibility to get the breakpoint map through typescript using DesignTokenHelper.breakpoint-map

Have you considered any alternatives?

Nope

Are there any additional context?


Checklist:

The following tasks should be carried out in sequence in order to follow the process of contributing correctly.

Refinement

Implementation

The contributor who wants to implement this issue should:

Review

Once the issue has been implemented and is ready for review:

mark-drastrup commented 1 year ago

Hi @PeterLarsenIT :) We are working on an update that will merge the $breakpoint-map values into $breakpoints and remove $breakpoint-map. After the update you can access the values from DesignTokenHelper.breakpoints :)

stale[bot] commented 10 months ago

This issue has been automatically marked as stale because of no recent activity. It will be closed in 10 weeks if no further activity occurs. Thank you for your contributions.

stale[bot] commented 7 months ago

This issue has been closed due to inactivity. Please open a new issue if it becomes relevant again.