@atom-learning/theme 6.1.0-beta.0 → 6.2.0
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/lib/theme-atom-school-reports.css +27 -0
- package/lib/theme-atom-school-reports.d.ts +63 -0
- package/lib/theme-atom-school-reports.js +59 -0
- package/lib/theme-atom-school-reports.kt +35 -0
- package/lib/theme-atom-school-reports.swift +34 -0
- package/lib/theme-atom-school.css +19 -0
- package/lib/theme-atom-school.d.ts +45 -0
- package/lib/theme-atom-school.js +41 -0
- package/lib/theme-atom-school.kt +27 -0
- package/lib/theme-atom-school.swift +26 -0
- package/lib/theme-base.css +13 -0
- package/lib/theme-base.d.ts +26 -0
- package/lib/theme-base.js +26 -0
- package/lib/theme-base.kt +13 -0
- package/lib/theme-base.swift +13 -0
- package/lib/themes.css +50 -0
- package/package.json +18 -2
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
|
|
2
|
+
@theme static {
|
|
3
|
+
--color-background: hsl(0, 0%, 98%);
|
|
4
|
+
--color-background-accent: hsl(0, 0%, 96%);
|
|
5
|
+
--color-primary-100: hsl(215, 100%, 98%);
|
|
6
|
+
--color-primary-200: hsl(212, 100%, 95%);
|
|
7
|
+
--color-primary-300: hsl(211, 100%, 92%);
|
|
8
|
+
--color-primary-400: hsl(211, 100%, 88%);
|
|
9
|
+
--color-primary-500: hsl(212, 100%, 80%);
|
|
10
|
+
--color-primary-600: hsl(213, 100%, 71%);
|
|
11
|
+
--color-primary-700: hsl(214, 100%, 58%);
|
|
12
|
+
--color-primary-800: hsl(228, 82%, 35%);
|
|
13
|
+
--color-primary-900: hsl(228, 63%, 23%);
|
|
14
|
+
--color-primary-1000: hsl(227, 57%, 11%);
|
|
15
|
+
--color-primary-1100: hsl(228, 63%, 23%);
|
|
16
|
+
--color-primary-1200: hsl(227, 57%, 11%);
|
|
17
|
+
--text-xs: 0.625rem;
|
|
18
|
+
--text-sm: 0.75rem;
|
|
19
|
+
--text-md: 0.875rem;
|
|
20
|
+
--text-lg: 1rem;
|
|
21
|
+
--text-xl: 1.3125rem;
|
|
22
|
+
--text-2xl: 1.75rem;
|
|
23
|
+
--text-3xl: 2.3125rem;
|
|
24
|
+
--text-4xl: 3.125rem;
|
|
25
|
+
--font-display: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
|
|
26
|
+
--font-body: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
|
|
27
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
export const theme: {
|
|
2
|
+
colors: {
|
|
3
|
+
background: "hsl(0, 0%, 98%)"
|
|
4
|
+
backgroundAccent: "hsl(0, 0%, 96%)"
|
|
5
|
+
primary100: "hsl(215, 100%, 98%)"
|
|
6
|
+
primary200: "hsl(212, 100%, 95%)"
|
|
7
|
+
primary300: "hsl(211, 100%, 92%)"
|
|
8
|
+
primary400: "hsl(211, 100%, 88%)"
|
|
9
|
+
primary500: "hsl(212, 100%, 80%)"
|
|
10
|
+
primary600: "hsl(213, 100%, 71%)"
|
|
11
|
+
primary700: "hsl(214, 100%, 58%)"
|
|
12
|
+
primary800: "hsl(228, 82%, 35%)"
|
|
13
|
+
primary900: "hsl(228, 63%, 23%)"
|
|
14
|
+
primary1000: "hsl(227, 57%, 11%)"
|
|
15
|
+
primary1100: "hsl(228, 63%, 23%)"
|
|
16
|
+
primary1200: "hsl(227, 57%, 11%)"
|
|
17
|
+
}
|
|
18
|
+
fontSizes: {
|
|
19
|
+
xs: "0.625rem"
|
|
20
|
+
sm: "0.75rem"
|
|
21
|
+
md: "0.875rem"
|
|
22
|
+
lg: "1rem"
|
|
23
|
+
xl: "1.3125rem"
|
|
24
|
+
'2xl': "1.75rem"
|
|
25
|
+
'3xl': "2.3125rem"
|
|
26
|
+
'4xl': "3.125rem"
|
|
27
|
+
}
|
|
28
|
+
fonts: {
|
|
29
|
+
display: "\'Inter\', system-ui, -apple-system, \'Helvetica Neue\', sans-serif"
|
|
30
|
+
body: "\'Inter\', system-ui, -apple-system, \'Helvetica Neue\', sans-serif"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export type Theme = typeof theme
|
|
35
|
+
|
|
36
|
+
export const properties: {
|
|
37
|
+
'--color-background': "hsl(0, 0%, 98%)"
|
|
38
|
+
'--color-background-accent': "hsl(0, 0%, 96%)"
|
|
39
|
+
'--color-primary-100': "hsl(215, 100%, 98%)"
|
|
40
|
+
'--color-primary-200': "hsl(212, 100%, 95%)"
|
|
41
|
+
'--color-primary-300': "hsl(211, 100%, 92%)"
|
|
42
|
+
'--color-primary-400': "hsl(211, 100%, 88%)"
|
|
43
|
+
'--color-primary-500': "hsl(212, 100%, 80%)"
|
|
44
|
+
'--color-primary-600': "hsl(213, 100%, 71%)"
|
|
45
|
+
'--color-primary-700': "hsl(214, 100%, 58%)"
|
|
46
|
+
'--color-primary-800': "hsl(228, 82%, 35%)"
|
|
47
|
+
'--color-primary-900': "hsl(228, 63%, 23%)"
|
|
48
|
+
'--color-primary-1000': "hsl(227, 57%, 11%)"
|
|
49
|
+
'--color-primary-1100': "hsl(228, 63%, 23%)"
|
|
50
|
+
'--color-primary-1200': "hsl(227, 57%, 11%)"
|
|
51
|
+
'--text-xs': "0.625rem"
|
|
52
|
+
'--text-sm': "0.75rem"
|
|
53
|
+
'--text-md': "0.875rem"
|
|
54
|
+
'--text-lg': "1rem"
|
|
55
|
+
'--text-xl': "1.3125rem"
|
|
56
|
+
'--text-2xl': "1.75rem"
|
|
57
|
+
'--text-3xl': "2.3125rem"
|
|
58
|
+
'--text-4xl': "3.125rem"
|
|
59
|
+
'--font-display': "\'Inter\', system-ui, -apple-system, \'Helvetica Neue\', sans-serif"
|
|
60
|
+
'--font-body': "\'Inter\', system-ui, -apple-system, \'Helvetica Neue\', sans-serif"
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export type Properties = typeof properties
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export const theme = {
|
|
2
|
+
"colors": {
|
|
3
|
+
"background": "hsl(0, 0%, 98%)",
|
|
4
|
+
"backgroundAccent": "hsl(0, 0%, 96%)",
|
|
5
|
+
"primary100": "hsl(215, 100%, 98%)",
|
|
6
|
+
"primary200": "hsl(212, 100%, 95%)",
|
|
7
|
+
"primary300": "hsl(211, 100%, 92%)",
|
|
8
|
+
"primary400": "hsl(211, 100%, 88%)",
|
|
9
|
+
"primary500": "hsl(212, 100%, 80%)",
|
|
10
|
+
"primary600": "hsl(213, 100%, 71%)",
|
|
11
|
+
"primary700": "hsl(214, 100%, 58%)",
|
|
12
|
+
"primary800": "hsl(228, 82%, 35%)",
|
|
13
|
+
"primary900": "hsl(228, 63%, 23%)",
|
|
14
|
+
"primary1000": "hsl(227, 57%, 11%)",
|
|
15
|
+
"primary1100": "hsl(228, 63%, 23%)",
|
|
16
|
+
"primary1200": "hsl(227, 57%, 11%)"
|
|
17
|
+
},
|
|
18
|
+
"fontSizes": {
|
|
19
|
+
"xs": "0.625rem",
|
|
20
|
+
"sm": "0.75rem",
|
|
21
|
+
"md": "0.875rem",
|
|
22
|
+
"lg": "1rem",
|
|
23
|
+
"xl": "1.3125rem",
|
|
24
|
+
"2xl": "1.75rem",
|
|
25
|
+
"3xl": "2.3125rem",
|
|
26
|
+
"4xl": "3.125rem"
|
|
27
|
+
},
|
|
28
|
+
"fonts": {
|
|
29
|
+
"display": "'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif",
|
|
30
|
+
"body": "'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export const properties = {
|
|
35
|
+
"--color-background": "hsl(0, 0%, 98%)",
|
|
36
|
+
"--color-background-accent": "hsl(0, 0%, 96%)",
|
|
37
|
+
"--color-primary-100": "hsl(215, 100%, 98%)",
|
|
38
|
+
"--color-primary-200": "hsl(212, 100%, 95%)",
|
|
39
|
+
"--color-primary-300": "hsl(211, 100%, 92%)",
|
|
40
|
+
"--color-primary-400": "hsl(211, 100%, 88%)",
|
|
41
|
+
"--color-primary-500": "hsl(212, 100%, 80%)",
|
|
42
|
+
"--color-primary-600": "hsl(213, 100%, 71%)",
|
|
43
|
+
"--color-primary-700": "hsl(214, 100%, 58%)",
|
|
44
|
+
"--color-primary-800": "hsl(228, 82%, 35%)",
|
|
45
|
+
"--color-primary-900": "hsl(228, 63%, 23%)",
|
|
46
|
+
"--color-primary-1000": "hsl(227, 57%, 11%)",
|
|
47
|
+
"--color-primary-1100": "hsl(228, 63%, 23%)",
|
|
48
|
+
"--color-primary-1200": "hsl(227, 57%, 11%)",
|
|
49
|
+
"--text-xs": "0.625rem",
|
|
50
|
+
"--text-sm": "0.75rem",
|
|
51
|
+
"--text-md": "0.875rem",
|
|
52
|
+
"--text-lg": "1rem",
|
|
53
|
+
"--text-xl": "1.3125rem",
|
|
54
|
+
"--text-2xl": "1.75rem",
|
|
55
|
+
"--text-3xl": "2.3125rem",
|
|
56
|
+
"--text-4xl": "3.125rem",
|
|
57
|
+
"--font-display": "'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif",
|
|
58
|
+
"--font-body": "'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif"
|
|
59
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
// Do not edit directly, this file was auto-generated.
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
package uk.co.atomlearning.theme
|
|
8
|
+
|
|
9
|
+
import androidx.compose.ui.graphics.Color
|
|
10
|
+
import androidx.compose.ui.unit.*
|
|
11
|
+
|
|
12
|
+
object ThemeTokens {
|
|
13
|
+
val background = Color(0xfffafafa)
|
|
14
|
+
val backgroundAccent = Color(0xfff5f5f5)
|
|
15
|
+
val font2xl = 28.00.sp
|
|
16
|
+
val font3xl = 37.00.sp
|
|
17
|
+
val font4xl = 50.00.sp
|
|
18
|
+
val fontLg = 16.00.sp
|
|
19
|
+
val fontMd = 14.00.sp
|
|
20
|
+
val fontSm = 12.00.sp
|
|
21
|
+
val fontXl = 21.00.sp
|
|
22
|
+
val fontXs = 10.00.sp
|
|
23
|
+
val primary100 = Color(0xfff5f9ff)
|
|
24
|
+
val primary1000 = Color(0xff0c132c)
|
|
25
|
+
val primary1100 = Color(0xff162460)
|
|
26
|
+
val primary1200 = Color(0xff0c132c)
|
|
27
|
+
val primary200 = Color(0xffe5f1ff)
|
|
28
|
+
val primary300 = Color(0xffd6eaff)
|
|
29
|
+
val primary400 = Color(0xffc2dfff)
|
|
30
|
+
val primary500 = Color(0xff99c9ff)
|
|
31
|
+
val primary600 = Color(0xff6baeff)
|
|
32
|
+
val primary700 = Color(0xff2986ff)
|
|
33
|
+
val primary800 = Color(0xff102da2)
|
|
34
|
+
val primary900 = Color(0xff162460)
|
|
35
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
//
|
|
3
|
+
// theme-atom-school-reports.swift
|
|
4
|
+
//
|
|
5
|
+
|
|
6
|
+
// Do not edit directly, this file was auto-generated.
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
import SwiftUI
|
|
10
|
+
|
|
11
|
+
public enum ThemeTokens {
|
|
12
|
+
public static let background = Color(red: 0.980, green: 0.980, blue: 0.980, opacity: 1)
|
|
13
|
+
public static let backgroundAccent = Color(red: 0.961, green: 0.961, blue: 0.961, opacity: 1)
|
|
14
|
+
public static let font2xl = CGFloat(28.00)
|
|
15
|
+
public static let font3xl = CGFloat(37.00)
|
|
16
|
+
public static let font4xl = CGFloat(50.00)
|
|
17
|
+
public static let fontLg = CGFloat(16.00)
|
|
18
|
+
public static let fontMd = CGFloat(14.00)
|
|
19
|
+
public static let fontSm = CGFloat(12.00)
|
|
20
|
+
public static let fontXl = CGFloat(21.00)
|
|
21
|
+
public static let fontXs = CGFloat(10.00)
|
|
22
|
+
public static let primary100 = Color(red: 0.961, green: 0.976, blue: 1.000, opacity: 1)
|
|
23
|
+
public static let primary1000 = Color(red: 0.047, green: 0.075, blue: 0.173, opacity: 1)
|
|
24
|
+
public static let primary1100 = Color(red: 0.086, green: 0.141, blue: 0.376, opacity: 1)
|
|
25
|
+
public static let primary1200 = Color(red: 0.047, green: 0.075, blue: 0.173, opacity: 1)
|
|
26
|
+
public static let primary200 = Color(red: 0.898, green: 0.945, blue: 1.000, opacity: 1)
|
|
27
|
+
public static let primary300 = Color(red: 0.839, green: 0.918, blue: 1.000, opacity: 1)
|
|
28
|
+
public static let primary400 = Color(red: 0.761, green: 0.875, blue: 1.000, opacity: 1)
|
|
29
|
+
public static let primary500 = Color(red: 0.600, green: 0.788, blue: 1.000, opacity: 1)
|
|
30
|
+
public static let primary600 = Color(red: 0.420, green: 0.682, blue: 1.000, opacity: 1)
|
|
31
|
+
public static let primary700 = Color(red: 0.161, green: 0.525, blue: 1.000, opacity: 1)
|
|
32
|
+
public static let primary800 = Color(red: 0.063, green: 0.176, blue: 0.635, opacity: 1)
|
|
33
|
+
public static let primary900 = Color(red: 0.086, green: 0.141, blue: 0.376, opacity: 1)
|
|
34
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
|
|
2
|
+
@theme static {
|
|
3
|
+
--color-background: hsl(0, 0%, 98%);
|
|
4
|
+
--color-background-accent: hsl(0, 0%, 96%);
|
|
5
|
+
--color-primary-100: hsl(215, 100%, 98%);
|
|
6
|
+
--color-primary-200: hsl(212, 100%, 95%);
|
|
7
|
+
--color-primary-300: hsl(211, 100%, 92%);
|
|
8
|
+
--color-primary-400: hsl(211, 100%, 88%);
|
|
9
|
+
--color-primary-500: hsl(212, 100%, 80%);
|
|
10
|
+
--color-primary-600: hsl(213, 100%, 71%);
|
|
11
|
+
--color-primary-700: hsl(214, 100%, 58%);
|
|
12
|
+
--color-primary-800: hsl(228, 82%, 35%);
|
|
13
|
+
--color-primary-900: hsl(228, 63%, 23%);
|
|
14
|
+
--color-primary-1000: hsl(227, 57%, 11%);
|
|
15
|
+
--color-primary-1100: hsl(228, 63%, 23%);
|
|
16
|
+
--color-primary-1200: hsl(227, 57%, 11%);
|
|
17
|
+
--font-display: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
|
|
18
|
+
--font-body: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
|
|
19
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export const theme: {
|
|
2
|
+
colors: {
|
|
3
|
+
background: "hsl(0, 0%, 98%)"
|
|
4
|
+
backgroundAccent: "hsl(0, 0%, 96%)"
|
|
5
|
+
primary100: "hsl(215, 100%, 98%)"
|
|
6
|
+
primary200: "hsl(212, 100%, 95%)"
|
|
7
|
+
primary300: "hsl(211, 100%, 92%)"
|
|
8
|
+
primary400: "hsl(211, 100%, 88%)"
|
|
9
|
+
primary500: "hsl(212, 100%, 80%)"
|
|
10
|
+
primary600: "hsl(213, 100%, 71%)"
|
|
11
|
+
primary700: "hsl(214, 100%, 58%)"
|
|
12
|
+
primary800: "hsl(228, 82%, 35%)"
|
|
13
|
+
primary900: "hsl(228, 63%, 23%)"
|
|
14
|
+
primary1000: "hsl(227, 57%, 11%)"
|
|
15
|
+
primary1100: "hsl(228, 63%, 23%)"
|
|
16
|
+
primary1200: "hsl(227, 57%, 11%)"
|
|
17
|
+
}
|
|
18
|
+
fonts: {
|
|
19
|
+
display: "\'Inter\', system-ui, -apple-system, \'Helvetica Neue\', sans-serif"
|
|
20
|
+
body: "\'Inter\', system-ui, -apple-system, \'Helvetica Neue\', sans-serif"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export type Theme = typeof theme
|
|
25
|
+
|
|
26
|
+
export const properties: {
|
|
27
|
+
'--color-background': "hsl(0, 0%, 98%)"
|
|
28
|
+
'--color-background-accent': "hsl(0, 0%, 96%)"
|
|
29
|
+
'--color-primary-100': "hsl(215, 100%, 98%)"
|
|
30
|
+
'--color-primary-200': "hsl(212, 100%, 95%)"
|
|
31
|
+
'--color-primary-300': "hsl(211, 100%, 92%)"
|
|
32
|
+
'--color-primary-400': "hsl(211, 100%, 88%)"
|
|
33
|
+
'--color-primary-500': "hsl(212, 100%, 80%)"
|
|
34
|
+
'--color-primary-600': "hsl(213, 100%, 71%)"
|
|
35
|
+
'--color-primary-700': "hsl(214, 100%, 58%)"
|
|
36
|
+
'--color-primary-800': "hsl(228, 82%, 35%)"
|
|
37
|
+
'--color-primary-900': "hsl(228, 63%, 23%)"
|
|
38
|
+
'--color-primary-1000': "hsl(227, 57%, 11%)"
|
|
39
|
+
'--color-primary-1100': "hsl(228, 63%, 23%)"
|
|
40
|
+
'--color-primary-1200': "hsl(227, 57%, 11%)"
|
|
41
|
+
'--font-display': "\'Inter\', system-ui, -apple-system, \'Helvetica Neue\', sans-serif"
|
|
42
|
+
'--font-body': "\'Inter\', system-ui, -apple-system, \'Helvetica Neue\', sans-serif"
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export type Properties = typeof properties
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export const theme = {
|
|
2
|
+
"colors": {
|
|
3
|
+
"background": "hsl(0, 0%, 98%)",
|
|
4
|
+
"backgroundAccent": "hsl(0, 0%, 96%)",
|
|
5
|
+
"primary100": "hsl(215, 100%, 98%)",
|
|
6
|
+
"primary200": "hsl(212, 100%, 95%)",
|
|
7
|
+
"primary300": "hsl(211, 100%, 92%)",
|
|
8
|
+
"primary400": "hsl(211, 100%, 88%)",
|
|
9
|
+
"primary500": "hsl(212, 100%, 80%)",
|
|
10
|
+
"primary600": "hsl(213, 100%, 71%)",
|
|
11
|
+
"primary700": "hsl(214, 100%, 58%)",
|
|
12
|
+
"primary800": "hsl(228, 82%, 35%)",
|
|
13
|
+
"primary900": "hsl(228, 63%, 23%)",
|
|
14
|
+
"primary1000": "hsl(227, 57%, 11%)",
|
|
15
|
+
"primary1100": "hsl(228, 63%, 23%)",
|
|
16
|
+
"primary1200": "hsl(227, 57%, 11%)"
|
|
17
|
+
},
|
|
18
|
+
"fonts": {
|
|
19
|
+
"display": "'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif",
|
|
20
|
+
"body": "'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export const properties = {
|
|
25
|
+
"--color-background": "hsl(0, 0%, 98%)",
|
|
26
|
+
"--color-background-accent": "hsl(0, 0%, 96%)",
|
|
27
|
+
"--color-primary-100": "hsl(215, 100%, 98%)",
|
|
28
|
+
"--color-primary-200": "hsl(212, 100%, 95%)",
|
|
29
|
+
"--color-primary-300": "hsl(211, 100%, 92%)",
|
|
30
|
+
"--color-primary-400": "hsl(211, 100%, 88%)",
|
|
31
|
+
"--color-primary-500": "hsl(212, 100%, 80%)",
|
|
32
|
+
"--color-primary-600": "hsl(213, 100%, 71%)",
|
|
33
|
+
"--color-primary-700": "hsl(214, 100%, 58%)",
|
|
34
|
+
"--color-primary-800": "hsl(228, 82%, 35%)",
|
|
35
|
+
"--color-primary-900": "hsl(228, 63%, 23%)",
|
|
36
|
+
"--color-primary-1000": "hsl(227, 57%, 11%)",
|
|
37
|
+
"--color-primary-1100": "hsl(228, 63%, 23%)",
|
|
38
|
+
"--color-primary-1200": "hsl(227, 57%, 11%)",
|
|
39
|
+
"--font-display": "'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif",
|
|
40
|
+
"--font-body": "'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif"
|
|
41
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
// Do not edit directly, this file was auto-generated.
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
package uk.co.atomlearning.theme
|
|
8
|
+
|
|
9
|
+
import androidx.compose.ui.graphics.Color
|
|
10
|
+
import androidx.compose.ui.unit.*
|
|
11
|
+
|
|
12
|
+
object ThemeTokens {
|
|
13
|
+
val background = Color(0xfffafafa)
|
|
14
|
+
val backgroundAccent = Color(0xfff5f5f5)
|
|
15
|
+
val primary100 = Color(0xfff5f9ff)
|
|
16
|
+
val primary1000 = Color(0xff0c132c)
|
|
17
|
+
val primary1100 = Color(0xff162460)
|
|
18
|
+
val primary1200 = Color(0xff0c132c)
|
|
19
|
+
val primary200 = Color(0xffe5f1ff)
|
|
20
|
+
val primary300 = Color(0xffd6eaff)
|
|
21
|
+
val primary400 = Color(0xffc2dfff)
|
|
22
|
+
val primary500 = Color(0xff99c9ff)
|
|
23
|
+
val primary600 = Color(0xff6baeff)
|
|
24
|
+
val primary700 = Color(0xff2986ff)
|
|
25
|
+
val primary800 = Color(0xff102da2)
|
|
26
|
+
val primary900 = Color(0xff162460)
|
|
27
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
|
|
2
|
+
//
|
|
3
|
+
// theme-atom-school.swift
|
|
4
|
+
//
|
|
5
|
+
|
|
6
|
+
// Do not edit directly, this file was auto-generated.
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
import SwiftUI
|
|
10
|
+
|
|
11
|
+
public enum ThemeTokens {
|
|
12
|
+
public static let background = Color(red: 0.980, green: 0.980, blue: 0.980, opacity: 1)
|
|
13
|
+
public static let backgroundAccent = Color(red: 0.961, green: 0.961, blue: 0.961, opacity: 1)
|
|
14
|
+
public static let primary100 = Color(red: 0.961, green: 0.976, blue: 1.000, opacity: 1)
|
|
15
|
+
public static let primary1000 = Color(red: 0.047, green: 0.075, blue: 0.173, opacity: 1)
|
|
16
|
+
public static let primary1100 = Color(red: 0.086, green: 0.141, blue: 0.376, opacity: 1)
|
|
17
|
+
public static let primary1200 = Color(red: 0.047, green: 0.075, blue: 0.173, opacity: 1)
|
|
18
|
+
public static let primary200 = Color(red: 0.898, green: 0.945, blue: 1.000, opacity: 1)
|
|
19
|
+
public static let primary300 = Color(red: 0.839, green: 0.918, blue: 1.000, opacity: 1)
|
|
20
|
+
public static let primary400 = Color(red: 0.761, green: 0.875, blue: 1.000, opacity: 1)
|
|
21
|
+
public static let primary500 = Color(red: 0.600, green: 0.788, blue: 1.000, opacity: 1)
|
|
22
|
+
public static let primary600 = Color(red: 0.420, green: 0.682, blue: 1.000, opacity: 1)
|
|
23
|
+
public static let primary700 = Color(red: 0.161, green: 0.525, blue: 1.000, opacity: 1)
|
|
24
|
+
public static let primary800 = Color(red: 0.063, green: 0.176, blue: 0.635, opacity: 1)
|
|
25
|
+
public static let primary900 = Color(red: 0.086, green: 0.141, blue: 0.376, opacity: 1)
|
|
26
|
+
}
|
package/lib/theme-base.css
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
--color-background-accent: hsl(215, 100%, 98%);
|
|
14
14
|
--color-black: #000;
|
|
15
15
|
--color-white: #fff;
|
|
16
|
+
--color-grey-50: hsl(0, 0%, 98%);
|
|
16
17
|
--color-grey-100: hsl(0, 0%, 96%);
|
|
17
18
|
--color-grey-200: hsl(0, 0%, 92%);
|
|
18
19
|
--color-grey-300: hsl(0, 0%, 88%);
|
|
@@ -205,6 +206,18 @@
|
|
|
205
206
|
--color-coolGrey-1000: hsl(208, 19%, 14%);
|
|
206
207
|
--color-coolGrey-1100: hsl(207, 20%, 11%);
|
|
207
208
|
--color-coolGrey-1200: hsl(210, 18%, 7%);
|
|
209
|
+
--color-emerald-100: #EEFCF5;
|
|
210
|
+
--color-emerald-200: #DEF7EB;
|
|
211
|
+
--color-emerald-300: #BDEBD4;
|
|
212
|
+
--color-emerald-400: #9FDFC0;
|
|
213
|
+
--color-emerald-500: #79CDA5;
|
|
214
|
+
--color-emerald-600: #48B18B;
|
|
215
|
+
--color-emerald-700: #2C876B;
|
|
216
|
+
--color-emerald-800: #16795B;
|
|
217
|
+
--color-emerald-900: #004C38;
|
|
218
|
+
--color-emerald-1000: #004231;
|
|
219
|
+
--color-emerald-1100: #193326;
|
|
220
|
+
--color-emerald-1200: #101E17;
|
|
208
221
|
--color-alpha-100: hsla(0, 0%, 20%, 0.1);
|
|
209
222
|
--color-alpha-150: hsla(0, 0%, 20%, 0.15);
|
|
210
223
|
--color-alpha-200: hsla(0, 0%, 20%, 0.2);
|
package/lib/theme-base.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export const theme: {
|
|
|
8
8
|
backgroundAccent: "hsl(215, 100%, 98%)"
|
|
9
9
|
black: "#000"
|
|
10
10
|
white: "#fff"
|
|
11
|
+
grey50: "hsl(0, 0%, 98%)"
|
|
11
12
|
grey100: "hsl(0, 0%, 96%)"
|
|
12
13
|
grey200: "hsl(0, 0%, 92%)"
|
|
13
14
|
grey300: "hsl(0, 0%, 88%)"
|
|
@@ -200,6 +201,18 @@ export const theme: {
|
|
|
200
201
|
coolGrey1000: "hsl(208, 19%, 14%)"
|
|
201
202
|
coolGrey1100: "hsl(207, 20%, 11%)"
|
|
202
203
|
coolGrey1200: "hsl(210, 18%, 7%)"
|
|
204
|
+
emerald100: "#EEFCF5"
|
|
205
|
+
emerald200: "#DEF7EB"
|
|
206
|
+
emerald300: "#BDEBD4"
|
|
207
|
+
emerald400: "#9FDFC0"
|
|
208
|
+
emerald500: "#79CDA5"
|
|
209
|
+
emerald600: "#48B18B"
|
|
210
|
+
emerald700: "#2C876B"
|
|
211
|
+
emerald800: "#16795B"
|
|
212
|
+
emerald900: "#004C38"
|
|
213
|
+
emerald1000: "#004231"
|
|
214
|
+
emerald1100: "#193326"
|
|
215
|
+
emerald1200: "#101E17"
|
|
203
216
|
alpha100: "hsla(0, 0%, 20%, 0.1)"
|
|
204
217
|
alpha150: "hsla(0, 0%, 20%, 0.15)"
|
|
205
218
|
alpha200: "hsla(0, 0%, 20%, 0.2)"
|
|
@@ -293,6 +306,7 @@ export const properties: {
|
|
|
293
306
|
'--color-background-accent': "hsl(215, 100%, 98%)"
|
|
294
307
|
'--color-black': "#000"
|
|
295
308
|
'--color-white': "#fff"
|
|
309
|
+
'--color-grey-50': "hsl(0, 0%, 98%)"
|
|
296
310
|
'--color-grey-100': "hsl(0, 0%, 96%)"
|
|
297
311
|
'--color-grey-200': "hsl(0, 0%, 92%)"
|
|
298
312
|
'--color-grey-300': "hsl(0, 0%, 88%)"
|
|
@@ -485,6 +499,18 @@ export const properties: {
|
|
|
485
499
|
'--color-cool-grey-1000': "hsl(208, 19%, 14%)"
|
|
486
500
|
'--color-cool-grey-1100': "hsl(207, 20%, 11%)"
|
|
487
501
|
'--color-cool-grey-1200': "hsl(210, 18%, 7%)"
|
|
502
|
+
'--color-emerald-100': "#EEFCF5"
|
|
503
|
+
'--color-emerald-200': "#DEF7EB"
|
|
504
|
+
'--color-emerald-300': "#BDEBD4"
|
|
505
|
+
'--color-emerald-400': "#9FDFC0"
|
|
506
|
+
'--color-emerald-500': "#79CDA5"
|
|
507
|
+
'--color-emerald-600': "#48B18B"
|
|
508
|
+
'--color-emerald-700': "#2C876B"
|
|
509
|
+
'--color-emerald-800': "#16795B"
|
|
510
|
+
'--color-emerald-900': "#004C38"
|
|
511
|
+
'--color-emerald-1000': "#004231"
|
|
512
|
+
'--color-emerald-1100': "#193326"
|
|
513
|
+
'--color-emerald-1200': "#101E17"
|
|
488
514
|
'--color-alpha-100': "hsla(0, 0%, 20%, 0.1)"
|
|
489
515
|
'--color-alpha-150': "hsla(0, 0%, 20%, 0.15)"
|
|
490
516
|
'--color-alpha-200': "hsla(0, 0%, 20%, 0.2)"
|
package/lib/theme-base.js
CHANGED
|
@@ -8,6 +8,7 @@ export const theme = {
|
|
|
8
8
|
"backgroundAccent": "hsl(215, 100%, 98%)",
|
|
9
9
|
"black": "#000",
|
|
10
10
|
"white": "#fff",
|
|
11
|
+
"grey50": "hsl(0, 0%, 98%)",
|
|
11
12
|
"grey100": "hsl(0, 0%, 96%)",
|
|
12
13
|
"grey200": "hsl(0, 0%, 92%)",
|
|
13
14
|
"grey300": "hsl(0, 0%, 88%)",
|
|
@@ -200,6 +201,18 @@ export const theme = {
|
|
|
200
201
|
"coolGrey1000": "hsl(208, 19%, 14%)",
|
|
201
202
|
"coolGrey1100": "hsl(207, 20%, 11%)",
|
|
202
203
|
"coolGrey1200": "hsl(210, 18%, 7%)",
|
|
204
|
+
"emerald100": "#EEFCF5",
|
|
205
|
+
"emerald200": "#DEF7EB",
|
|
206
|
+
"emerald300": "#BDEBD4",
|
|
207
|
+
"emerald400": "#9FDFC0",
|
|
208
|
+
"emerald500": "#79CDA5",
|
|
209
|
+
"emerald600": "#48B18B",
|
|
210
|
+
"emerald700": "#2C876B",
|
|
211
|
+
"emerald800": "#16795B",
|
|
212
|
+
"emerald900": "#004C38",
|
|
213
|
+
"emerald1000": "#004231",
|
|
214
|
+
"emerald1100": "#193326",
|
|
215
|
+
"emerald1200": "#101E17",
|
|
203
216
|
"alpha100": "hsla(0, 0%, 20%, 0.1)",
|
|
204
217
|
"alpha150": "hsla(0, 0%, 20%, 0.15)",
|
|
205
218
|
"alpha200": "hsla(0, 0%, 20%, 0.2)",
|
|
@@ -291,6 +304,7 @@ export const properties = {
|
|
|
291
304
|
"--color-background-accent": "hsl(215, 100%, 98%)",
|
|
292
305
|
"--color-black": "#000",
|
|
293
306
|
"--color-white": "#fff",
|
|
307
|
+
"--color-grey-50": "hsl(0, 0%, 98%)",
|
|
294
308
|
"--color-grey-100": "hsl(0, 0%, 96%)",
|
|
295
309
|
"--color-grey-200": "hsl(0, 0%, 92%)",
|
|
296
310
|
"--color-grey-300": "hsl(0, 0%, 88%)",
|
|
@@ -483,6 +497,18 @@ export const properties = {
|
|
|
483
497
|
"--color-cool-grey-1000": "hsl(208, 19%, 14%)",
|
|
484
498
|
"--color-cool-grey-1100": "hsl(207, 20%, 11%)",
|
|
485
499
|
"--color-cool-grey-1200": "hsl(210, 18%, 7%)",
|
|
500
|
+
"--color-emerald-100": "#EEFCF5",
|
|
501
|
+
"--color-emerald-200": "#DEF7EB",
|
|
502
|
+
"--color-emerald-300": "#BDEBD4",
|
|
503
|
+
"--color-emerald-400": "#9FDFC0",
|
|
504
|
+
"--color-emerald-500": "#79CDA5",
|
|
505
|
+
"--color-emerald-600": "#48B18B",
|
|
506
|
+
"--color-emerald-700": "#2C876B",
|
|
507
|
+
"--color-emerald-800": "#16795B",
|
|
508
|
+
"--color-emerald-900": "#004C38",
|
|
509
|
+
"--color-emerald-1000": "#004231",
|
|
510
|
+
"--color-emerald-1100": "#193326",
|
|
511
|
+
"--color-emerald-1200": "#101E17",
|
|
486
512
|
"--color-alpha-100": "hsla(0, 0%, 20%, 0.1)",
|
|
487
513
|
"--color-alpha-150": "hsla(0, 0%, 20%, 0.15)",
|
|
488
514
|
"--color-alpha-200": "hsla(0, 0%, 20%, 0.2)",
|
package/lib/theme-base.kt
CHANGED
|
@@ -58,6 +58,18 @@ object ThemeTokens {
|
|
|
58
58
|
val dangerDark = Color(0xffab0303)
|
|
59
59
|
val dangerLight = Color(0xfffce8e8)
|
|
60
60
|
val dangerMid = Color(0xffcd0404)
|
|
61
|
+
val emerald100 = Color(0xffeefcf5)
|
|
62
|
+
val emerald1000 = Color(0xff004231)
|
|
63
|
+
val emerald1100 = Color(0xff193326)
|
|
64
|
+
val emerald1200 = Color(0xff101e17)
|
|
65
|
+
val emerald200 = Color(0xffdef7eb)
|
|
66
|
+
val emerald300 = Color(0xffbdebd4)
|
|
67
|
+
val emerald400 = Color(0xff9fdfc0)
|
|
68
|
+
val emerald500 = Color(0xff79cda5)
|
|
69
|
+
val emerald600 = Color(0xff48b18b)
|
|
70
|
+
val emerald700 = Color(0xff2c876b)
|
|
71
|
+
val emerald800 = Color(0xff16795b)
|
|
72
|
+
val emerald900 = Color(0xff004c38)
|
|
61
73
|
val font2xl = 37.00.sp
|
|
62
74
|
val font3xl = 50.00.sp
|
|
63
75
|
val font4xl = 90.00.sp
|
|
@@ -88,6 +100,7 @@ object ThemeTokens {
|
|
|
88
100
|
val grey200 = Color(0xffebebeb)
|
|
89
101
|
val grey300 = Color(0xffe0e0e0)
|
|
90
102
|
val grey400 = Color(0xffcfcfcf)
|
|
103
|
+
val grey50 = Color(0xfffafafa)
|
|
91
104
|
val grey500 = Color(0xffbababa)
|
|
92
105
|
val grey600 = Color(0xff9e9e9e)
|
|
93
106
|
val grey700 = Color(0xff757575)
|
package/lib/theme-base.swift
CHANGED
|
@@ -57,6 +57,18 @@ public enum ThemeTokens {
|
|
|
57
57
|
public static let dangerDark = Color(red: 0.671, green: 0.012, blue: 0.012, opacity: 1)
|
|
58
58
|
public static let dangerLight = Color(red: 0.988, green: 0.910, blue: 0.910, opacity: 1)
|
|
59
59
|
public static let dangerMid = Color(red: 0.804, green: 0.016, blue: 0.016, opacity: 1)
|
|
60
|
+
public static let emerald100 = Color(red: 0.933, green: 0.988, blue: 0.961, opacity: 1)
|
|
61
|
+
public static let emerald1000 = Color(red: 0.000, green: 0.259, blue: 0.192, opacity: 1)
|
|
62
|
+
public static let emerald1100 = Color(red: 0.098, green: 0.200, blue: 0.149, opacity: 1)
|
|
63
|
+
public static let emerald1200 = Color(red: 0.063, green: 0.118, blue: 0.090, opacity: 1)
|
|
64
|
+
public static let emerald200 = Color(red: 0.871, green: 0.969, blue: 0.922, opacity: 1)
|
|
65
|
+
public static let emerald300 = Color(red: 0.741, green: 0.922, blue: 0.831, opacity: 1)
|
|
66
|
+
public static let emerald400 = Color(red: 0.624, green: 0.875, blue: 0.753, opacity: 1)
|
|
67
|
+
public static let emerald500 = Color(red: 0.475, green: 0.804, blue: 0.647, opacity: 1)
|
|
68
|
+
public static let emerald600 = Color(red: 0.282, green: 0.694, blue: 0.545, opacity: 1)
|
|
69
|
+
public static let emerald700 = Color(red: 0.173, green: 0.529, blue: 0.420, opacity: 1)
|
|
70
|
+
public static let emerald800 = Color(red: 0.086, green: 0.475, blue: 0.357, opacity: 1)
|
|
71
|
+
public static let emerald900 = Color(red: 0.000, green: 0.298, blue: 0.220, opacity: 1)
|
|
60
72
|
public static let font2xl = CGFloat(37.00)
|
|
61
73
|
public static let font3xl = CGFloat(50.00)
|
|
62
74
|
public static let font4xl = CGFloat(90.00)
|
|
@@ -87,6 +99,7 @@ public enum ThemeTokens {
|
|
|
87
99
|
public static let grey200 = Color(red: 0.922, green: 0.922, blue: 0.922, opacity: 1)
|
|
88
100
|
public static let grey300 = Color(red: 0.878, green: 0.878, blue: 0.878, opacity: 1)
|
|
89
101
|
public static let grey400 = Color(red: 0.812, green: 0.812, blue: 0.812, opacity: 1)
|
|
102
|
+
public static let grey50 = Color(red: 0.980, green: 0.980, blue: 0.980, opacity: 1)
|
|
90
103
|
public static let grey500 = Color(red: 0.729, green: 0.729, blue: 0.729, opacity: 1)
|
|
91
104
|
public static let grey600 = Color(red: 0.620, green: 0.620, blue: 0.620, opacity: 1)
|
|
92
105
|
public static let grey700 = Color(red: 0.459, green: 0.459, blue: 0.459, opacity: 1)
|
package/lib/themes.css
CHANGED
|
@@ -1,3 +1,53 @@
|
|
|
1
|
+
@layer theme {
|
|
2
|
+
.theme-atom-school-reports {
|
|
3
|
+
--color-background: hsl(0, 0%, 98%);
|
|
4
|
+
--color-background-accent: hsl(0, 0%, 96%);
|
|
5
|
+
--color-primary-100: hsl(215, 100%, 98%);
|
|
6
|
+
--color-primary-200: hsl(212, 100%, 95%);
|
|
7
|
+
--color-primary-300: hsl(211, 100%, 92%);
|
|
8
|
+
--color-primary-400: hsl(211, 100%, 88%);
|
|
9
|
+
--color-primary-500: hsl(212, 100%, 80%);
|
|
10
|
+
--color-primary-600: hsl(213, 100%, 71%);
|
|
11
|
+
--color-primary-700: hsl(214, 100%, 58%);
|
|
12
|
+
--color-primary-800: hsl(228, 82%, 35%);
|
|
13
|
+
--color-primary-900: hsl(228, 63%, 23%);
|
|
14
|
+
--color-primary-1000: hsl(227, 57%, 11%);
|
|
15
|
+
--color-primary-1100: hsl(228, 63%, 23%);
|
|
16
|
+
--color-primary-1200: hsl(227, 57%, 11%);
|
|
17
|
+
--text-xs: 0.625rem;
|
|
18
|
+
--text-sm: 0.75rem;
|
|
19
|
+
--text-md: 0.875rem;
|
|
20
|
+
--text-lg: 1rem;
|
|
21
|
+
--text-xl: 1.3125rem;
|
|
22
|
+
--text-2xl: 1.75rem;
|
|
23
|
+
--text-3xl: 2.3125rem;
|
|
24
|
+
--text-4xl: 3.125rem;
|
|
25
|
+
--font-display: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
|
|
26
|
+
--font-body: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@layer theme {
|
|
31
|
+
.theme-atom-school {
|
|
32
|
+
--color-background: hsl(0, 0%, 98%);
|
|
33
|
+
--color-background-accent: hsl(0, 0%, 96%);
|
|
34
|
+
--color-primary-100: hsl(215, 100%, 98%);
|
|
35
|
+
--color-primary-200: hsl(212, 100%, 95%);
|
|
36
|
+
--color-primary-300: hsl(211, 100%, 92%);
|
|
37
|
+
--color-primary-400: hsl(211, 100%, 88%);
|
|
38
|
+
--color-primary-500: hsl(212, 100%, 80%);
|
|
39
|
+
--color-primary-600: hsl(213, 100%, 71%);
|
|
40
|
+
--color-primary-700: hsl(214, 100%, 58%);
|
|
41
|
+
--color-primary-800: hsl(228, 82%, 35%);
|
|
42
|
+
--color-primary-900: hsl(228, 63%, 23%);
|
|
43
|
+
--color-primary-1000: hsl(227, 57%, 11%);
|
|
44
|
+
--color-primary-1100: hsl(228, 63%, 23%);
|
|
45
|
+
--color-primary-1200: hsl(227, 57%, 11%);
|
|
46
|
+
--font-display: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
|
|
47
|
+
--font-body: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
1
51
|
@layer theme {
|
|
2
52
|
.theme-atom {
|
|
3
53
|
--color-primary-100: hsl(215, 100%, 98%);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atom-learning/theme",
|
|
3
|
-
"version": "6.
|
|
4
|
-
"description": "Design tokens and assets for Atom Learning and Quest",
|
|
3
|
+
"version": "6.2.0",
|
|
4
|
+
"description": "Design tokens and assets for Atom Learning, Atom School and Quest",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/theme-base.js",
|
|
7
7
|
"types": "lib/theme-base.d.ts",
|
|
@@ -59,6 +59,16 @@
|
|
|
59
59
|
"style": "./lib/theme-quest-reports.css",
|
|
60
60
|
"default": "./lib/theme-quest-reports.js"
|
|
61
61
|
},
|
|
62
|
+
"./atom-school": {
|
|
63
|
+
"types": "./lib/theme-atom-school.d.ts",
|
|
64
|
+
"style": "./lib/theme-atom-school.css",
|
|
65
|
+
"default": "./lib/theme-atom-school.js"
|
|
66
|
+
},
|
|
67
|
+
"./atom-school-reports": {
|
|
68
|
+
"types": "./lib/theme-atom-school-reports.d.ts",
|
|
69
|
+
"style": "./lib/theme-atom-school-reports.css",
|
|
70
|
+
"default": "./lib/theme-atom-school-reports.js"
|
|
71
|
+
},
|
|
62
72
|
"./themes": {
|
|
63
73
|
"style": "./lib/themes.css"
|
|
64
74
|
},
|
|
@@ -97,6 +107,12 @@
|
|
|
97
107
|
"quest-reports": [
|
|
98
108
|
"./lib/theme-quest-reports.d.ts"
|
|
99
109
|
],
|
|
110
|
+
"atom-school": [
|
|
111
|
+
"./lib/theme-atom-school.d.ts"
|
|
112
|
+
],
|
|
113
|
+
"atom-school-reports": [
|
|
114
|
+
"./lib/theme-atom-school-reports.d.ts"
|
|
115
|
+
],
|
|
100
116
|
"media": [
|
|
101
117
|
"./lib/media.d.ts"
|
|
102
118
|
]
|