MIT License

项目介绍

nyoom-engineering/oxocarbon.nvim 是一个托管在 GitHub 上的开源项目,主要使用 Fennel 编写,采用 MIT License 许可证,目前获得 1.6k 个 Star、97 次 Fork。

仓库全名
nyoom-engineering/oxocarbon.nvim
开源许可证
MIT License
Star 数
1.6k
Fork 数
97
未关闭 Issue
17

README 摘要

oxocarbon.nvim Note: The old rust version can be found on the rust branch of this repository Oxocarbon is looking for ports! If you're a user of another editor or tool, join our discord to learn more about porting oxocarbon to other applications. https://discord.gg/M528tDKXRG A dark and light Neovim theme written in fennel, inspired by IBM Carbon. This is the reference implementation of the oxocarbon theme. The…

完整内容见 GitHub 原始 README 或本页 。

常见问题

oxocarbon.nvim 用什么语言开发?

主要使用 Fennel 编写,采用 MIT License 许可证,目前有 1.6k 个 Star。

oxocarbon.nvim 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 oxocarbon.nvim 的源码?

可以直接克隆仓库:git clone https://github.com/nyoom-engineering/oxocarbon.nvim.git,默认分支为 main;安装与运行步骤见仓库 README。

oxocarbon.nvim 最近还在维护吗?

仓库最近一次更新为 9月8日,当前有 17 个未关闭 Issue;Star 数为 1.6k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

A dark and light Neovim theme written in fennel, inspired by IBM Carbon.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
1852
价值分
1019
活跃状态
活跃

语言占比

Fennel
Lua

README

oxocarbon.nvim

Note: The old rust version can be found on the rust branch of this repository

Oxocarbon is looking for ports! If you’re a user of another editor or tool, join our discord to learn more about porting oxocarbon to other applications. https://discord.gg/M528tDKXRG

A dark and light Neovim theme written in fennel, inspired by IBM Carbon. This is the reference implementation of the oxocarbon theme.

The color palette expands on Nyoom’s unique aesthetic and represents a contemporary and ever-changing IBM. Balancing mankind and machine, the colors are harmonious with nature, yet chosen for their luminous quality in the digital world. The oxocarbon color palette is a subset of the broader IBM palette.

The colorscheme is centered around a vibrant set of blues, combined with an industrial set of grays. The full palette extends from the blue family to the edges of the blue spectrum—even the reds contain a hint of blue.

The resulting palette is a set of colors that portrays a singular IBM. Of the world and digital. Useful and judicious. Having multiple gray families gives each design the opportunity for nuance and meaningful moments of color. Each experience should be dominated by the grays and the core colors of black, white, and the blue family, allowing the other color families to have vibrancy and provide purpose.

merged

image

Features

  • Support for popular plugins, such as Lsp, Treesitter, and Semantic Highlighting
  • Fast and Featureful. Supports all the highlights you’ll ever need without making a dent on startuptime
  • Uses Termguicolors but its compatible with 16-color terminals as well

Plugin support

The colorscheme explicitly adds highlights for the following plugins:

  • Vim Diagnostics
  • Vim LSP
  • Nvim-Treesitter
  • Telescope
  • Nvim-Notify
  • Nvim-Cmp
  • NvimTree
  • Neogit
  • Gitsigns
  • Hydra
  • Flash

And many others should “just work!” If you have a plugin that needs explicit highlights, feel free to open an issue or PR and I would be happy to add them.

Install

Lazy.nvim

return {
  "nyoom-engineering/oxocarbon.nvim",
  build = false,
  -- Add in any other configuration; 
  --   event = foo, 
  --   config = bar
  --   end,
}

vim.pack

vim.pack.add({"https://github.com/nyoom-engineering/oxocarbon.nvim"})

rocks.nvim

Using the command:

:Rocks install oxocarbon.nvim

Adding it to your rocks.toml:

[plugins]
"oxocarbon.nvim" = { version = "scm-1", opt = true }

Usage

vim.opt.background = "dark" -- set this to dark or light
vim.cmd.colorscheme "oxocarbon"

You can also add a transparent background by adding the following lines after colorscheme:

vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
vim.api.nvim_set_hl(0, "NormalNC", { bg = "none" })

Development

You’ll need a POSIX-compliant system as well as fennel.

Workflow

  • Fork the project
  • Make changes in the files under fnl/
  • Compile your changes by running fennel make.fnl
  • Make a PR

License

The project is licensed under the MIT license

评论

暂无评论