mp

Budget 2024: Agriculture, Employment, Infrastructure feature in nine priorities of third NDA government

Union Budget 2024 unveils nine priorities for this financial year as Finance Minister Nirmala Sitharaman delivers her seventh budget speech in Lok Sabha




mp

The trials and tribulations of apples and other imported fruits in the Nilgiris

English fruit trees were imported to the Nilgiris as soon as the first Europeans settled there. But no systematic record survives of the varieties that were tried or the success each achieved. The first person to succeed in cultivating apple was John Davison, a gardener trained at Kew in England. He was also said to have introduced pippin




mp

Centre launches new system to understand cropping patterns, impact of weather

Union Agriculture Ministry launches Krishi-DSS, a digital platform providing real-time data insights for stakeholders in Indian agriculture




mp

90-year-old farmer convicted, sentenced to one-year imprisonment for encroaching 36 guntas of government land in Karnataka

Small and marginal farmers are worried about being punished for encroachment, demand action against influential people who allegedly encroached on government land




mp

Onam 2024: Flowers and vegetables from Vattiyoorkavu set an example

MLA VK Prasanth encourages Krishi Bhavan at Vattiyoorkavu to cultivate vegetables and flowers on a vacant plot owned by the government



  • Life & Style

mp

Karnataka’s urban farmers champion millets to create cookies, idly mixes, pasta

Meet the farmers retailing value-added products with millets such as cookies, idly mixes, pasta, and more




mp

Home cooks in Thiruvananthapuram are championing artificial additive-free jams, preserves, juice, ethnic eats and more

Four home cooks in Thiruvananthapuram are turning fruits into value-added products without using artificial flavours or preservatives




mp

Climate change impact harsher on poorer farmers in India: FAO report

FAO recommends enhanced social security net for all, Niti Aayog member says India doing its best to deal with climate change.





mp

Volkswagen India enters compact sedan segment




mp

L&T net up 19% at Rs. 2,454 crore




mp

Mphasis Q4 net profit declines 13% to Rs. 155 crore




mp

Foreign investors reduce holdings in top 200 companies in March quarter




mp

SEBI issues norms for MFs’ redemption curbs




mp

Simplilearn to expand tie-ups with cos; plans guaranteed interviews




mp

Oil & gas roadshow: New policy to create more transparency, says Pradhan




mp

Media & Entertainment to be $40 billion industry by 2020: PwC




mp

Most employees in India prefer to work from home

In terms of gender, women are motivated to work more for promotions while men seek to increase their influence at work.




mp

Sensex jumps 310 points in early trade on firm global trends

Market participants will closely watch Q2 earnings season, starting with Tata Consultancy Services which is set to report its results later in the day, traders said.




mp

Sensex jumps 430 points in early trade on positive global trends

The NSE Nifty climbed 138.80 points.




mp

Sensex, Nifty slump as unabated foreign fund outflows drag markets lower

The BSE Sensex tanked 570.45 points to 80,436.16 in early trade. The NSE Nifty slumped 178.3 points to 24,571.55




mp

Hyundai Motor India shares jump 6%

Hyundai shares climbed 5.91% to ₹1,928.15 from the previous close on the BSE. At the NSE, the stock surged 6% to ₹1,928.90




mp

Equity investors poorer by ₹7.15 lakh crore in morning trade as markets slump

IndusInd Bank led the fall, while Mahindra & Mahindra, NTPC, Larsen & Toubro, Adani Ports, Titan, Tata Steel and JSW Steel were also among the laggards.




mp

Waaree Energies' shares make remarkable market debut; jump nearly 70%

After opening at ₹2,550, the stock reached a high of ₹2600 but immediately pared gains going to a low of ₹2,294.55




mp

Stock markets rebound on value buying in banking, steel shares; Sensex jumps 694 points

Bouncing back from Monday's (November 4) sharp fall, the BSE Sensex jumped 694.39 points or 0.88% to settle at 79,476.63




mp

Sensex, Nifty surge over 1% on heavy buying in IT stocks as Donald Trump wins U.S. polls

Stock markets surge over 1% as Sensex gains 901 points on Trump’s U.S. election win, boosting IT and pharma shares




mp

State Planning Commission in Tamil Nadu flags sector-wise impact from heat wave, calls for measures

Heat stress is repeatedly causing disruptions in ecological and economic systems, SPC report titled ‘Beating The Heat-Tamil Nadu Heat Mitigation Strategy’ said.




mp

Saidapet-Teynampet elevated corridor project: Highways Dept. removes footpaths on Anna Salai to construct flyover

The removal of the footpaths will help increase the width of the carriageway at points where lanes on either side of the median will be barricaded




mp

T.N. stretch of Bengaluru-Chennai Expressway may be completed by August 2025

While the 24.50-km package from Walajapet to Arakkonam has the most progress, with over 84% of the work being carried out, the Arakkonam to Kancheepuram package has the least progress with about 52%




mp

Collector forwards complaint against teacher to Education Department




mp

T.N. govt. sanctions funds to implement framework for flood protection work

The funds are to be utilised for the implementation and monitoring of an environmental and social management framework for flood protection work in Chennai, Tiruvallur, Chengalpattu, and Kancheepuram districts




mp

Organic/inorganic heterostructures templated by interfacial instability-driven BCP colloids in deformable emulsion droplets

Soft Matter, 2024, 20,8174-8180
DOI: 10.1039/D4SM00921E, Communication
Yuqing Song, Nan Yan, Lingli Wan, Jingjing Li, Ye Gao
Core–shell colloids are self-assembled in emulsion droplets driven by interfacial instability, which serve as excellent scaffolds for designing organic/inorganic heterostructures.
The content of this RSS Feed (c) The Royal Society of Chemistry




mp

The impact of cross-linker distribution on magnetic nanogels: encapsulation, transport and controlled release of the tracer

Soft Matter, 2024, Advance Article
DOI: 10.1039/D4SM00797B, Paper
Open Access
Ivan S. Novikau, Ekaterina V. Novak, Sofia S. Kantorovich
Differences in crosslinker concentration between the core and periphery of a magnetic nanogel slow down the release of a non-magnetic cargo.
To cite this article before page numbers are assigned, use the DOI form of citation above.
The content of this RSS Feed (c) The Royal Society of Chemistry




mp

Geometrical impacts of platonic particles on nematic liquid crystal dynamics

Soft Matter, 2024, Advance Article
DOI: 10.1039/D4SM00870G, Paper
Stiven Villada-Gil, Monirosadat Sadati, Juan D. Ospina-Correa, Daniel A. Olaya-Muñoz, Juan P. Hernández-Ortiz, José A. Martínez-González
In this work, we studied the defect dynamics of platonic-like colloidal particles immersed in a nematic liquid crystal under flow conditions, analyzing the behavior of disclinations for each of these polyhedra.
To cite this article before page numbers are assigned, use the DOI form of citation above.
The content of this RSS Feed (c) The Royal Society of Chemistry




mp

Stress amplification and relaxation imaging around cracks in nanocomposite gels using ultrasound elastography

Soft Matter, 2024, Advance Article
DOI: 10.1039/D4SM00909F, Paper
H. Le Blay, T. Deffieux, L. Laiarinandrasana, M. Tanter, A. Marcellan
Stress visualization around cracks in NC gels was performed using ultrasonic elastography. Temporal and spatial mapping are performed non-invasively. Over time, the stress gradient is erased by large-scale reorganization of the polymer network.
To cite this article before page numbers are assigned, use the DOI form of citation above.
The content of this RSS Feed (c) The Royal Society of Chemistry




mp

Drop deformation in a planar elongational flow: impact of surfactant dynamics

Soft Matter, 2024, Advance Article
DOI: 10.1039/D4SM00642A, Paper
Julian Wailliez, Paul Regazzi, Anniina Salonen, Paul G. Chen, Marc Jaeger, Marc Leonetti, Emmanuelle Rio
We measure the deformation of a drop under an extensional flow. The drop is less deformed than for a pure liquid because of the depletion of surfactants at the tips, which we attribute to the adsorption/desorption dynamics of the surfactants.
To cite this article before page numbers are assigned, use the DOI form of citation above.
The content of this RSS Feed (c) The Royal Society of Chemistry




mp

Segregative phase separation of strong polyelectrolyte complexes at high salt and high polymer concentrations

Soft Matter, 2024, 20,8505-8514
DOI: 10.1039/D4SM00994K, Paper
Open Access
  This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.
Conner H. Chee, Rotem Benharush, Lexi R. Knight, Jennifer E. Laaser
Complexes of strong polyelectrolytes prepared well above the binodal are shown to undergo hydrophobicity-driven segregative phase separation.
The content of this RSS Feed (c) The Royal Society of Chemistry




mp

Self-assembly of amphiphilic homopolymers grafted onto spherical nanoparticles: complete embedded minimal surfaces and a machine learning algorithm for their recognition

Soft Matter, 2024, 20,8385-8394
DOI: 10.1039/D4SM00616J, Paper
D. A. Mitkovskiy, A. A. Lazutin, A. L. Talis, V. V. Vasilevskaya
Amphiphilic macromolecules grafted onto spherical nanoparticles can self-assemble into morphological structures corresponding to the family of complete embedded minimal surfaces. They arise situationally, can coexist and transform into each other.
The content of this RSS Feed (c) The Royal Society of Chemistry




mp

Mechanical characterization of freestanding lipid bilayers with temperature-controlled phase

Soft Matter, 2024, 20,8524-8537
DOI: 10.1039/D4SM00706A, Paper
Open Access
  This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.
Arash Yahyazadeh Shourabi, Roland Kieffer, Djanick de Jong, Daniel Tam, Marie-Eve Aubin-Tam
Lipid membranes formed in a microfluidic device are studied with temperature-controlled optical tweezers, revealing how mechanical properties of ripple phase and gel-fluid phase-separated membranes change when heated above the transition temperature.
The content of this RSS Feed (c) The Royal Society of Chemistry




mp

Mapping deformation dynamics to composition of topologically-active DNA blends

Soft Matter, 2024, Advance Article
DOI: 10.1039/D4SM01065E, Paper
Karthik R. Peddireddy, Ryan McGorty, Rae M. Robertson-Anderson
We leverage in situ enzymatic topological conversion and OpTiDDM to map the deformation dynamics of DNA blends with over 70 fractions of linear, ring and supercoiled molecules that span the phase space of possible topological compositions.
To cite this article before page numbers are assigned, use the DOI form of citation above.
The content of this RSS Feed (c) The Royal Society of Chemistry




mp

Scale-dependent interactions enable emergent microrheological stress response of actin–vimentin composites

Soft Matter, 2024, Advance Article
DOI: 10.1039/D4SM00988F, Paper
Julie Pinchiaroli, Renita Saldanha, Alison E. Patteson, Rae M. Robertson-Anderson, Bekele J. Gurmessa
The unique mechanical behaviors of actin–vimentin composites in both linear and nonlinear regimes are shaped by the complex interactions among actin entanglements, vimentin crosslinking, and poroelastic properties.
To cite this article before page numbers are assigned, use the DOI form of citation above.
The content of this RSS Feed (c) The Royal Society of Chemistry




mp

Revealing microscale bulk structures in polymer–carbon nanocomposites using spin-echo SANS

Soft Matter, 2024, 20,8663-8674
DOI: 10.1039/D4SM00578C, Paper
Open Access
  This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.
L. V. Tiihonen, M. P. Weir, A. J. Parnell, S. C. Boothroyd, D. W. Johnson, R. M. Dalgliesh, M. Bleuel, C. P. Duif, W. G. Bouwman, R. L. Thompson, K. S. Coleman, N. Clarke, W. A. Hamilton, A. L. Washington, S. R. Parnell
Spin-echo small-angle neutron scattering (SESANS) revealed structure in polymer–carbon nanocomposites over multiple length scales with unprecedented range (10 nm–16 μm). Data from two SESANS instruments and other methods were analysed with SasView.
The content of this RSS Feed (c) The Royal Society of Chemistry




mp

Hydrophobic fouling-resistant electrospun nanofiber membranes from poly(vinylidene fluoride)/polyampholyte blends

Soft Matter, 2024, 20,8654-8662
DOI: 10.1039/D4SM00817K, Paper
Anuja S. Jayasekara, Luca Mazzaferro, Ryan O’Hara, Ayse Asatekin, Peggy Cebe
This study reports the fabrication of non-woven fibrous membranes from electrospinning blended solutions of PVDF with a random polyampholyte amphiphilic copolymer (r-PAC) in N,N-dimethylformamide and methanol.
The content of this RSS Feed (c) The Royal Society of Chemistry




mp

Entropically and enthalpically driven self-assembly of a naphthalimide-based luminescent organic π-amphiphile in water

Soft Matter, 2024, 20,8684-8691
DOI: 10.1039/D4SM00986J, Paper
Sk Mursed Ali, Sujauddin Sk, Shuvajyoti Sarkar, Sayani Das, Nayim Sepay, Mijanur Rahaman Molla
Entropically and enthalpically favourable vesicular self-assembly of a naphthalimide based water soluble luminescent organic dipolar building block is reported.
The content of this RSS Feed (c) The Royal Society of Chemistry




mp

Bending of polymer films: a method for obtaining a compressive modulus of thin films

Soft Matter, 2024, 20,8589-8600
DOI: 10.1039/D4SM00084F, Paper
Akihiro Ohara, Ko Okumura
We constructed a theory and method for measuring the compressive modulus by combining tensile and bending tests. Elastic asymmetry was confirmed in an industrial PET film.
The content of this RSS Feed (c) The Royal Society of Chemistry




mp

Extended kinetic theory applied to pressure-controlled shear flows of frictionless spheres between rigid, bumpy planes

Soft Matter, 2024, 20,8702-8715
DOI: 10.1039/D4SM00831F, Paper
Open Access
  This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.
Dalila Vescovi, Astrid S. de Wijn, Graham L. W. Cross, Diego Berzi
We perform discrete simulations of steady, pressure-imposed, heterogeneous flows of frictionless spheres sheared between parallel bumpy planes, and use the results to test the predictions of the extended kinetic theory of granular gases.
The content of this RSS Feed (c) The Royal Society of Chemistry




mp

Hydrogel-based 3D fabrication of multiple replicas with varying sizes and materials from a single template via iterative shrinking

Soft Matter, 2024, Accepted Manuscript
DOI: 10.1039/D4SM00835A, Paper
Eunseok Heo, Hye Been Koo, Jun Chang Yang, In Cho, Hyun-Hee Lee, Yong-Jin Yoon, Steve Park, Jae-Byum Chang
3D printing technologies have been widely used for the rapid prototyping of 3D structures, but their application in a broader context has been hampered by their low printing throughput. For...
The content of this RSS Feed (c) The Royal Society of Chemistry




mp

Reversible pH-responsive supramolecular aggregates from viologen based amphiphiles – A molecular design perspective

Soft Matter, 2024, Accepted Manuscript
DOI: 10.1039/D4SM00695J, Paper
Redhills L. Narendran, Archita Patnaik
pH responsive self-assembled supramolecular systems in water hold tremendous promise spanning across the various realms of science and technology. Herein, we report the design and synthesis of benzyl viologen (BV)...
The content of this RSS Feed (c) The Royal Society of Chemistry




mp

Biomimetic mineralization of positively charged silica nanoparticles templated by thermoresponsive protein micelles: applications to electrostatic assembly of hierarchical and composite superstructures

Soft Matter, 2024, Advance Article
DOI: 10.1039/D4SM00907J, Paper
Nada Y. Naser, William C. Wixson, Helen Larson, Brandi M. Cossairt, Lilo D. Pozzo, François Baneyx
Exploiting the ability of a solid-binding elastin-like peptide to micellize, we mineralize monodisperse silica nanoparticles whose positive surface charge enables one-step electrostatic assembly of various mono- and bi-material superstructures.
To cite this article before page numbers are assigned, use the DOI form of citation above.
The content of this RSS Feed (c) The Royal Society of Chemistry




mp

Design Tokens and Component Based Design

Stuart Robson rolls up his sleeves and begins to piece together the jigsaw puzzle that is design tokens and component based design. Starting with the corners, and working around the edges, Stu helps us to piece together a full picture of a modern design system.


If you stare at your twitter feed long enough, it can look like everyone is talking about Design Systems. In some cases you could be persuaded to think how shallow the term can go.

“Isn’t this what we called Style Guides?”, “Here’s my React Design System”, “I’ve just updated the Design System in Sketch”

To me, they are some and all of these things. Over the last 4 years of consulting with two clients on their Design System, my own view has changed a little.

If you dig a little deeper into Design Systems twitter you will probably see the term “Design Tokens” pop up at least once a day somewhere. Design Tokens came out of work that was being done at Salesforce with Jina and others who pioneered the creation of Design Tokens as we know them today – creating the first command line tool in Theo that had started the adoption of Design Tokens to the wider Design Systems Community.

A cool term but, what are they?

If you look at your client work, your companies site, the project you’re working on you should notice some parts of the page have a degree of consistency: the background colour of your form buttons is the same colour as your link text, or your text has the same margin, or your card elements have the same spacing as your media object.

These are design decisions, and they should be littered across the overall design of your project. These decisions might start off in a Sketch file and make their way into code from detailed investigation of a Sketch file, or you may find that the design evolves from your design application once it gets into code.

These design decisions can change, and to keep them synchronised across design and development in applications, as well as a larger documentation site in your Design System, is going to take some effort.

This is where Design Tokens come in, and I find the best way to succinctly reiterate what they are is via the two following quotes…

“Design Tokens are an abstraction for everything impacting the visual design of an app/platform.”
– Sönke Rohde

…and

“We use them in place of hard-coded values in order to maintain a scale-able and consistent visual system.”
– Jina

There are several global design decisions that we can abstract to create a top level design token – Sizing, Font Families, Font Styles, Font Weights, Font Sizes, Line Heights, Border Styles, Border Colours, Border Radius, Horizontal Rule Colours, Background Colours, Gradients, Background Gradients, Box Shadows, Filters, Text Colours, Text Shadow, Time, Media Queries, Z Index, Icons – these can all be abstracted as required.

So, spicy Sass variables?

We can look at Design Tokens as an abstraction of CSS, sort of like Sass variables, but spicier. Looking at them like this we can see that they are (in either .yaml or .json) a group of related key value pairs with more information that can be added as needed.

The great thing with abstracting design decisions outside of your CSS pre-processor is that you’re not tying those decisions to one platform or codebase.

As a crude example, we can see here that we are defining a name and a value that could then become our color, background-color, or border-color, and more.

# Colours
# -------
- name: color-red
  value: #FF0000
- name: color-green
  value: #00FF00
- name: color-blue
  value: #0000FF
- name: color-white
  value: #FFFFFF
- name: color-black
  value: #000000

These can then generate our Sass variables (as an example) for our projects.

$color-red: #FF0000 !default;
$color-green: #00FF00 !default;
$color-blue: #0000FF !default;
$color-white: #FFFFFF !default;
$color-black: #000000 !default;

Why are they so good

Ok, so we now know what Design Tokens are, but why do we need them? What makes them better than our existing solutions (css pre-processors) for defining these design decisions?

I think there are 5 really good reasons why we all should start abstracting these design decisions away from the CSS that they may live in. Some of these reasons are similar to reasons some developers use a pre-processor like Sass, but with added bonuses.

Consistency

Much like using a CSS pre-processor or using CSS custom properties, being able to define a background colour, breakpoint, or font-size in more than one place using the same key ensures that we are using the Sass values across the entire product suite we are developing for.

Using our Design Tokens in their generated formats, we can be sure to not end up with 261 shades of blue.

Maintainability

By using a pre-processor like Sass, or using native CSS custom properties, we can already have maintainable code in our projects. Design Tokens also do this at the abstracted level as well.

Scalability

“Design Tokens enable us to scale our Design across all the permutations.”
– Jina

At this point, we’re only talking about abstracting the design decisions for use in CSS. Having Design Tokens allows design to scale for multiple brands or multiple projects as needed.

The main benefit of Design Tokens in regards to scalability is the option that it gives us to offer the Design Tokens for other platforms and frameworks as needed. With some of the tools available, we can even have these Tokens shared between applications used by designers and developers.

Your marketing site and your iOS application can soon share the same design decisions codified, and you can move towards creating an Android app or web application as required.

Documentation

If we abstract the design decisions from one platform specific programming language it would be no good if it wasn’t made to be easily accessible.

The tools and applications available that are mentioned later in this article can now create their own documentation, or allow you to create your own. This documentation is either hosted within a web-based application or can be self-hosted with the rest of your Design Systems documentation.

Most of the command line tools go further and allow you do add more details that you wish to convey in the documentation, making it as unique as it is required for your project.

Empowerment

When you abstract your design decisions to Design Tokens, you can help empower other people on the project. With the tools available today, and the tools that are just around the corner, we can have these design decisions determined by anyone on the team.

No-one necessarily needs to understand how to set up the codebase to update the colour slightly. Some of the tools I mention later on allow you to update the Design Tokens in the browser.

Design Systems are already “bridging the gap” between design and development. With Design Tokens and the tooling available, we can create better team relationships by closing that gap instead.

Some of the benefits of creating and using Design Tokens are the same as using a pre-processor when it comes to authoring CSS. I feel the added bonuses of being able to empower other team members and document how you use them, as well as the fundamental reasoning in that they can be platform agnostic, are all great “selling points” to why you need to start using Design Tokens today.

Tools

There are several tools available to help you and your team to create the required files from your abstracted Design Tokens:

Command Line Tools

There are several tools available on the command line that can be used as part of, or separate to, your development process.

These tools allow you to define the Design Tokens in a .json or .yaml file format which can then be compiled into the formats you require.

Some have built in functions to turn the inputted values to something different when compiled – for example, turning hexadecimal code that is a Design Token into a RGB value in your .css file. These command line tools, written in JavaScript, allow you to create your own ways in which you want things transformed.

My current client has certain design decisions for typography in long form content (font size, weight, line height and margins) which need to be together to make sense. Being able to write JavaScript to compile these design decisions into an independent Sass map for each element allows us to develop with assurance that the long form content has the correct styling.

WYSIWYG Tools

WYSIWYG (What You See Is What You Get Tools) have been around for almost as long as we have been able to make websites. I can just about remember using Dreamweaver 2, before I knew what a <table> was.

When browsers started to employ vendor prefixes to new CSS for their browsers, a flurry of online WYSIWYG tools came with it built in. They’re still there, but the industry has moved on.

Design Tokens also have a few WYSIWYG tools available. From simpler online tools that allow you to generate the correct Sass variables needed for your design decisions to tools that store your decisions online and allow you to export them as npm packages.

These types of tools for creating Design Tokens can help empower the team as a whole, with some automatically creating documentation which can easily be shared with a url.

Retrofitting Tools

If you are starting from scratch on a new re-design or on a new project that requires a Design System and Tokens, the many of the tools mentioned above will help you along your way. But what if you’re in the middle of a project, or you have to maintain something and want to start to create the parts required for a Design System?

Luckily there are several tools and techniques to help you make a start.

One new tool that might be useful is Superposition. Currently in private beta with the public release set for Q1 of 2020 Superposition helps you “Extract design tokens from websites and use them in code and in your design tool.”

Entering your domain gives you a nice visual documentation of your sites styles as Design Tokens. These can then be exported as Sass Variables, CSS Custom Properties, JavaScript with the team working on exports to iOS and Android.

If you have an existing site, this could be a good first step before moving to one of the other tools mentioned above.

You could also make use of CSSStats or Project Wallace’s Analysis page that I mentioned earlier. This would give you an indication of what Design Tokens you would need to implement.

Component Based Design

So, we’ve created our Design Tokens by abstracting the design decisions of brand colours, typography, spacing and more. Is that as far as we can go?

Levels of Design Decisions

Once we have created our first set of Design Tokens for our project, we can take it that little bit deeper. With command line tools and some of the applications available, you can link these more global decisions to a more deeper level.

For example, you can take your chosen colours and make further design decisions on the themes of your project, such as what the primary, secondary, or tertiary colours are or what your general component and layout spacing will be.

With this, we can go one step further. We could also define some component specific design decisions that can then be compiled for the developer to use. Invest in time to check over the designs with a fine toothcomb and make sure you are using the correct Sass variable or CSS custom property for that component.

If you are going more than one or two levels of design decision making, you can compile each set of these Design Tokens to your Sass variables which can then be used as required. So you can provide: global, theme, component level Sass variables which can be used in the project. Or you could choose to only compile what you need for the components you are creating.

Variables, Maps, Custom Properties

Some of the tools available for creating and maintaining your Design Tokens allow you to compile to certain programming languages.

With my current client work, I am making use of Sass variables, Sass maps, and CSS custom properties. The Design Tokens are compiled into one or more of these options depending on how they will be used.

Colours are compiled as global Sass variables, inside of a couple of Sass maps and CSS custom properties. Our macro layout breakpoints are defined as a single Sass map.

If we know we are creating a component that has the ability to be themed, we can make use of CSS custom properties to reduce the amount of CSS we need to override, and also allow us to inline things that can be changed via a CMS as required. Which leaves us using Sass variables for parts of a component that won’t change. We are using Sass maps differently still. As mentioned, we generate a Sass map containing the design decisions for each element of text, and we can use long form text. This Sass map is then compiled into separate CSS declarations as needed using Sass mixins.

I find the beauty of being able to make use of the global, themed, and component level design decisions by compiling them into various formats (that essentially become CSS) and that gives us more power in authoring components.

Creating Consistent Utility Classes

As you have created your more global generic design decisions, you can create your own small set of utility classes.

Using a pre-processor like Sass you can define a set of mixins and functions that can take your Design Tokens that have been compiled down into variables and maps and generate separate classes for each design decision.

By making tokens available to all digital teams, we can enable them to create custom experiences that are aligned to current visual standards when a component does not (or will not) exist in the design system. Maya King

In creating utility classes with Design Tokens (using something like Sass) you have consistency with the overall Design System for times when you or a team need to create a one-off component for a project.

These exceptions tend to be something that won’t make it as part of the overall Design System, but it still needs that look and feel.

Having classes available that we can guarantee use the generic, global design decisions from the Design Tokens means these one-off components should be well on their way to have the overall look and feel of the project, and will get any updates with little to no additional overhead.

Wrapping Up

I think we are starting to see the potential of using Design Tokens as Design Systems become even more popular. I think that, from this overview, we can see how they can help us close the gap that still exists in places between the designers and developers on the team. They can help empower people who do not code to make changes that can be automatically updating live work.

I think you can start now. You may not have or need what you could term “a fully-fledged Design System” but this small step will help move towards one in the future and give you instant benefits of consistency and maintainability now. If you want more Design Tokens, as well as the links that are dotted around this article I also maintain a GitHub repo of Awesome Design Tokens which I try to keep updated with links to tools, articles, examples, videos, and anything else that’s related to Design Tokens.


About the author

Stuart Robson is a freelance front-end developer and design systems advocate who curates the design systems newsletter - news.design.systems

More articles by Stuart