fluorokit 0.0.0-stage → 0.1.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.
Files changed (55) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +181 -2
  3. package/bin/fluorokit.mjs +50 -0
  4. package/dist/base.css +201 -0
  5. package/dist/enter.d.ts +8 -0
  6. package/dist/enter.js +83 -0
  7. package/dist/fonts/selawik/LICENSE.txt +91 -0
  8. package/dist/fonts/selawik/selawk.woff2 +0 -0
  9. package/dist/fonts/selawik/selawkb.woff2 +0 -0
  10. package/dist/fonts/selawik/selawkl.woff2 +0 -0
  11. package/dist/fonts/selawik/selawksb.woff2 +0 -0
  12. package/dist/fonts/selawik/selawksl.woff2 +0 -0
  13. package/dist/fonts/selawik.css +38 -0
  14. package/dist/shiki/blueberry-dark.json +157 -0
  15. package/dist/shiki/blueberry-light.json +157 -0
  16. package/dist/shiki/cobalt-dark.json +157 -0
  17. package/dist/shiki/cobalt-light.json +157 -0
  18. package/dist/shiki/ink-dark.json +157 -0
  19. package/dist/shiki/ink-light.json +157 -0
  20. package/dist/shiki/twilight-dark.json +157 -0
  21. package/dist/shiki/twilight-light.json +157 -0
  22. package/dist/structure.css +48 -0
  23. package/dist/svelte/Pivot.svelte +45 -0
  24. package/dist/tailwind.css +52 -0
  25. package/dist/themes/blueberry.css +185 -0
  26. package/dist/themes/blueberry.scoped.css +274 -0
  27. package/dist/themes/blueberry.shadcn.css +274 -0
  28. package/dist/themes/catppuccin.css +155 -0
  29. package/dist/themes/catppuccin.scoped.css +244 -0
  30. package/dist/themes/catppuccin.shadcn.css +244 -0
  31. package/dist/themes/cobalt.css +185 -0
  32. package/dist/themes/cobalt.scoped.css +274 -0
  33. package/dist/themes/cobalt.shadcn.css +274 -0
  34. package/dist/themes/ink.css +185 -0
  35. package/dist/themes/ink.scoped.css +274 -0
  36. package/dist/themes/ink.shadcn.css +274 -0
  37. package/dist/themes/twilight.css +185 -0
  38. package/dist/themes/twilight.scoped.css +274 -0
  39. package/dist/themes/twilight.shadcn.css +274 -0
  40. package/dist/themes/zune.css +76 -0
  41. package/dist/themes/zune.scoped.css +125 -0
  42. package/dist/themes/zune.shadcn.css +125 -0
  43. package/dist/themes.json +855 -0
  44. package/dist/tools/color.mjs +51 -0
  45. package/dist/tools/fluoro.mjs +207 -0
  46. package/dist/tools/presets.mjs +87 -0
  47. package/dist/tools/theme-css.mjs +133 -0
  48. package/package.json +70 -4
  49. package/tokens/structure.json +51 -0
  50. package/tokens/themes/blueberry.json +157 -0
  51. package/tokens/themes/catppuccin.json +133 -0
  52. package/tokens/themes/cobalt.json +157 -0
  53. package/tokens/themes/ink.json +157 -0
  54. package/tokens/themes/twilight.json +157 -0
  55. package/tokens/themes/zune.json +92 -0
@@ -0,0 +1,38 @@
1
+ /* Selawik: Microsoft's open-source metric match for Segoe UI. The files are
2
+ unchanged (SIL Open Font License 1.1, selawik/LICENSE.txt). The zune theme
3
+ names it as its sans font. */
4
+ @font-face {
5
+ font-family: 'Selawik';
6
+ src: url('./selawik/selawkl.woff2') format('woff2');
7
+ font-weight: 300;
8
+ font-style: normal;
9
+ font-display: swap;
10
+ }
11
+ @font-face {
12
+ font-family: 'Selawik';
13
+ src: url('./selawik/selawksl.woff2') format('woff2');
14
+ font-weight: 350;
15
+ font-style: normal;
16
+ font-display: swap;
17
+ }
18
+ @font-face {
19
+ font-family: 'Selawik';
20
+ src: url('./selawik/selawk.woff2') format('woff2');
21
+ font-weight: 400;
22
+ font-style: normal;
23
+ font-display: swap;
24
+ }
25
+ @font-face {
26
+ font-family: 'Selawik';
27
+ src: url('./selawik/selawksb.woff2') format('woff2');
28
+ font-weight: 600;
29
+ font-style: normal;
30
+ font-display: swap;
31
+ }
32
+ @font-face {
33
+ font-family: 'Selawik';
34
+ src: url('./selawik/selawkb.woff2') format('woff2');
35
+ font-weight: 700;
36
+ font-style: normal;
37
+ font-display: swap;
38
+ }
@@ -0,0 +1,157 @@
1
+ {
2
+ "name": "fluorokit-blueberry-dark",
3
+ "type": "dark",
4
+ "colors": {
5
+ "editor.foreground": "#f5e6ef",
6
+ "editor.background": "#0d173a"
7
+ },
8
+ "tokenColors": [
9
+ {
10
+ "settings": {
11
+ "foreground": "#f5e6ef"
12
+ }
13
+ },
14
+ {
15
+ "scope": [
16
+ "comment",
17
+ "punctuation.definition.comment"
18
+ ],
19
+ "settings": {
20
+ "foreground": "#969eb2",
21
+ "fontStyle": "italic"
22
+ }
23
+ },
24
+ {
25
+ "scope": [
26
+ "punctuation",
27
+ "meta.brace",
28
+ "keyword.operator",
29
+ "meta.embedded punctuation"
30
+ ],
31
+ "settings": {
32
+ "foreground": "#b4bcdf"
33
+ }
34
+ },
35
+ {
36
+ "scope": [
37
+ "keyword",
38
+ "storage",
39
+ "storage.type",
40
+ "storage.modifier",
41
+ "keyword.operator.new",
42
+ "keyword.operator.expression",
43
+ "keyword.operator.logical.python",
44
+ "variable.language"
45
+ ],
46
+ "settings": {
47
+ "foreground": "#faa6ce"
48
+ }
49
+ },
50
+ {
51
+ "scope": [
52
+ "string",
53
+ "punctuation.definition.string",
54
+ "markup.inline.raw",
55
+ "markup.inserted"
56
+ ],
57
+ "settings": {
58
+ "foreground": "#95e6bb"
59
+ }
60
+ },
61
+ {
62
+ "scope": [
63
+ "constant.numeric",
64
+ "constant.language",
65
+ "markup.deleted"
66
+ ],
67
+ "settings": {
68
+ "foreground": "#fbbb87"
69
+ }
70
+ },
71
+ {
72
+ "scope": [
73
+ "constant.other",
74
+ "constant.character",
75
+ "variable.other.constant",
76
+ "support.constant",
77
+ "variable.other.enummember"
78
+ ],
79
+ "settings": {
80
+ "foreground": "#d3aaf3"
81
+ }
82
+ },
83
+ {
84
+ "scope": [
85
+ "entity.name.function",
86
+ "support.function",
87
+ "meta.function-call entity.name",
88
+ "markup.heading"
89
+ ],
90
+ "settings": {
91
+ "foreground": "#86cff5"
92
+ }
93
+ },
94
+ {
95
+ "scope": [
96
+ "entity.name.type",
97
+ "entity.name.class",
98
+ "entity.name.namespace",
99
+ "support.type",
100
+ "support.class",
101
+ "entity.other.inherited-class"
102
+ ],
103
+ "settings": {
104
+ "foreground": "#f2d995"
105
+ }
106
+ },
107
+ {
108
+ "scope": [
109
+ "entity.name.tag",
110
+ "punctuation.definition.tag"
111
+ ],
112
+ "settings": {
113
+ "foreground": "#faa6ce"
114
+ }
115
+ },
116
+ {
117
+ "scope": [
118
+ "entity.other.attribute-name",
119
+ "support.type.property-name",
120
+ "meta.object-literal.key",
121
+ "entity.name.tag.yaml",
122
+ "variable.other.property"
123
+ ],
124
+ "settings": {
125
+ "foreground": "#86cff5"
126
+ }
127
+ },
128
+ {
129
+ "scope": [
130
+ "variable",
131
+ "variable.parameter",
132
+ "variable.other.readwrite"
133
+ ],
134
+ "settings": {
135
+ "foreground": "#f5e6ef"
136
+ }
137
+ },
138
+ {
139
+ "scope": [
140
+ "markup.bold"
141
+ ],
142
+ "settings": {
143
+ "foreground": "#f5e6ef",
144
+ "fontStyle": "bold"
145
+ }
146
+ },
147
+ {
148
+ "scope": [
149
+ "markup.italic"
150
+ ],
151
+ "settings": {
152
+ "foreground": "#f5e6ef",
153
+ "fontStyle": "italic"
154
+ }
155
+ }
156
+ ]
157
+ }
@@ -0,0 +1,157 @@
1
+ {
2
+ "name": "fluorokit-blueberry-light",
3
+ "type": "light",
4
+ "colors": {
5
+ "editor.foreground": "#2c3e77",
6
+ "editor.background": "#e9edf5"
7
+ },
8
+ "tokenColors": [
9
+ {
10
+ "settings": {
11
+ "foreground": "#2c3e77"
12
+ }
13
+ },
14
+ {
15
+ "scope": [
16
+ "comment",
17
+ "punctuation.definition.comment"
18
+ ],
19
+ "settings": {
20
+ "foreground": "#636a7d",
21
+ "fontStyle": "italic"
22
+ }
23
+ },
24
+ {
25
+ "scope": [
26
+ "punctuation",
27
+ "meta.brace",
28
+ "keyword.operator",
29
+ "meta.embedded punctuation"
30
+ ],
31
+ "settings": {
32
+ "foreground": "#475988"
33
+ }
34
+ },
35
+ {
36
+ "scope": [
37
+ "keyword",
38
+ "storage",
39
+ "storage.type",
40
+ "storage.modifier",
41
+ "keyword.operator.new",
42
+ "keyword.operator.expression",
43
+ "keyword.operator.logical.python",
44
+ "variable.language"
45
+ ],
46
+ "settings": {
47
+ "foreground": "#bb3080"
48
+ }
49
+ },
50
+ {
51
+ "scope": [
52
+ "string",
53
+ "punctuation.definition.string",
54
+ "markup.inline.raw",
55
+ "markup.inserted"
56
+ ],
57
+ "settings": {
58
+ "foreground": "#007a44"
59
+ }
60
+ },
61
+ {
62
+ "scope": [
63
+ "constant.numeric",
64
+ "constant.language",
65
+ "markup.deleted"
66
+ ],
67
+ "settings": {
68
+ "foreground": "#ac4f01"
69
+ }
70
+ },
71
+ {
72
+ "scope": [
73
+ "constant.other",
74
+ "constant.character",
75
+ "variable.other.constant",
76
+ "support.constant",
77
+ "variable.other.enummember"
78
+ ],
79
+ "settings": {
80
+ "foreground": "#9443c6"
81
+ }
82
+ },
83
+ {
84
+ "scope": [
85
+ "entity.name.function",
86
+ "support.function",
87
+ "meta.function-call entity.name",
88
+ "markup.heading"
89
+ ],
90
+ "settings": {
91
+ "foreground": "#036eae"
92
+ }
93
+ },
94
+ {
95
+ "scope": [
96
+ "entity.name.type",
97
+ "entity.name.class",
98
+ "entity.name.namespace",
99
+ "support.type",
100
+ "support.class",
101
+ "entity.other.inherited-class"
102
+ ],
103
+ "settings": {
104
+ "foreground": "#8b6203"
105
+ }
106
+ },
107
+ {
108
+ "scope": [
109
+ "entity.name.tag",
110
+ "punctuation.definition.tag"
111
+ ],
112
+ "settings": {
113
+ "foreground": "#bb3080"
114
+ }
115
+ },
116
+ {
117
+ "scope": [
118
+ "entity.other.attribute-name",
119
+ "support.type.property-name",
120
+ "meta.object-literal.key",
121
+ "entity.name.tag.yaml",
122
+ "variable.other.property"
123
+ ],
124
+ "settings": {
125
+ "foreground": "#036eae"
126
+ }
127
+ },
128
+ {
129
+ "scope": [
130
+ "variable",
131
+ "variable.parameter",
132
+ "variable.other.readwrite"
133
+ ],
134
+ "settings": {
135
+ "foreground": "#2c3e77"
136
+ }
137
+ },
138
+ {
139
+ "scope": [
140
+ "markup.bold"
141
+ ],
142
+ "settings": {
143
+ "foreground": "#2c3e77",
144
+ "fontStyle": "bold"
145
+ }
146
+ },
147
+ {
148
+ "scope": [
149
+ "markup.italic"
150
+ ],
151
+ "settings": {
152
+ "foreground": "#2c3e77",
153
+ "fontStyle": "italic"
154
+ }
155
+ }
156
+ ]
157
+ }
@@ -0,0 +1,157 @@
1
+ {
2
+ "name": "fluorokit-cobalt-dark",
3
+ "type": "dark",
4
+ "colors": {
5
+ "editor.foreground": "#f5e6ef",
6
+ "editor.background": "#072257"
7
+ },
8
+ "tokenColors": [
9
+ {
10
+ "settings": {
11
+ "foreground": "#f5e6ef"
12
+ }
13
+ },
14
+ {
15
+ "scope": [
16
+ "comment",
17
+ "punctuation.definition.comment"
18
+ ],
19
+ "settings": {
20
+ "foreground": "#949fb2",
21
+ "fontStyle": "italic"
22
+ }
23
+ },
24
+ {
25
+ "scope": [
26
+ "punctuation",
27
+ "meta.brace",
28
+ "keyword.operator",
29
+ "meta.embedded punctuation"
30
+ ],
31
+ "settings": {
32
+ "foreground": "#b0bddf"
33
+ }
34
+ },
35
+ {
36
+ "scope": [
37
+ "keyword",
38
+ "storage",
39
+ "storage.type",
40
+ "storage.modifier",
41
+ "keyword.operator.new",
42
+ "keyword.operator.expression",
43
+ "keyword.operator.logical.python",
44
+ "variable.language"
45
+ ],
46
+ "settings": {
47
+ "foreground": "#faa6ce"
48
+ }
49
+ },
50
+ {
51
+ "scope": [
52
+ "string",
53
+ "punctuation.definition.string",
54
+ "markup.inline.raw",
55
+ "markup.inserted"
56
+ ],
57
+ "settings": {
58
+ "foreground": "#95e6bb"
59
+ }
60
+ },
61
+ {
62
+ "scope": [
63
+ "constant.numeric",
64
+ "constant.language",
65
+ "markup.deleted"
66
+ ],
67
+ "settings": {
68
+ "foreground": "#fbbb87"
69
+ }
70
+ },
71
+ {
72
+ "scope": [
73
+ "constant.other",
74
+ "constant.character",
75
+ "variable.other.constant",
76
+ "support.constant",
77
+ "variable.other.enummember"
78
+ ],
79
+ "settings": {
80
+ "foreground": "#d3aaf3"
81
+ }
82
+ },
83
+ {
84
+ "scope": [
85
+ "entity.name.function",
86
+ "support.function",
87
+ "meta.function-call entity.name",
88
+ "markup.heading"
89
+ ],
90
+ "settings": {
91
+ "foreground": "#86cff5"
92
+ }
93
+ },
94
+ {
95
+ "scope": [
96
+ "entity.name.type",
97
+ "entity.name.class",
98
+ "entity.name.namespace",
99
+ "support.type",
100
+ "support.class",
101
+ "entity.other.inherited-class"
102
+ ],
103
+ "settings": {
104
+ "foreground": "#f2d995"
105
+ }
106
+ },
107
+ {
108
+ "scope": [
109
+ "entity.name.tag",
110
+ "punctuation.definition.tag"
111
+ ],
112
+ "settings": {
113
+ "foreground": "#faa6ce"
114
+ }
115
+ },
116
+ {
117
+ "scope": [
118
+ "entity.other.attribute-name",
119
+ "support.type.property-name",
120
+ "meta.object-literal.key",
121
+ "entity.name.tag.yaml",
122
+ "variable.other.property"
123
+ ],
124
+ "settings": {
125
+ "foreground": "#86cff5"
126
+ }
127
+ },
128
+ {
129
+ "scope": [
130
+ "variable",
131
+ "variable.parameter",
132
+ "variable.other.readwrite"
133
+ ],
134
+ "settings": {
135
+ "foreground": "#f5e6ef"
136
+ }
137
+ },
138
+ {
139
+ "scope": [
140
+ "markup.bold"
141
+ ],
142
+ "settings": {
143
+ "foreground": "#f5e6ef",
144
+ "fontStyle": "bold"
145
+ }
146
+ },
147
+ {
148
+ "scope": [
149
+ "markup.italic"
150
+ ],
151
+ "settings": {
152
+ "foreground": "#f5e6ef",
153
+ "fontStyle": "italic"
154
+ }
155
+ }
156
+ ]
157
+ }
@@ -0,0 +1,157 @@
1
+ {
2
+ "name": "fluorokit-cobalt-light",
3
+ "type": "light",
4
+ "colors": {
5
+ "editor.foreground": "#123780",
6
+ "editor.background": "#e6edfa"
7
+ },
8
+ "tokenColors": [
9
+ {
10
+ "settings": {
11
+ "foreground": "#123780"
12
+ }
13
+ },
14
+ {
15
+ "scope": [
16
+ "comment",
17
+ "punctuation.definition.comment"
18
+ ],
19
+ "settings": {
20
+ "foreground": "#616a7c",
21
+ "fontStyle": "italic"
22
+ }
23
+ },
24
+ {
25
+ "scope": [
26
+ "punctuation",
27
+ "meta.brace",
28
+ "keyword.operator",
29
+ "meta.embedded punctuation"
30
+ ],
31
+ "settings": {
32
+ "foreground": "#34538f"
33
+ }
34
+ },
35
+ {
36
+ "scope": [
37
+ "keyword",
38
+ "storage",
39
+ "storage.type",
40
+ "storage.modifier",
41
+ "keyword.operator.new",
42
+ "keyword.operator.expression",
43
+ "keyword.operator.logical.python",
44
+ "variable.language"
45
+ ],
46
+ "settings": {
47
+ "foreground": "#bb3080"
48
+ }
49
+ },
50
+ {
51
+ "scope": [
52
+ "string",
53
+ "punctuation.definition.string",
54
+ "markup.inline.raw",
55
+ "markup.inserted"
56
+ ],
57
+ "settings": {
58
+ "foreground": "#007a44"
59
+ }
60
+ },
61
+ {
62
+ "scope": [
63
+ "constant.numeric",
64
+ "constant.language",
65
+ "markup.deleted"
66
+ ],
67
+ "settings": {
68
+ "foreground": "#ac4f01"
69
+ }
70
+ },
71
+ {
72
+ "scope": [
73
+ "constant.other",
74
+ "constant.character",
75
+ "variable.other.constant",
76
+ "support.constant",
77
+ "variable.other.enummember"
78
+ ],
79
+ "settings": {
80
+ "foreground": "#9443c6"
81
+ }
82
+ },
83
+ {
84
+ "scope": [
85
+ "entity.name.function",
86
+ "support.function",
87
+ "meta.function-call entity.name",
88
+ "markup.heading"
89
+ ],
90
+ "settings": {
91
+ "foreground": "#036eae"
92
+ }
93
+ },
94
+ {
95
+ "scope": [
96
+ "entity.name.type",
97
+ "entity.name.class",
98
+ "entity.name.namespace",
99
+ "support.type",
100
+ "support.class",
101
+ "entity.other.inherited-class"
102
+ ],
103
+ "settings": {
104
+ "foreground": "#8b6203"
105
+ }
106
+ },
107
+ {
108
+ "scope": [
109
+ "entity.name.tag",
110
+ "punctuation.definition.tag"
111
+ ],
112
+ "settings": {
113
+ "foreground": "#bb3080"
114
+ }
115
+ },
116
+ {
117
+ "scope": [
118
+ "entity.other.attribute-name",
119
+ "support.type.property-name",
120
+ "meta.object-literal.key",
121
+ "entity.name.tag.yaml",
122
+ "variable.other.property"
123
+ ],
124
+ "settings": {
125
+ "foreground": "#036eae"
126
+ }
127
+ },
128
+ {
129
+ "scope": [
130
+ "variable",
131
+ "variable.parameter",
132
+ "variable.other.readwrite"
133
+ ],
134
+ "settings": {
135
+ "foreground": "#123780"
136
+ }
137
+ },
138
+ {
139
+ "scope": [
140
+ "markup.bold"
141
+ ],
142
+ "settings": {
143
+ "foreground": "#123780",
144
+ "fontStyle": "bold"
145
+ }
146
+ },
147
+ {
148
+ "scope": [
149
+ "markup.italic"
150
+ ],
151
+ "settings": {
152
+ "foreground": "#123780",
153
+ "fontStyle": "italic"
154
+ }
155
+ }
156
+ ]
157
+ }