Skip to content

Commit

Permalink
docs: better theming for the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcdo29 committed Jun 15, 2023
1 parent feb3641 commit 96644c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/docs/src/pages/en/nestjs/filter.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
id: filter
title: Filter Logging Service
layout: ../../../layouts/MainLayout.asrto
layout: ../../../layouts/MainLayout.astro
---

There may be times where you need to log an exception that happened outside of the interceptor's control, say like in a guard or a middleware. For this purpose, ogma also comes with an `OgmaFilterService` that takes in the exception and the `ArgumentsHost`, and prints out a line just like the interceptor would. The service is also smart, ensuring not to print out another line to the logs if the exception has already been logged by the interceptor.
Expand Down
8 changes: 4 additions & 4 deletions apps/docs/src/styles/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
--color-base-white: 0, 0%;
--color-base-black: 240, 100%;
--color-base-gray: 215, 14%;
--color-base-blue: 212, 100%;
--color-base-blue: 206.2, 58.8%;
--color-base-blue-dark: 212, 72%;
--color-base-green: 158, 79%;
--color-base-orange: 22, 100%;
Expand Down Expand Up @@ -74,7 +74,7 @@
--theme-code-inline-text: var(--theme-text);
--theme-code-bg: hsla(217, 19%, 27%, 1);
--theme-code-text: hsla(var(--color-gray-95), 1);
--theme-navbar-bg: hsla(var(--color-base-white), 100%, 1);
--theme-navbar-bg: hsla(var(--color-blue), 0.5);
--theme-navbar-height: 6rem;
--theme-selection-color: hsla(var(--color-blue), 1);
--theme-selection-bg: hsla(var(--color-blue), var(--theme-accent-opacity));
Expand All @@ -96,14 +96,14 @@ body {

/* @@@: not used anywhere */
--theme-text-lighter: hsla(var(--color-gray-40), 1);
--theme-bg: hsla(215, 28%, 17%, 1);
--theme-bg: hsla(240, 6.9%, 17%, 1);
--theme-bg-hover: hsla(var(--color-gray-40), 1);
--theme-bg-offset: hsla(var(--color-gray-5), 1);
--theme-code-inline-bg: hsla(var(--color-gray-10), 1);
--theme-code-inline-text: hsla(var(--color-base-white), 100%, 1);
--theme-code-bg: hsla(var(--color-gray-5), 1);
--theme-code-text: hsla(var(--color-base-white), 100%, 1);
--theme-navbar-bg: hsla(215, 28%, 17%, 1);
--theme-navbar-bg: hsla(var(--color-blue), 0.6);
--theme-selection-color: hsla(var(--color-base-white), 100%, 1);
--theme-selection-bg: hsla(var(--color-purple), var(--theme-accent-opacity));

Expand Down

0 comments on commit 96644c9

Please sign in to comment.