@tecsinapse/cortex-core 1.2.1-beta.0 → 1.2.1-beta.1

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.
@@ -4,6 +4,14 @@ var polished = require('polished');
4
4
 
5
5
  const updateThemeColors = (theme) => {
6
6
  const root = document.documentElement;
7
+ console.log(
8
+ "Primary Medium: ",
9
+ root.style.getPropertyValue("--color-primary-medium")
10
+ );
11
+ console.log(
12
+ "Text Medium: ",
13
+ root.style.getPropertyValue("--color-text-medium")
14
+ );
7
15
  Object.entries(theme).forEach(([colorName, colorShades]) => {
8
16
  if (!colorShades) return;
9
17
  Object.entries(colorShades).forEach(([shade, hexValue]) => {
@@ -2,6 +2,14 @@ import { getContrast, readableColor } from 'polished';
2
2
 
3
3
  const updateThemeColors = (theme) => {
4
4
  const root = document.documentElement;
5
+ console.log(
6
+ "Primary Medium: ",
7
+ root.style.getPropertyValue("--color-primary-medium")
8
+ );
9
+ console.log(
10
+ "Text Medium: ",
11
+ root.style.getPropertyValue("--color-text-medium")
12
+ );
5
13
  Object.entries(theme).forEach(([colorName, colorShades]) => {
6
14
  if (!colorShades) return;
7
15
  Object.entries(colorShades).forEach(([shade, hexValue]) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tecsinapse/cortex-core",
3
- "version": "1.2.1-beta.0",
3
+ "version": "1.2.1-beta.1",
4
4
  "license": "MIT",
5
5
  "description": "Core library for tailwindcss based design",
6
6
  "main": "dist/esm/index.js",
@@ -32,5 +32,5 @@
32
32
  "peerDependencies": {
33
33
  "tailwindcss": ">=3.3.0"
34
34
  },
35
- "gitHead": "5d1fe44b137a1f5f68fca9fc1fc5e6b842be1b23"
35
+ "gitHead": "588758fc26e21e75393c8349311f0633d9e7b5c7"
36
36
  }