breakpoint configuration
See original GitHub issuecurrently, the logic generates breakpoints based on the following breakpoint
so it seems, that the breakpoint ns
which is available in the regular tachyons cannot be produced
I want to mirror the material design breakpoints, which include not only xs
, sm
, md
, lg
, xl
, but also gt-xs
, gt-sm
, gt-md
, gt-lg
(greater-than). They have the same semantic logic as tachyons’ ns
, basically only describing the min-width
as for the json config, this could be indicated with <=
and/or >=
"customMedia": [
{ "sm": "600px" },
{ "md": "960px" },
{ "lg": "1280px" },
{ "xl": "1920px" },
{ "gt-xs": ">=600px" },
{ "gt-sm": ">=960px" },
{ "gt-md": ">=1280px" },
{ "gt-lg": ">=1920px" }
],
where >=600px
would result in screen and min-width(600px)
I admit, this does not look nice, but thats only from the top of my head
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Use breakpoints in the Visual Studio debugger - Microsoft Learn
Hover over the breakpoint symbol, choose the Settings icon, and then select Remove breakpoint once hit in the Breakpoint Settings window. Choose ...
Read more >Breakpoints | IntelliJ IDEA Documentation - JetBrains
Configure breakpoints ' properties · To access breakpoint intentions, place the caret at the line with the breakpoint and press Alt+Enter . Use ......
Read more >Debugging in Visual Studio Code
Set breakpoints, step-in, inspect variables and more. ... VS Code keeps debugging configuration information in a launch.json file located in a .vscode ...
Read more >Setting and Modifying Breakpoints - RAD Studio
You can set data breakpoints and address breakpoints only when the application is running in debug mode (F9). Breakpoint Icons. During a debugging...
Read more >Setting Breakpoints - Eclipse
To add a condition to a breakpoint: Right-click the breakpoint in the vertical marker bar and select Breakpoint Properties... ... The PHP Conditional...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
That’s a great idea. I’ve gone ahead and spiked out an implementation (#66) that also adds further customization allowing you to pass an object instead of a media query value for further configurability:
The last mq options make the class naming become
db@gt-lg
for that breakpoint : )No worries, glad it works! 😸