Coder Social home page Coder Social logo

batpigandme / night-owlish Goto Github PK

View Code? Open in Web Editor NEW
151.0 4.0 60.0 425 KB

πŸŒ™πŸ¦‰ An RStudio, tmThemes, and Ace editor adaptation of @sdras' Night Owl VS Code theme…

License: MIT License

CSS 77.13% JavaScript 22.87%
syntax-highlighting theme dark-theme rstudio-theme rstheme

night-owlish's Introduction

Night Owlish πŸŒ™πŸ¦‰

A tmTheme, Ace editor, and rstheme adaptation† of @sdras' Night Owl VS Code theme…

  • Theme for Ace editor generated using .tmtheme import instructions found here (plus some manual modifications to .css file).

  • Theme for RStudio IDE generated using the theme importer in RStudio preview and daily builds, with modifications to .rstheme file.

Night owlish in RStudio 🌌

Syntax highlighting in R

night owlish R syntax highlighting

Syntax highlight in RMarkdown

night-owlish syntax highlighting in RMarkdown

Installation notes

If you have RStudio β‰₯ 1.2, you can directly import the .rstheme file in the RStudio IDE!

See RStudio IDE Custom Theme Support for a pictorial step-by-step, or Creating Custom Themes for RStudio if you want to learn more.

You can also download and apply the theme programmatically by running:

rstudioapi::addTheme("https://raw.githubusercontent.com/batpigandme/night-owlish/master/rstheme/night-owlish.rstheme", apply = TRUE)

To install, but not apply the theme, just switch the apply argument to FALSE.

🌌 Enjoy

† Full disclosure: I don't actually use TextMate β€” this was but a means to an end, as RStudio (which uses Ace) allows you to import tmThemes. If it looks terrible, and you have fixes please submit a PR! πŸ™

night-owlish's People

Contributors

batpigandme avatar haozhu233 avatar hlynurhallgrims avatar vladtarko avatar z3tt 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

night-owlish's Issues

Highlighting citation keys

Thanks for the awesome theme! I just tried it and I love it! There are a couple of things that I wonder can you improve it?

To see this, create a new RMarkdown file within RStudio, then add the following sentence in the body.

This is an R Markdown document [@citation]. And (_italic with blank within parathese immediately_).
( _italic with blank within parathese with heading space_).

image

Can you change the color of the citation key? Also, the italic within parenthesis without a heading space does not work.

Thanks!

Adding color for .ace_invisible

The whitespace characters default to a rather "in your face" color value.

For those who use the optional whitespace characters, this is what it looks like in the current theme.

image

Adding this: (see: #6)

.ace_invisible {
	color: rgba(135, 156, 173, 0.4);
}  

Gives this look.

image

Just a thought πŸ˜ƒ

Theme is not working anymore in RStudio 2021.09.2

Issue:
The preview in RStudio is just black text with background and after applying the theme every window has got dark grey background with black text.

Steps to reproduce:

  1. Download night-owlish.rstheme
  2. Add it in RStudio 2021.09.2: Options > Appearance > Editor theme > Add...
  3. Choose Night Owl

2022-02-06 19_46_59_RStudio

Theme will not import in Rstudio Daily Build

Hi there, I get a error when I try to add your theme:

image

In the console I get:
Error in regexpr(pattern, text, ignore.case = ignore.case, useBytes = useBytes, :
invalid input '

Using RStduio 1.2.1327 on Windows 10.

Thanks

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.