-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Upgrade to Docusaurus 3.1 + Syntax Highlighting Improvments (#43)
## Upgrade Docusaurus to 3.0 * Upgrades Docusaurus and related packages to the latest versions. * Updates config files to typescript ## Improve Syntax Highlighting * Adds a new theme `ir-code` for code highlighting * based off the site's color scheme * light and dark modes | **Light** | | |------|------| | before | <img src="https://github.com/infinitered/ir-docs/assets/22041394/9f2c2cd7-6d88-421e-b788-a5891f3ca91a" width="500"> | | after | <img src="https://github.com/infinitered/ir-docs/assets/22041394/7250db51-d439-4fa3-9eb6-baeb17f2dbef" width="500"> | | **Dark** | | |------|------| | before | <img src="https://github.com/infinitered/ir-docs/assets/22041394/c11da694-229d-4498-b7a2-ba3bf636335b" width="500"> | | after | <img src="https://github.com/infinitered/ir-docs/assets/22041394/7ff5c94f-c140-4cee-ab94-e3380ccf43e2" width="500"> | * Updates prismjs languages to cover required languages * Updates font family for code blocks to NotoSansMono (new font files added). * Defines new code block styles for highlighting specific lines (success, error, warning). <img src="https://github.com/infinitered/ir-docs/assets/22041394/5ad1f1f7-9f57-4e97-b380-3885fa2d8cbd" width=500> <img src="https://github.com/infinitered/ir-docs/assets/22041394/14f07835-4120-4089-a0d8-869c02ea0b81"width=500>
- Loading branch information
1 parent
16bcb9c
commit 63fcdb8
Showing
46 changed files
with
3,797 additions
and
1,687 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
export const colors = { | ||
brand: { | ||
rgb: '231, 53, 54', | ||
100: '#FFDBD3', | ||
200: '#FFB9AA', | ||
300: '#FC948E', | ||
400: '#FE6060', | ||
500: '#E73536', | ||
600: '#D13939', | ||
700: '#B22525', | ||
800: '#971111', | ||
}, | ||
darkRed: { | ||
100: '#F2D3D3', | ||
200: '#EAAEAE', | ||
300: '#D08989', | ||
400: '#B55757', | ||
500: '#9F3939', | ||
600: '#6F2828', | ||
700: '#5F2222', | ||
800: '#571F1F', | ||
}, | ||
info: { | ||
rgb: '115, 184, 215', | ||
100: '#DCEDF5', | ||
200: '#C0DFED', | ||
300: '#B2D8E9', | ||
400: '#96CAE1', | ||
500: '#73B8D7', | ||
600: '#65A2BD', | ||
700: '#568AA1', | ||
800: '#456E81', | ||
}, | ||
neutral: { | ||
0: '#FFFFFF', | ||
100: '#F8F7F7', | ||
150: '#F1F0F0', | ||
200: '#E0E0E1', | ||
300: '#83838A', | ||
400: '#5D5D60', | ||
500: '#3B3B3E', | ||
600: '#333337', | ||
700: '#272728', | ||
800: '#141415', | ||
900: '#0C0C0D', | ||
}, | ||
secondary: { | ||
rgb: '76, 62, 84', | ||
100: '#DBD8DD', | ||
200: '#B7B2BB', | ||
300: '#827887', | ||
400: '#695D6F', | ||
500: '#4C3E54', | ||
600: '#3D3044', | ||
700: '#322838', | ||
800: '#211925', | ||
}, | ||
success: { | ||
rgb: '150, 133, 183', | ||
100: '#E5E1ED', | ||
200: '#D5CEE2', | ||
300: '#CBC2DB', | ||
400: '#B6AACD', | ||
500: '#9685B7', | ||
600: '#786A92', | ||
700: '#695D80', | ||
800: '#4B435C', | ||
}, | ||
warning: { | ||
rgb: '243, 182, 103', | ||
100: '#FCEDD9', | ||
200: '#FAE2C2', | ||
300: '#F9DBB3', | ||
400: '#F7CC95', | ||
500: '#F3B667', | ||
600: '#E0A75F', | ||
700: '#C3893B', | ||
800: '#9D6317', | ||
}, | ||
green: { | ||
"500":"#4f8500" | ||
}, | ||
background: { | ||
primary: '#ffffff', | ||
bold: '#272728', | ||
dim: '#f8f7f7', | ||
} | ||
} |
Oops, something went wrong.