This repository was archived by the owner on May 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,13 @@ Nitric has built-in support for web apps and HTTP API development. The `api` res
1212graph LR;
1313 classDef default line-height:1.2;
1414
15- A[Api]-->B[Service A];
16- A-->C[Service B];
15+ A(Admin Api)-->B(Service A);
16+ A-->C(Service B);
17+ D(Public Api)-->B(Service A)
1718```
1819
20+ > An API can route to many nitric services, and services can handle many APIs.
21+
1922## Creating APIs
2023
2124Nitric allows you define named APIs, each with their own routes, middleware, handlers and security.
Original file line number Diff line number Diff line change @@ -11,11 +11,13 @@ export const remarkPlugins = [
1111 output : 'svg' ,
1212 mermaid : {
1313 theme : 'base' ,
14+ // TODO: Relocate theme config
1415 themeVariables : {
15- primaryColor : '#ff0000' ,
16- secondaryColor : '#00ff00' ,
16+ primaryColor : '#242037' ,
17+ lineColor : '#cad3f5' ,
18+ secondaryColor : '#42424a' ,
1719 tertiaryColor : '#0000ff' ,
18- textColor : '#000000 ' ,
20+ primaryTextColor : '#cad3f5 ' ,
1921 fontSize : '14px' ,
2022 fontFamily : 'Fira Code, monospace' ,
2123 } ,
You can’t perform that action at this time.
0 commit comments