slack-black-theme icon indicating copy to clipboard operation
slack-black-theme copied to clipboard

Change CSS for attachment text

Open shogun656 opened this issue 8 years ago • 3 comments

My theme looks pretty good for everything except for the attachment text from bots. For example:

screen shot 2018-01-23 at 10 17 45 am

Does anyone know what value to change to make the attachment text more readable? Normal text between me and my coworkers is readable, just not the attachment text

shogun656 avatar Jan 23 '18 15:01 shogun656

Also doesn't work on any sort of link preview

iMightLikeOrange avatar Jan 25 '18 15:01 iMightLikeOrange

Change this

span.c-message__body,
	a.c-message__sender_link,
	span.c-message_attachment__media_trigger.c-message_attachment__media_trigger--caption,
	div.p-message_pane__foreword__description span
	{
		color: #afafaf !important;
	}

To this

span.c-message__body,	
	a.c-message__sender_link,
	span.c-message_attachment__text,
	.c-message_attachment__field_value,
	span.c-message_attachment__media_trigger.c-message_attachment__media_trigger--caption,
	div.p-message_pane__foreword__description span
	{
		color: #afafaf !important;
	}

	.c-message_attachment__field_title
	{
		font-weight: bold;
		color: #afafaf !important;
	}

sdyrby avatar Mar 09 '18 07:03 sdyrby

@sdyrby I made that change in ssb-interop.js and it didn't change the attachment text

shogun656 avatar Mar 12 '18 16:03 shogun656