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

fix colors and fonts in CSS default styles #35

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions src/components/App/App.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
@import '../../variables.scss';

.tlbx-h1,
.tlbx-notes,
.tlbx-sidebar-wrapper {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
margin: 0;
padding: 0;
}

.styleguide {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.tlbx-h2 { text-align: center; }

.styleguide {
Expand Down
5 changes: 2 additions & 3 deletions src/components/App/Theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ const base = {

export const Theme = styled.div`
background: ${config.bodyBackground || base.white};
color: ${config.bodyForeground || base.black};

h1, h2, h3, h4, h5, h6 {
color: ${config.headingForeground || base.black};
.tlbx-h1, .tlbx-h2, .tlbx-h3, .tlbx-h4, .tlbx-h5, .tlbx-h6, .tlbx-notes {
color: ${config.bodyForeground || base.black};
}

.tlbx-toolbar-btn { color: ${config.toolbarIconsForeground || base.white}; }
Expand Down