Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/code-editor/ace-editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}

.code-editor :global .ace_editor {
font-family: Monaco, Menlo, Consolas, 'Courier Prime', Courier, 'Courier New', monospace;
font-family: awsui.$font-family-monospace;
font-size: 14px;
line-height: 20px;

Expand Down
2 changes: 2 additions & 0 deletions style-dictionary/one-theme/typography.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import { tokens as parentTokens } from '../visual-refresh/typography.js';

const tokens: StyleDictionary.TypographyDictionary = {
fontFamilyBase: "'Ember Modern Text UI', 'Amazon Ember', Roboto, Arial, sans-serif",
fontFamilyMonospace:
"'Ember Modern Mono', Monaco, Menlo, Consolas, 'Courier Prime', Courier, 'Courier New', monospace",

// ── Headings ──────────────────────────────────────────────────────────────
fontSizeHeadingXl: '24px',
Expand Down
Loading