sunrize 2.4.1 → 2.5.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 (49) hide show
  1. package/package.json +7 -7
  2. package/src/Application/Application.js +22 -2
  3. package/src/Application/Dashboard.js +21 -19
  4. package/src/Application/DataStorage.js +10 -37
  5. package/src/Application/Document.js +149 -22
  6. package/src/Application/Footer.js +62 -16
  7. package/src/Application/Hierarchy.js +1 -1
  8. package/src/Application/Interface.js +1 -1
  9. package/src/Application/Sidebar.js +12 -9
  10. package/src/Application/Tabs.js +79 -11
  11. package/src/Controls/Splitter.js +146 -19
  12. package/src/Controls/Tabs.js +17 -12
  13. package/src/Editors/AnimationEditor.js +83 -59
  14. package/src/Editors/AnimationMemberList.js +37 -6
  15. package/src/Editors/BrowserFrame.js +17 -10
  16. package/src/Editors/Console.js +12 -14
  17. package/src/Editors/NodeList.js +35 -0
  18. package/src/Editors/OutlineEditor.js +24 -22
  19. package/src/Editors/OutlineView.js +85 -61
  20. package/src/Editors/Panel.js +6 -3
  21. package/src/Editors/RouteGraph.js +22 -65
  22. package/src/Editors/SceneProperties.js +9 -5
  23. package/src/Editors/ScriptEditor.js +37 -23
  24. package/src/Editors/VideoRecorder.js +145 -0
  25. package/src/Tools/Core/X3DBaseTool.js +12 -11
  26. package/src/Tools/Core/X3DImportedNodeInstanceTool.js +52 -0
  27. package/src/Tools/Core/X3DPrototypeInstanceTool.js +6 -6
  28. package/src/Tools.js +0 -3
  29. package/src/Undo/Editor.js +19 -16
  30. package/src/Undo/UndoManager.js +1 -1
  31. package/src/assets/fonts/Roboto/OFL.txt +93 -0
  32. package/src/assets/fonts/Roboto/README.txt +118 -0
  33. package/src/assets/fonts/Roboto/Roboto-Italic-VariableFont_wdth,wght.ttf +0 -0
  34. package/src/assets/fonts/Roboto/Roboto-VariableFont_wdth,wght.ttf +0 -0
  35. package/src/assets/fonts/Roboto_Mono/OFL.txt +93 -0
  36. package/src/assets/fonts/Roboto_Mono/README.txt +77 -0
  37. package/src/assets/fonts/Roboto_Mono/RobotoMono-Italic-VariableFont_wght.ttf +0 -0
  38. package/src/assets/fonts/Roboto_Mono/RobotoMono-VariableFont_wght.ttf +0 -0
  39. package/src/assets/html/application.html +38 -13
  40. package/src/assets/html/window.html +6 -7
  41. package/src/assets/themes/default.css +186 -176
  42. package/src/assets/themes/{system-colors.css → definitions.css} +155 -173
  43. package/src/assets/themes/fonts.css +45 -0
  44. package/src/assets/themes/media-template.css +3 -2
  45. package/src/assets/themes/media.css +3 -2
  46. package/src/assets/themes/prompt-template.css +5 -1
  47. package/src/assets/themes/prompt.css +5 -1
  48. package/src/assets/html/application-template.html +0 -164
  49. package/src/assets/html/window-template.html +0 -39
@@ -10,13 +10,13 @@ class X3DPrototypeInstanceTool extends X3DNodeTool
10
10
  {
11
11
  super (node);
12
12
 
13
- node .getProtoNode () ._updateInstances .addInterest ("set_toolRootNodes", this);
14
- node .getBody () .rootNodes .addInterest ("set_toolRootNodes", this);
13
+ node .getProtoNode () ._updateInstances .addInterest ("updateTool", this);
14
+ node .getBody () .rootNodes .addInterest ("updateTool", this);
15
15
 
16
- this .set_toolRootNodes ();
16
+ this .updateTool ();
17
17
  }
18
18
 
19
- set_toolRootNodes ()
19
+ updateTool ()
20
20
  {
21
21
  try
22
22
  {
@@ -34,8 +34,8 @@ class X3DPrototypeInstanceTool extends X3DNodeTool
34
34
  {
35
35
  try
36
36
  {
37
- this .node .getProtoNode () ._updateInstances .removeInterest ("set_toolRootNodes", this);
38
- this .node .getBody () .rootNodes .removeInterest ("set_toolRootNodes", this);
37
+ this .node .getProtoNode () ._updateInstances .removeInterest ("updateTool", this);
38
+ this .node .getBody () .rootNodes .removeInterest ("updateTool", this);
39
39
 
40
40
  this .node .getInnerNode () .removeTool ();
41
41
  }
package/src/Tools.js CHANGED
@@ -19,9 +19,6 @@ Object .assign (X3D .X3DNode .prototype,
19
19
  if (this .getExecutionContext () .getOuterNode () instanceof X3D .X3DProtoDeclaration)
20
20
  return this;
21
21
 
22
- if (this instanceof X3D .X3DImportedNodeProxy)
23
- return this;
24
-
25
22
  const module = path .resolve (__dirname, "Tools", this .constructor .componentInfo .name, this .constructor .typeName + "Tool.js");
26
23
 
27
24
  if (!fs .existsSync (module))
@@ -178,7 +178,8 @@ module .exports = class Editor
178
178
 
179
179
  // Filter out routes.
180
180
 
181
- const routes = [... childRoutes] .filter (route => children .has (route .getSourceNode () .valueOf ()) && children .has (route .getDestinationNode () .valueOf ()));
181
+ const routes = [... childRoutes] .filter (route => children .has (route .getSourceNode () .valueOf ())
182
+ && children .has (route .getDestinationNode () .valueOf ()));
182
183
 
183
184
  // Store world url.
184
185
 
@@ -207,7 +208,7 @@ module .exports = class Editor
207
208
  // Add routes.
208
209
 
209
210
  for (const route of routes)
210
- scene .routes .add (route .getRouteId (), route);
211
+ scene .routes .add (route .getId (), route);
211
212
 
212
213
  // Return XML string.
213
214
 
@@ -1016,14 +1017,14 @@ ${scene .toXMLString ({ html: true, indent: " " .repeat (6) }) .trimEnd () }
1016
1017
  inlineNode = importedNode .getInlineNode (),
1017
1018
  exportedName = importedNode .getExportedName (),
1018
1019
  description = importedNode .getDescription (),
1019
- exportedNode = importedNode .getExportedNode ();
1020
+ instance = importedNode .getInstance ();
1020
1021
 
1021
1022
  const routes = executionContext .getRoutes () .filter (route =>
1022
1023
  {
1023
- if (route .getSourceNode () === exportedNode)
1024
+ if (route .getSourceNode () === instance)
1024
1025
  return true;
1025
1026
 
1026
- if (route .getDestinationNode () === exportedNode)
1027
+ if (route .getDestinationNode () === instance)
1027
1028
  return true;
1028
1029
 
1029
1030
  return false;
@@ -1039,7 +1040,7 @@ ${scene .toXMLString ({ html: true, indent: " " .repeat (6) }) .trimEnd () }
1039
1040
 
1040
1041
  for (const index of Array .from (field .keys ()) .reverse ())
1041
1042
  {
1042
- if (field [index] .getValue () === exportedNode)
1043
+ if (field [index] .getValue () === instance)
1043
1044
  this .removeValueFromArray (executionContext, node, field, index, undoManager);
1044
1045
  }
1045
1046
  }
@@ -1057,7 +1058,7 @@ ${scene .toXMLString ({ html: true, indent: " " .repeat (6) }) .trimEnd () }
1057
1058
  {
1058
1059
  case X3D .X3DConstants .SFNode:
1059
1060
  {
1060
- if (field .getValue () === exportedNode)
1061
+ if (field .getValue () === instance)
1061
1062
  this .setFieldValue (executionContext, node, field, null, undoManager);
1062
1063
 
1063
1064
  break;
@@ -1066,7 +1067,7 @@ ${scene .toXMLString ({ html: true, indent: " " .repeat (6) }) .trimEnd () }
1066
1067
  {
1067
1068
  for (const index of Array .from (field .keys ()) .reverse ())
1068
1069
  {
1069
- if (field [index] .getValue () === exportedNode)
1070
+ if (field [index] .getValue () === instance)
1070
1071
  this .removeValueFromArray (executionContext, node, field, index, undoManager);
1071
1072
  }
1072
1073
 
@@ -1082,17 +1083,19 @@ ${scene .toXMLString ({ html: true, indent: " " .repeat (6) }) .trimEnd () }
1082
1083
  {
1083
1084
  this .updateImportedNode (executionContext, inlineNode, exportedName, importedName, "", description, undoManager);
1084
1085
 
1085
- const newImportedNode = executionContext .getImportedNodes () .get (importedName);
1086
+ const newInstance = executionContext .getImportedNode (importedName) .getValue ();
1086
1087
 
1087
- for (let { sourceNode, sourceField, destinationNode, destinationField } of routes)
1088
+ for (const route of routes)
1088
1089
  {
1089
- if (sourceNode === exportedNode)
1090
- sourceNode = newImportedNode;
1090
+ const sourceNode = route .getSourceNode () === instance
1091
+ ? newInstance
1092
+ : route .getSourceNode ();
1091
1093
 
1092
- if (destinationNode === exportedNode)
1093
- destinationNode = newImportedNode;
1094
+ const destinationNode = route .getDestinationNode () === instance
1095
+ ? newInstance
1096
+ : route .getDestinationNode ();
1094
1097
 
1095
- this .addRoute (executionContext, sourceNode, sourceField, destinationNode, destinationField, undoManager);
1098
+ executionContext .addRoute (sourceNode, route .sourceField, destinationNode, route .destinationField);
1096
1099
  }
1097
1100
  });
1098
1101
 
@@ -3732,7 +3735,7 @@ ${scene .toXMLString ({ html: true, indent: " " .repeat (6) }) .trimEnd () }
3732
3735
 
3733
3736
  for (const node of children)
3734
3737
  {
3735
- if (executionContext .getLocalizedNode (node) instanceof X3D .X3DImportedNode)
3738
+ if (executionContext .getNodeOrImportedNode (node) instanceof X3D .X3DImportedNodeInstance)
3736
3739
  continue;
3737
3740
 
3738
3741
  // Rebind X3DBindableNode nodes.
@@ -6,7 +6,7 @@ const
6
6
 
7
7
  module .exports = class UndoManager
8
8
  {
9
- static shared = new UndoManager (true);
9
+ static shared = new UndoManager ();
10
10
 
11
11
  undoStack = [ ];
12
12
  undoFunctions = [ ];
@@ -0,0 +1,93 @@
1
+ Copyright 2011 The Roboto Project Authors (https://github.com/googlefonts/roboto-classic)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ https://openfontlicense.org
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -0,0 +1,118 @@
1
+ Roboto Variable Font
2
+ ====================
3
+
4
+ This download contains Roboto as both variable fonts and static fonts.
5
+
6
+ Roboto is a variable font with these axes:
7
+ wdth
8
+ wght
9
+
10
+ This means all the styles are contained in these files:
11
+ Roboto/Roboto-VariableFont_wdth,wght.ttf
12
+ Roboto/Roboto-Italic-VariableFont_wdth,wght.ttf
13
+
14
+ If your app fully supports variable fonts, you can now pick intermediate styles
15
+ that aren’t available as static fonts. Not all apps support variable fonts, and
16
+ in those cases you can use the static font files for Roboto:
17
+ Roboto/static/Roboto_Condensed-Thin.ttf
18
+ Roboto/static/Roboto_Condensed-ExtraLight.ttf
19
+ Roboto/static/Roboto_Condensed-Light.ttf
20
+ Roboto/static/Roboto_Condensed-Regular.ttf
21
+ Roboto/static/Roboto_Condensed-Medium.ttf
22
+ Roboto/static/Roboto_Condensed-SemiBold.ttf
23
+ Roboto/static/Roboto_Condensed-Bold.ttf
24
+ Roboto/static/Roboto_Condensed-ExtraBold.ttf
25
+ Roboto/static/Roboto_Condensed-Black.ttf
26
+ Roboto/static/Roboto_SemiCondensed-Thin.ttf
27
+ Roboto/static/Roboto_SemiCondensed-ExtraLight.ttf
28
+ Roboto/static/Roboto_SemiCondensed-Light.ttf
29
+ Roboto/static/Roboto_SemiCondensed-Regular.ttf
30
+ Roboto/static/Roboto_SemiCondensed-Medium.ttf
31
+ Roboto/static/Roboto_SemiCondensed-SemiBold.ttf
32
+ Roboto/static/Roboto_SemiCondensed-Bold.ttf
33
+ Roboto/static/Roboto_SemiCondensed-ExtraBold.ttf
34
+ Roboto/static/Roboto_SemiCondensed-Black.ttf
35
+ Roboto/static/Roboto-Thin.ttf
36
+ Roboto/static/Roboto-ExtraLight.ttf
37
+ Roboto/static/Roboto-Light.ttf
38
+ Roboto/static/Roboto-Regular.ttf
39
+ Roboto/static/Roboto-Medium.ttf
40
+ Roboto/static/Roboto-SemiBold.ttf
41
+ Roboto/static/Roboto-Bold.ttf
42
+ Roboto/static/Roboto-ExtraBold.ttf
43
+ Roboto/static/Roboto-Black.ttf
44
+ Roboto/static/Roboto_Condensed-ThinItalic.ttf
45
+ Roboto/static/Roboto_Condensed-ExtraLightItalic.ttf
46
+ Roboto/static/Roboto_Condensed-LightItalic.ttf
47
+ Roboto/static/Roboto_Condensed-Italic.ttf
48
+ Roboto/static/Roboto_Condensed-MediumItalic.ttf
49
+ Roboto/static/Roboto_Condensed-SemiBoldItalic.ttf
50
+ Roboto/static/Roboto_Condensed-BoldItalic.ttf
51
+ Roboto/static/Roboto_Condensed-ExtraBoldItalic.ttf
52
+ Roboto/static/Roboto_Condensed-BlackItalic.ttf
53
+ Roboto/static/Roboto_SemiCondensed-ThinItalic.ttf
54
+ Roboto/static/Roboto_SemiCondensed-ExtraLightItalic.ttf
55
+ Roboto/static/Roboto_SemiCondensed-LightItalic.ttf
56
+ Roboto/static/Roboto_SemiCondensed-Italic.ttf
57
+ Roboto/static/Roboto_SemiCondensed-MediumItalic.ttf
58
+ Roboto/static/Roboto_SemiCondensed-SemiBoldItalic.ttf
59
+ Roboto/static/Roboto_SemiCondensed-BoldItalic.ttf
60
+ Roboto/static/Roboto_SemiCondensed-ExtraBoldItalic.ttf
61
+ Roboto/static/Roboto_SemiCondensed-BlackItalic.ttf
62
+ Roboto/static/Roboto-ThinItalic.ttf
63
+ Roboto/static/Roboto-ExtraLightItalic.ttf
64
+ Roboto/static/Roboto-LightItalic.ttf
65
+ Roboto/static/Roboto-Italic.ttf
66
+ Roboto/static/Roboto-MediumItalic.ttf
67
+ Roboto/static/Roboto-SemiBoldItalic.ttf
68
+ Roboto/static/Roboto-BoldItalic.ttf
69
+ Roboto/static/Roboto-ExtraBoldItalic.ttf
70
+ Roboto/static/Roboto-BlackItalic.ttf
71
+
72
+ Get started
73
+ -----------
74
+
75
+ 1. Install the font files you want to use
76
+
77
+ 2. Use your app's font picker to view the font family and all the
78
+ available styles
79
+
80
+ Learn more about variable fonts
81
+ -------------------------------
82
+
83
+ https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts
84
+ https://variablefonts.typenetwork.com
85
+ https://medium.com/variable-fonts
86
+
87
+ In desktop apps
88
+
89
+ https://theblog.adobe.com/can-variable-fonts-illustrator-cc
90
+ https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts
91
+
92
+ Online
93
+
94
+ https://developers.google.com/fonts/docs/getting_started
95
+ https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide
96
+ https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts
97
+
98
+ Installing fonts
99
+
100
+ MacOS: https://support.apple.com/en-us/HT201749
101
+ Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux
102
+ Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows
103
+
104
+ Android Apps
105
+
106
+ https://developers.google.com/fonts/docs/android
107
+ https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts
108
+
109
+ License
110
+ -------
111
+ Please read the full license text (OFL.txt) to understand the permissions,
112
+ restrictions and requirements for usage, redistribution, and modification.
113
+
114
+ You can use them in your products & projects – print or digital,
115
+ commercial or otherwise.
116
+
117
+ This isn't legal advice, please consider consulting a lawyer and see the full
118
+ license for all details.
@@ -0,0 +1,93 @@
1
+ Copyright 2015 The Roboto Mono Project Authors (https://github.com/googlefonts/robotomono)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ https://openfontlicense.org
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -0,0 +1,77 @@
1
+ Roboto Mono Variable Font
2
+ =========================
3
+
4
+ This download contains Roboto Mono as both variable fonts and static fonts.
5
+
6
+ Roboto Mono is a variable font with this axis:
7
+ wght
8
+
9
+ This means all the styles are contained in these files:
10
+ Roboto_Mono/RobotoMono-VariableFont_wght.ttf
11
+ Roboto_Mono/RobotoMono-Italic-VariableFont_wght.ttf
12
+
13
+ If your app fully supports variable fonts, you can now pick intermediate styles
14
+ that aren’t available as static fonts. Not all apps support variable fonts, and
15
+ in those cases you can use the static font files for Roboto Mono:
16
+ Roboto_Mono/static/RobotoMono-Thin.ttf
17
+ Roboto_Mono/static/RobotoMono-ExtraLight.ttf
18
+ Roboto_Mono/static/RobotoMono-Light.ttf
19
+ Roboto_Mono/static/RobotoMono-Regular.ttf
20
+ Roboto_Mono/static/RobotoMono-Medium.ttf
21
+ Roboto_Mono/static/RobotoMono-SemiBold.ttf
22
+ Roboto_Mono/static/RobotoMono-Bold.ttf
23
+ Roboto_Mono/static/RobotoMono-ThinItalic.ttf
24
+ Roboto_Mono/static/RobotoMono-ExtraLightItalic.ttf
25
+ Roboto_Mono/static/RobotoMono-LightItalic.ttf
26
+ Roboto_Mono/static/RobotoMono-Italic.ttf
27
+ Roboto_Mono/static/RobotoMono-MediumItalic.ttf
28
+ Roboto_Mono/static/RobotoMono-SemiBoldItalic.ttf
29
+ Roboto_Mono/static/RobotoMono-BoldItalic.ttf
30
+
31
+ Get started
32
+ -----------
33
+
34
+ 1. Install the font files you want to use
35
+
36
+ 2. Use your app's font picker to view the font family and all the
37
+ available styles
38
+
39
+ Learn more about variable fonts
40
+ -------------------------------
41
+
42
+ https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts
43
+ https://variablefonts.typenetwork.com
44
+ https://medium.com/variable-fonts
45
+
46
+ In desktop apps
47
+
48
+ https://theblog.adobe.com/can-variable-fonts-illustrator-cc
49
+ https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts
50
+
51
+ Online
52
+
53
+ https://developers.google.com/fonts/docs/getting_started
54
+ https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide
55
+ https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts
56
+
57
+ Installing fonts
58
+
59
+ MacOS: https://support.apple.com/en-us/HT201749
60
+ Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux
61
+ Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows
62
+
63
+ Android Apps
64
+
65
+ https://developers.google.com/fonts/docs/android
66
+ https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts
67
+
68
+ License
69
+ -------
70
+ Please read the full license text (OFL.txt) to understand the permissions,
71
+ restrictions and requirements for usage, redistribution, and modification.
72
+
73
+ You can use them in your products & projects – print or digital,
74
+ commercial or otherwise.
75
+
76
+ This isn't legal advice, please consider consulting a lawyer and see the full
77
+ license for all details.
@@ -1,16 +1,29 @@
1
- <html lang="en">
1
+ <html lang="en-US">
2
2
  <head>
3
3
  <meta charset="utf-8"/>
4
4
  <!-- Theme -->
5
- <link rel="stylesheet" type="text/css" href="file:///Users/holger/Desktop/X_ITE/sunrize/src/assets/themes/default.css"/>
5
+ <link rel="stylesheet" type="text/css" href="../themes/default.css"/>
6
6
  </head>
7
7
  <body>
8
8
  <tab-group sortable="true">
9
9
  <style>
10
- @import url(file:///Users/holger/Desktop/X_ITE/sunrize/src/assets/themes/media.css);
10
+ @import url(../themes/media.css);
11
11
 
12
12
  .material-symbols-outlined {
13
- font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
13
+ font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
14
+ font-size: var(--icon-size);
15
+ }
16
+
17
+ .material-symbols-outlined.fill {
18
+ font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
19
+ }
20
+
21
+ .material-symbols-outlined:hover {
22
+ color: var(--highlight-color);
23
+ }
24
+
25
+ .material-symbols-outlined.active {
26
+ color: var(--accent-color);
14
27
  }
15
28
 
16
29
  ::-webkit-scrollbar {
@@ -34,18 +47,19 @@
34
47
  background-color: var(--scrollbar-thumb-color-hover);
35
48
  }
36
49
 
37
- .etabs .buttons {
38
- display: none;
39
- }
40
-
41
50
  .etabs .nav {
51
+ overflow: hidden;
42
52
  height: var(--window-tabs-height);
43
53
  background: var(--background-color);
44
54
  box-shadow: none;
45
55
  border: none;
56
+ white-space: nowrap;
57
+ }
58
+
59
+ .etabs .tabs {
46
60
  overflow-x: auto;
47
61
  overflow-y: hidden;
48
- white-space: nowrap;
62
+ width: 100%;
49
63
  }
50
64
 
51
65
  .etabs .tab:not(.active, :hover, :focus, :first-child)::before {
@@ -67,7 +81,7 @@
67
81
  border: 1px solid transparent !important;
68
82
  border-radius: var(--window-tabs-height);
69
83
  padding: 4px 6px 4px 9px !important;
70
- color: var(--window-tabs-text-color);
84
+ color: var(--tabs-text-color);
71
85
  font-family: var(--sans-serif);
72
86
  box-shadow: none;
73
87
  transition: background-color 200ms, border-color 200ms, color 200ms;
@@ -75,12 +89,12 @@
75
89
 
76
90
  .etabs .tab:hover,
77
91
  .etabs .tab.active {
78
- background-color: var(--window-tabs-background-color);
92
+ background-color: var(--tabs-background-color);
79
93
  border-color: var(--border-color) !important;
80
94
  }
81
95
 
82
96
  .etabs .tab.active {
83
- color: var(--window-tabs-highlight-color);
97
+ color: var(--tabs-highlight-color);
84
98
  }
85
99
 
86
100
  .etabs .tab:focus {
@@ -111,7 +125,7 @@
111
125
  border: none;
112
126
  border-radius: 4px;
113
127
  background: none;
114
- color: var(--window-tabs-text-color);
128
+ color: var(--tabs-text-color);
115
129
  font-size: 18px;
116
130
  top: 0px;
117
131
  }
@@ -158,6 +172,17 @@
158
172
  font-size: inherit;
159
173
  transform: rotate(45deg);
160
174
  }
175
+
176
+ .etabs .buttons {
177
+ box-sizing: border-box;
178
+ display: flex;
179
+ gap: 5px;
180
+ align-items: center;
181
+ margin-left: auto;
182
+ border: none;
183
+ padding: 0 5px;
184
+ height: 100%;
185
+ }
161
186
  </style>
162
187
  </tab-group>
163
188
  </body>