GithubHelp home page GithubHelp logo

kaiuri / nvim-juliana Goto Github PK

View Code? Open in Web Editor NEW
92.0 3.0 10.0 4.07 MB

Port of Sublime's Mariana Theme to Neovim for short attention span devs.

License: MIT License

Lua 100.00%
colorscheme editor-plugin lua neovim vim

nvim-juliana's Introduction

NOTICE: This project has been archived (2024-01-25).

nvim-juliana

Port of Sublime's Mariana Theme for Neovim for short attention span devs with Tree-sitter support.

πŸ“Έ Screenshot

mariana

🎨 Palette

name hex name hex
fg1 #ffffff fg2 #d8dee9
fg3 #a6acb9 fg4 #46525c
bg1 #444e59 selection_bg #3f4750
bg2 #303841 bg3 #2e353e
diff_text #373f48 diff_change #585249
diff_remove #4f434a text_fg #d9d9d9
yellow1 #fac761 yellow2 #f9ae58
yellow3 #ee932b green #99c794
magenta #c695c6 orange #f97b58
red1 #c76b70 red2 #ec5f66
blue1 #95b2d6 blue2 #5c99d6
cyan1 #87c7c7 cyan2 #5fb4b4

⚑️ Requirements

πŸ“¦ Installation

Plug it with your favorite plugin manager.

use { 'kaiuri/nvim-juliana',
  config = function()
    require 'nvim-juliana'.setup { --[=[ configuration --]=] }
  end
}
--- then
vim.cmd 'colo juliana'
{
  'kaiuri/nvim-juliana',
  lazy = false,
  opts = { --[=[ configuration --]=] },
  config = true,
}

πŸ›  Configuration

{
  colors = {
    bg1          = '#444e59',
    bg2          = '#303841',
    bg3          = '#2e353e',
    blue1        = '#95b2d6',
    blue2        = '#5c99d6',
    cyan1        = '#87c7c7',
    cyan2        = '#5fb4b4',
    diff_add     = '#41525a',
    diff_change  = '#585249',
    diff_remove  = '#4f434a',
    diff_text    = '#373f48',
    fg1          = '#ffffff',
    fg2          = '#d8dee9',
    fg3          = '#a6acb9',
    fg4          = '#46525c',
    green        = '#99c794',
    magenta      = '#c695c6',
    orange       = '#f97b58',
    red1         = '#c76b70',
    red2         = '#ec5f66',
    selection_bg = '#3f4750',
    text_fg      = '#d9d9d9',
    yellow1      = '#fac761',
    yellow2      = '#f9ae58',
    yellow3      = '#ee932b',
  }
}

To get the theme's palette, you can use the colors() function:

require('nvim-juliana').colors()

🎨 Examples

You can also set it to use other palettes like, for example:

Gruvbox

snippet
---@generic K: "light" | "dark"
---@param mode K
local gruvbox = function(mode)
  ---@param tbl table<`K`, string>
  ---@return string
  local function pick(tbl)
    return tbl[mode]
  end
  return {
    bg1          = pick { light = '#fff7d5', dark = '#32302e' },
    bg2          = pick { light = '#fff5cb', dark = '#282828' },
    bg3          = pick { light = '#fff2bc', dark = '#242424' },
    blue1        = pick { light = '#076578', dark = '#83a598' },
    blue2        = pick { light = '#074f78', dark = '#458588' },
    cyan1        = pick { light = '#689d69', dark = '#8ec07c' },
    cyan2        = pick { light = '#23693e', dark = '#689d6a' },
    diff_add     = pick { light = '#c7d4c4', dark = '#343427' },
    diff_change  = pick { light = '#eadba9', dark = '#3e3428' },
    diff_remove  = pick { light = '#eac4a9', dark = '#3c2828' },
    diff_text    = pick { light = '#ffe789', dark = '#32302e' },
    fg1          = pick { light = '#282828', dark = '#fff5cb' },
    fg2          = pick { light = '#353535', dark = '#ebdbb2' },
    fg3          = pick { light = '#797467', dark = '#928374' },
    fg4          = pick { light = '#938e80', dark = '#665c54' },
    green        = pick { light = '#228b22', dark = '#a8a920' },
    magenta      = pick { light = '#8f3f71', dark = '#c2748f' },
    orange       = pick { light = '#f71d05', dark = '#fb4834' },
    red1         = pick { light = '#cc241d', dark = '#d44333' },
    red2         = pick { light = '#9d0006', dark = '#cc231d' },
    selection_bg = pick { light = '#ffeda3', dark = '#423d39' },
    text_fg      = pick { light = '#282828', dark = '#eadbb5' },
    yellow1      = pick { light = '#cba200', dark = '#fabd2f' },
    yellow2      = pick { light = '#ab7b1a', dark = '#e8ab28' },
    yellow3      = pick { light = '#996814', dark = '#d79a21' },
  }
end

require('nvim-juliana').setup (
  { colors = gruvbox('dark') }
)
vim.cmd.colorscheme 'juliana'
gruvbox_darkgruvbox_light

🧩 Plugin Support

πŸ›’ Extras

  • statusline: nvim-juliana provides some statusline highlight groups:

    Highlight Group Color
    StatusBlack #a6acb9
    StatusRed #ec5f66
    StatusGreen #99c794
    StatusYellow #f9ae58
    StatusBlue #5c99d6
    StatusMagenta #c695c6
    StatusCyan #5fb4b4
    StatusWhite #d8dee9
    StatusOrange #f97b58
  • Alacritty: There's a theme for Alacritty available at extras.

πŸ“œ Contributing

  • If any language is being poorly supported, please make a new issue attached with an image of how that language looks on Sublime-Text.
  • If a plugin you use isn't rightly supported, please, make a new issue attached with a link to said plugin and I'll do my best to support it.
  • Issues that have been inactive for more than 10 days are considered stale and will be closed if they aren't bug related.
  • Use the Conventional Commits style for your commits, that's it.

Credits

nvim-juliana's People

Contributors

kaiuri avatar xiyaowong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nvim-juliana's Issues

Report error messages

It looks awesome. But in my neovim-nightly (v0.8.0-dev+532-g60604d6a9),it fails to launch:

图片

Rust looks weird

I'm using nvim 0.7, not sure if it matters

Sublime on the left, nvim on the right:
image

Plug support

Could the packer/lazy code be translated to Plug syntax as well? I believe many people would appreciate that.

add screenshots

Hello. It would be nice to see what it would look like without first installing it.
Thanks for the beautiful colorscheme!

Report error message

I'm on neovim 0.7.2, and I get this error message

Screen Shot 2022-07-19 at 18 40 28

I have also pinned the plugin to the latest commit as of right now, 95fc05d, sometimes it loads the background color, but still gives the error

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.