This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import ViewModel, { Bind } from 'statium'; | |
const Store = () => ( | |
<ViewModel initialState={{ | |
loading: true, | |
records: [], | |
}} | |
controller={{ | |
initialize: load, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import withStyles from 'react-jss'; | |
// A simple object with CSS definition | |
const styles = { | |
foo: { | |
display: 'flex', | |
marginTop: '10px', | |
} | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add this code to the bottom of /Applications/Slack.app/Contents/Resources/app.asar.unpacked/src/static/ssb-interop.js | |
document.addEventListener('DOMContentLoaded', () => { | |
console.log('Loading Dark theme CSS'); | |
const errMsg = (msg) => { | |
console.error('ERROR LOADING DARK THEME CSS' + (msg ? ': ' + msg : '')); | |
}; | |
// You can also fork https://github.com/laCour/slack-night-mode and use your own fork url |