@ndla/preset-panda 0.0.45 → 0.0.46
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/styles.css +3 -0
- package/es/semanticTokens.js +11 -0
- package/lib/semanticTokens.d.ts +11 -0
- package/lib/semanticTokens.js +11 -0
- package/package.json +2 -2
package/dist/styles.css
CHANGED
|
@@ -793,6 +793,8 @@
|
|
|
793
793
|
--colors-surface-error-subtle: var(--colors-pink-100);
|
|
794
794
|
--colors-surface-error-subtle-hover: var(--colors-pink-300);
|
|
795
795
|
--colors-surface-error-subtle-active: var(--colors-pink-500);
|
|
796
|
+
--colors-surface-subtle: var(--colors-grey-50);
|
|
797
|
+
--colors-surface-subtle-selected: var(--colors-grey-100);
|
|
796
798
|
--colors-stroke-default: var(--colors-primary);
|
|
797
799
|
--colors-stroke-hover: var(--colors-purple-800);
|
|
798
800
|
--colors-stroke-subtle: var(--colors-grey-500);
|
|
@@ -801,6 +803,7 @@
|
|
|
801
803
|
--colors-stroke-warning: var(--colors-yellow-1200);
|
|
802
804
|
--colors-stroke-error: var(--colors-pink-800);
|
|
803
805
|
--colors-stroke-disabled: var(--colors-grey-300);
|
|
806
|
+
--colors-stroke-discrete: var(--colors-grey-300);
|
|
804
807
|
}
|
|
805
808
|
|
|
806
809
|
@keyframes spin {
|
package/es/semanticTokens.js
CHANGED
|
@@ -501,6 +501,14 @@ export const semanticTokens = defineSemanticTokens({
|
|
|
501
501
|
active: {
|
|
502
502
|
value: "{colors.pink.500}"
|
|
503
503
|
}
|
|
504
|
+
},
|
|
505
|
+
subtle: {
|
|
506
|
+
DEFAULT: {
|
|
507
|
+
value: "{colors.grey.50}"
|
|
508
|
+
},
|
|
509
|
+
selected: {
|
|
510
|
+
value: "{colors.grey.100}"
|
|
511
|
+
}
|
|
504
512
|
}
|
|
505
513
|
},
|
|
506
514
|
stroke: {
|
|
@@ -527,6 +535,9 @@ export const semanticTokens = defineSemanticTokens({
|
|
|
527
535
|
},
|
|
528
536
|
disabled: {
|
|
529
537
|
value: "{colors.grey.300}"
|
|
538
|
+
},
|
|
539
|
+
discrete: {
|
|
540
|
+
value: "{colors.grey.300}"
|
|
530
541
|
}
|
|
531
542
|
}
|
|
532
543
|
}
|
package/lib/semanticTokens.d.ts
CHANGED
|
@@ -500,6 +500,14 @@ export declare const semanticTokens: {
|
|
|
500
500
|
value: string;
|
|
501
501
|
};
|
|
502
502
|
};
|
|
503
|
+
subtle: {
|
|
504
|
+
DEFAULT: {
|
|
505
|
+
value: string;
|
|
506
|
+
};
|
|
507
|
+
selected: {
|
|
508
|
+
value: string;
|
|
509
|
+
};
|
|
510
|
+
};
|
|
503
511
|
};
|
|
504
512
|
stroke: {
|
|
505
513
|
default: {
|
|
@@ -526,6 +534,9 @@ export declare const semanticTokens: {
|
|
|
526
534
|
disabled: {
|
|
527
535
|
value: string;
|
|
528
536
|
};
|
|
537
|
+
discrete: {
|
|
538
|
+
value: string;
|
|
539
|
+
};
|
|
529
540
|
};
|
|
530
541
|
};
|
|
531
542
|
};
|
package/lib/semanticTokens.js
CHANGED
|
@@ -507,6 +507,14 @@ const semanticTokens = exports.semanticTokens = (0, _dev.defineSemanticTokens)({
|
|
|
507
507
|
active: {
|
|
508
508
|
value: "{colors.pink.500}"
|
|
509
509
|
}
|
|
510
|
+
},
|
|
511
|
+
subtle: {
|
|
512
|
+
DEFAULT: {
|
|
513
|
+
value: "{colors.grey.50}"
|
|
514
|
+
},
|
|
515
|
+
selected: {
|
|
516
|
+
value: "{colors.grey.100}"
|
|
517
|
+
}
|
|
510
518
|
}
|
|
511
519
|
},
|
|
512
520
|
stroke: {
|
|
@@ -533,6 +541,9 @@ const semanticTokens = exports.semanticTokens = (0, _dev.defineSemanticTokens)({
|
|
|
533
541
|
},
|
|
534
542
|
disabled: {
|
|
535
543
|
value: "{colors.grey.300}"
|
|
544
|
+
},
|
|
545
|
+
discrete: {
|
|
546
|
+
value: "{colors.grey.300}"
|
|
536
547
|
}
|
|
537
548
|
}
|
|
538
549
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ndla/preset-panda",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.46",
|
|
4
4
|
"description": "Panda preset for NDLA.",
|
|
5
5
|
"license": "GPL-3.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "34f26de8c12341b710a32b6839bacc0caebfcc2e"
|
|
41
41
|
}
|