Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
laCour committed Aug 9, 2015
1 parent 2d5614c commit a52f1b7
Show file tree
Hide file tree
Showing 59 changed files with 14,603 additions and 2 deletions.
24 changes: 24 additions & 0 deletions .scss-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
scss_files: "stylesheets/**/*.scss"
linters:
BorderZero:
enabled: false
IdSelector:
enabled: false
ImportantRule:
enabled: false
LeadingZero:
enabled: true
style: include_zero
NestingDepth:
enabled: false
QualifyingElement:
enabled: false
SelectorDepth:
enabled: false
SelectorFormat:
enabled: false
StringQuotes:
enabled: true
style: double_quotes
VendorPrefix:
enabled: false
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Changelog

* **08/08/15 - Major Release**: Switched to Sass. Added theming (incl. black and monospaced variants). Moved to GitHub. This change also includes many bug fixes and style support for previously unstyled features.

## Pre-Sass
* [16/06/15](https://www.diffchecker.com/uitqs5is): Updated styles for offline alerts, message editing, and new upload menu.
* [13/06/15](https://www.diffchecker.com/gnpbqnaf): Updated styles for mentions, sign in page, and reaction toasts.
* [10/06/15](https://www.diffchecker.com/ca0ml7w3): Added styles for reactions and new invitations modal. Many minor fixes (including input placeholders, icons, user popups, tooltips, flexpane views, inline image backgrounds, highlights, pinned posts, code snippets, and more).
* [22/05/15](https://www.diffchecker.com/mmujxhk4): Updated sidebar menu again after more style updates. More minor fixes (including inline image links).
* [20/05/15](https://www.diffchecker.com/9ni1ewub): Updated for recent style updates.
* [14/04/15](https://www.diffchecker.com/5o2nwr4k): Added styles for channel information flexpane window.
* [09/04/15](https://www.diffchecker.com/f8pfeigd): Updated styles for recent flexpane updates.
* [28/01/15](https://www.diffchecker.com/d76qfmse): Updated styles for chat search, flexpane file list, flexpane file view, flexpane team list, message tabbing popup, and many other small updates. Added styles to ignore changes for the Slack status page.
* [15/12/14](https://www.diffchecker.com/3lumodcz): Updated header icons and added styles for image modals (lightboxes).
* [29/11/14](https://www.diffchecker.com/a5o5rs51): Added styles for the loading view, tips, and for the recent flexpane and search updates. Several small style fixes including changes to the message input area while disconnected, message container fade when changing channels, header icons, and improvements to the channel modal have also been made.
* [22/11/14](https://www.diffchecker.com/wm35ya8r): Added styles for the new flexpane search, new message alert, and the pricing page. Many small style fixes including changes to inline images/links on dense message themes, team website sidebar, and more.
* [23/10/14](https://www.diffchecker.com/jbhb9iai): Added styles for new Slack team websites. Many small style fixes including changes to the flexpane icon, embedded player controls, member list, and more.
* [26/09/14](https://www.diffchecker.com/0jhcr50q): Added styles for snippets and the Slack welcome message.
* [30/05/14](http://www.diffchecker.com/e111hppo): Added styles for empty one-on-one conversations.
* [29/05/14](http://www.diffchecker.com/780b0r3f): Added styles for team websites.
* [28/05/14](http://www.diffchecker.com/bbkmodat): Added styles for file uploads, inline markdown code snippets, autocomplete popovers, and channel topic forms. Changed some colours, including bot names and mentions, for readability.
15 changes: 15 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
all: clean build

build: default themes

clean:
rm -rf css/*
mkdir css/variants

default:
sass scss/main.scss:css/default.scss

themes:
for sass in scss/themes/build-variants/*.scss; do \
theme=`basename $$sass .scss`; \
sass $$sass:css/variants/$$theme.css; done
26 changes: 24 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,24 @@
# slack-night-mode
A stylish theme for Slack
# Slack Night Mode
A Stylish style for easy Slack theming.

Licensed under [CC BY 4.0](http://creativecommons.org/licenses/by/4.0/).

## Requirements

**This theme requires that you use the Stylish extension for your browser (available for [Firefox](https://addons.mozilla.org/en-US/firefox/addon/stylish/), [Chrome](https://chrome.google.com/webstore/detail/stylish/fjnbnpbmkenffdnngjfgmeleoegfcffe), and [Safari](http://sobolev.us/stylish/)).**

If you wish to modify or create a theme, you must be familiar with Sass. Themes can be built by running `make`.

## Themes

### Default ([default.css](css/default.css) - [install](https://userstyles.org/styles/101971/slack-night-mode))

The default theme is based on Slack's maroon color. It's slack-night-mode's original theme.

### Black ([black.css](css/variants/black.css) - [install](https://userstyles.org/styles/117475/slack-night-mode-black))

This black theme is better for night use than the default, if you use a program like f.lux or redshift.

### Monospaced

All themes also have a monospaced variant. These use a monospace font stack.
Loading

0 comments on commit a52f1b7

Please sign in to comment.