@scalar/docusaurus 0.2.45 → 0.2.46

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @scalar/docusaurus
2
2
 
3
+ ## 0.2.46
4
+
5
+ ### Patch Changes
6
+
7
+ - 067e767: fix: remove ifm colour system from sidebar header
8
+ - @scalar/api-reference-react@0.1.88
9
+
3
10
  ## 0.2.45
4
11
 
5
12
  ### Patch Changes
package/dist/theme.css CHANGED
@@ -87,10 +87,10 @@ html[data-theme='dark'] .t-doc__sidebar {
87
87
  }
88
88
  /* advanced */
89
89
  html[data-theme='light'] {
90
- --scalar-color-green: var(--ifm-color-success, #00a400);
91
- --scalar-color-red: var(--ifm-color-danger, #fa383e);
92
- --scalar-color-yellow: var(--ifm-color-warning, #ffba00);
93
- --scalar-color-blue: var(--ifm-color-info-darkest, #2554a0);
90
+ --scalar-color-green: #00a400;
91
+ --scalar-color-red: #fa383e;
92
+ --scalar-color-yellow: #ffba00;
93
+ --scalar-color-blue: #0082d0;
94
94
  --scalar-color-orange: #fb892c;
95
95
  --scalar-color-purple: #5203d1;
96
96
  --scalar-docsearch-key: var(
@@ -105,10 +105,10 @@ html[data-theme='light'] {
105
105
  );
106
106
  }
107
107
  html[data-theme='dark'] {
108
- --scalar-color-green: var(--ifm-color-success, #00a400);
109
- --scalar-color-red: var(--ifm-color-danger, #fa383e);
110
- --scalar-color-yellow: var(--ifm-color-warning, #ffba00);
111
- --scalar-color-blue: var(--ifm-color-info-light, #3578e5);
108
+ --scalar-color-green: #00a400;
109
+ --scalar-color-red: #fa383e;
110
+ --scalar-color-yellow: #ffba00;
111
+ --scalar-color-blue: #3578e5;
112
112
  --scalar-color-orange: #ff8d4d;
113
113
  --scalar-color-purple: #b191f9;
114
114
  --scalar-docsearch-key: var(
@@ -125,22 +125,6 @@ html[data-theme='dark'] {
125
125
  .references-rendered .section-header {
126
126
  color: var(--ifm-heading-color, var(--scalar-color-1));
127
127
  }
128
- .sidebar-heading-type {
129
- font-size: 10px !important;
130
- line-height: 16px !important;
131
- padding: 1px 3px !important;
132
- }
133
- html[data-theme='light'] .sidebar-heading.active_page .sidebar-heading-type {
134
- background: white !important;
135
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
136
- }
137
- html[data-theme='dark'] .sidebar-heading.active_page .sidebar-heading-type {
138
- background: rgba(255, 255, 255, 0.14) !important;
139
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
140
- }
141
- .sidebar-heading.active_page .sidebar-heading-type:after {
142
- display: none;
143
- }
144
128
  .references-rendered .section-container:nth-of-type(2) {
145
129
  border-top: none !important;
146
130
  }
package/package.json CHANGED
@@ -19,7 +19,7 @@
19
19
  "testing",
20
20
  "react"
21
21
  ],
22
- "version": "0.2.45",
22
+ "version": "0.2.46",
23
23
  "engines": {
24
24
  "node": ">=18"
25
25
  },
@@ -29,7 +29,7 @@
29
29
  "CHANGELOG.md"
30
30
  ],
31
31
  "dependencies": {
32
- "@scalar/api-reference-react": "0.1.87"
32
+ "@scalar/api-reference-react": "0.1.88"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@docusaurus/types": "^3.1.1",