Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

fix(*): remove text-shadow from prettify theme - #16496

Closed
frederikprijck wants to merge 1 commit into
angular:masterfrom
frederikprijck:fix/16495
Closed

frederikprijck wants to merge 1 commit into
angular:masterfrom
frederikprijck:fix/16495

Conversation

@frederikprijck

@frederikprijck frederikprijck commented Mar 19, 2018 •

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Styling improvement

What is the current behavior? (You can also link to an open issue here)
The styling on the AngularJS bits (tags, attributes, placeholders) in the code examples include a white colored text-shadow on a light blue background. This makes text difficult to read.

What is the new behavior (if this is a feature change)?
This commit removes this shadow to improve readability.

Does this PR introduce a breaking change?
No

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Fix/Feature: Docs have been added/updated
  • Fix/Feature: Tests have been added; existing tests pass

Other information:
#16495

Previously, the styling on the AngularJS bits (tags, attributes, placeholders)
in the code examples include a white colored text-shadow on a light blue background.
This makes text difficult to read.

This commit removes this shadow to improve readability.

closes #16495
@gkalpak

gkalpak commented Mar 19, 2018

Copy link
Copy Markdown
Member

Is this the right place to fix it? I thought the site was built off of https://github.com/angular/angularjs.org (in which case this is the style you would need to override).
Has that changed as part of the recent refactorings in hosting infrastructure, @Narretz?

@Narretz

Narretz commented Mar 19, 2018

Copy link
Copy Markdown
Contributor

That's right, Angularjs.org is not built from this here repository.

@frederikprijck

frederikprijck commented Mar 19, 2018 •

Copy link
Copy Markdown
Contributor Author

Oh that's confusing, the css file looks very alike. But I guess that's why I asked you (@gkalpak) how to be able to verify this change locally (I made the PR as I was pretty sure I had the right file, but still needed local verification).

What's the css file in this repo used for then 😕 ? (it's probably just a left over from the migration ? )

Anyway, If you don't mind I can still move this change to that repo. But it might be a good idea to address this #16495 (comment)

@gkalpak

gkalpak commented Mar 19, 2018

Copy link
Copy Markdown
Member

The prettify.css files are used for google-code-prettify, which we use on both pages.

@frederikprijck

frederikprijck commented Mar 19, 2018 •

Copy link
Copy Markdown
Contributor Author

@gkalpak Does the changes in this repo makes sense in that case? To align both of them ?

But I guess the implementation in this PR is incorrect as it modified the original CSS file and I'm guessing we want it to be overridden instead of modified inside that file ?

@gkalpak

gkalpak commented Mar 19, 2018

Copy link
Copy Markdown
Member

I don't think we use light-blue, highlighted regions here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants