Skip to content

feat: add Cypherpunk theme - #78

Open
nickstruglia wants to merge 1 commit into
standardnotes:mainfrom
nickstruglia:add-cypherpunk-theme
Open

nickstruglia wants to merge 1 commit into
standardnotes:mainfrom
nickstruglia:add-cypherpunk-theme

Conversation

@nickstruglia

Copy link
Copy Markdown

Adds Cypherpunk (io.github.nickstruglia.cypherpunk): a green-phosphor dark theme with monospace type. Text and accent colors are checked for WCAG contrast: body text 16.9:1, accents 14.7:1.

The theme is plain CSS with inline data: assets only, so it loads nothing from anywhere else. The package follows the existing theme packages:

  • src/index.css is copied to dist/ with shx.
  • It is "private": true, so the release job doesn't try to publish it to npm.
  • src/index.css is the build output of the source repository at the commit named in the package README.

Cypherpunk

Tested

  • yarn install (adds the workspace to the lockfile).
  • yarn build.
  • yarn workspace @standardnotes/community-cdn run package.
  • The packaged output, served in place of the published directory to app.standardnotes.com (v3.202.9), with the gallery's subscription check bypassed for the test. The theme appears in Preferences → Plugins, installs and applies.

Source, screenshots and tests: https://github.com/nickstruglia/standard-notes-cypherpunk (MIT)

I'd appreciate your consideration and any feedback either way. If it doesn't fit the directory or needs changes, I'm glad to adjust.

Cypherpunk is a green-phosphor dark theme with monospace type and
WCAG-checked contrast. Plain CSS with inline data: assets only.

Source: https://github.com/nickstruglia/standard-notes-cypherpunk

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant