neo.mjs 6.9.7 → 6.9.8

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 (89) hide show
  1. package/apps/ServiceWorker.mjs +2 -2
  2. package/apps/learnneo/neo-config.json +6 -6
  3. package/apps/learnneo/view/home/ContentTreeList.mjs +6 -8
  4. package/apps/learnneo/view/home/MainContainerController.mjs +22 -3
  5. package/docs/app/view/MainContainerController.mjs +12 -0
  6. package/examples/ServiceWorker.mjs +2 -2
  7. package/examples/button/base/neo-config.json +2 -1
  8. package/package.json +1 -1
  9. package/resources/data/learnneo/content.json +27 -0
  10. package/resources/data/learnneo/p/2023-10-01T18-29-19-158Z.md +7 -1
  11. package/resources/data/learnneo/p/2023-10-07T19-18-28-517Z.md +23 -15
  12. package/resources/data/learnneo/p/2023-10-14T19-25-08-153Z.md +15 -12
  13. package/resources/images/Neo_Vector.svg +3 -0
  14. package/resources/scss/src/apps/learnneo/Viewport.scss +9 -3
  15. package/resources/scss/src/apps/newwebsite/MainContainer.css +33 -0
  16. package/resources/scss/theme-neo-light/Global.scss +7 -0
  17. package/resources/scss/theme-neo-light/apps/covid/HeaderContainer.scss +10 -0
  18. package/resources/scss/theme-neo-light/apps/covid/country/Gallery.scss +7 -0
  19. package/resources/scss/theme-neo-light/apps/covid/country/Helix.scss +8 -0
  20. package/resources/scss/theme-neo-light/apps/covid/country/LineChartComponent.scss +3 -0
  21. package/resources/scss/theme-neo-light/apps/docs/ContentTabContainer.scss +4 -0
  22. package/resources/scss/theme-neo-light/apps/docs/HeaderContainer.scss +10 -0
  23. package/resources/scss/theme-neo-light/apps/docs/MainContainer.scss +3 -0
  24. package/resources/scss/theme-neo-light/apps/docs/classdetails/HeaderComponent.scss +4 -0
  25. package/resources/scss/theme-neo-light/apps/docs/classdetails/MembersList.scss +17 -0
  26. package/resources/scss/theme-neo-light/apps/docs/classdetails/TutorialComponent.scss +4 -0
  27. package/resources/scss/theme-neo-light/apps/website/HeaderContainer.scss +5 -0
  28. package/resources/scss/theme-neo-light/apps/website/MainContainer.scss +4 -0
  29. package/resources/scss/theme-neo-light/apps/website/blog/Container.scss +3 -0
  30. package/resources/scss/theme-neo-light/apps/website/home/TabContainer.scss +4 -0
  31. package/resources/scss/theme-neo-light/button/Base.scss +117 -0
  32. package/resources/scss/theme-neo-light/calendar/view/EditEventContainer.scss +5 -0
  33. package/resources/scss/theme-neo-light/calendar/view/MainContainer.scss +23 -0
  34. package/resources/scss/theme-neo-light/calendar/view/SettingsContainer.scss +3 -0
  35. package/resources/scss/theme-neo-light/calendar/view/YearComponent.scss +10 -0
  36. package/resources/scss/theme-neo-light/calendar/view/calendars/EditContainer.scss +5 -0
  37. package/resources/scss/theme-neo-light/calendar/view/calendars/List.scss +3 -0
  38. package/resources/scss/theme-neo-light/calendar/view/month/Component.scss +10 -0
  39. package/resources/scss/theme-neo-light/calendar/view/week/Component.scss +13 -0
  40. package/resources/scss/theme-neo-light/component/Base.scss +6 -0
  41. package/resources/scss/theme-neo-light/component/BoxLabel.scss +5 -0
  42. package/resources/scss/theme-neo-light/component/Chip.scss +14 -0
  43. package/resources/scss/theme-neo-light/component/DateSelector.scss +24 -0
  44. package/resources/scss/theme-neo-light/component/Process.scss +9 -0
  45. package/resources/scss/theme-neo-light/component/Progress.scss +3 -0
  46. package/resources/scss/theme-neo-light/component/Splitter.scss +5 -0
  47. package/resources/scss/theme-neo-light/component/StatusBadge.scss +19 -0
  48. package/resources/scss/theme-neo-light/component/Timer.scss +6 -0
  49. package/resources/scss/theme-neo-light/component/Toast.scss +9 -0
  50. package/resources/scss/theme-neo-light/component/Video.scss +4 -0
  51. package/resources/scss/theme-neo-light/container/Accordion.scss +5 -0
  52. package/resources/scss/theme-neo-light/container/AccordionItem.scss +10 -0
  53. package/resources/scss/theme-neo-light/container/Base.scss +4 -0
  54. package/resources/scss/theme-neo-light/container/Panel.scss +5 -0
  55. package/resources/scss/theme-neo-light/container/Viewport.scss +3 -0
  56. package/resources/scss/theme-neo-light/design-tokens/Components.scss +3 -0
  57. package/resources/scss/theme-neo-light/dialog/Base.scss +5 -0
  58. package/resources/scss/theme-neo-light/examples/ConfigurationPanel.scss +3 -0
  59. package/resources/scss/theme-neo-light/examples/calendar/basic/MainContainer.scss +4 -0
  60. package/resources/scss/theme-neo-light/form/Fieldset.scss +6 -0
  61. package/resources/scss/theme-neo-light/form/field/CheckBox.scss +8 -0
  62. package/resources/scss/theme-neo-light/form/field/FileUpload.scss +12 -0
  63. package/resources/scss/theme-neo-light/form/field/Picker.scss +5 -0
  64. package/resources/scss/theme-neo-light/form/field/Range.scss +4 -0
  65. package/resources/scss/theme-neo-light/form/field/Search.scss +3 -0
  66. package/resources/scss/theme-neo-light/form/field/Select.scss +9 -0
  67. package/resources/scss/theme-neo-light/form/field/Switch.scss +17 -0
  68. package/resources/scss/theme-neo-light/form/field/Text.scss +32 -0
  69. package/resources/scss/theme-neo-light/form/field/trigger/Base.scss +6 -0
  70. package/resources/scss/theme-neo-light/form/field/trigger/Time.scss +4 -0
  71. package/resources/scss/theme-neo-light/grid/Container.scss +7 -0
  72. package/resources/scss/theme-neo-light/grid/View.scss +13 -0
  73. package/resources/scss/theme-neo-light/grid/header/Button.scss +6 -0
  74. package/resources/scss/theme-neo-light/list/Base.scss +12 -0
  75. package/resources/scss/theme-neo-light/menu/List.scss +21 -0
  76. package/resources/scss/theme-neo-light/menu/Panel.scss +3 -0
  77. package/resources/scss/theme-neo-light/tab/Container.scss +3 -0
  78. package/resources/scss/theme-neo-light/tab/Strip.scss +5 -0
  79. package/resources/scss/theme-neo-light/tab/header/Button.scss +30 -0
  80. package/resources/scss/theme-neo-light/table/Container.scss +10 -0
  81. package/resources/scss/theme-neo-light/table/View.scss +13 -0
  82. package/resources/scss/theme-neo-light/table/header/Button.scss +7 -0
  83. package/resources/scss/theme-neo-light/toolbar/Base.scss +4 -0
  84. package/resources/scss/theme-neo-light/tree/List.scss +4 -0
  85. package/src/DefaultConfig.mjs +2 -2
  86. package/src/form/field/FileUpload.mjs +10 -8
  87. package/src/form/field/Text.mjs +2 -2
  88. package/src/main/addon/HighlightJS.mjs +35 -10
  89. package/src/vdom/Helper.mjs +2 -1
@@ -20,9 +20,9 @@ class ServiceWorker extends ServiceBase {
20
20
  */
21
21
  singleton: true,
22
22
  /**
23
- * @member {String} version='6.9.7'
23
+ * @member {String} version='6.9.8'
24
24
  */
25
- version: '6.9.7'
25
+ version: '6.9.8'
26
26
  }
27
27
 
28
28
  /**
@@ -1,7 +1,7 @@
1
1
  {
2
- "appPath": "apps/learnneo/app.mjs",
3
- "basePath": "../../",
4
- "environment": "development",
5
- "mainThreadAddons": ["DragDrop", "Stylesheet", "Markdown"],
6
- "mainPath": "./Main.mjs"
7
- }
2
+ "appPath" : "apps/learnneo/app.mjs",
3
+ "basePath" : "../../",
4
+ "environment" : "development",
5
+ "mainPath" : "./Main.mjs",
6
+ "mainThreadAddons": ["DragDrop", "HighlightJS", "Stylesheet", "Markdown"]
7
+ }
@@ -47,21 +47,19 @@ class ContentTreeList extends TreeList {
47
47
  me.update();
48
48
  })
49
49
  }
50
- onLeafItemClick(record) {
51
- super.onLeafItemClick(record);
52
- this.doFetchContent(record);
53
- }
50
+
54
51
  async doFetchContent(record) {
55
- let path = `${this.contentPath}`;
52
+ let me = this,
53
+ path = `${me.contentPath}`;
56
54
  path += record.path ? `/pages/${record.path}` : `/p/${record.id}.md`;
57
55
 
58
56
  if (record.isLeaf && path) {
59
57
  const data = await fetch(path);
60
58
  const content = await data.text();
61
- Neo.main.addon.Markdown.markdownToHtml(content)
59
+ await Neo.main.addon.Markdown.markdownToHtml(content)
62
60
  .then(
63
- html => this.fire('contentChange', {component: this, html}),
64
- () => this.fire('contentChange', {component: this}));
61
+ html => me.fire('contentChange', {component: me, html}),
62
+ () => me.fire('contentChange', {component: me}));
65
63
  }
66
64
  }
67
65
  }
@@ -15,12 +15,31 @@ class MainContainerController extends Component {
15
15
  }
16
16
 
17
17
  /**
18
- * @param {Object} record
18
+ * @param {Object} data
19
19
  */
20
- onContentListLeafClick(data) {
21
- const content = this.getReference('content');
20
+ async onContentListLeafClick(data) {
21
+ const
22
+ me = this,
23
+ content = me.getReference('content');
24
+
22
25
  content.html = data.html;
23
26
 
27
+ await this.timeout(200);
28
+
29
+ // todo: we need to add the links as neo configs
30
+ await Neo.main.addon.HighlightJS.loadLibrary({
31
+ appName : me.appName,
32
+ highlightJsPath: '../../docs/resources/highlight/highlight.pack.js',
33
+ themePath : '../../docs/resources/highlightjs-custom-github-theme.css'
34
+ });
35
+
36
+ await this.timeout(200);
37
+
38
+ Neo.main.addon.HighlightJS.syntaxHighlightInit({
39
+ appName: me.appName,
40
+ vnodeId: content.id
41
+ })
42
+
24
43
  // contentContainer.removeAll();
25
44
  // contentContainer.add({
26
45
  // ntype: 'component',
@@ -19,6 +19,18 @@ class MainContainerController extends Component {
19
19
  ntype: 'docs-maincontainer-controller'
20
20
  }
21
21
 
22
+ /**
23
+ * @param {Object} config
24
+ */
25
+ construct(config) {
26
+ super.construct(config);
27
+
28
+ // todo: remove once paths are neo configs
29
+ Neo.main.addon.HighlightJS.loadLibrary({
30
+ appName: this.appName
31
+ })
32
+ }
33
+
22
34
  /**
23
35
  * @param {Object} record
24
36
  */
@@ -20,9 +20,9 @@ class ServiceWorker extends ServiceBase {
20
20
  */
21
21
  singleton: true,
22
22
  /**
23
- * @member {String} version='6.9.7'
23
+ * @member {String} version='6.9.8'
24
24
  */
25
- version: '6.9.7'
25
+ version: '6.9.8'
26
26
  }
27
27
 
28
28
  /**
@@ -2,5 +2,6 @@
2
2
  "appPath" : "examples/button/base/app.mjs",
3
3
  "basePath" : "../../../",
4
4
  "environment": "development",
5
- "mainPath" : "./Main.mjs"
5
+ "mainPath" : "./Main.mjs",
6
+ "themes" : ["neo-theme-neo-light"]
6
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neo.mjs",
3
- "version": "6.9.7",
3
+ "version": "6.9.8",
4
4
  "description": "The webworkers driven UI framework",
5
5
  "type": "module",
6
6
  "repository": {
@@ -0,0 +1,27 @@
1
+ {
2
+ "data": [{
3
+ "id" : 1,
4
+ "isLeaf" : true,
5
+ "name" : "Why neo.mjs",
6
+ "parentId": null,
7
+ "path" : "whyneo.md"
8
+ }, {
9
+ "id" : 2,
10
+ "isLeaf" : false,
11
+ "name" : "Class Definitions and Config",
12
+ "parentId": null,
13
+ "path" : null
14
+ }, {
15
+ "id" : 3,
16
+ "isLeaf" : false,
17
+ "name" : "Class Basics",
18
+ "parentId": 2,
19
+ "path" : null
20
+ }, {
21
+ "id" : 4,
22
+ "isLeaf" : true,
23
+ "name" : "Classes, Properties, and Methods",
24
+ "parentId": 3,
25
+ "path" : null
26
+ }]
27
+ }
@@ -1,4 +1,10 @@
1
- Neo.mjs is a framework used to create browser-based applications.
1
+ # This is a h1
2
+ ## This is a h2
3
+ ### This is a h3
4
+ #### This is a h4
5
+
6
+
7
+ Neo.mjs is a framework used to create <mark>browser-based</mark> applications.
2
8
 
3
9
  Some key features and benefits of Neo.mjs are:
4
10
 
@@ -1,8 +1,9 @@
1
- Neo.mjs classes are standard JavaSript classes. Every source file
1
+ Neo.mjs classes are standard JavaScript classes. Every source file
2
2
  you write will be a class definition, extending some Neo.mjs
3
3
  class.
4
4
 
5
- <pre class="neo">
5
+ <pre>
6
+ <code class="javascript">
6
7
  import Base from '../../../node_modules/neo.mjs/src/core/Base.mjs';
7
8
 
8
9
  class Mammal extends Base {
@@ -15,6 +16,7 @@ const myMammal = Neo.create(Mammal);
15
16
 
16
17
  Neo.applyClassConfig(Mammal); // Where Neo.mjs initialializes the class config.
17
18
  export default Mammal; // Makes the class available elsewhere.
19
+ </code>
18
20
  </pre>
19
21
 
20
22
  In the example above, we're extending the Neo.mjs base class. The static
@@ -29,25 +31,26 @@ and create instances as needed.
29
31
 
30
32
  Let's add a `name` propery to the class.
31
33
 
32
- <pre class="neo" style="color:gray">
34
+ <pre>
35
+ <code class="javascript">
33
36
  import Base from '../../../node_modules/neo.mjs/src/core/Base.mjs';
34
37
 
35
38
  class Mammal extends Base {
36
39
  static config = {
37
40
  className: 'Simple.example.Mammal',
38
-
39
- <span style="color:#b91010">name: 'Anonymous'</span>
41
+ name : 'Anonymous'
40
42
  }
41
43
  }
42
44
 
43
45
  const myMammal = Neo.create(Mammal);
44
- console.log(<span style="color:#b91010">myMammal.name</span>); // Logs "Anonymous"
45
- <span style="color:#b91010">myMammal.name</span> = 'Herbert';
46
- console.log(<span style="color:#b91010">myMammal.name</span>); // Logs "Herbert"
46
+ console.log(myMammal.name); // Logs "Anonymous"
47
+ myMammal.name = 'Herbert';
48
+ console.log(myMammal.name); // Logs "Herbert"
47
49
 
48
50
  Neo.applyClassConfig(Mammal);
49
51
 
50
52
  export default Mammal;
53
+ </code>
51
54
  </pre>
52
55
 
53
56
  In Neo.mjs, instance properties are usually added in the `static config` block.
@@ -62,11 +65,13 @@ anywhere in the class hierarchy.
62
65
  Since our class defines a `name` property, we can specify that when creating
63
66
  the instance, using the second argument to the `create` method.
64
67
 
65
- <pre class="neo" style="color:gray">
66
- const myMammal = Neo.create(Mammal, <span style="color:#b91010">{
68
+ <pre>
69
+ <code class="javascript">
70
+ const myMammal = Neo.create(Mammal, {
67
71
  name: 'Creature'
68
- }</span>);
72
+ });
69
73
  console.log(myMammal.name); // Logs "Creature"
74
+ </code>
70
75
  </pre>
71
76
 
72
77
 
@@ -74,7 +79,8 @@ Since _you_ define those properties, you can
74
79
  look for them in class methods and use them as needed.
75
80
  Let's add a `speak()` method that uses the `name` property.
76
81
 
77
- <pre class="neo" style="color:gray">
82
+ <pre>
83
+ <code class="javascript">
78
84
  import Base from '../../../node_modules/neo.mjs/src/core/Base.mjs';
79
85
 
80
86
  class Mammal extends Base {
@@ -83,19 +89,21 @@ class Mammal extends Base {
83
89
 
84
90
  name: 'Anonymous'
85
91
  }
86
- <span style="color:#b91010">speak(){
92
+ speak(){
87
93
  console.log(`${this.name} is grunting`);
88
- }</span>
94
+ }
89
95
  }
90
96
 
91
97
  const myMammal = Neo.create(Mammal, {
92
98
  name: 'Creature'
93
99
  });
94
- <span style="color:#b91010">myMammal.speak();</span> // Logs "Creature is grunting."
100
+
101
+ myMammal.speak(); // Logs "Creature is grunting."
95
102
 
96
103
  Neo.applyClassConfig(Mammal);
97
104
 
98
105
  export default Mammal;
106
+ </code>
99
107
  </pre>
100
108
 
101
109
 
@@ -3,13 +3,13 @@ and the strucure of an application.
3
3
 
4
4
  If you haven't already done it, run `npx neo-app` to create a Neo.mjs workspace.
5
5
 
6
- <img src="https://raw.githubusercontent.com/neomjs/pages/main/resources/images/learnneo/NeoWorkspace.png" style="height: 400px;">
6
+ <img src="https://raw.githubusercontent.com/neomjs/pages/main/resources/images/apps/learnneo/NeoWorkspace.png" style="height: 400px;">
7
7
 
8
8
  As you can see, a Neo.mjs workspace is a conventional npm workspace. If you run
9
9
  the script `npm run server-start` from the workspace, Neo.mjs launches a web
10
10
  serve whose doc root is the workspace.
11
11
 
12
- <img src="https://raw.githubusercontent.com/neomjs/pages/main/resources/images/learnneo/ServerRoot.png" style="height: 400px;">
12
+ <img src="https://raw.githubusercontent.com/neomjs/pages/main/resources/images/apps/learnneo/ServerRoot.png" style="height: 400px;">
13
13
 
14
14
  If you drill down into the `src` directory you'll see your applications.
15
15
  If you drill down into the `docs` directory you'll see the Neo.mjs API docs.
@@ -22,7 +22,7 @@ app. To do that, run this command from the workspace.
22
22
  At the first prompt, name the app `Foo`, and accept the default for everything else.
23
23
  The script creates an application structured as follows.
24
24
 
25
- <img src="https://raw.githubusercontent.com/neomjs/pages/main/resources/images/learnneo/FooFolder.png" style="height: 400px;">
25
+ <img src="https://raw.githubusercontent.com/neomjs/pages/main/resources/images/apps/learnneo/FooFolder.png" style="height: 400px;">
26
26
 
27
27
  These files are part of the typical structure of a Neo.mjs application. The files `index.html`, `app.mjs`, `neo-config.json`, `view/Viewport.mjs` are rarely modified.
28
28
  You will, however, edit the main container, and its associated "controller" and "model",
@@ -30,10 +30,11 @@ as well as create new views, new controllers, etc.
30
30
 
31
31
  Now let's look at a source file. This is the contents of `MainView.mjs`.
32
32
 
33
- <pre class="neo">
34
- import Base from '../../../node_modules/neo.mjs/src/container/Base.mjs';
33
+ <pre>
34
+ <code class="javascript">
35
+ import Base from '../../../node_modules/neo.mjs/src/container/Base.mjs';
35
36
  import Controller from './MainViewController.mjs';
36
- import ViewModel from './MainViewModel.mjs';
37
+ import ViewModel from './MainViewModel.mjs';
37
38
 
38
39
  class MainView extends Base {
39
40
  static config = {
@@ -50,6 +51,7 @@ class MainView extends Base {
50
51
  Neo.applyClassConfig(MainView);
51
52
 
52
53
  export default MainView;
54
+ </code>
53
55
  </pre>
54
56
 
55
57
  Neo.mjs views are composed of components. A component can be a "container", which means it
@@ -68,12 +70,12 @@ you see how a component is configured let's put a button in the container.
68
70
  First, we need to import the class that defines buttons. Then we'll describe the new button in the
69
71
  `items:[].`
70
72
 
71
- <pre class="neo">
72
-
73
- import Base from '../../../node_modules/neo.mjs/src/container/Base.mjs';
74
- import Controller from './MainViewController.mjs';
75
- import ViewModel from './MainViewModel.mjs';
76
- import Button from '../../../node_modules/neo.mjs/src/button/Base.mjs';
73
+ <pre>
74
+ <code class="javascript">
75
+ import Base from '../../../node_modules/neo.mjs/src/container/Base.mjs';
76
+ import Controller from './MainViewController.mjs';
77
+ import ViewModel from './MainViewModel.mjs';
78
+ import Button from '../../../node_modules/neo.mjs/src/button/Base.mjs';
77
79
 
78
80
  class MainView extends Base {
79
81
  static config = {
@@ -93,6 +95,7 @@ class MainView extends Base {
93
95
  Neo.applyClassConfig(MainView);
94
96
 
95
97
  export default MainView;
98
+ </code>
96
99
  </pre>
97
100
 
98
101
  Note the entry in +items:[]+. That's a description of the button that'll be created as the single
@@ -0,0 +1,3 @@
1
+ <svg width="274" height="178" viewBox="0 0 274 178" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M231.866 178L136.597 82.5858L41.3368 178L0.101562 136.702L136.597 0L273.102 136.702L231.866 178Z" fill="#11F4A1"/>
3
+ </svg>
@@ -10,10 +10,16 @@
10
10
  }
11
11
 
12
12
  p {
13
- margin: 0em 0.5em .7em 0.5em;
13
+ margin: 0.5em 0em 0.7em 0em ;
14
14
  }
15
15
 
16
- padding: 0.5em;
16
+ mark {
17
+ background-color: #B8FCE3;
18
+ color: black;
19
+ padding: 0.1em 0.2em;
20
+ }
21
+
22
+ padding: 1em;
17
23
 
18
24
  overflow: scroll;
19
25
 
@@ -47,7 +53,7 @@
47
53
  font-family: var(--fa-style-family, "Font Awesome 6 Free");
48
54
  font-weight: var(--fa-style, 900);
49
55
  font-size: 1.3em;
50
- margin: .4em;
56
+ margin: 0.4em 0.4em 0.4em 0;
51
57
  color: #c4c4c4;
52
58
  }
53
59
 
@@ -0,0 +1,33 @@
1
+
2
+ .newwebsite-main-container {
3
+ display: flex !important;
4
+ align-items: center !important;
5
+ justify-content: center !important;
6
+ gap: 48px;
7
+ padding: 10% 15% 15% 15%;
8
+ }
9
+
10
+ .button-group {
11
+ display: flex !important;
12
+ flex-direction: row-reverse !important;
13
+ gap: 8px !important;
14
+ }
15
+
16
+ .neo-h1 {
17
+ font-size: 48px;
18
+ font-weight: 600;
19
+ text-align: center;
20
+ }
21
+
22
+ .vector {
23
+ background-image: url("../../../../images/Neo_Vector.svg");
24
+ background-repeat: no-repeat;
25
+ background-size: contain;
26
+ background-position: center center;
27
+ width: 100%;
28
+ height: 150px;
29
+ }
30
+
31
+ .get-started-button {
32
+ cursor: not-allowed !important;
33
+ }
@@ -0,0 +1,7 @@
1
+ :root .neo-theme-neo-light {
2
+ --neo-background-color: #fafafa;
3
+ --neo-color : #000;
4
+ --neo-disabled-opacity: 0.5;
5
+ --neo-font-family : "Helvetica Neue", "Helvetica", "Arial", "Lucida Grande", sans-serif;
6
+ --neo-font-smoothing : antialiased;
7
+ }
@@ -0,0 +1,10 @@
1
+ :root .neo-theme-neo-light { // .covid-header-container
2
+ --covid-header-active-background-color : rgba(100, 181, 246, .65);
3
+ --covid-header-active-color : #{darken(#64b5f6, 20%)};
4
+ --covid-header-cases-background-color : rgba(187, 187, 187, .65);
5
+ --covid-header-cases-color : #{darken(#bbb, 30%)};
6
+ --covid-header-deaths-background-color : rgba(251, 103, 103, .65);
7
+ --covid-header-deaths-color : #{darken(#fb6767, 20%)};
8
+ --covid-header-recovered-background-color: rgba( 40, 218, 111, .65);
9
+ --covid-header-recovered-color : #{darken(#28ca68, 20%)};
10
+ }
@@ -0,0 +1,7 @@
1
+ :root .neo-theme-neo-light { // .neo-gallery.covid-country-gallery
2
+ --covid-gallery-background-color : #fff;
3
+ --covid-gallery-border-color : #ddd;
4
+ --covid-gallery-item-border-color : rgba(73,120,184,.5);
5
+ --covid-gallery-item-border-sides-width : 1px;
6
+ --covid-gallery-item-wrapper-background-color: rgba(73,120,184,.5);
7
+ }
@@ -0,0 +1,8 @@
1
+ :root .neo-theme-neo-light { // .neo-helix.covid-country-helix
2
+ --covid-helix-background-color : #fff;
3
+ --covid-helix-border-color : #ddd;
4
+ --covid-helix-item-border-color : rgba(73,120,184,.5);
5
+ --covid-helix-item-border-sides-width : 1px;
6
+ --covid-helix-item-box-shadow-selected : 0 0 35px #008dff;
7
+ --covid-helix-item-wrapper-background-color: rgba(73,120,184,.5);
8
+ }
@@ -0,0 +1,3 @@
1
+ :root .neo-theme-neo-light { // .covid-line-chart
2
+ --covid-line-chart-background-color: #fff;
3
+ }
@@ -0,0 +1,4 @@
1
+ :root .neo-theme-neo-light { // .docs-content-tabcontainer
2
+ --docs-content-tabcontainer-tab-header-toolbar-background-color : #fff;
3
+ --docs-content-tabcontainer-tab-header-toolbar-glyph-color-hover: red;
4
+ }
@@ -0,0 +1,10 @@
1
+ :root .neo-theme-neo-light { // .neo-docs-header-container
2
+ --docs-header-container-background-color : #fff;
3
+ --docs-header-container-background-image : none;
4
+ --docs-header-container-logo-text-background-clip: text;
5
+ --docs-header-container-logo-text-color : rgba(0,0,0,0.6);
6
+ --docs-header-container-logo-text-font-size : 28px;
7
+ --docs-header-container-logo-text-font-weight : 800;
8
+ --docs-header-container-logo-padding : 10px;
9
+ --docs-header-container-logo-text-shadow : 2px 2px 3px rgba(200,200,200,0.1);
10
+ }
@@ -0,0 +1,3 @@
1
+ :root .neo-theme-neo-light { // .neo-docs-navigation-tab-container
2
+ --docs-navigation-tab-container-background-color: #fff;
3
+ }
@@ -0,0 +1,4 @@
1
+ :root .neo-theme-neo-light { // .neo-docs-classdetails-headercontainer
2
+ --docs-classdetails-headercomponent-background-color: #fff;
3
+ --docs-classdetails-headerpanel-border-right : 1px solid #ddd;
4
+ }
@@ -0,0 +1,17 @@
1
+ :root .neo-theme-neo-light { // .docs-classhierarchy-memberslist
2
+ --docs-classhierarchy-memberslist-background-color : #bbb;
3
+ --docs-memberlist-group-header-background-color : steelblue;
4
+ --docs-memberlist-group-header-color : #fff;
5
+ --docs-param-table-list-item-background-color : #fff;
6
+ --docs-param-table-list-item-background-image : none;
7
+ --docs-param-table-list-item-header-background-clip: none;
8
+ --docs-param-table-list-item-header-text-shadow : none;
9
+ --docs-param-table-list-item-highlight-search-color: red;
10
+ --docs-param-table-source-link-color : #bbb;
11
+ --docs-param-table-source-link-color-hover : #{darken(#1c60a0, 10%)};
12
+ --docs-param-table-thead-background-color : slategray;
13
+ --docs-param-table-thead-background-image : none;
14
+ --docs-param-table-tr-background-clip : none;
15
+ --docs-param-table-tr-color : #fff;
16
+ --docs-param-table-tr-text-shadow : none;
17
+ }
@@ -0,0 +1,4 @@
1
+ :root .neo-theme-neo-light {
2
+ --docs-classdetails-tutorialcomponent-background-color: #fff;
3
+ --docs-classdetails-tutorialcomponent-color : #000;
4
+ }
@@ -0,0 +1,5 @@
1
+ :root .neo-theme-neo-light { // .website-header-container
2
+ --website-header-button-background-image: linear-gradient(#fff,#ccc);
3
+ --website-header-button-glyph-color : #1c60a0;
4
+ --website-header-button-border : 1px solid #ddd;
5
+ }
@@ -0,0 +1,4 @@
1
+ :root .neo-theme-neo-light { // .website-main-container
2
+ --website-background-image : linear-gradient(#eee, #ddd);
3
+ --website-transition-duration: 300ms;
4
+ }
@@ -0,0 +1,3 @@
1
+ :root .neo-theme-neo-light { // .website-blog-container
2
+ --website-blog-toolbar-background-color: #f2f2f2;
3
+ }
@@ -0,0 +1,4 @@
1
+ :root .neo-theme-neo-light { // .website-home-tab-container
2
+ --website-home-color : #292929;
3
+ --website-home-h1-color: #292929;
4
+ }