Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

Commit

Permalink
Finalize stylekit integration, 1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
moughxyz committed Dec 14, 2018
1 parent c6d86eb commit 063b0b2
Show file tree
Hide file tree
Showing 7 changed files with 934 additions and 247 deletions.
4 changes: 0 additions & 4 deletions app/components/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,13 @@ export default class Home extends React.Component {
}

connectToBridge() {
console.log("connecting");
var permissions = [
{
name: "stream-context-item"
}
]

this.componentManager = new ComponentManager(permissions, () => {
console.log("Ready");
var savedMode = this.componentManager.componentDataValueForKey("mode");
if(savedMode) {
this.setModeFromModeValue(savedMode);
Expand All @@ -105,8 +103,6 @@ export default class Home extends React.Component {
this.componentManager.streamContextItem((note) => {
this.note = note;

console.log("Received note", note);

// Only update UI on non-metadata updates.
if(note.isMetadataUpdate) {
return;
Expand Down
9 changes: 1 addition & 8 deletions app/stylesheets/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ body, html {
padding: 0;
overflow: hidden;
font-size: var(--sn-stylekit-base-font-size);
background-color: transparent;
}

$border-color: rgb(228, 228, 228);

/* Simple Markdown Editor */

#simple-markdown {
Expand Down Expand Up @@ -198,13 +197,7 @@ $border-color: rgb(228, 228, 228);
border: 1px solid var(--sn-component-inner-border-color);
border-radius: 0;

.label {

}

&.selected {
// color: var(--sn-component-foreground-highlight-color);
// border-color: var(--sn-component-foreground-highlight-color);
font-weight: bold;
}
}
Expand Down
Loading

0 comments on commit 063b0b2

Please sign in to comment.