Skip to content
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 4 additions & 0 deletions packages/clipper/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.1.586](https://github.com/standardnotes/app/compare/@standardnotes/clipper@1.1.585...@standardnotes/clipper@1.1.586) (2026-04-29)

**Note:** Version bump only for package @standardnotes/clipper

## [1.1.585](https://github.com/standardnotes/app/compare/@standardnotes/clipper@1.1.584...@standardnotes/clipper@1.1.585) (2026-04-24)

**Note:** Version bump only for package @standardnotes/clipper
Expand Down
2 changes: 1 addition & 1 deletion packages/clipper/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@standardnotes/clipper",
"description": "Web clipper browser extension for Standard Notes",
"version": "1.1.585",
"version": "1.1.586",
"private": true,
"scripts": {
"build-mv2": "yarn clean && webpack --config ./webpack.config.prod.js",
Expand Down
4 changes: 4 additions & 0 deletions packages/desktop/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [3.110.191](https://github.com/standardnotes/app/compare/@standardnotes/desktop@3.201.26...@standardnotes/desktop@3.110.191) (2026-04-29)

**Note:** Version bump only for package @standardnotes/desktop

## [3.110.190](https://github.com/standardnotes/app/compare/@standardnotes/desktop@3.201.25...@standardnotes/desktop@3.110.190) (2026-04-24)

**Note:** Version bump only for package @standardnotes/desktop
Expand Down
2 changes: 1 addition & 1 deletion packages/desktop/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@standardnotes/desktop",
"main": "./app/dist/index.js",
"version": "3.110.190",
"version": "3.110.191",
"license": "AGPL-3.0",
"author": "Standard Notes.",
"private": true,
Expand Down
4 changes: 4 additions & 0 deletions packages/mobile/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [3.58.253](https://github.com/standardnotes/app/compare/@standardnotes/mobile@3.58.252...@standardnotes/mobile@3.58.253) (2026-04-29)

**Note:** Version bump only for package @standardnotes/mobile

## [3.58.252](https://github.com/standardnotes/app/compare/@standardnotes/mobile@3.58.251...@standardnotes/mobile@3.58.252) (2026-04-24)

**Note:** Version bump only for package @standardnotes/mobile
Expand Down
2 changes: 1 addition & 1 deletion packages/mobile/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/mobile",
"version": "3.58.252",
"version": "3.58.253",
"author": "Standard Notes.",
"private": true,
"license": "AGPL-3.0",
Expand Down
4 changes: 4 additions & 0 deletions packages/releases/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.4.893](https://github.com/standardnotes/app/compare/@standardnotes/releases@1.4.892...@standardnotes/releases@1.4.893) (2026-04-29)

**Note:** Version bump only for package @standardnotes/releases

## [1.4.892](https://github.com/standardnotes/app/compare/@standardnotes/releases@1.4.891...@standardnotes/releases@1.4.892) (2026-04-24)

**Note:** Version bump only for package @standardnotes/releases
Expand Down
2 changes: 1 addition & 1 deletion packages/releases/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/releases",
"version": "1.4.892",
"version": "1.4.893",
"repository": {
"type": "git",
"url": "https://github.com/standardnotes/app",
Expand Down
7 changes: 7 additions & 0 deletions packages/web/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [3.201.27](https://github.com/standardnotes/app/compare/@standardnotes/web@3.201.26...@standardnotes/web@3.201.27) (2026-04-29)

### Bug Fixes

* Fixes Super search highlights styling ([#3009](https://github.com/standardnotes/app/issues/3009)) ([a39bb82](https://github.com/standardnotes/app/commit/a39bb824f7b6d4f761abb27df9b7c7ba4818ce14))
* Switches back to note list on mobile when active note is deleted from a different device ([#3008](https://github.com/standardnotes/app/issues/3008)) ([f4a9481](https://github.com/standardnotes/app/commit/f4a94811848ea19550703d5dcd2b446091bf9536))

## [3.201.26](https://github.com/standardnotes/app/compare/@standardnotes/web@3.201.25...@standardnotes/web@3.201.26) (2026-04-24)

### Bug Fixes
Expand Down
16 changes: 16 additions & 0 deletions packages/web/CHANGELOG.md.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
{
"versions": [
{
"version": "3.201.27",
"title": "[3.201.27](https://github.com/standardnotes/app/compare/@standardnotes/web@3.201.26...@standardnotes/web@3.201.27) (2026-04-29)",
"date": null,
"body": "### Bug Fixes\n\n* Fixes Super search highlights styling ([#3009](https://github.com/standardnotes/app/issues/3009)) ([a39bb82](https://github.com/standardnotes/app/commit/a39bb824f7b6d4f761abb27df9b7c7ba4818ce14))\n* Switches back to note list on mobile when active note is deleted from a different device ([#3008](https://github.com/standardnotes/app/issues/3008)) ([f4a9481](https://github.com/standardnotes/app/commit/f4a94811848ea19550703d5dcd2b446091bf9536))",
"parsed": {
"_": [
"Fixes Super search highlights styling (#3009) (a39bb82)",
"Switches back to note list on mobile when active note is deleted from a different device (#3008) (f4a9481)"
],
"Bug Fixes": [
"Fixes Super search highlights styling (#3009) (a39bb82)",
"Switches back to note list on mobile when active note is deleted from a different device (#3008) (f4a9481)"
]
}
},
{
"version": "3.201.26",
"title": "[3.201.26](https://github.com/standardnotes/app/compare/@standardnotes/web@3.201.25...@standardnotes/web@3.201.26) (2026-04-24)",
Expand Down
4 changes: 2 additions & 2 deletions packages/web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/web",
"version": "3.201.26",
"version": "3.201.27",
"license": "AGPL-3.0",
"main": "dist/app.js",
"author": "Standard Notes",
Expand Down Expand Up @@ -117,7 +117,7 @@
"@lexical/rich-text": "0.43.0",
"@lexical/utils": "0.43.0",
"@radix-ui/react-slot": "^1.0.1",
"@react-pdf/renderer": "^4.3.0",
"@react-pdf/renderer": "^4.4.1",
"comlink": "^4.4.1",
"fast-diff": "^1.3.0",
"lexical": "0.43.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import BlocksEditorTheme from '../../Theme/Theme'

const TOKEN_CLASS_COLORS: Record<string, string> = {
Lexical__tokenComment: 'slategray',
Lexical__tokenPunctuation: '#999',
Lexical__tokenProperty: '#905',
Lexical__tokenSelector: '#690',
Lexical__tokenOperator: '#9a6e3a',
Lexical__tokenAttr: '#07a',
Lexical__tokenVariable: '#e90',
Lexical__tokenFunction: '#dd4a68',
}

const HIGHLIGHT_TYPE_TO_COLOR: Record<string, string> = {}

const codeHighlightTheme = BlocksEditorTheme.codeHighlight

if (codeHighlightTheme) {
for (const [highlightType, tokenClass] of Object.entries(codeHighlightTheme)) {
const color = TOKEN_CLASS_COLORS[tokenClass]
if (color) {
HIGHLIGHT_TYPE_TO_COLOR[highlightType] = color
}
}
}

export const getPDFColorForCodeHighlight = (highlightType: string | null | undefined): string | undefined => {
if (!highlightType) {
return undefined
}

return HIGHLIGHT_TYPE_TO_COLOR[highlightType]
}
Loading
Loading