BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Tom
Super User Tom
Super User

The color currently being used for functions in the code box makes them look like errors.  

Instead of this dark red (https://www.colorbook.io/hexcolors/view/dd4a68) can we update the CSS file https://communities.sas.com/html/assets/prism.css to use a different color? 

.token.function,
.token.class-name {
	color: #DD4A68;
}
1 ACCEPTED SOLUTION

Accepted Solutions
ChrisHemedinger
Community Manager

Better now @Tom ?

 

(And @novinosrin ? -- you had a similar comment recently.)

 

/* Establish date ranges to query - month ranges */
data ranges(keep=start_date end_date);
 start_date = '01jun2019'd;
 end_date = intnx('month',start_date,0,'E');
 format start_date YYMMDD10. end_date YYMMDD10.;
 do until (intnx('month',start_date,0,'B') > today());
  output;
  start_date = intnx('month',start_date,1,'B');
  end_date = intnx('month',start_date,0,'E');
 end;
run;
SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

View solution in original post

5 REPLIES 5
ChrisHemedinger
Community Manager

Better now @Tom ?

 

(And @novinosrin ? -- you had a similar comment recently.)

 

/* Establish date ranges to query - month ranges */
data ranges(keep=start_date end_date);
 start_date = '01jun2019'd;
 end_date = intnx('month',start_date,0,'E');
 format start_date YYMMDD10. end_date YYMMDD10.;
 do until (intnx('month',start_date,0,'B') > today());
  output;
  start_date = intnx('month',start_date,1,'B');
  end_date = intnx('month',start_date,0,'E');
 end;
run;
SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
novinosrin
Tourmaline | Level 20

Thank you Sir @ChrisHemedinger . Yes indeed. In my humble opinion, it's not satisfactory to have red fonts and if we possible can we please replicate just the same font as it exists in SAS EG code editor environment or at least something like NOTEPAD++ (Sql font) which is closer and cleaner. Thank you for your attention. 

Tom
Super User Tom
Super User

Still looks RED to me. (2020-05-20 12:09)

image.png

Tom
Super User Tom
Super User

In IE 11 the color is different.

ie.jpg

ChrisHemedinger
Community Manager

Probably a cache delay.  Our community site assets are served via a CDN for faster delivery, and sometimes these nodes take a bit of time to invalidate/fetch new content.

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Discussion stats
  • 5 replies
  • 2274 views
  • 2 likes
  • 3 in conversation