@atom-learning/theme 6.1.0 → 6.3.0-beta.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/roles.d.ts ADDED
@@ -0,0 +1,30 @@
1
+ export type Brand = 'atom' | 'school' | 'quest'
2
+ export type ColorHue = 'grey' | 'blue' | 'pink' | 'marsh' | 'green' | 'red' | 'orange' | 'purple' | 'cyan' | 'teal' | 'magenta' | 'lime' | 'lapis' | 'maroon' | 'emerald' | 'yellow'
3
+ export type ColorTone = 'success' | 'warning' | 'danger' | 'info'
4
+ export type ColorAccent = 'brand' | ColorHue | ColorTone
5
+
6
+ export type BackgroundColorRole = 'page' | 'surface' | 'surface-hover' | 'surface-overlay' | 'hover' | 'active' | 'inset' | 'input' | 'neutral' | 'neutral-solid' | 'neutral-solid-hover' | 'disabled' | 'inverse' | 'scrim' | 'accent-subtle' | 'accent-subtle-hover' | 'accent-subtle-active' | 'accent-muted' | 'accent-muted-hover' | 'accent-muted-active' | 'accent-solid' | 'accent-solid-hover' | 'accent-solid-active' | 'accent-emphasis' | 'success-subtle' | 'success-solid' | 'success-solid-hover' | 'success-solid-active' | 'success-emphasis' | 'warning-subtle' | 'warning-solid' | 'warning-solid-hover' | 'warning-solid-active' | 'warning-emphasis' | 'danger-subtle' | 'danger-solid' | 'danger-solid-hover' | 'danger-solid-active' | 'danger-emphasis' | 'info-subtle' | 'info-solid' | 'info-solid-hover' | 'info-solid-active' | 'info-emphasis'
7
+ export type TextColorRole = 'default' | 'subtle' | 'subtlest' | 'icon' | 'icon-subtle' | 'disabled' | 'on-inverse' | 'link' | 'link-hover' | 'link-visited' | 'accent' | 'accent-hover' | 'accent-active' | 'on-accent' | 'on-accent-subtle' | 'on-accent-emphasis' | 'success' | 'on-success' | 'on-success-subtle' | 'warning' | 'on-warning' | 'on-warning-subtle' | 'danger' | 'on-danger' | 'on-danger-subtle' | 'info' | 'on-info' | 'on-info-subtle'
8
+ export type BorderColorRole = 'subtlest' | 'subtle' | 'default' | 'control' | 'control-subtle' | 'disabled' | 'accent' | 'accent-solid' | 'accent-solid-hover' | 'accent-solid-active' | 'focus' | 'success' | 'warning' | 'danger' | 'info'
9
+ export type OutlineColorRole = 'focus' | 'focus-inverse' | 'accent' | 'danger'
10
+
11
+ export type ShadowRole = 'floating-sm' | 'floating-md' | 'floating-lg' | 'floating-xl' | 'resting-sm' | 'resting-md' | 'edge-top' | 'edge-bottom' | 'edge-end'
12
+ export type ShadowRoleVariable = `--shadow-${ShadowRole}`
13
+
14
+ export type ColorRoleVariable =
15
+ | `--background-color-${BackgroundColorRole}`
16
+ | `--text-color-${TextColorRole}`
17
+ | `--border-color-${BorderColorRole}`
18
+ | `--outline-color-${OutlineColorRole}`
19
+
20
+ export declare const brands: Brand[]
21
+ export declare const hues: ColorHue[]
22
+ export declare const tones: ColorTone[]
23
+ export declare const accents: ColorAccent[]
24
+ export declare const shadows: ShadowRole[]
25
+ export declare const roles: {
26
+ background: BackgroundColorRole[]
27
+ text: TextColorRole[]
28
+ border: BorderColorRole[]
29
+ outline: OutlineColorRole[]
30
+ }
package/lib/roles.js ADDED
@@ -0,0 +1,169 @@
1
+ export const brands = [
2
+ "atom",
3
+ "school",
4
+ "quest"
5
+ ]
6
+
7
+ export const hues = [
8
+ "grey",
9
+ "blue",
10
+ "pink",
11
+ "marsh",
12
+ "green",
13
+ "red",
14
+ "orange",
15
+ "purple",
16
+ "cyan",
17
+ "teal",
18
+ "magenta",
19
+ "lime",
20
+ "lapis",
21
+ "maroon",
22
+ "emerald",
23
+ "yellow"
24
+ ]
25
+
26
+ export const tones = [
27
+ "success",
28
+ "warning",
29
+ "danger",
30
+ "info"
31
+ ]
32
+
33
+ export const accents = [
34
+ "brand",
35
+ "grey",
36
+ "blue",
37
+ "pink",
38
+ "marsh",
39
+ "green",
40
+ "red",
41
+ "orange",
42
+ "purple",
43
+ "cyan",
44
+ "teal",
45
+ "magenta",
46
+ "lime",
47
+ "lapis",
48
+ "maroon",
49
+ "emerald",
50
+ "yellow",
51
+ "success",
52
+ "warning",
53
+ "danger",
54
+ "info"
55
+ ]
56
+
57
+ export const roles = {
58
+ "background": [
59
+ "page",
60
+ "surface",
61
+ "surface-hover",
62
+ "surface-overlay",
63
+ "hover",
64
+ "active",
65
+ "inset",
66
+ "input",
67
+ "neutral",
68
+ "neutral-solid",
69
+ "neutral-solid-hover",
70
+ "disabled",
71
+ "inverse",
72
+ "scrim",
73
+ "accent-subtle",
74
+ "accent-subtle-hover",
75
+ "accent-subtle-active",
76
+ "accent-muted",
77
+ "accent-muted-hover",
78
+ "accent-muted-active",
79
+ "accent-solid",
80
+ "accent-solid-hover",
81
+ "accent-solid-active",
82
+ "accent-emphasis",
83
+ "success-subtle",
84
+ "success-solid",
85
+ "success-solid-hover",
86
+ "success-solid-active",
87
+ "success-emphasis",
88
+ "warning-subtle",
89
+ "warning-solid",
90
+ "warning-solid-hover",
91
+ "warning-solid-active",
92
+ "warning-emphasis",
93
+ "danger-subtle",
94
+ "danger-solid",
95
+ "danger-solid-hover",
96
+ "danger-solid-active",
97
+ "danger-emphasis",
98
+ "info-subtle",
99
+ "info-solid",
100
+ "info-solid-hover",
101
+ "info-solid-active",
102
+ "info-emphasis"
103
+ ],
104
+ "text": [
105
+ "default",
106
+ "subtle",
107
+ "subtlest",
108
+ "icon",
109
+ "icon-subtle",
110
+ "disabled",
111
+ "on-inverse",
112
+ "link",
113
+ "link-hover",
114
+ "link-visited",
115
+ "accent",
116
+ "accent-hover",
117
+ "accent-active",
118
+ "on-accent",
119
+ "on-accent-subtle",
120
+ "on-accent-emphasis",
121
+ "success",
122
+ "on-success",
123
+ "on-success-subtle",
124
+ "warning",
125
+ "on-warning",
126
+ "on-warning-subtle",
127
+ "danger",
128
+ "on-danger",
129
+ "on-danger-subtle",
130
+ "info",
131
+ "on-info",
132
+ "on-info-subtle"
133
+ ],
134
+ "border": [
135
+ "subtlest",
136
+ "subtle",
137
+ "default",
138
+ "control",
139
+ "control-subtle",
140
+ "disabled",
141
+ "accent",
142
+ "accent-solid",
143
+ "accent-solid-hover",
144
+ "accent-solid-active",
145
+ "focus",
146
+ "success",
147
+ "warning",
148
+ "danger",
149
+ "info"
150
+ ],
151
+ "outline": [
152
+ "focus",
153
+ "focus-inverse",
154
+ "accent",
155
+ "danger"
156
+ ]
157
+ }
158
+
159
+ export const shadows = [
160
+ "floating-sm",
161
+ "floating-md",
162
+ "floating-lg",
163
+ "floating-xl",
164
+ "resting-sm",
165
+ "resting-md",
166
+ "edge-top",
167
+ "edge-bottom",
168
+ "edge-end"
169
+ ]
@@ -0,0 +1,29 @@
1
+
2
+ @theme static {
3
+ /* @deprecated Use the bg-page role (--background-color-page) */
4
+ --color-background: hsl(0, 0%, 98%);
5
+ /* @deprecated Use the bg-accent-subtle role (--background-color-accent-subtle) */
6
+ --color-background-accent: hsl(0, 0%, 96%);
7
+ --color-primary-100: hsl(215, 100%, 98%);
8
+ --color-primary-200: hsl(212, 100%, 95%);
9
+ --color-primary-300: hsl(211, 100%, 92%);
10
+ --color-primary-400: hsl(211, 100%, 88%);
11
+ --color-primary-500: hsl(212, 100%, 80%);
12
+ --color-primary-600: hsl(213, 100%, 71%);
13
+ --color-primary-700: hsl(214, 100%, 58%);
14
+ --color-primary-800: hsl(228, 82%, 35%);
15
+ --color-primary-900: hsl(228, 63%, 23%);
16
+ --color-primary-1000: hsl(227, 57%, 11%);
17
+ --color-primary-1100: hsl(228, 63%, 23%);
18
+ --color-primary-1200: hsl(227, 57%, 11%);
19
+ --text-xs: 0.625rem;
20
+ --text-sm: 0.75rem;
21
+ --text-md: 0.875rem;
22
+ --text-lg: 1rem;
23
+ --text-xl: 1.3125rem;
24
+ --text-2xl: 1.75rem;
25
+ --text-3xl: 2.3125rem;
26
+ --text-4xl: 3.125rem;
27
+ --font-display: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
28
+ --font-body: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
29
+ }
@@ -0,0 +1,67 @@
1
+ export const theme: {
2
+ colors: {
3
+ /** @deprecated Use the bg-page role (--background-color-page) */
4
+ background: "hsl(0, 0%, 98%)"
5
+ /** @deprecated Use the bg-accent-subtle role (--background-color-accent-subtle) */
6
+ backgroundAccent: "hsl(0, 0%, 96%)"
7
+ primary100: "hsl(215, 100%, 98%)"
8
+ primary200: "hsl(212, 100%, 95%)"
9
+ primary300: "hsl(211, 100%, 92%)"
10
+ primary400: "hsl(211, 100%, 88%)"
11
+ primary500: "hsl(212, 100%, 80%)"
12
+ primary600: "hsl(213, 100%, 71%)"
13
+ primary700: "hsl(214, 100%, 58%)"
14
+ primary800: "hsl(228, 82%, 35%)"
15
+ primary900: "hsl(228, 63%, 23%)"
16
+ primary1000: "hsl(227, 57%, 11%)"
17
+ primary1100: "hsl(228, 63%, 23%)"
18
+ primary1200: "hsl(227, 57%, 11%)"
19
+ }
20
+ fontSizes: {
21
+ xs: "0.625rem"
22
+ sm: "0.75rem"
23
+ md: "0.875rem"
24
+ lg: "1rem"
25
+ xl: "1.3125rem"
26
+ '2xl': "1.75rem"
27
+ '3xl': "2.3125rem"
28
+ '4xl': "3.125rem"
29
+ }
30
+ fonts: {
31
+ display: "\'Inter\', system-ui, -apple-system, \'Helvetica Neue\', sans-serif"
32
+ body: "\'Inter\', system-ui, -apple-system, \'Helvetica Neue\', sans-serif"
33
+ }
34
+ }
35
+
36
+ export type Theme = typeof theme
37
+
38
+ export const properties: {
39
+ /** @deprecated Use the bg-page role (--background-color-page) */
40
+ '--color-background': "hsl(0, 0%, 98%)"
41
+ /** @deprecated Use the bg-accent-subtle role (--background-color-accent-subtle) */
42
+ '--color-background-accent': "hsl(0, 0%, 96%)"
43
+ '--color-primary-100': "hsl(215, 100%, 98%)"
44
+ '--color-primary-200': "hsl(212, 100%, 95%)"
45
+ '--color-primary-300': "hsl(211, 100%, 92%)"
46
+ '--color-primary-400': "hsl(211, 100%, 88%)"
47
+ '--color-primary-500': "hsl(212, 100%, 80%)"
48
+ '--color-primary-600': "hsl(213, 100%, 71%)"
49
+ '--color-primary-700': "hsl(214, 100%, 58%)"
50
+ '--color-primary-800': "hsl(228, 82%, 35%)"
51
+ '--color-primary-900': "hsl(228, 63%, 23%)"
52
+ '--color-primary-1000': "hsl(227, 57%, 11%)"
53
+ '--color-primary-1100': "hsl(228, 63%, 23%)"
54
+ '--color-primary-1200': "hsl(227, 57%, 11%)"
55
+ '--text-xs': "0.625rem"
56
+ '--text-sm': "0.75rem"
57
+ '--text-md': "0.875rem"
58
+ '--text-lg': "1rem"
59
+ '--text-xl': "1.3125rem"
60
+ '--text-2xl': "1.75rem"
61
+ '--text-3xl': "2.3125rem"
62
+ '--text-4xl': "3.125rem"
63
+ '--font-display': "\'Inter\', system-ui, -apple-system, \'Helvetica Neue\', sans-serif"
64
+ '--font-body': "\'Inter\', system-ui, -apple-system, \'Helvetica Neue\', sans-serif"
65
+ }
66
+
67
+ 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,21 @@
1
+
2
+ @theme static {
3
+ /* @deprecated Use the bg-page role (--background-color-page) */
4
+ --color-background: hsl(0, 0%, 98%);
5
+ /* @deprecated Use the bg-accent-subtle role (--background-color-accent-subtle) */
6
+ --color-background-accent: hsl(0, 0%, 96%);
7
+ --color-primary-100: hsl(215, 100%, 98%);
8
+ --color-primary-200: hsl(212, 100%, 95%);
9
+ --color-primary-300: hsl(211, 100%, 92%);
10
+ --color-primary-400: hsl(211, 100%, 88%);
11
+ --color-primary-500: hsl(212, 100%, 80%);
12
+ --color-primary-600: hsl(213, 100%, 71%);
13
+ --color-primary-700: hsl(214, 100%, 58%);
14
+ --color-primary-800: hsl(228, 82%, 35%);
15
+ --color-primary-900: hsl(228, 63%, 23%);
16
+ --color-primary-1000: hsl(227, 57%, 11%);
17
+ --color-primary-1100: hsl(228, 63%, 23%);
18
+ --color-primary-1200: hsl(227, 57%, 11%);
19
+ --font-display: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
20
+ --font-body: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
21
+ }
@@ -0,0 +1,49 @@
1
+ export const theme: {
2
+ colors: {
3
+ /** @deprecated Use the bg-page role (--background-color-page) */
4
+ background: "hsl(0, 0%, 98%)"
5
+ /** @deprecated Use the bg-accent-subtle role (--background-color-accent-subtle) */
6
+ backgroundAccent: "hsl(0, 0%, 96%)"
7
+ primary100: "hsl(215, 100%, 98%)"
8
+ primary200: "hsl(212, 100%, 95%)"
9
+ primary300: "hsl(211, 100%, 92%)"
10
+ primary400: "hsl(211, 100%, 88%)"
11
+ primary500: "hsl(212, 100%, 80%)"
12
+ primary600: "hsl(213, 100%, 71%)"
13
+ primary700: "hsl(214, 100%, 58%)"
14
+ primary800: "hsl(228, 82%, 35%)"
15
+ primary900: "hsl(228, 63%, 23%)"
16
+ primary1000: "hsl(227, 57%, 11%)"
17
+ primary1100: "hsl(228, 63%, 23%)"
18
+ primary1200: "hsl(227, 57%, 11%)"
19
+ }
20
+ fonts: {
21
+ display: "\'Inter\', system-ui, -apple-system, \'Helvetica Neue\', sans-serif"
22
+ body: "\'Inter\', system-ui, -apple-system, \'Helvetica Neue\', sans-serif"
23
+ }
24
+ }
25
+
26
+ export type Theme = typeof theme
27
+
28
+ export const properties: {
29
+ /** @deprecated Use the bg-page role (--background-color-page) */
30
+ '--color-background': "hsl(0, 0%, 98%)"
31
+ /** @deprecated Use the bg-accent-subtle role (--background-color-accent-subtle) */
32
+ '--color-background-accent': "hsl(0, 0%, 96%)"
33
+ '--color-primary-100': "hsl(215, 100%, 98%)"
34
+ '--color-primary-200': "hsl(212, 100%, 95%)"
35
+ '--color-primary-300': "hsl(211, 100%, 92%)"
36
+ '--color-primary-400': "hsl(211, 100%, 88%)"
37
+ '--color-primary-500': "hsl(212, 100%, 80%)"
38
+ '--color-primary-600': "hsl(213, 100%, 71%)"
39
+ '--color-primary-700': "hsl(214, 100%, 58%)"
40
+ '--color-primary-800': "hsl(228, 82%, 35%)"
41
+ '--color-primary-900': "hsl(228, 63%, 23%)"
42
+ '--color-primary-1000': "hsl(227, 57%, 11%)"
43
+ '--color-primary-1100': "hsl(228, 63%, 23%)"
44
+ '--color-primary-1200': "hsl(227, 57%, 11%)"
45
+ '--font-display': "\'Inter\', system-ui, -apple-system, \'Helvetica Neue\', sans-serif"
46
+ '--font-body': "\'Inter\', system-ui, -apple-system, \'Helvetica Neue\', sans-serif"
47
+ }
48
+
49
+ 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
+ }