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;
Register for SAS Innovate 2025!! The premier event for SAS users, May 6-9 in Orlando FL. Sign up now for the best deals!

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;
Register for SAS Innovate 2025!! The premier event for SAS users, May 6-9 in Orlando FL. Sign up now for the best deals!
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.

Register for SAS Innovate 2025!! The premier event for SAS users, May 6-9 in Orlando FL. Sign up now for the best deals!

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

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