@rojaostudio/ds-core 1.1.0-next.4 → 1.1.0-next.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/generate.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ type RdsBrandTable = {
|
|
|
41
41
|
name: string;
|
|
42
42
|
primitives: Record<string, string>;
|
|
43
43
|
modes: Record<RdsMode, Record<string, string>>;
|
|
44
|
-
/** The brand's own variables of the `brand` collection, by Figma path ("
|
|
44
|
+
/** The brand's own variables of the `brand` collection, by Figma path ("marca/ciano") → primitive or value. */
|
|
45
45
|
vars?: Record<string, string>;
|
|
46
46
|
};
|
|
47
47
|
/** The theme of a brand table. Fails on a missing role or an unknown primitive, listing them all. */
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { recipes } from './chunk-
|
|
1
|
+
export { recipes } from './chunk-PV6GFEAM.js';
|
|
2
2
|
export { ROLES as RDS_ROLES, SCALE_STEPS, brandTones, buildScale, contrastRatio, emitClaudeMd, emitCss, emitRdsCss, generateRdsTheme, generateTheme, hexToHsl, hslToHex, isHex, isNeutralBrand, onColor, rdsContrast, rdsThemeFromTable, refToHex, relativeLuminance, resolveTheme, roleVar } from './chunk-UD53AUQQ.js';
|
|
3
3
|
export { primitives, tokens } from './chunk-FRWRLCYM.js';
|
|
4
4
|
import './chunk-ORMEWXMH.js';
|
package/dist/recipes.d.ts
CHANGED
|
@@ -15,7 +15,11 @@ import { a as BrandDef } from './recipe.schema-Cq7e82nx.js';
|
|
|
15
15
|
* ele não descreve marca de ninguém, descreve ponto de partida.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* rojao — navy + flare accent on zinc, Inter. The `rojao` brand of the Figma [RDS] (2.0).
|
|
20
|
+
* text/heading is the primary (navy) on light, as in the [RDS] base collection: the logo pairs are navy and
|
|
21
|
+
* orange, white and orange. The orange title is the Heading's tone=accent, not the default.
|
|
22
|
+
*/
|
|
19
23
|
declare const rojao: BrandDef;
|
|
20
24
|
declare const recipes: {
|
|
21
25
|
readonly rojao: BrandDef;
|
package/dist/recipes.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { recipes, rojao } from './chunk-
|
|
1
|
+
export { recipes, rojao } from './chunk-PV6GFEAM.js';
|
|
2
2
|
import './chunk-ORMEWXMH.js';
|
package/figma/export-brand.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
//
|
|
6
6
|
// Each theme role is followed through the aliases of the `base` collection (in the brand's mode) down to a
|
|
7
7
|
// primitive of the [RDS] Primitives library, kept by name ("accyan/400") with the colour Figma resolves.
|
|
8
|
-
// The brand's own variables in the `brand` collection (`<brand>/<name>`, as
|
|
8
|
+
// The brand's own variables in the `brand` collection (`<brand>/<name>`, as marca/ciano) come along in `vars`.
|
|
9
9
|
const BRAND = "rojao";
|
|
10
10
|
|
|
11
11
|
const cols = await figma.variables.getLocalVariableCollectionsAsync();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rojaostudio/ds-core",
|
|
3
|
-
"version": "1.1.0-next.
|
|
3
|
+
"version": "1.1.0-next.6",
|
|
4
4
|
"description": "O motor do Rojão DS — tokens, derivação de tema e emissores. Sem React, sem Tailwind, sem CSS.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Rojão Studio (https://rojao.studio)",
|