New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@atb-as/theme

Package Overview
Dependencies
Maintainers
0
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atb-as/theme - npm Package Compare versions

Comparing version 11.0.0-alpha.1 to 11.0.0-alpha.2

60

lib/theme.d.ts

@@ -161,2 +161,12 @@ import { ConfigurationOverride } from './utils/override-config';

};
dynamic: {
primary: string;
secondary: string;
disabled: string;
};
inverse: {
primary: string;
secondary: string;
disabled: string;
};
};

@@ -304,2 +314,22 @@ background: {

};
/**
* Create new themes (light/dark) with optinally overriden defaults.
*
* @example extending nested features
* ```ts
* const themes = createThemes({
* light: {
* spacings: {
* medium: 20,
* },
* },
* });
*
* themes.dark.spacings.medium;
* //=> 20
* ```
*
* @param overrides - Properties to override base themes with, on `Theme` level
* @returns themes
*/
error: {

@@ -885,2 +915,12 @@ primary: {

};
dynamic: {
primary: string;
secondary: string;
disabled: string;
};
inverse: {
primary: string;
secondary: string;
disabled: string;
};
};

@@ -1028,2 +1068,22 @@ background: {

};
/**
* Create new themes (light/dark) with optinally overriden defaults.
*
* @example extending nested features
* ```ts
* const themes = createThemes({
* light: {
* spacings: {
* medium: 20,
* },
* },
* });
*
* themes.dark.spacings.medium;
* //=> 20
* ```
*
* @param overrides - Properties to override base themes with, on `Theme` level
* @returns themes
*/
error: {

@@ -1030,0 +1090,0 @@ primary: {

@@ -17,2 +17,12 @@ /**

};
dynamic: {
primary: string;
secondary: string;
disabled: string;
};
inverse: {
primary: string;
secondary: string;
disabled: string;
};
};

@@ -19,0 +29,0 @@ background: {

@@ -16,2 +16,12 @@ /**

disabled: "#a9aeb1"
},
dynamic: {
primary: "#ffffff",
secondary: "#e1e7eb",
disabled: "#a9aeb1"
},
inverse: {
primary: "#000000",
secondary: "#555e65",
disabled: "#a9aeb1"
}

@@ -18,0 +28,0 @@ },

@@ -17,2 +17,12 @@ /**

};
dynamic: {
primary: string;
secondary: string;
disabled: string;
};
inverse: {
primary: string;
secondary: string;
disabled: string;
};
};

@@ -19,0 +29,0 @@ background: {

84

lib/themes/atb-theme/light.js

@@ -9,3 +9,3 @@ /**

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -17,2 +17,12 @@ },

disabled: "#a9aeb1"
},
dynamic: {
primary: "#000000",
secondary: "#555e65",
disabled: "#a9aeb1"
},
inverse: {
primary: "#ffffff",
secondary: "#e1e7eb",
disabled: "#a9aeb1"
}

@@ -60,3 +70,3 @@ },

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -69,3 +79,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -86,3 +96,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -133,3 +143,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -190,3 +200,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -199,3 +209,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -232,3 +242,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -243,3 +253,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -260,3 +270,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -277,3 +287,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -286,3 +296,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -329,3 +339,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -338,3 +348,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -381,3 +391,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -390,3 +400,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -401,3 +411,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -418,3 +428,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -435,3 +445,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -444,3 +454,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -475,3 +485,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -484,3 +494,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -495,3 +505,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -504,3 +514,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -523,3 +533,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -552,3 +562,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -561,3 +571,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -572,3 +582,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -581,3 +591,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -592,3 +602,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -601,3 +611,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -612,3 +622,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -621,3 +631,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -632,3 +642,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -641,3 +651,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -672,3 +682,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -712,3 +722,3 @@ }

primary: "#ffffff",
secondary: "#555e65",
secondary: "#e1e7eb",
disabled: "#a9aeb1"

@@ -715,0 +725,0 @@ }

@@ -18,2 +18,12 @@ /**

};
dynamic: {
primary: string;
secondary: string;
disabled: string;
};
inverse: {
primary: string;
secondary: string;
disabled: string;
};
};

@@ -741,2 +751,12 @@ background: {

};
dynamic: {
primary: string;
secondary: string;
disabled: string;
};
inverse: {
primary: string;
secondary: string;
disabled: string;
};
};

@@ -743,0 +763,0 @@ background: {

{
"name": "@atb-as/theme",
"version": "11.0.0-alpha.1",
"version": "11.0.0-alpha.2",
"private": false,

@@ -32,3 +32,3 @@ "description": "AtB Design System Colors",

"dependencies": {
"@tfk-samf/figma-to-dtcg": "0.3.1",
"@tfk-samf/figma-to-dtcg": "0.3.2",
"hex-to-rgba": "^2.0.1",

@@ -41,3 +41,3 @@ "ts-deepmerge": "^4.0.0",

},
"gitHead": "eaa7e5dcc3181ed31b07c9702be5f5a0e2e7782d"
"gitHead": "40da1fa5f8a1d054d4bf6c8ec7f9e6faa7b867e3"
}

Sorry, the diff of this file is not supported yet

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