Friday Frontend: Color Palettes and JS Performance Edition
Tags: fridayfrontend, css, javascript, webdev
Published: 2019-12-13 19:27:42

---
title: Friday Frontend: Color Palettes and JS Performance Edition
published: true
date: 2019-12-13 08:00:00 UTC
tags: friday-frontend, css, javascript, webdev
canonical_url: https://zendev.com/2019/12/13/color-palettes-and-js-performance-edition.html
---

Happy Friday! Just two full weeks left in 2019, and we’re starting to see a number of end of year round up/looking forwards, plus some “advent calendar” pieces publishing something every day this month.

That said, what stood out to me this week was a set of pairs - first in the CSS section looking at tooling for color palettes, and second in the JavaScript section looking at performance. There’s also some great new tools around shadows and sharing React components, plus an \*awesome\* interview published on JSParty. 

Enjoy!

Best,  
KBall from ZenDev

#### CSS & SCSS

##### [A Handy Sass-Powered Tool for Making Balanced Color Palettes](https://css-tricks.com/a-handy-sass-powered-tool-for-making-balanced-color-palettes/)

Fascinating exploration of color and a tool to look at and balance different attributes. Interesting both for the tool itself and the exploration into Sass functionality to understand how it was built.

  

##### [Calculating Color: Dynamic Color Theming with Pure CSS ⬇](https://una.im/css-color-theming/)

If this wasn’t dated beforehand, I’d swear it was a reaction to the article above. This one takes a set of base colors and explores how you can use vanilla CSS to build out a color palette, creating much of the same functionality exposed by Sass.

  

##### [Make a smooth shadow, friend.](https://brumm.af/shadows)

Super cool tool that lets you manipulate a variety of dimensions of box shadows using a GUI, see the output, and copy the CSS to reproduce the effect.

  

##### [CSS: An Art, a Science, a Nightmare (Everything You Should Know)](https://www.taniarascia.com/overview-of-css-concepts/)

Solid overview article. I also super appreciate that the author makes clear who the article is for - not experts, not novices, but “the middleground of people who have had to touch CSS a few times here and there but ultimately don't feel like they know what they're doing, or struggle with making basic layouts.”

  

##### [5 CSS Predictions For 2020](https://dev.to/argyleink/5-css-predictions-for-2020-pl3)

We’re at that time of year, where it’s great to look back and look forward. I think this is generally a great list, and agree with almost all of them. I do think the “hail mary” prediction of a package manager for CSS is pretty unlikely, but I wouldn’t be at all be surprised to see more css-specific tooling spring up around JavaScript package managers like npm.

  
<script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?serve=CE7D6K7I&amp;placement=zendevcom" id="_carbonads_js"></script>
#### JavaScript

##### [JavaScript component-level CPU costs](https://calendar.perfplanet.com/2019/javascript-component-level-cpu-costs/)

Woah, this is a fascinatingly deep and precise look at the CPU cost of various JavaScript components. Appears to only fully work on Linux, but lets you get literal number of CPU instruction counts on how expensive things are to render and run.

  

##### [The unseen performance costs of modern CSS-in-JS libraries in React apps](https://calendar.perfplanet.com/2019/the-unseen-performance-costs-of-css-in-js-in-react-apps/)

Great dive beneath the hood of what’s going in on some popular CSS-in-JS libraries, and what the performance implications are. 

  

##### [JavaScript Christmas](https://javascript.christmas/)

An “advent calendar” highlighting a different JavaScript article every day for the first 25 days of December. Depending on your level and interests different articles may be of interest, but it’s definitely worth taking a look.

  

##### [Introducing React View, an Interactive Playground for Your Components ](https://baseweb.design/blog/introducing-react-view/)

Interesting looking alternative to [Storybook](https://storybook.js.org/) for creating interactive documentation of React components, open sourced by Uber. They’ve made some different choices than storybook, for one they allow live code editing in the web page to see how things work. I’ll be interested to hear what people think.

  

##### [What's the difference between encodeURI() and encodeURIComponent() in vanilla JS?](https://gomakethings.com/whats-the-difference-between-encodeuri-and-encodeuricomponent-in-vanilla-js/)

Super short article, but it clearly answers a question I’ve found myself googling many times over my career, so I thought it might be useful to you too. :)

  

#### Promoted Link

##### [LAST DAY TODAY - Udemy Courses starting at $11.99](https://click.linksynergy.com/fs-bin/click?id=hIdOL5Z4eK4&offerid=624447.11513&type=3&subid=0)

Ending today, Udemy is running a “Tis the season for learning” sale marking down all of their courses, with almost all of them between $11.99 and $14.99. If you have been meaning to get something, now is the time! And if you’re looking for recommendations, Courses I’ve been recommending recently include [The Complete JavaScript Course 2019](https://bit.ly/zd-complete-javascript), [Modern React with Redux](https://bit.ly/zd-modern-react) (the course I learned React from, updated with all the latest features), and [Vue JS 2 - The Complete Guide](https://bit.ly/zd-vue2-complete) (by one of my favorite Udemy instructors, Maximilian Schwarzmüller.)

  

#### Other Awesomeness

##### [Modernizing Etsy’s codebase with React (Audio with transcript)](https://changelog.com/jsparty/105)

(Bias alert: I recorded this interview) -- Super fun interview with Katie Sylor-Miller, front-end architect at Etsy. We talk about migrating OhShitGit to the JAMStack, migrating legacy codebases to modern front-end technologies, and design systems.

  

##### [Making a Better Custom Select Element](https://24ways.org/2019/making-a-better-custom-select-element/)

Fascinating walkthrough of the process of making an accessible custom element. Explores a series of different type of use case - mouse, touch, sighted keyboard use, screen reader plus keyboard - and looks at what we need for each to make this new element both understandable and usable.

  

##### [WebAssembly becomes a W3C Recommendation](https://www.w3.org/2019/12/pressrelease-wasm-rec.html.en)

From an exploratory working group to an official W3C recommendation and standard, WebAssembly has grown up and is now clearly a huge part of the future of the web.

  

##### [Motion Paths – Past, Present and Future](https://tympanus.net/codrops/2019/12/03/motion-paths-past-present-and-future/)

Cool tutorial on animating SVGs along a motion path. Looks at both current solutions using GSAP and the upcoming CSS motion path module. SUPER excited to have this accessible in CSS!

  

##### [Brand Illustration Systems: Drawing A Strong Visual Identity](https://www.smashingmagazine.com/2019/12/brand-illustration-systems-visual-identity/)

A delightful look at the process of design when it comes to visual brand identity. This is an area of design that front-end developers often have less insight into, as it comes well before the actual design of pages and components, but it’s super key for creating a recognizable and relatable brand.

  

* * *

#### Happy Friday!

That's it for this week's Friday Frontend newsletter. If you enjoyed this, you should probably [follow me on Twitter](https://twitter.com/kbal11) or join my mailing list. Sign up to get these newsletters straight to your inbox every Friday! Sign up here: [https://zendev.com/friday-frontend.html](https://zendev.com/friday-frontend.html)