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;

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;
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 INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

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