Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cobalt-ui/plugin-css

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cobalt-ui/plugin-css - npm Package Compare versions

Comparing version 1.7.1 to 1.7.2

6

CHANGELOG.md
# @cobalt-ui/plugin-css
## 1.7.2
### Patch Changes
- [#192](https://github.com/drwpow/cobalt-ui/pull/192) [`edd33ef5dce51c7b3a1f2d1e9fe78263467b14f8`](https://github.com/drwpow/cobalt-ui/commit/edd33ef5dce51c7b3a1f2d1e9fe78263467b14f8) Thanks [@drwpow](https://github.com/drwpow)! - Fix typography token aliases
## 1.7.1

@@ -4,0 +10,0 @@

9

dist/index.js

@@ -107,5 +107,10 @@ /**

case 'typography': {
for (const [k, v] of Object.entries(value)) {
tokenVals[generateName(`${token.id}-${k}`, token)] = v;
if (value && typeof value === 'object') {
for (const [k, v] of Object.entries(value)) {
tokenVals[generateName(`${token.id}-${k}`, token)] = v;
}
}
else {
tokenVals[ref] = value;
}
break;

@@ -112,0 +117,0 @@ }

{
"name": "@cobalt-ui/plugin-css",
"description": "Generate CSS from your design tokens schema (requires @cobalt-ui/cli)",
"version": "1.7.1",
"version": "1.7.2",
"author": {

@@ -6,0 +6,0 @@ "name": "Drew Powers",

@@ -120,4 +120,8 @@ import type {BuildResult, ParsedToken, Plugin, ResolvedConfig} from '@cobalt-ui/core';

case 'typography': {
for (const [k, v] of Object.entries(value)) {
tokenVals[generateName(`${token.id}-${k}`, token)] = v;
if (value && typeof value === 'object') {
for (const [k, v] of Object.entries(value)) {
tokenVals[generateName(`${token.id}-${k}`, token)] = v;
}
} else {
tokenVals[ref] = value;
}

@@ -124,0 +128,0 @@ break;

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc