@pawelgrzybek It’s a nice way to visualize types!
The example for “as const” seems incorrect since it doesn’t use “as const” at all. (@kitlangton FYI)
Creator of #SuiteAdvanced for NetSuite Developer in #NetSuite, browser extensions, Google Apps Script, Outlook add-ins
@pawelgrzybek It’s a nice way to visualize types!
The example for “as const” seems incorrect since it doesn’t use “as const” at all. (@kitlangton FYI)
@csstricks Great article!
Small typo:
> It’s easier for to think in literal terms than negated statements.
This sentence is either missing “me” or has an unnecessary “for”.
@argyleink Hey that’s fancy, bro 😎
I just dropped a new #SuiteAdvanced release! Here's a quick look at what's new:
🟣 Export CSV reports of all config features and preferences
🔵 New "Open Popups as Tabs" setting
🟢 New "Copy Menu Path" action
🟡 Recent Runtime Heatmap for Map/Reduce & Scheduled Deployments
🟠 Shift + click to mass-select checkboxes on ERP pages
🔴 Bulk edit Summary Types in Saved Searches
🟣 Dashboard banner for Release Preview availability
🟢 And much more!
Full release notes: https://suiteadvanced.com/version-31_2_0
@cssweekly Yeah sure.
OKLCH really is superior, especially in gradients. However, it’s not quite baseline widely available yet.
RGB is probably the most human-readable. RGB and HSL are probably the easiest when it comes to calculating colors.
I usually default to HEX if the number of bites or characters is a concern, especially shorthand such as #fff and #000.
@cssweekly It really depends on the use case.
@art_codesmith And yet it’s the only browser that supports Temporal #javascript
@sandroroth Share the code!
@mez @jamessw I use it for both. I add dark mode to the platform my product enhances. Also some of the syntax highlighting themes I offer have light, dark, and auto versions.
See here: https://suiteadvanced.com/version-31_1_0/#New-Code-Syntax-Highlighting-Themes
@mez @jamessw Here’s an example where I’ve used color-scheme on individual elements in my SaaS. I display snippets of JSON/XML to users with ability to choose syntax highlighting themes. I set color-scheme to light/dark depending on the theme chosen. Sometimes they contain hyperlinks (ex: URLs become clickable). Anchor tags get their color based on if the user has chosen a light/dark theme. This way they don’t inherit their color from the main page. #SuiteAdvanced.
@kopio So the classes are named after the amount of red in their colors? Yes, very absurd. 🤔
@mikemccaffrey Maybe instead of “grey”, use “neutral”, “shade”, “mono”, or “bland”.
@DailyHTML What a time to be alive.
@alex It makes more sense to use it with `overflow: auto`. It would prevent page or content shifts when the scroll bar becomes hidden or visible. I use it for this reason in my browser extension’s settings page. #SuiteAdvanced #CSS #webdev
@hazz223 Sounds like the programming equivalent of “If a tree falls in a forest and no one is around to hear it, does it make a sound?”
A new #SuiteAdvanced release is here. Have a gander at what's new!
https://suiteadvanced.com/version-31_1_0
#NetSuite #Firefox #SuiteScript #SuiteQL #ProductUpdate #DevTools