Azure / Azure/azure-sdk-tools

[Python APIView] change color palette for "handwritten" code in CSS

Open
#11,371 0 comments 0 reactions 1 assignee Claimed by @swathipil View on GitHub
APIView P1 Python
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
144

Description

To make this change:
1. override lines 186-208 here by adding the scope for python.handwritten (like in java above): [azure-sdk-tools/src/dotnet/APIView/ClientSPA/src/app/_components/code-panel/code-panel.component.scss at df3f409f9b95b10e1c63d59a27fa67652fb3a202 · Azure/azure-sdk-tools](https://github.com/Azure/azure-sdk-tools/blob/df3f409f9b95b10e1c63d59a27fa67652fb3a202/src/dotnet/APIView/ClientSPA/src/app/_components/code-panel/code-panel.component.scss#L237)
2. Add the correct variables here for both light and dark modes: [azure-sdk-tools/src/dotnet/APIView/APIViewWeb/Client/css/shared/theme-colors.scss at df3f409f9b95b10e1c63d59a27fa67652fb3a202 · Azure/azure-sdk-tools](https://github.com/Azure/azure-sdk-tools/blob/df3f409f9b95b10e1c63d59a27fa67652fb3a202/src/dotnet/APIView/APIViewWeb/Client/css/shared/theme-colors.scss)

Copy over the hexcodes for VSCode themes. Ensure they are accessibility-friendly. Color palette options:
- Winter is coming
- Dracula
- Night owl

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.