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

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

Closed
wants to merge 1 commit into from
Closed

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

wants to merge 1 commit into from

Conversation

frederikprijck
Copy link
Contributor

@frederikprijck frederikprijck commented Mar 19, 2018

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
Copy link
Member

gkalpak commented Mar 19, 2018

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
Copy link
Contributor

Narretz commented Mar 19, 2018

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

@frederikprijck
Copy link
Contributor Author

frederikprijck commented Mar 19, 2018

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
Copy link
Member

gkalpak commented Mar 19, 2018

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

@frederikprijck
Copy link
Contributor Author

frederikprijck commented Mar 19, 2018

@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
Copy link
Member

gkalpak commented Mar 19, 2018

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