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

@atom-learning/theme

Package Overview
Dependencies
Maintainers
3
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atom-learning/theme - npm Package Compare versions

Comparing version 1.0.0-beta.6 to 1.0.0

lib/assets/logo-light.png

163

lib/index.d.ts

@@ -1,88 +0,105 @@

export interface Theme {
export type Theme = {
"colors": {
"tonal50": "#f5f5f5",
"tonal100": "#ededed",
"tonal200": "#e3e3e3",
"tonal300": "#cccccc",
"tonal400": "#b0b0b0",
"tonal500": "#757575",
"tonal600": "#545454",
"tonal700": "#333333",
"tonal800": "#1f1f1f",
"tonal900": "#141414",
"alpha100": "#333333",
"alpha150": "#333333",
"alpha200": "#333333",
"alpha250": "#333333",
"alpha600": "#333333",
"primaryLight": "#f0f6fe",
"primary": "#1e71f6",
"secondary": "#70c6ff",
"tertiary": "#102da2",
"success": "#028a00",
"successDark": "#00660a",
"danger": "#f61e1e",
"dangerDark": "#ae0a0a",
"warning": "#ffb61a",
"warningDark": "#e7a20d",
"subjectEnglish": "#f74e4e",
"subjectMaths": "#1d6ff5",
"subjectScience": "#7f5edd",
"subjectVerbal-reasoning": "#4fbf5e",
"subjectNon-verbal-reasoning": "#ffb71b",
"subjectCreative-writing": "#ff7518",
"subjectExam-skills": "#9954bb"
"textForeground": string
"textSubtle": string
"textPlaceholder": string
"background": string
"backgroundAccent": string
"tonal50": string
"tonal100": string
"tonal200": string
"tonal300": string
"tonal400": string
"tonal500": string
"tonal600": string
"alpha100": string
"alpha150": string
"alpha200": string
"alpha250": string
"alpha600": string
"primaryLight": string
"primary": string
"primaryMid": string
"primaryDark": string
"secondary": string
"brandRed": string
"brandRedAccent": string
"brandGreen": string
"brandGreenAccent": string
"brandPurple": string
"brandPurpleAccent": string
"brandYellow": string
"brandYellowAccent": string
"successLight": string
"success": string
"successMid": string
"successDark": string
"dangerLight": string
"danger": string
"dangerMid": string
"dangerDark": string
"warningLight": string
"warning": string
"warningMid": string
"warningDark": string
"subjectEnglish": string
"subjectMaths": string
"subjectScience": string
"subjectVerbalReasoning": string
"subjectNonVerbalReasoning": string
"subjectCreativeWriting": string
"subjectExamSkills": string
},
"space": {
"0": "0.125rem",
"1": "0.25rem",
"2": "0.5rem",
"3": "0.75rem",
"4": "1rem",
"5": "2rem",
"6": "2.5rem",
"7": "3rem",
"8": "4rem",
"9": "5rem"
"0": string
"1": string
"2": string
"3": string
"4": string
"5": string
"6": string
"7": string
"8": string
"9": string
},
"fontSizes": {
"xs": "0.625rem",
"sm": "0.8125rem",
"md": "1rem",
"lg": "1.3125rem",
"xl": "1.75rem",
"2xl": "2.3125rem",
"3xl": "3.125rem",
"4xl": "5.625rem"
"xs": string
"sm": string
"md": string
"lg": string
"xl": string
"2xl": string
"3xl": string
"4xl": string
},
"fonts": {
"sans": "system-ui, -apple-system, 'Helvetica Neue', sans-serif",
"mono": "'SFMono-Regular', Consolas, Menlo, monospace",
"display": "'Space Grotesk', system-ui, -apple-system, 'Helvetica Neue', sans-serif",
"body": "'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif"
"sans": string
"mono": string
"display": string
"body": string
},
"sizes": {
"0": "0.5rem",
"1": "1rem",
"2": "1.5rem",
"3": "2rem",
"4": "2.5rem",
"5": "3rem",
"6": "4rem",
"7": "6rem",
"8": "8rem"
"0": string
"1": string
"2": string
"3": string
"4": string
"5": string
"6": string
"7": string
"8": string
},
"radii": {
"0": "0.25rem",
"1": "0.5rem",
"2": "0.75rem",
"3": "1rem",
"round": "50rem"
"0": string
"1": string
"2": string
"3": string
"round": string
},
"shadows": {
"0": "0 1px 3px #333333, 0 1px 2px #333333",
"1": "0 3px 6px #333333, 0 3px 6px #333333",
"2": "0 10px 20px #333333, 0 6px 6px #333333",
"3": "0 14px 28px #333333, 0 10px 10px #333333"
"0": string
"1": string
"2": string
"3": string
}
}
module.exports = {
"colors": {
"textForeground": "hsl(0, 0%, 12%)",
"textSubtle": "hsl(0, 0%, 33%)",
"textPlaceholder": "hsl(0, 0%, 46%)",
"background": "hsl(0, 0%, 96%)",
"backgroundAccent": "hsl(217, 92%, 97%)",
"tonal50": "hsl(0, 0%, 96%)",
"tonal100": "hsl(0, 0%, 93%)",
"tonal200": "hsl(0, 0%, 89%)",
"tonal300": "hsl(0, 0%, 80%)",
"tonal400": "hsl(0, 0%, 69%)",
"tonal500": "hsl(0, 0%, 46%)",
"tonal600": "hsl(0, 0%, 33%)",
"tonal700": "hsl(0, 0%, 20%)",
"tonal800": "hsl(0, 0%, 12%)",
"tonal900": "hsl(0, 0%, 8%)",
"tonal200": "hsl(0, 0%, 69%)",
"tonal300": "hsl(0, 0%, 46%)",
"tonal400": "hsl(0, 0%, 33%)",
"tonal500": "hsl(0, 0%, 20%)",
"tonal600": "hsl(0, 0%, 12%)",
"alpha100": "hsla(0, 0%, 20%, 0.1)",

@@ -20,17 +22,32 @@ "alpha150": "hsla(0, 0%, 20%, 0.15)",

"primary": "hsl(217, 92%, 54%)",
"primaryMid": "hsl(223, 78%, 45%)",
"primaryDark": "hsl(228, 82%, 35%)",
"secondary": "hsl(204, 100%, 72%)",
"tertiary": "hsl(228, 82%, 35%)",
"brandRed": "hsl(0, 91%, 64%)",
"brandRedAccent": "hsl(14, 100%, 71%)",
"brandGreen": "hsl(128, 47%, 53%)",
"brandGreenAccent": "hsl(168, 100%, 20%)",
"brandPurple": "hsl(256, 65%, 62%)",
"brandPurpleAccent": "hsl(256, 93%, 35%)",
"brandYellow": "hsl(41, 100%, 55%)",
"brandYellowAccent": "hsl(33, 100%, 50%)",
"successLight": "hsl(119, 44%, 94%)",
"success": "hsl(119, 100%, 27%)",
"successDark": "hsl(126, 100%, 20%)",
"danger": "hsl(0, 92%, 54%)",
"dangerDark": "hsl(0, 89%, 36%)",
"successMid": "hsl(124, 100%, 22%)",
"successDark": "hsl(126, 100%, 17%)",
"dangerLight": "hsl(0, 77%, 95%)",
"danger": "hsl(0, 96%, 48%)",
"dangerMid": "hsl(0, 96%, 41%)",
"dangerDark": "hsl(0, 97%, 34%)",
"warningLight": "hsl(41, 100%, 98%)",
"warning": "hsl(41, 100%, 55%)",
"warningDark": "hsl(41, 89%, 48%)",
"warningMid": "hsl(41, 89%, 48%)",
"warningDark": "hsl(41, 100%, 41%)",
"subjectEnglish": "hsl(0, 91%, 64%)",
"subjectMaths": "hsl(217, 92%, 54%)",
"subjectScience": "hsl(256, 65%, 62%)",
"subjectVerbal-reasoning": "hsl(128, 47%, 53%)",
"subjectNon-verbal-reasoning": "hsl(41, 100%, 55%)",
"subjectCreative-writing": "hsl(24, 100%, 55%)",
"subjectExam-skills": "hsl(280, 43%, 53%)"
"subjectVerbalReasoning": "hsl(128, 47%, 53%)",
"subjectNonVerbalReasoning": "hsl(41, 100%, 55%)",
"subjectCreativeWriting": "hsl(33, 100%, 50%)",
"subjectExamSkills": "hsl(256, 93%, 35%)"
},

@@ -50,4 +67,4 @@ "space": {

"fontSizes": {
"xs": "0.625rem",
"sm": "0.8125rem",
"xs": "0.75rem",
"sm": "0.875rem",
"md": "1rem",

@@ -82,3 +99,3 @@ "lg": "1.3125rem",

"3": "1rem",
"round": "50rem"
"round": "100rem"
},

@@ -85,0 +102,0 @@ "shadows": {

{
"name": "@atom-learning/theme",
"version": "1.0.0-beta.6",
"description": "",
"version": "1.0.0",
"description": "Design tokens and assets for Atom Learning",
"main": "lib/index.js",

@@ -21,5 +21,6 @@ "types": "lib/index.d.ts",

"npm-run-all": "^4.1.5",
"style-dictionary": "^3.0.0-rc.6"
"pascal-case": "^3.1.2",
"style-dictionary": "^3.0.1"
},
"dependencies": {}
}

Sorry, the diff of this file is not supported yet

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