@redocly/theme 0.18.3-patch.8 → 0.18.4-patch.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.
- package/lib/components/Button/Button.js +1 -1
- package/lib/components/Catalog/Catalog.js +6 -1
- package/lib/components/Catalog/CatalogCard.js +2 -0
- package/lib/components/Catalog/styledVariables.js +3 -4
- package/lib/components/CodeBlock/styledVariables.js +5 -5
- package/lib/components/EditPageButton/EditPageButton.d.ts +1 -3
- package/lib/components/EditPageButton/EditPageButton.js +12 -7
- package/lib/components/Filter/Filter.js +1 -1
- package/lib/components/Filter/styledVariables.js +6 -6
- package/lib/components/Footer/FooterColumn.js +3 -1
- package/lib/components/Markdown/MarkdownLayout.d.ts +0 -2
- package/lib/components/Markdown/MarkdownLayout.js +1 -6
- package/lib/components/Menu/MenuItem.js +1 -1
- package/lib/components/Menu/styledVariables.js +1 -1
- package/lib/components/Navbar/Navbar.js +11 -3
- package/lib/components/Navbar/NavbarItem.js +7 -2
- package/lib/components/Navbar/styledVariables.js +2 -3
- package/lib/components/PageNavigation/NextButton.js +1 -1
- package/lib/components/PageNavigation/PreviousButton.js +1 -1
- package/lib/components/Product/ProductPicker.js +5 -4
- package/lib/components/Product/styledVariables.js +1 -0
- package/lib/components/Select/Select.js +0 -1
- package/lib/components/Select/styledVariables.js +1 -1
- package/lib/components/Sidebar/HeaderWrapper.js +1 -1
- package/lib/components/Sidebar/VersionPicker.js +1 -0
- package/lib/components/TableOfContent/TableOfContent.js +2 -0
- package/lib/components/TableOfContent/styledVariables.js +2 -1
- package/lib/components/Tag/Tag.d.ts +1 -1
- package/lib/components/Tag/styledVariables.js +13 -9
- package/lib/config.d.ts +14 -154
- package/lib/config.js +4 -25
- package/lib/globalStyle.js +4 -4
- package/lib/i18n/index.d.ts +2 -0
- package/lib/{I18n → i18n}/index.js +2 -2
- package/lib/icons/EditIcon/EditIcon.d.ts +6 -0
- package/lib/icons/EditIcon/EditIcon.js +18 -0
- package/lib/icons/EditIcon/index.d.ts +1 -0
- package/lib/icons/EditIcon/index.js +18 -0
- package/lib/icons/ExternalIcon/ExternalIcon.js +3 -3
- package/lib/icons/RocketIcon/RocketIcon.d.ts +7 -0
- package/lib/icons/RocketIcon/RocketIcon.js +15 -0
- package/lib/icons/RocketIcon/index.d.ts +1 -0
- package/lib/icons/RocketIcon/index.js +18 -0
- package/lib/icons/index.d.ts +2 -0
- package/lib/icons/index.js +2 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/mocks/hooks/index.js +0 -1
- package/lib/ui/darkColors.js +7 -7
- package/package.json +1 -1
- package/src/components/Button/Button.tsx +1 -1
- package/src/components/Catalog/Catalog.tsx +6 -1
- package/src/components/Catalog/CatalogCard.tsx +2 -0
- package/src/components/Catalog/styledVariables.ts +3 -4
- package/src/components/CodeBlock/styledVariables.ts +5 -5
- package/src/components/EditPageButton/EditPageButton.tsx +19 -9
- package/src/components/Filter/Filter.tsx +1 -1
- package/src/components/Filter/styledVariables.ts +6 -6
- package/src/components/Footer/FooterColumn.tsx +2 -0
- package/src/components/Markdown/MarkdownLayout.tsx +2 -15
- package/src/components/Menu/MenuItem.tsx +1 -1
- package/src/components/Menu/styledVariables.ts +1 -1
- package/src/components/Navbar/Navbar.tsx +11 -3
- package/src/components/Navbar/NavbarItem.tsx +5 -0
- package/src/components/Navbar/styledVariables.ts +2 -3
- package/src/components/PageNavigation/NextButton.tsx +0 -1
- package/src/components/PageNavigation/PreviousButton.tsx +0 -1
- package/src/components/Product/ProductPicker.tsx +5 -4
- package/src/components/Product/styledVariables.ts +1 -0
- package/src/components/Select/Select.tsx +0 -1
- package/src/components/Select/styledVariables.ts +1 -1
- package/src/components/Sidebar/HeaderWrapper.tsx +1 -1
- package/src/components/Sidebar/VersionPicker.tsx +1 -0
- package/src/components/TableOfContent/TableOfContent.tsx +2 -0
- package/src/components/TableOfContent/styledVariables.ts +2 -1
- package/src/components/Tag/Tag.tsx +1 -1
- package/src/components/Tag/styledVariables.ts +13 -9
- package/src/config.ts +6 -28
- package/src/globalStyle.ts +3 -3
- package/src/i18n/index.ts +2 -0
- package/src/icons/EditIcon/EditIcon.tsx +30 -0
- package/src/icons/EditIcon/index.ts +1 -0
- package/src/icons/ExternalIcon/ExternalIcon.tsx +4 -4
- package/src/icons/RocketIcon/RocketIcon.tsx +32 -0
- package/src/icons/RocketIcon/index.tsx +1 -0
- package/src/icons/index.ts +2 -0
- package/src/index.ts +1 -1
- package/src/mocks/hooks/index.ts +0 -1
- package/src/ui/darkColors.tsx +7 -7
- package/lib/I18n/index.d.ts +0 -2
- package/src/I18n/index.ts +0 -2
- /package/lib/{I18n → i18n}/LanguagePicker.d.ts +0 -0
- /package/lib/{I18n → i18n}/LanguagePicker.js +0 -0
- /package/lib/{I18n → i18n}/styledVariables.d.ts +0 -0
- /package/lib/{I18n → i18n}/styledVariables.js +0 -0
- /package/src/{I18n → i18n}/LanguagePicker.tsx +0 -0
- /package/src/{I18n → i18n}/styledVariables.ts +0 -0
package/src/ui/darkColors.tsx
CHANGED
|
@@ -201,11 +201,11 @@ export const darkMode = css`
|
|
|
201
201
|
* @presenter Color
|
|
202
202
|
*/
|
|
203
203
|
|
|
204
|
-
--bg-sunken: #
|
|
205
|
-
--bg-base: #
|
|
206
|
-
--bg-raised: #
|
|
207
|
-
--bg-overlay: #
|
|
208
|
-
--bg-modal-overlay: #
|
|
204
|
+
--bg-sunken: #2c2d33; // Sunken is the lowest elevation available.
|
|
205
|
+
--bg-base: #1b1c21; // The default elevation is the baseline with respect to all other layers.
|
|
206
|
+
--bg-raised: #24262b; // Cards, elements, inputs
|
|
207
|
+
--bg-overlay: #3a3c42; // Overlay is the highest elevation available. Use for hovers
|
|
208
|
+
--bg-modal-overlay: #3a3c42c2;
|
|
209
209
|
|
|
210
210
|
--bg-base-shadow: 0px 3px 5px rgba(0, 0, 0, 0.4), 0px 1px 4px rgba(0, 0, 0, 0.5); // Elements
|
|
211
211
|
--bg-raised-shadow: 0px 8px 12px rgba(0, 0, 0, 0.4), 0px 1px 4px rgba(0, 0, 0, 0.5); // Hovers for base. Menu
|
|
@@ -215,8 +215,8 @@ export const darkMode = css`
|
|
|
215
215
|
* @tokens Border Colors
|
|
216
216
|
* @presenter Color
|
|
217
217
|
*/
|
|
218
|
-
--border-primary: #
|
|
219
|
-
--border-secondary: #
|
|
218
|
+
--border-primary: #ffffff21; // Raised dividers
|
|
219
|
+
--border-secondary: #ffffff17; // Default dividers, borders
|
|
220
220
|
|
|
221
221
|
// @tokens End
|
|
222
222
|
`;
|
package/lib/I18n/index.d.ts
DELETED
package/src/I18n/index.ts
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|