From 1acff8661e3a7d7c93b63ed5f319c7313407e704 Mon Sep 17 00:00:00 2001 From: Kat Hagan Date: Sun, 19 Jul 2020 21:21:19 -0700 Subject: [PATCH 1/2] change ATTENTION triangle icon to cloud sync --- lib/icons/cloud-sync.tsx | 18 ++++++++++++++++++ lib/note-list/note-cell.tsx | 4 ++-- 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 lib/icons/cloud-sync.tsx diff --git a/lib/icons/cloud-sync.tsx b/lib/icons/cloud-sync.tsx new file mode 100644 index 000000000..e7cdee363 --- /dev/null +++ b/lib/icons/cloud-sync.tsx @@ -0,0 +1,18 @@ +import React from 'react'; + +export default function CloudSyncIcon() { + return ( + + + + + + + + + ); +} diff --git a/lib/note-list/note-cell.tsx b/lib/note-list/note-cell.tsx index 46758a5d1..bcf9d8118 100644 --- a/lib/note-list/note-cell.tsx +++ b/lib/note-list/note-cell.tsx @@ -2,7 +2,7 @@ import React, { Component, CSSProperties } from 'react'; import { connect } from 'react-redux'; import classNames from 'classnames'; -import AttentionIcon from '../icons/attention'; +import CloudSyncIcon from '../icons/cloud-sync'; import PublishIcon from '../icons/feed'; import PinnedIcon from '../icons/pinned'; import { decorateWith, makeFilterDecorator } from './decorators'; @@ -107,7 +107,7 @@ export class NoteCell extends Component {
- {hasPendingChanges && } + {hasPendingChanges && }
From eef433d9401c4f96e9d2ea997fc3bfa2d9551a63 Mon Sep 17 00:00:00 2001 From: Kat Hagan Date: Sun, 19 Jul 2020 22:24:05 -0700 Subject: [PATCH 2/2] change to blue color and fix dark mode styles --- lib/note-list/style.scss | 9 +++------ scss/theme.scss | 6 ++++++ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/lib/note-list/style.scss b/lib/note-list/style.scss index 9630a4287..febf6a7a8 100644 --- a/lib/note-list/style.scss +++ b/lib/note-list/style.scss @@ -93,16 +93,13 @@ color: transparent; } - .note-list-item-pinner:hover { - color: $studio-simplenote-blue-50; - } - - .note-list-item-pinner.note-list-item-pinned { + .note-list-item-pinner:hover, + .note-list-item-pinner.note-list-item-pinned, + .note-list-item-pending-changes { color: $studio-simplenote-blue-50; } .note-list-item-pending-changes { - color: $studio-orange-30; margin-top: 10px; } diff --git a/scss/theme.scss b/scss/theme.scss index aff0a5906..684576924 100644 --- a/scss/theme.scss +++ b/scss/theme.scss @@ -202,6 +202,12 @@ } } + .note-list-item-pinner:hover, + .note-list-item-pinner.note-list-item-pinned, + .note-list-item-pending-changes { + color: $studio-simplenote-blue-20; + } + .note-detail-markdown { @import '../node_modules/highlight.js/scss/solarized-dark.scss';