angular-docs-cn/aio/src
George Kalpakas e2aa7652e5 fix(docs-infra): fix keyword color in CLI pages code blocks (#42889)
Previously, names of CLI commands that also happened to be keywords were
shown in black color in the code block demonstrating the command's
usage. This worked fine when in light mode (where the code block
background is white) but not in the recently introduced dark mode (where
the code block background is dark gray).

This commit fixes this by ensuring the `.kwd` token color is inherited
from its parent (which has an appropriate color for the current theme).
Previously, the `.kwd` token was reset to its initial value (which is
`black` regardless of the theme).

**Before:** ![CLI pages keyword before][1]
**After:** ![cli-pages-keyword after][2]

[1]: https://user-images.githubusercontent.com/8604205/126073803-af317f0c-d04f-4c3a-9a83-e92541d7dd5a.png
[2]: https://user-images.githubusercontent.com/8604205/126073806-1d57e3ed-90b1-4735-ae2a-d0a39862bb95.png

PR Close #42889
2021-07-20 11:56:33 -07:00
..
app refactor(docs-infra): migrate aio from tslint to eslint (#42820) 2021-07-20 11:55:28 -07:00
assets fix(docs-infra): fix display of AngularJS logo on the "Press kit" page in IE11 (#41183) 2021-03-12 13:22:57 -08:00
environments build(docs-infra): align code with new CLI v12 apps (#42259) 2021-06-14 09:54:08 -07:00
extra-files docs: update links to use HTTPS as protocol (#39718) 2020-11-20 12:52:16 -08:00
styles fix(docs-infra): fix keyword color in CLI pages code blocks (#42889) 2021-07-20 11:56:33 -07:00
testing refactor(docs-infra): enable tslint rules for the angular.io app (#39307) 2020-12-17 10:02:38 -08:00
404-body.html refactor(docs-infra): migrate aio from tslint to eslint (#42820) 2021-07-20 11:55:28 -07:00
custom-elements-es5-polyfills.js fix(docs-infra): fix angular.io on browsers that support Custom Elements but not ES2015 (#41183) 2021-03-12 13:22:57 -08:00
google385281288605d160.html build(aio): add google webmaster tools verification file 2017-05-26 01:25:58 -07:00
index.html fix(docs-infra): correctly handle reported errors (#42883) 2021-07-19 17:35:02 -07:00
main.ts feat(docs-infra): Convert AIO to use the new Service Worker 5.0.0. (#19795) 2018-08-27 16:30:42 -04:00
noop-worker-basic.js feat(aio): provide noop service worker file 2017-05-26 14:24:41 +01:00
polyfills.ts fix(docs-infra): avoid unnecessarily loading Custom Elements ES5 shim (#41162) 2021-03-11 09:25:32 -08:00
pwa-manifest.json feat(docs-infra): add shortcuts for the angular.io PWA (#40393) 2021-01-15 10:38:39 -08:00
test.ts build(docs-infra): add `assert` polyfill (#41764) 2021-04-28 12:33:20 -07:00