diff options
| author | Jieiku | 2022-06-09 21:57:10 -0700 |
|---|---|---|
| committer | Jieiku | 2022-06-09 21:57:10 -0700 |
| commit | ca22b6115b45931187ecc5e3001eb252ade169f3 (patch) | |
| tree | a02e99f5d438ab615d552ec4f42de256171261d8 | |
| parent | c66af97500f6213e8b3b30aec11b8d948b28156c (diff) | |
| download | abridge-ca22b6115b45931187ecc5e3001eb252ade169f3.tar.gz abridge-ca22b6115b45931187ecc5e3001eb252ade169f3.tar.bz2 abridge-ca22b6115b45931187ecc5e3001eb252ade169f3.zip | |
Add Theme Switcher
99 files changed, 6753 insertions, 7221 deletions
@@ -3,21 +3,19 @@ # Abridge Zola Theme -Abridge is a fast and lightweight Zola theme using semantic html, only ~6kb css before svg icons, no mandatory JS[*](https://github.com/Jieiku/abridge#contributing-and-philosophy), and perfect [Lighthouse](https://web.dev/measure/?url=https%3A%2F%2Fabridge.netlify.app) and [Observatory](https://observatory.mozilla.org/analyze/abridge.netlify.app) scores. +Abridge is a fast and lightweight Zola theme using semantic html, only ~6kb css before the svg icons and syntax highlighting css, no mandatory JS[*](https://github.com/Jieiku/abridge#contributing-and-philosophy), and perfect [Lighthouse](https://web.dev/measure/?url=https%3A%2F%2Fabridge.netlify.app) and [Observatory](https://observatory.mozilla.org/analyze/abridge.netlify.app) scores. -There is also an [Abridge-minimal](https://github.com/jieiku/abridge.css) Theme which is used to showcase the [abridge.css framework](https://github.com/Jieiku/abridge.css/tree/master/dist) +There is also [Abridge-minimal](https://github.com/jieiku/abridge.css) Theme which is used to showcase the [abridge.css framework](https://github.com/Jieiku/abridge.css/tree/master/dist) Maintainence of this project is made possible by all the <a href="https://github.com/Jieiku/abridge/graphs/contributors">contributors</a> and <a href="https://github.com/sponsors/Jieiku">sponsors</a>. If you'd like to sponsor this project and have your avatar or company logo appear below <a href="https://github.com/sponsors/Jieiku">click here</a>. 💖 <!-- sponsors --><a href="https://github.com/yugfletcher"><img src="https://github.com/yugfletcher.png" width="60px" alt="" /></a><!-- sponsors --> -</div> - --- -## Demo +**[View demo](https://abridge.netlify.app/)** -[https://abridge.netlify.app/](https://abridge.netlify.app/) +</div> ## Requirements @@ -85,8 +83,14 @@ The result should be: theme = "abridge" [markdown] extra_syntaxes_and_themes = ["highlight_themes", "themes/abridge/highlight_themes"] +highlight_code = true +highlight_theme = "css" ``` +By default abridge uses `highlight_theme = "css"`. + +This allows the code block light/dark mode to change with the rest of the site, this also prevents unsafe-inline for style-src in our CSP. + ### Step 4: Add new content You can copy the content from the theme directory to your project: @@ -114,6 +118,8 @@ You can customize your configurations, templates and content for yourself. Look at the `config.toml`, `content` files, and templates files in this repo for an idea. +Abridge does support a theme switcher for dark/light mode, but it is disabled by default because it reuires additional javascript. + ### Number of Items per page for pagination To change the number of items per page edit: `abridge/content/_index.md` and change the value for `paginate_by` @@ -131,10 +137,11 @@ $mb:1200px !default;// value at which to switch from fluid layout to using max-w Colors and style are handled by the sass files of [abridge.css](https://github.com/jieiku/abridge.css) -Abridge comes with two "Skins" each with their own auto, dark, and light modes. +Abridge comes with "Skins" each with their own auto, dark, light and switcher modes. Auto mode automatically displays a dark or light version depending on browser/OS settings. +Switcher mode automatically displays a dark or light version depending on browser/OS settings, and has a user clickable theme switcher, but it requires additional javascript. -The skin used on [the Demo](https://abridge.netlify.app/) uses primarily orange colors. +The skin used on [the Demo](https://abridge.netlify.app/) uses primarily orange colors, it the auto without the switcher. It is defined here: `/themes/abridge/sass/abridge.scss` There is also other variations, that you will see defined in this same directory. @@ -142,6 +149,26 @@ There is also other variations, that you will see defined in this same directory To change colors or fonts all you need to do is edit these files or duplicate them and create your own skin. Then in the root of your site type `zola build` which will regenerate your site, this is similar to what zola serve does, except it does not facilitate serving the site. +### Javascript Files, js_bundle and options + +These are the javascript files currently used by Abridge: + +- search_index.en.js: search index generated by zola at each build for elasticlunr. +- elasticlunr.min.js: search library for client side searching. +- search.js: to make use of elasticlunr from our sites search box for both suggestions and the results page. +- theme.js: very tiny script to facilitate local storage for the theme switcher. (never bundle, gets loaded separate) +- theme_button.js: tiny script for the theme switcher function when you click the theme switch button. +- prestyle.js: Used to preload css files `<link rel="preload"` - this script changes these to `<link rel="stylesheet"` once the page has finished loading, this allows us to load stylesheets for external fonts, fontawesome, or katex in a non blocking fashion. + +js_bundle is set to a javascript file with a bundle of multiple javascript files, this allows us to serve fewer javascript files (only the search index and the bundle). Included are a few of the likely most commonly used combinations, but you can generate these yourself using uglifyjs if you need to, there are examples in the config.toml, eg: + +`uglifyjs prestyle.js theme_button.js elasticlunr.min.js search.js -o abridge-switcher.min.js -c -m` + +- search.min.js - includes: elasticlunr, search. +- abridge.min.js - includes: prestyle, elasticlunr, search. +- abridge-switcher.min.js: includes: prestyle, theme_button, elasticlunr, search. + + ### Global Configuration There are some configuration options that you can customize in `config.toml`. @@ -204,7 +231,7 @@ The following options should be under the `[extra]` in `config.toml` - `js_search_index = "search_index.en.js"` - The search index file to include in the header, comment out to disable. - `js_search = "search.min.js"` - The search script file to include in the header, comment out to disable. - `rss_atom_feed = "atom.xml"` - The atom.xml rss file to include in the header. -- `stylesheet = "abridge.css"` - The stylesheet file to include in the header. +- `stylesheets = [ "abridge.css" ]` - The stylesheet file(s) to include in the header. - `fontawesome =` - Uncomment to enable fontawesome library, this will include the file in the header. - `fonts =` - Uncomment to load external fonts, they will be loaded in the header. - `math` - Set to true to load the Katex library, enabling the use of the [katex shortcode](https://abridge.netlify.app/overview-math/) @@ -288,19 +315,40 @@ thumbnail = "ferris-gesture.png" There are tools you can use to test your page SEO metadata, such as: [smallseotools.com](https://smallseotools.com/meta-tags-analyzer/) -### KaTeX and CSP +### KaTeX Math Notation -KaTeX unfortunately requires `script-src 'unsafe-inline'` in the Content Security Policy. This is a security vulnerability, so the demo site will not render KaTeX correctly because the demo site uses best security practices. +KaTeX can be used to display complex mathematics, it is a "Fast math typesetting for the web." -KaTeX js is designed to work even with dynamic content, but because Zola is a SSG it seems to me the best solution is to avoid using this javascript all-together, process our markdown files similar to how KaTeX autorender does, but do it during zola build. insert some `<span class="KaTeX_Main">` ...etc so that we basically render it during the build process. If complex mathematics were part of my daily life then I might be motivated to write such code for Zola. +You can see a demo of this here [this page](https://abridge.netlify.app/overview-math/). -You will also see [this page](https://abridge.netlify.app/overview-math/) rendered correctly if you git clone this repo and use zola serve because then there will be no Content Security Policy in place. +I recommend only enabling math on a per page bases in your post.md files, instead of in your main config.toml file. ### Templates All pages extend to `base.html`, and you can customize them as need. -## Optional Optimizations: +## Optional Performance Optimizations: + +### Theme-Switcher + +The theme switcher relies on javascript to work, it applies the .light class to the root documentElement. The file that handles this (theme.js) is tiny and optimized and it is the first file loaded in the head, so the performance hit is minimal, but it does still exist. Without the Theme switcher you can still use The automatic Theme, it works by using Browser/OS preference and works well enough for me, you can even install a [Firefox plugin](https://addons.mozilla.org/en-US/firefox/addon/theme-switcher-for-firefox/) to quickly switch between the two. By default the demo has the theme switcher enabled so that it can be evaluated. + +With the growing number of options and configuration it can get confusing. To disable the Theme Switcher, you would comment out the Switcher section and enable your choice in the No switcher section, for example: + +```toml +########## Switcher ########## (comment this block out if NOT using switcher): +#js_theme = "theme.min.js" # Separate Always, comment out if using -auto/-light/-dark stylesheet. (required for switcher) +#js_themeButton = "theme_button.js"# Bundleable +#js_bundle = "abridge-switcher.min.js"# Bundle JS File, comment out to disable (includes switcher) +#stylesheets = [ "abridge-switcher.css" ] # Orange Automatic Dark/Light Theme based on browser/system preference with switcher +#stylesheets = [ "abridge-blue-switcher.css" ] # Blue Automatic Night/Light Theme based on browser/system preference with switcher +#stylesheets = [ "abridge-blueshade-switcher.css" ] # BlueShade Automatic Night/Light Theme based on browser/system preference with switcher + +########## No Switcher ########## +#js_bundle = "search.min.js"# Bundle JS File, comment out to disable (search only: no switcher/prestyle) +js_bundle = "abridge.min.js"# Bundle JS File, comment out to disable (no switcher) +stylesheets = [ "abridge.css" ] # Orange Automatic Dark/Light Theme based on browser/system preference +``` ### Optimize PNG files: @@ -311,22 +359,38 @@ cd static oxipng -o max --strip all -a -Z *.png ``` -### Consolidate two search js files into one: +You can go even farther if you use leanify: -Optionally you can serve a single js file for the search instead of a separate index by combining the two: -(although I am not sure how to accomplish this if your using the theme as a submodule, maybe you can use a git action for this command depending on your hosting provider.) +git clone https://github.com/JayXon/Leanify +cd Leanify +make +sudo cp leanify /usr/local/bin/leanify +exit #launch new terminal +leanify -i 7777 *.{png,ico} -First comment out this line in config.toml: +Here is the results of using leanify on files previously processed with oxipng: -```toml -#js_search_index ="search_index.en.js -``` +Processing: android-chrome-192x192m.png +2.23 KB -> 2.22 KB Leanified: 11 B (0.48%) +Processing: android-chrome-192x192.png +2.51 KB -> 2.48 KB Leanified: 33 B (1.28%) +Processing: android-chrome-512x512.png +5.49 KB -> 5.25 KB Leanified: 241 B **(4.29%)** +Processing: apple-touch-icon.png +2.57 KB -> 2.54 KB Leanified: 30 B (1.14%) +Processing: banner.png +13.07 KB -> 12.93 KB Leanified: 138 B (1.03%) +Processing: mstile-150x150.png +2.24 KB -> 2.20 KB Leanified: 38 B (1.66%) +Processing: favicon-16x16.png +559 B -> 366 B Leanified: 193 B **(34.53%)** +Processing: favicon-32x32.png +969 B -> 663 B Leanified: 306 B **(31.58%)** +Processing: favicon.ico +2.59 KB -> 1.90 KB Leanified: 703 B **(26.53%)** + +Google lighthouse will often notice when your pictures could be more compressed, this may even help SEO. -Then build and uglifyjs: -```bash -zola build -uglifyjs search_index.en.js search.min.js -o search.min.js -c -m -``` ### Pre gzip content to serve with nginx: @@ -349,12 +413,15 @@ gzip_types text/plain text/css application/json application/javascript text/xml #gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript; ``` -Then you can gzip your files: +Then you can gzip/brotli your files: ```bash zola build -find ./public -type f -regextype posix-extended -regex '.*\.(htm|html|css|js|xml|xsl|txt|woff|woff2|svg|otf|eot|ttf)' -exec gzip -k -9 -f {} \; +find ~/.dev/abridge/public -type f -regextype posix-extended -regex '.*\.(htm|html|css|js|xml|xsl|txt|woff|woff2|svg|otf|eot|ttf)' -exec gzip --best -k -f {} \+ -exec brotli --best -f {} \; +rsync -zvrh ~/.dev/abridge/public/ web:/var/www/abridge ``` +Nginx does not come by default with brotli support, but adding it was not difficult. + ## Reporting Issues We use GitHub Issues as the official bug tracker for **abridge**. diff --git a/config.toml b/config.toml index b87826d..793a3ea 100644 --- a/config.toml +++ b/config.toml @@ -65,14 +65,12 @@ headhr = false # show or hide horizontal rule below header foothr = true # show or hide horizontal rule above footer menu = [ - {url = "/", name = "Home", slash = true}, {url = "/about/", name = "About", slash = true}, {url = "/posts/", name = "Posts", slash = true}, {url = "/categories/", name = "Categories", slash = true}, {url = "/tags/", name = "Tags", slash = true}, ] menu_footer = [ - {url = "/", name = "Home", slash = true}, {url = "/about/", name = "About", slash = true}, {url = "/contact/", name = "Contact", slash = true}, {url = "/privacy/", name = "Privacy", slash = true}, @@ -86,22 +84,47 @@ menu_footer = [ #security_header_referrer = "strict-origin-when-cross-origin" -#security_header_csp = "default-src 'none'; frame-ancestors 'none'; object-src 'none'; base-uri 'self'; manifest-src 'self'; connect-src 'self'; form-action 'self'; media-src 'self' data: cdn.cloudflare.com www.youtube-nocookie.com player.vimeo.com; frame-src 'self' www.youtube-nocookie.com player.vimeo.com; font-src 'self' cdn.cloudflare.com cdn.jsdelivr.net fonts.gstatic.com; img-src 'self' data: cdn.cloudflare.com; style-src 'self' 'unsafe-inline' cdn.cloudflare.com cdn.jsdelivr.net fonts.googleapis.com; script-src 'self' www.youtube-nocookie.com player.vimeo.com" +#security_header_csp = "default-src 'none'; frame-ancestors 'none'; object-src 'none'; base-uri 'self'; manifest-src 'self'; connect-src 'self'; form-action 'self'; script-src 'self'; img-src 'self' data: cdn.cloudflare.com; frame-src 'self' www.youtube-nocookie.com player.vimeo.com; media-src 'self' data: cdn.cloudflare.com www.youtube-nocookie.com player.vimeo.com; font-src 'self' cdn.cloudflare.com cdn.jsdelivr.net fonts.gstatic.com; style-src 'self' 'unsafe-inline' cdn.cloudflare.com cdn.jsdelivr.net fonts.googleapis.com;" ################# # Resource Files ################# -banner = "banner.png" # Used as default image for OpenGraph/Twitter if page specific image is undefined. -js_search_index = "search_index.en.js" -js_search = "search.min.js" -stylesheet = "abridge.css" # location and file to use for stylesheet: -# abridge.css - Orange Automatic Dark/Light Theme based on browser/system preference. -# abridge-dark.css - Orange Dark Theme -# abridge-light.css - Orange Light Theme -# abridge-blue.css - Blue Automatic Night/Light Theme based on browser/system preference. -# abridge-bluelight.css - Blue Light Theme -# abridge-bluenight.css - Blue Dark Theme +js_search_index = "search_index.en.js" # Separate Always, generated each build +js_prestyle = "prestyle.js"# Bundleable - used to preload: FontAwesome, Katex, external Google Fonts +js_search = [ "elasticlunr.min.js", "search.js" ]# Bundleable + +########## Switcher ########## (comment this block out if NOT using switcher): +js_theme = "theme.min.js" # Separate Always, comment out if using -auto/-light/-dark stylesheet. (required for switcher) +js_themeButton = "theme_button.js"# Bundleable +js_bundle = "abridge-switcher.min.js"# Bundle JS File, comment out to disable (includes switcher) +stylesheets = [ "abridge-switcher.css" ] # Orange Automatic Dark/Light Theme based on browser/system preference with switcher +#stylesheets = [ "abridge-blue-switcher.css" ] # Blue Automatic Night/Light Theme based on browser/system preference with switcher +#stylesheets = [ "abridge-blueshade-switcher.css" ] # BlueShade Automatic Night/Light Theme based on browser/system preference with switcher + +########## No Switcher ########## +#js_bundle = "search.min.js"# Bundle JS File, comment out to disable (search only: no switcher/prestyle) +#js_bundle = "abridge.min.js"# Bundle JS File, comment out to disable (no switcher) +#stylesheets = [ "abridge.css" ] # Orange Automatic Dark/Light Theme based on browser/system preference +#stylesheets = [ "abridge-blue.css" ] # Blue Automatic Night/Light Theme based on browser/system preference +#stylesheets = [ "abridge-blueshade.css" ] # BlueShade Automatic Night/Light Theme based on browser/system preference +#stylesheets = [ "abridge-dark.css" ] # Orange Dark Theme +#stylesheets = [ "abridge-light.css" ] # Orange Light Theme +#stylesheets = [ "abridge-blue-dark.css" ] # Blue Dark Theme +#stylesheets = [ "abridge-blue-light.css" ] # Blue Light Theme +#stylesheets = [ "abridge-blueshade-dark.css" ] # BlueShade Dark Theme +#stylesheets = [ "abridge-blueshade-light.css" ] # BlueShade Light Theme +#stylesheets = [ "abridge.css", "extra.css" ] # example loading extra css + +# If you have js_bundle set, then Bundleable js files are ignored (it's assumed you bundled them). +# You can include whatever js you want in your bundle. just generate your file like below and place in your sites root static directory: +# cd mysite/themes/abridge/static +# search: uglifyjs elasticlunr.min.js search.js -o search.min.js -c -m +# noswitcher: uglifyjs prestyle.js elasticlunr.min.js search.js -o abridge.min.js -c -m +# ALL: uglifyjs prestyle.js theme_button.js elasticlunr.min.js search.js -o abridge-switcher.min.js -c -m +# theme: uglifyjs theme.js -o theme.min.js -c -m + +banner = "banner.png" # Used as default image for OpenGraph/Twitter if page specific image is undefined. # favicons, comment out a line to disable loading some or all of these. favicon_theme_color = "#333333" favicon_ms_color = "#333333" @@ -115,20 +138,16 @@ favicon16 = "favicon-16x16.png" # favicon-16x16.png # Uncomment below line to load fontawesome, eg: <i class="fa-solid fa-heart"></i> #fontawesome = "https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.1/css/all.min.css" -# Externally using googleapis for fonts gets you a Free CDN, AND may already be cached by the end user. -# Sometimes the font you want is not available by googleapis, or you only want to load local resources. -# For Locally loaded fonts review: abridge/sass/skins/_abridge_fonts.scss - # For externally loaded Fonts, make sure to include the FULL url including the http/https prefix #fonts = [ {url = "https://fonts.googleapis.com/css?family=Montserrat:400,700,italic|Fira+Code:400,italic"} ] # Local fonts are defined in the css, defining them here only adds the preload tag to the head. -# preload will eliminate Content Layout Shift, but will hurt with page load time. +# preload will eliminate Content Layout Shift, but will hurt with page load time. (not recommended) #fonts = [ # {url = "font/FiraCode.woff2"}, -# {url = "font/Jost.woff2"}, -# {url = "font/Jost-italic.woff2"}, -# {url = "font/Jost-Bold.woff2"}, +# {url = "font/Roboto.woff2"}, +# {url = "font/Roboto-Italic.woff2"}, +# {url = "font/Roboto-Bold.woff2"}, #] math = false # katex math js library, used to to render mathematical notations, requires javascript @@ -143,7 +162,7 @@ katex_css = "katex.min.css" # Fonts - to load the css locally, you also need to katex_js = "katex.min.js" # use local js, so that we dont have to whitelist cdn.jsdelivr.net for script src in CSP mathtex_js = "mathtex-script-type.min.js" # use local js, so that we dont have to whitelist cdn.jsdelivr.net for script src in CSP katex_autorender_js = "auto-render.min.js" - +katex_options = "katexoptions.js" ########################## # meta/seo/analytic tags diff --git a/content/overview-abridge.md b/content/overview-abridge.md index 408e500..147740c 100644 --- a/content/overview-abridge.md +++ b/content/overview-abridge.md @@ -7,7 +7,7 @@ categories = ["Features"] tags = ["config"] +++ -Abridge is a fast and lightweight Zola theme using semantic html, only ~6kb css before svg icons, no mandatory JS, and perfect [Lighthouse](https://web.dev/measure/?url=https%3A%2F%2Fabridge.netlify.app) and [Observatory](https://observatory.mozilla.org/analyze/abridge.netlify.app) scores. +Abridge is a fast and lightweight Zola theme using semantic html, only ~6kb css before svg icons and syntax highlighting, no mandatory JS, and perfect [Lighthouse](https://web.dev/measure/?url=https%3A%2F%2Fabridge.netlify.app) and [Observatory](https://observatory.mozilla.org/analyze/abridge.netlify.app) scores. <!-- more --> For quick setup copy the config.toml from the abridge theme into the root of your zola site, this will give you a base configuration with all config values used. diff --git a/content/overview-code-blocks.md b/content/overview-code-blocks.md index 7a9c835..16c3409 100644 --- a/content/overview-code-blocks.md +++ b/content/overview-code-blocks.md @@ -120,12 +120,12 @@ $_SESSION['PFA_token'] = md5(uniqid("pfa" . rand(), true)); { "name": "Abridge Zola Theme", "short_name": "Abridge", - "start_url": "https://abridge.netlify.app/", "description": "Fast & Lightweight Zola Theme", + "start_url": "/index.html", "scope": "/", - "display": "standalone", - "theme_color": "#222222", "background_color": "#111111", + "theme_color": "#222222", + "display": "standalone", "icons": [ { "src": "/android-chrome-192x192.png", @@ -138,7 +138,7 @@ $_SESSION['PFA_token'] = md5(uniqid("pfa" . rand(), true)); "type": "image/png" }, { - "src": "/android-chrome-192x192x128m.png", + "src": "/android-chrome-192x192m.png", "sizes": "192x192", "type": "image/png", "purpose": "maskable" diff --git a/content/overview-math/index.md b/content/overview-math.md index 88f5df4..2e704da 100644 --- a/content/overview-math/index.md +++ b/content/overview-math.md @@ -16,15 +16,6 @@ You can use [KaTeX](https://katex.org) to render mathematical notations. You can enable the $\KaTeX$ support globally, per-section or per-page basis. <!-- more --> -# CSP Note - -KaTeX unfortunately requires `script-src 'unsafe-inline'` in the Content Security Policy. This is a security vulnerability, so this page will not render KaTeX correctly because this demo site uses best security practices. I have taken a picture below to show you what some of these formulas look like should you enable KaTeX. - -KaTeX js is designed to work even with dynamic content, but because Zola is a SSG it seems to me the best solution is to avoid using this javascript all-together, process our markdown files similar to how KaTeX autorender does, but do it during zola build. insert some `<span class="KaTeX_Main">` ...etc so that we basically render it during the build process. If complex mathematics were part of my daily life then I might be motivated to write such code for Zola. - -You will also see this page rendered correctly if you git clone this repo and use `zola serve` because then there will be no Content Security Policy in place. - -{{ img(src="katex.png" alt="KaTeX" w=568 h=1014) }} ## Enable Globally diff --git a/content/overview-math/katex.png b/content/overview-math/katex.png Binary files differdeleted file mode 100644 index acfb6ac..0000000 --- a/content/overview-math/katex.png +++ /dev/null diff --git a/dist/syntect.css b/dist/syntect.css new file mode 100644 index 0000000..4c0e4b0 --- /dev/null +++ b/dist/syntect.css @@ -0,0 +1 @@ +.z-code{color:#bfbab0;background-color:#191919}.z-comment,.z-punctuation.z-definition.z-comment{color:#798491;font-style:italic}.z-variable{color:#bfbab0}.z-string,.z-constant.z-other.z-symbol{color:#c2d94c}.z-constant.z-numeric{color:#f29718}.z-string.z-regexp,.z-constant.z-character.z-escape{color:#95e6cb}.z-constant.z-language{color:#f29718}.z-constant.z-character,.z-constant.z-other{color:#f29718}.z-variable.z-member{color:#ff7d82}.z-keyword,.z-keyword.z-operator.z-word{color:#00bbff}.z-keyword.z-operator{color:#f29668}.z-punctuation.z-separator,.z-punctuation.z-terminator{color:#bfbab0}.z-punctuation.z-section{color:#bfbab0}.z-punctuation.z-accessor{color:#f29668}.z-punctuation.z-definition.z-annotation{color:#bfbab0}.z-variable.z-other.z-dollar.z-only.z-js,.z-variable.z-other.z-object.z-dollar.z-only.z-js,.z-variable.z-type.z-dollar.z-only.z-js,.z-support.z-class.z-dollar.z-only.z-js{color:#e6b673}.z-storage{color:#00bbff}.z-storage.z-type{color:#00bbff}.z-entity.z-name.z-function{color:#ffb454}.z-entity.z-name,.z-entity.z-name.z-tag,.z-entity.z-name.z-label{color:#59c2ff}.z-entity.z-other.z-inherited-class{color:#59c2ff;text-decoration:underline}.z-variable.z-parameter{color:#f29718}.z-variable.z-language{color:#39bae6;font-style:italic}.z-entity.z-name.z-tag,.z-meta.z-tag.z-sgml{color:#39bae6}.z-punctuation.z-definition.z-tag.z-end,.z-punctuation.z-definition.z-tag.z-begin,.z-punctuation.z-definition.z-tag{color:#39bae6}.z-entity.z-other.z-attribute-name{color:#ffb454}.z-variable.z-function,.z-variable.z-annotation{color:#ffb454}.z-support.z-function,.z-support.z-macro{color:#fe7d83}.z-support.z-constant{color:#f29668;font-style:italic}.z-support.z-type,.z-support.z-class{color:#39bae6;font-style:italic}.z-invalid{color:#ff7c6d}.z-invalid.z-deprecated{color:#ffffff;background-color:#00bbff}.z-meta.z-diff,.z-meta.z-diff.z-header{color:#c594c5}.z-source.z-ruby .z-variable.z-other.z-readwrite{color:#ffb454}.z-source.z-css .z-entity.z-name.z-tag,.z-source.z-sass .z-entity.z-name.z-tag,.z-source.z-scss .z-entity.z-name.z-tag,.z-source.z-less .z-entity.z-name.z-tag,.z-source.z-stylus .z-entity.z-name.z-tag{color:#59c2ff}.z-source.z-css .z-support.z-type,.z-source.z-sass .z-support.z-type,.z-source.z-scss .z-support.z-type,.z-source.z-less .z-support.z-type,.z-source.z-stylus .z-support.z-type{color:#798491}.z-support.z-type.z-property-name{color:#39bae6}.z-constant.z-numeric.z-line-number.z-find-in-files{color:#798491}.z-constant.z-numeric.z-line-number.z-match{color:#00bbff}.z-entity.z-name.z-filename.z-find-in-files{color:#c2d94c}.z-message.z-error{color:#ff7c6d}.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json,.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string{color:#39bae6}.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json,.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string{color:#39bae6}.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json,.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string{color:#39bae6}.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json,.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string{color:#39bae6}.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json,.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string{color:#39bae6}.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json,.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string{color:#39bae6}.z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json,.z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string{color:#39bae6}.z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json,.z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string{color:#39bae6}.z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json,.z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string{color:#39bae6}.z-markup.z-heading{color:#00bbff;font-weight:bold}.z-string.z-other.z-link,.z-markup.z-underline.z-link{color:#95e6cb;text-decoration:underline;font-style:italic}.z-punctuation.z-definition.z-image{color:#ffb454}.z-markup.z-italic{color:#fe7d83;font-style:italic}.z-markup.z-bold{color:#fe7d83;font-weight:bold}.z-markup.z-italic .z-markup.z-bold,.z-markup.z-bold .z-markup.z-italic{font-weight:bold;font-style:italic}.z-markup.z-raw{background-color:#bfbab0}.z-markup.z-raw.z-inline{background-color:#bfbab0}.z-meta.z-separator{color:#798491;background-color:#bfbab0;font-weight:bold}.z-markup.z-quote{color:#f29718;font-style:italic}.z-markup.z-list.z-numbered.z-bullet,.z-markup.z-list .z-punctuation.z-definition.z-list_item{color:#95e6cb}.z-markup.z-inserted{color:#c2d94c}.z-markup.z-changed{color:#39bae6}.z-markup.z-deleted{color:#fe7d83}.z-markup.z-strike{color:#e6b673}.z-markup.z-table{color:#39bae6;background-color:#bfbab0}.z-text.z-html.z-markdown .z-markup.z-raw.z-inline{color:#f29668}.z-text.z-html.z-markdown .z-meta.z-dummy.z-line-break{color:#798491}.z-markup.z-raw.z-block.z-fenced.z-markdown{color:#bfbab0;background-color:#bfbab0}.z-punctuation.z-definition.z-fenced.z-markdown,.z-variable.z-language.z-fenced.z-markdown{color:#798491;background-color:#bfbab0}.z-variable.z-language.z-fenced.z-markdown{color:#798491}.z-markup.z-inserted.z-git_gutter{color:#c2d94c}.z-markup.z-changed.z-git_gutter{color:#39bae6}.z-markup.z-deleted.z-git_gutter{color:#ff7c6d}.z-markup.z-ignored.z-git_gutter{color:#20272c}.z-markup.z-untracked.z-git_gutter{color:#20272c}.z-gutter_color{color:#ffffff}.z-acejump.z-label.z-blue{color:#ffffff;background-color:#39bae6}.z-acejump.z-label.z-green{color:#ffffff;background-color:#c2d94c}.z-acejump.z-label.z-orange{color:#ffffff;background-color:#00bbff}.z-acejump.z-label.z-purple{color:#ffffff;background-color:#fe7d83}.z-sublimelinter.z-mark.z-warning{color:#39bae6}.z-sublimelinter.z-gutter-mark{color:#ffffff}.z-sublimelinter.z-mark.z-error{color:#ff7c6d} diff --git a/highlight_themes/abridge-light.tmTheme b/highlight_themes/abridge-light.tmTheme index 95a9157..e102160 100644 --- a/highlight_themes/abridge-light.tmTheme +++ b/highlight_themes/abridge-light.tmTheme @@ -20,23 +20,23 @@ <key>activeGuide</key> <string>#B9BCBF</string> <key>background</key> - <string>#FAFAFA</string> + <string>#ffffff</string> <key>caret</key> <string>#b85500</string> <key>findHighlight</key> <string>#b85500</string> <key>findHighlightForeground</key> - <string>#FAFAFA</string> + <string>#ffffff</string> <key>foreground</key> <string>#50565a</string> <key>guide</key> <string>#DEE0E1</string> <key>gutter</key> - <string>#FAFAFA</string> + <string>#ffffff</string> <key>gutterForeground</key> <string>#D9DBDD</string> <key>inactiveBackground</key> - <string>#FAFAFA</string> + <string>#ffffff</string> <key>inactiveSelection</key> <string>#ECF4F9</string> <key>invisibles</key> @@ -45,7 +45,7 @@ <string>#F3F3F3</string> <key>popupCss</key> <string>html, body { - background-color: #fafafa; + background-color: #ffffff; color: #50565a; } body { diff --git a/highlight_themes/abridge-white.tmTheme b/highlight_themes/abridge-white.tmTheme deleted file mode 100644 index e102160..0000000 --- a/highlight_themes/abridge-white.tmTheme +++ /dev/null @@ -1,1025 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> -<plist version="1.0"> -<dict> - <key>author</key> - <string>Ike Ku</string> - <key>colorSpaceName</key> - <string>sRGB</string> - <key>name</key> - <string>ayu</string> - <key>semanticClass</key> - <string>ayu.light</string> - <key>settings</key> - <array> - <dict> - <key>settings</key> - <dict> - <key>accent</key> - <string>#b85500</string> - <key>activeGuide</key> - <string>#B9BCBF</string> - <key>background</key> - <string>#ffffff</string> - <key>caret</key> - <string>#b85500</string> - <key>findHighlight</key> - <string>#b85500</string> - <key>findHighlightForeground</key> - <string>#ffffff</string> - <key>foreground</key> - <string>#50565a</string> - <key>guide</key> - <string>#DEE0E1</string> - <key>gutter</key> - <string>#ffffff</string> - <key>gutterForeground</key> - <string>#D9DBDD</string> - <key>inactiveBackground</key> - <string>#ffffff</string> - <key>inactiveSelection</key> - <string>#ECF4F9</string> - <key>invisibles</key> - <string>#D9DBDD</string> - <key>lineHighlight</key> - <string>#F3F3F3</string> - <key>popupCss</key> - <string>html, body { - background-color: #ffffff; - color: #50565a; -} -body { - padding: 1px 3px; -} -a { - color: rgba(85, 180, 212, .7); -} -</string> - <key>selection</key> - <string>#E9F2F8</string> - <key>selectionBorder</key> - <string>#E3EFF8</string> - <key>shadow</key> - <string>#00000010</string> - <key>stackGuide</key> - <string>#DEE0E1</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Comment</string> - <key>scope</key> - <string>comment, punctuation.definition.comment</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#6e7379</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Variable</string> - <key>scope</key> - <string>variable</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#50565a</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>String</string> - <key>scope</key> - <string>string, constant.other.symbol</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#507e00</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Number</string> - <key>scope</key> - <string>constant.numeric</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#b85500</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Regular Expressions and Escape Characters</string> - <key>scope</key> - <string>string.regexp, constant.character.escape</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#008260</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Built-in constant</string> - <key>scope</key> - <string>constant.language</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#b85500</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>User-defined constant</string> - <key>scope</key> - <string>constant.character, constant.other</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#b85500</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Member Variable</string> - <key>scope</key> - <string>variable.member</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#cb414d</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Keyword</string> - <key>scope</key> - <string>keyword - keyword.operator, keyword.operator.word</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#0066ee</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Operators</string> - <key>scope</key> - <string>keyword.operator</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#ac5c32</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Punctuation</string> - <key>scope</key> - <string>punctuation.separator, punctuation.terminator</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#50565aCC</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Punctuation</string> - <key>scope</key> - <string>punctuation.section</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#50565a</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Accessor</string> - <key>scope</key> - <string>punctuation.accessor</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#ac5c32</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Annotation Punctuation</string> - <key>scope</key> - <string>punctuation.definition.annotation</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#50565aCC</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JavaScript Dollar</string> - <key>scope</key> - <string>variable.other.dollar.only.js, variable.other.object.dollar.only.js, variable.type.dollar.only.js, support.class.dollar.only.js</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#936b2c</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Storage</string> - <key>scope</key> - <string>storage</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#0066ee</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Storage type</string> - <key>scope</key> - <string>storage.type</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#0066ee</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Function name</string> - <key>scope</key> - <string>entity.name.function</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#ac5d00</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Entity name</string> - <key>scope</key> - <string>entity.name - (entity.name.section | entity.name.tag | entity.name.label)</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#0079bd</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Inherited class</string> - <key>scope</key> - <string>entity.other.inherited-class</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>underline</string> - <key>foreground</key> - <string>#0079bd</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Function argument</string> - <key>scope</key> - <string>variable.parameter</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#b85500</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Language variable</string> - <key>scope</key> - <string>variable.language</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Tag</string> - <key>scope</key> - <string>entity.name.tag, meta.tag.sgml</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Tag start/end</string> - <key>scope</key> - <string>punctuation.definition.tag.end, punctuation.definition.tag.begin, punctuation.definition.tag</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Tag attribute</string> - <key>scope</key> - <string>entity.other.attribute-name</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#ac5d00</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Function call</string> - <key>scope</key> - <string>variable.function, variable.annotation</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#ac5d00</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Library function</string> - <key>scope</key> - <string>support.function, support.macro</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#c44a4e</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Library constant</string> - <key>scope</key> - <string>support.constant</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#ac5c32</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Library class/type</string> - <key>scope</key> - <string>support.type, support.class</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Invalid</string> - <key>scope</key> - <string>invalid</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#e6000b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Invalid deprecated</string> - <key>scope</key> - <string>invalid.deprecated</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#0066ee</string> - <key>foreground</key> - <string>#FFFFFF</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>diff.header</string> - <key>scope</key> - <string>meta.diff, meta.diff.header</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>##916392</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Ruby class methods</string> - <key>scope</key> - <string>source.ruby variable.other.readwrite</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#ac5d00</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>CSS tag names</string> - <key>scope</key> - <string>source.css entity.name.tag, source.sass entity.name.tag, source.scss entity.name.tag, source.less entity.name.tag, source.stylus entity.name.tag</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#0079bd</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>CSS browser prefix</string> - <key>scope</key> - <string>source.css support.type, source.sass support.type, source.scss support.type, source.less support.type, source.stylus support.type</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#6e7379</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>CSS Properties</string> - <key>scope</key> - <string>support.type.property-name</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>normal</string> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Search Results Nums</string> - <key>scope</key> - <string>constant.numeric.line-number.find-in-files - match</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#6e7379</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Search Results Match Nums</string> - <key>scope</key> - <string>constant.numeric.line-number.match</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#0066ee</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Search Results Lines</string> - <key>scope</key> - <string>entity.name.filename.find-in-files</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#507e00</string> - </dict> - </dict> - <dict> - <key>scope</key> - <string>message.error</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#e6000b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 8</string> - <key>scope</key> - <string>source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 7</string> - <key>scope</key> - <string>source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 6</string> - <key>scope</key> - <string>source.json meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 5</string> - <key>scope</key> - <string>source.json meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 4</string> - <key>scope</key> - <string>source.json meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 3</string> - <key>scope</key> - <string>source.json meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 2</string> - <key>scope</key> - <string>source.json meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 1</string> - <key>scope</key> - <string>source.json meta meta.structure.dictionary.json string.quoted.double.json - meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta.structure.dictionary.json punctuation.definition.string - meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 0</string> - <key>scope</key> - <string>source.json meta.structure.dictionary.json string.quoted.double.json - meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta.structure.dictionary.json punctuation.definition.string - meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Heading</string> - <key>scope</key> - <string>markup.heading</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>bold</string> - <key>foreground</key> - <string>#0066ee</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Links</string> - <key>scope</key> - <string>string.other.link, markup.underline.link</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic underline</string> - <key>foreground</key> - <string>#008260</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup image</string> - <key>scope</key> - <string>punctuation.definition.image</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#ac5d00</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Italic</string> - <key>scope</key> - <string>markup.italic</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#c44a4e</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Bold</string> - <key>scope</key> - <string>markup.bold</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>bold</string> - <key>foreground</key> - <string>#c44a4e</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Bold/italic</string> - <key>scope</key> - <string>markup.italic markup.bold | markup.bold markup.italic</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>bold italic</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Code</string> - <key>scope</key> - <string>markup.raw</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#50565a07</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Code Inline</string> - <key>scope</key> - <string>markup.raw.inline</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#50565a10</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown Separator</string> - <key>scope</key> - <string>meta.separator</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#50565a10</string> - <key>fontStyle</key> - <string>bold</string> - <key>foreground</key> - <string>#6e7379</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Blockquote</string> - <key>scope</key> - <string>markup.quote</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#b85500</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup List Bullet</string> - <key>scope</key> - <string>markup.list.numbered.bullet, markup.list punctuation.definition.list_item</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#008260</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Inserted</string> - <key>scope</key> - <string>markup.inserted</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#507e00</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Changed</string> - <key>scope</key> - <string>markup.changed</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Deleted</string> - <key>scope</key> - <string>markup.deleted</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#c44a4e</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Strike</string> - <key>scope</key> - <string>markup.strike</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#936b2c</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Table</string> - <key>scope</key> - <string>markup.table</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#50565a10</string> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Raw Inline</string> - <key>scope</key> - <string>text.html.markdown markup.raw.inline</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#ac5c32</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown - Line Break</string> - <key>scope</key> - <string>text.html.markdown meta.dummy.line-break</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#6e7379</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown - Raw Block Fenced</string> - <key>scope</key> - <string>markup.raw.block.fenced.markdown</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#50565a10</string> - <key>foreground</key> - <string>#50565a</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown - Fenced Bode Block</string> - <key>scope</key> - <string>punctuation.definition.fenced.markdown, variable.language.fenced.markdown</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#50565a10</string> - <key>foreground</key> - <string>#6e7379</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown - Fenced Language</string> - <key>scope</key> - <string>variable.language.fenced.markdown</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#6e7379</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>GitGutter Added</string> - <key>scope</key> - <string>markup.inserted.git_gutter</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#507e00</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>GitGutter Changed</string> - <key>scope</key> - <string>markup.changed.git_gutter</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>GitGutter Deleted</string> - <key>scope</key> - <string>markup.deleted.git_gutter</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#e6000b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>GitGutter Ignored</string> - <key>scope</key> - <string>markup.ignored.git_gutter</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#DEE0E1</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>GitGutter Untracked</string> - <key>scope</key> - <string>markup.untracked.git_gutter</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#DEE0E1</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>GutterColor</string> - <key>scope</key> - <string>gutter_color</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#FFFFFF</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>AceJump Label - Blue</string> - <key>scope</key> - <string>acejump.label.blue</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#007d9b</string> - <key>foreground</key> - <string>#FFFFFF</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>AceJump Label - Green</string> - <key>scope</key> - <string>acejump.label.green</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#507e00</string> - <key>foreground</key> - <string>#FFFFFF</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>AceJump Label - Orange</string> - <key>scope</key> - <string>acejump.label.orange</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#0066ee</string> - <key>foreground</key> - <string>#FFFFFF</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>AceJump Label - Purple</string> - <key>scope</key> - <string>acejump.label.purple</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#c44a4e</string> - <key>foreground</key> - <string>#FFFFFF</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>SublimeLinter Warning</string> - <key>scope</key> - <string>sublimelinter.mark.warning</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>SublimeLinter Gutter Mark</string> - <key>scope</key> - <string>sublimelinter.gutter-mark</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#FFFFFF</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>SublimeLinter Error</string> - <key>scope</key> - <string>sublimelinter.mark.error</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#e6000b</string> - </dict> - </dict> - </array> - <key>uuid</key> - <string>0e709986-46a0-40a0-b3bf-c8dfe525c455</string> -</dict> -</plist> diff --git a/highlight_themes/ayu-light-abridge.tmTheme b/highlight_themes/ayu-light-abridge.tmTheme index 3454106..8a9cecb 100644 --- a/highlight_themes/ayu-light-abridge.tmTheme +++ b/highlight_themes/ayu-light-abridge.tmTheme @@ -20,23 +20,23 @@ <key>activeGuide</key> <string>#B9BCBF</string> <key>background</key> - <string>#FAFAFA</string> + <string>#ffffff</string> <key>caret</key> <string>#b85500</string> <key>findHighlight</key> <string>#b85500</string> <key>findHighlightForeground</key> - <string>#FAFAFA</string> + <string>#ffffff</string> <key>foreground</key> <string>#61676C</string> <key>guide</key> <string>#DEE0E1</string> <key>gutter</key> - <string>#FAFAFA</string> + <string>#ffffff</string> <key>gutterForeground</key> <string>#D9DBDD</string> <key>inactiveBackground</key> - <string>#FAFAFA</string> + <string>#ffffff</string> <key>inactiveSelection</key> <string>#ECF4F9</string> <key>invisibles</key> @@ -45,7 +45,7 @@ <string>#F3F3F3</string> <key>popupCss</key> <string>html, body { - background-color: #fafafa; + background-color: #ffffff; color: #61676C; } body { diff --git a/highlight_themes/ayu-white-abridge.tmTheme b/highlight_themes/ayu-white-abridge.tmTheme deleted file mode 100644 index 8a9cecb..0000000 --- a/highlight_themes/ayu-white-abridge.tmTheme +++ /dev/null @@ -1,1025 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> -<plist version="1.0"> -<dict> - <key>author</key> - <string>Ike Ku</string> - <key>colorSpaceName</key> - <string>sRGB</string> - <key>name</key> - <string>ayu</string> - <key>semanticClass</key> - <string>ayu.light</string> - <key>settings</key> - <array> - <dict> - <key>settings</key> - <dict> - <key>accent</key> - <string>#b85500</string> - <key>activeGuide</key> - <string>#B9BCBF</string> - <key>background</key> - <string>#ffffff</string> - <key>caret</key> - <string>#b85500</string> - <key>findHighlight</key> - <string>#b85500</string> - <key>findHighlightForeground</key> - <string>#ffffff</string> - <key>foreground</key> - <string>#61676C</string> - <key>guide</key> - <string>#DEE0E1</string> - <key>gutter</key> - <string>#ffffff</string> - <key>gutterForeground</key> - <string>#D9DBDD</string> - <key>inactiveBackground</key> - <string>#ffffff</string> - <key>inactiveSelection</key> - <string>#ECF4F9</string> - <key>invisibles</key> - <string>#D9DBDD</string> - <key>lineHighlight</key> - <string>#F3F3F3</string> - <key>popupCss</key> - <string>html, body { - background-color: #ffffff; - color: #61676C; -} -body { - padding: 1px 3px; -} -a { - color: rgba(85, 180, 212, .7); -} -</string> - <key>selection</key> - <string>#E9F2F8</string> - <key>selectionBorder</key> - <string>#E3EFF8</string> - <key>shadow</key> - <string>#00000010</string> - <key>stackGuide</key> - <string>#DEE0E1</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Comment</string> - <key>scope</key> - <string>comment, punctuation.definition.comment</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#6e7379</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Variable</string> - <key>scope</key> - <string>variable</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#61676C</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>String</string> - <key>scope</key> - <string>string, constant.other.symbol</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#507e00</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Number</string> - <key>scope</key> - <string>constant.numeric</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#b85500</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Regular Expressions and Escape Characters</string> - <key>scope</key> - <string>string.regexp, constant.character.escape</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#008260</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Built-in constant</string> - <key>scope</key> - <string>constant.language</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#b85500</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>User-defined constant</string> - <key>scope</key> - <string>constant.character, constant.other</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#b85500</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Member Variable</string> - <key>scope</key> - <string>variable.member</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#cb414d</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Keyword</string> - <key>scope</key> - <string>keyword - keyword.operator, keyword.operator.word</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#c94506</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Operators</string> - <key>scope</key> - <string>keyword.operator</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#ac5c32</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Punctuation</string> - <key>scope</key> - <string>punctuation.separator, punctuation.terminator</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#61676CCC</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Punctuation</string> - <key>scope</key> - <string>punctuation.section</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#61676C</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Accessor</string> - <key>scope</key> - <string>punctuation.accessor</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#ac5c32</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Annotation Punctuation</string> - <key>scope</key> - <string>punctuation.definition.annotation</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#61676CCC</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JavaScript Dollar</string> - <key>scope</key> - <string>variable.other.dollar.only.js, variable.other.object.dollar.only.js, variable.type.dollar.only.js, support.class.dollar.only.js</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#936b2c</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Storage</string> - <key>scope</key> - <string>storage</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#c94506</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Storage type</string> - <key>scope</key> - <string>storage.type</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#c94506</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Function name</string> - <key>scope</key> - <string>entity.name.function</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#ac5d00</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Entity name</string> - <key>scope</key> - <string>entity.name - (entity.name.section | entity.name.tag | entity.name.label)</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#0079bd</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Inherited class</string> - <key>scope</key> - <string>entity.other.inherited-class</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>underline</string> - <key>foreground</key> - <string>#0079bd</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Function argument</string> - <key>scope</key> - <string>variable.parameter</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#b85500</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Language variable</string> - <key>scope</key> - <string>variable.language</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Tag</string> - <key>scope</key> - <string>entity.name.tag, meta.tag.sgml</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Tag start/end</string> - <key>scope</key> - <string>punctuation.definition.tag.end, punctuation.definition.tag.begin, punctuation.definition.tag</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d9b90</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Tag attribute</string> - <key>scope</key> - <string>entity.other.attribute-name</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#ac5d00</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Function call</string> - <key>scope</key> - <string>variable.function, variable.annotation</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#ac5d00</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Library function</string> - <key>scope</key> - <string>support.function, support.macro</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#c44a4e</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Library constant</string> - <key>scope</key> - <string>support.constant</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#ac5c32</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Library class/type</string> - <key>scope</key> - <string>support.type, support.class</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Invalid</string> - <key>scope</key> - <string>invalid</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#e6000b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Invalid deprecated</string> - <key>scope</key> - <string>invalid.deprecated</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#c94506</string> - <key>foreground</key> - <string>#FFFFFF</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>diff.header</string> - <key>scope</key> - <string>meta.diff, meta.diff.header</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>##916392</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Ruby class methods</string> - <key>scope</key> - <string>source.ruby variable.other.readwrite</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#ac5d00</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>CSS tag names</string> - <key>scope</key> - <string>source.css entity.name.tag, source.sass entity.name.tag, source.scss entity.name.tag, source.less entity.name.tag, source.stylus entity.name.tag</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#0079bd</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>CSS browser prefix</string> - <key>scope</key> - <string>source.css support.type, source.sass support.type, source.scss support.type, source.less support.type, source.stylus support.type</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#6e7379</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>CSS Properties</string> - <key>scope</key> - <string>support.type.property-name</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>normal</string> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Search Results Nums</string> - <key>scope</key> - <string>constant.numeric.line-number.find-in-files - match</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#6e7379</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Search Results Match Nums</string> - <key>scope</key> - <string>constant.numeric.line-number.match</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#c94506</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Search Results Lines</string> - <key>scope</key> - <string>entity.name.filename.find-in-files</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#507e00</string> - </dict> - </dict> - <dict> - <key>scope</key> - <string>message.error</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#e6000b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 8</string> - <key>scope</key> - <string>source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 7</string> - <key>scope</key> - <string>source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 6</string> - <key>scope</key> - <string>source.json meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 5</string> - <key>scope</key> - <string>source.json meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 4</string> - <key>scope</key> - <string>source.json meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 3</string> - <key>scope</key> - <string>source.json meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 2</string> - <key>scope</key> - <string>source.json meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 1</string> - <key>scope</key> - <string>source.json meta meta.structure.dictionary.json string.quoted.double.json - meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta.structure.dictionary.json punctuation.definition.string - meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 0</string> - <key>scope</key> - <string>source.json meta.structure.dictionary.json string.quoted.double.json - meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta.structure.dictionary.json punctuation.definition.string - meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Heading</string> - <key>scope</key> - <string>markup.heading</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>bold</string> - <key>foreground</key> - <string>#c94506</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Links</string> - <key>scope</key> - <string>string.other.link, markup.underline.link</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic underline</string> - <key>foreground</key> - <string>#008260</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup image</string> - <key>scope</key> - <string>punctuation.definition.image</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#ac5d00</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Italic</string> - <key>scope</key> - <string>markup.italic</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#c44a4e</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Bold</string> - <key>scope</key> - <string>markup.bold</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>bold</string> - <key>foreground</key> - <string>#c44a4e</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Bold/italic</string> - <key>scope</key> - <string>markup.italic markup.bold | markup.bold markup.italic</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>bold italic</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Code</string> - <key>scope</key> - <string>markup.raw</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#61676C07</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Code Inline</string> - <key>scope</key> - <string>markup.raw.inline</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#61676C10</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown Separator</string> - <key>scope</key> - <string>meta.separator</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#61676C10</string> - <key>fontStyle</key> - <string>bold</string> - <key>foreground</key> - <string>#6e7379</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Blockquote</string> - <key>scope</key> - <string>markup.quote</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#b85500</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup List Bullet</string> - <key>scope</key> - <string>markup.list.numbered.bullet, markup.list punctuation.definition.list_item</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#008260</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Inserted</string> - <key>scope</key> - <string>markup.inserted</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#507e00</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Changed</string> - <key>scope</key> - <string>markup.changed</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Deleted</string> - <key>scope</key> - <string>markup.deleted</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#c44a4e</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Strike</string> - <key>scope</key> - <string>markup.strike</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#936b2c</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Table</string> - <key>scope</key> - <string>markup.table</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#61676C10</string> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Raw Inline</string> - <key>scope</key> - <string>text.html.markdown markup.raw.inline</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#ac5c32</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown - Line Break</string> - <key>scope</key> - <string>text.html.markdown meta.dummy.line-break</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#6e7379</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown - Raw Block Fenced</string> - <key>scope</key> - <string>markup.raw.block.fenced.markdown</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#61676C10</string> - <key>foreground</key> - <string>#61676C</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown - Fenced Bode Block</string> - <key>scope</key> - <string>punctuation.definition.fenced.markdown, variable.language.fenced.markdown</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#61676C10</string> - <key>foreground</key> - <string>#6e7379</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown - Fenced Language</string> - <key>scope</key> - <string>variable.language.fenced.markdown</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#6e7379</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>GitGutter Added</string> - <key>scope</key> - <string>markup.inserted.git_gutter</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#507e00</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>GitGutter Changed</string> - <key>scope</key> - <string>markup.changed.git_gutter</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>GitGutter Deleted</string> - <key>scope</key> - <string>markup.deleted.git_gutter</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#e6000b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>GitGutter Ignored</string> - <key>scope</key> - <string>markup.ignored.git_gutter</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#DEE0E1</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>GitGutter Untracked</string> - <key>scope</key> - <string>markup.untracked.git_gutter</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#DEE0E1</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>GutterColor</string> - <key>scope</key> - <string>gutter_color</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#FFFFFF</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>AceJump Label - Blue</string> - <key>scope</key> - <string>acejump.label.blue</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#007d9b</string> - <key>foreground</key> - <string>#FFFFFF</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>AceJump Label - Green</string> - <key>scope</key> - <string>acejump.label.green</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#507e00</string> - <key>foreground</key> - <string>#FFFFFF</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>AceJump Label - Orange</string> - <key>scope</key> - <string>acejump.label.orange</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#c94506</string> - <key>foreground</key> - <string>#FFFFFF</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>AceJump Label - Purple</string> - <key>scope</key> - <string>acejump.label.purple</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#c44a4e</string> - <key>foreground</key> - <string>#FFFFFF</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>SublimeLinter Warning</string> - <key>scope</key> - <string>sublimelinter.mark.warning</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d9b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>SublimeLinter Gutter Mark</string> - <key>scope</key> - <string>sublimelinter.gutter-mark</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#FFFFFF</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>SublimeLinter Error</string> - <key>scope</key> - <string>sublimelinter.mark.error</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#e6000b</string> - </dict> - </dict> - </array> - <key>uuid</key> - <string>0e709986-46a0-40a0-b3bf-c8dfe525c455</string> -</dict> -</plist> diff --git a/highlight_themes/ayu_mirage-light-abridge.tmTheme b/highlight_themes/ayu_mirage-light-abridge.tmTheme index 77a6c41..7043227 100644 --- a/highlight_themes/ayu_mirage-light-abridge.tmTheme +++ b/highlight_themes/ayu_mirage-light-abridge.tmTheme @@ -20,23 +20,23 @@ <key>activeGuide</key> <string>#515C69</string> <key>background</key> - <string>#fafafa</string> + <string>#ffffff</string> <key>caret</key> <string>#926b00</string> <key>findHighlight</key> <string>#926b00</string> <key>findHighlightForeground</key> - <string>#fafafa</string> + <string>#ffffff</string> <key>foreground</key> <string>#76736d</string> <key>guide</key> <string>#363E4A</string> <key>gutter</key> - <string>#fafafa</string> + <string>#ffffff</string> <key>gutterForeground</key> <string>#39424E</string> <key>inactiveBackground</key> - <string>#fafafa</string> + <string>#ffffff</string> <key>inactiveSelection</key> <string>#283543</string> <key>invisibles</key> @@ -415,7 +415,7 @@ a { <key>background</key> <string>#aa5f0f</string> <key>foreground</key> - <string>#FAFAFA</string> + <string>#ffffff</string> </dict> </dict> <dict> @@ -930,7 +930,7 @@ a { <key>settings</key> <dict> <key>foreground</key> - <string>#FAFAFA</string> + <string>#ffffff</string> </dict> </dict> <dict> @@ -943,7 +943,7 @@ a { <key>background</key> <string>#007f95</string> <key>foreground</key> - <string>#FAFAFA</string> + <string>#ffffff</string> </dict> </dict> <dict> @@ -956,7 +956,7 @@ a { <key>background</key> <string>#547f1c</string> <key>foreground</key> - <string>#FAFAFA</string> + <string>#ffffff</string> </dict> </dict> <dict> @@ -969,7 +969,7 @@ a { <key>background</key> <string>#aa5f0f</string> <key>foreground</key> - <string>#FAFAFA</string> + <string>#ffffff</string> </dict> </dict> <dict> @@ -982,7 +982,7 @@ a { <key>background</key> <string>#b75349</string> <key>foreground</key> - <string>#FAFAFA</string> + <string>#ffffff</string> </dict> </dict> <dict> @@ -1004,7 +1004,7 @@ a { <key>settings</key> <dict> <key>foreground</key> - <string>#FAFAFA</string> + <string>#ffffff</string> </dict> </dict> <dict> diff --git a/highlight_themes/ayu_mirage-white-abridge.tmTheme b/highlight_themes/ayu_mirage-white-abridge.tmTheme deleted file mode 100644 index 7043227..0000000 --- a/highlight_themes/ayu_mirage-white-abridge.tmTheme +++ /dev/null @@ -1,1025 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> -<plist version="1.0"> -<dict> - <key>author</key> - <string>Ike Ku</string> - <key>colorSpaceName</key> - <string>sRGB</string> - <key>name</key> - <string>ayu</string> - <key>semanticClass</key> - <string>ayu.mirage</string> - <key>settings</key> - <array> - <dict> - <key>settings</key> - <dict> - <key>accent</key> - <string>#926b00</string> - <key>activeGuide</key> - <string>#515C69</string> - <key>background</key> - <string>#ffffff</string> - <key>caret</key> - <string>#926b00</string> - <key>findHighlight</key> - <string>#926b00</string> - <key>findHighlightForeground</key> - <string>#ffffff</string> - <key>foreground</key> - <string>#76736d</string> - <key>guide</key> - <string>#363E4A</string> - <key>gutter</key> - <string>#ffffff</string> - <key>gutterForeground</key> - <string>#39424E</string> - <key>inactiveBackground</key> - <string>#ffffff</string> - <key>inactiveSelection</key> - <string>#283543</string> - <key>invisibles</key> - <string>#39424E</string> - <key>lineHighlight</key> - <string>#1C222C</string> - <key>popupCss</key> - <string>html, body { - background-color: #262C38; - color: #76736d; -} -body { - padding: 1px 3px; -} -a { - color: rgba(92, 207, 230, .7); -} -</string> - <key>selection</key> - <string>#293847</string> - <key>selectionBorder</key> - <string>#2C3D4E</string> - <key>shadow</key> - <string>#00000010</string> - <key>stackGuide</key> - <string>#363E4A</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Comment</string> - <key>scope</key> - <string>comment, punctuation.definition.comment</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#5C6773</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Variable</string> - <key>scope</key> - <string>variable</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#76736d</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>String</string> - <key>scope</key> - <string>string, constant.other.symbol</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#547f1c</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Number</string> - <key>scope</key> - <string>constant.numeric</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#926b00</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Regular Expressions and Escape Characters</string> - <key>scope</key> - <string>string.regexp, constant.character.escape</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#2d7f68</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Built-in constant</string> - <key>scope</key> - <string>constant.language</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#926b00</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>User-defined constant</string> - <key>scope</key> - <string>constant.character, constant.other</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#926b00</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Member Variable</string> - <key>scope</key> - <string>variable.member</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#cb414d</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Keyword</string> - <key>scope</key> - <string>keyword - keyword.operator, keyword.operator.word</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#aa5f0f</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Operators</string> - <key>scope</key> - <string>keyword.operator</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#aa5f39</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Punctuation</string> - <key>scope</key> - <string>punctuation.separator, punctuation.terminator</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#76736dCC</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Punctuation</string> - <key>scope</key> - <string>punctuation.section</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#76736d</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Accessor</string> - <key>scope</key> - <string>punctuation.accessor</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#aa5f39</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Annotation Punctuation</string> - <key>scope</key> - <string>punctuation.definition.annotation</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#76736dCC</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JavaScript Dollar</string> - <key>scope</key> - <string>variable.other.dollar.only.js, variable.other.object.dollar.only.js, variable.type.dollar.only.js, support.class.dollar.only.js</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#986b00</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Storage</string> - <key>scope</key> - <string>storage</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#aa5f0f</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Storage type</string> - <key>scope</key> - <string>storage.type</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#aa5f0f</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Function name</string> - <key>scope</key> - <string>entity.name.function</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#8f6f1d</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Entity name</string> - <key>scope</key> - <string>entity.name - (entity.name.section | entity.name.tag | entity.name.label)</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007ca7</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Inherited class</string> - <key>scope</key> - <string>entity.other.inherited-class</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>underline</string> - <key>foreground</key> - <string>#007ca7</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Function argument</string> - <key>scope</key> - <string>variable.parameter</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#926b00</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Language variable</string> - <key>scope</key> - <string>variable.language</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#007f95</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Tag</string> - <key>scope</key> - <string>entity.name.tag, meta.tag.sgml</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007f95</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Tag start/end</string> - <key>scope</key> - <string>punctuation.definition.tag.end, punctuation.definition.tag.begin, punctuation.definition.tag</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007f9590</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Tag attribute</string> - <key>scope</key> - <string>entity.other.attribute-name</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#8f6f1d</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Function call</string> - <key>scope</key> - <string>variable.function, variable.annotation</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#8f6f1d</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Library function</string> - <key>scope</key> - <string>support.function, support.macro</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#b75349</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Library constant</string> - <key>scope</key> - <string>support.constant</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#aa5f39</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Library class/type</string> - <key>scope</key> - <string>support.type, support.class</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#007f95</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Invalid</string> - <key>scope</key> - <string>invalid</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#e40320</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Invalid deprecated</string> - <key>scope</key> - <string>invalid.deprecated</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#aa5f0f</string> - <key>foreground</key> - <string>#ffffff</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>diff.header</string> - <key>scope</key> - <string>meta.diff, meta.diff.header</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#916392</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Ruby class methods</string> - <key>scope</key> - <string>source.ruby variable.other.readwrite</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#8f6f1d</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>CSS tag names</string> - <key>scope</key> - <string>source.css entity.name.tag, source.sass entity.name.tag, source.scss entity.name.tag, source.less entity.name.tag, source.stylus entity.name.tag</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007ca7</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>CSS browser prefix</string> - <key>scope</key> - <string>source.css support.type, source.sass support.type, source.scss support.type, source.less support.type, source.stylus support.type</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#5C6773</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>CSS Properties</string> - <key>scope</key> - <string>support.type.property-name</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>normal</string> - <key>foreground</key> - <string>#007f95</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Search Results Nums</string> - <key>scope</key> - <string>constant.numeric.line-number.find-in-files - match</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#5C6773</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Search Results Match Nums</string> - <key>scope</key> - <string>constant.numeric.line-number.match</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#aa5f0f</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Search Results Lines</string> - <key>scope</key> - <string>entity.name.filename.find-in-files</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#547f1c</string> - </dict> - </dict> - <dict> - <key>scope</key> - <string>message.error</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#e40320</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 8</string> - <key>scope</key> - <string>source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007f95</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 7</string> - <key>scope</key> - <string>source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007f95</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 6</string> - <key>scope</key> - <string>source.json meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007f95</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 5</string> - <key>scope</key> - <string>source.json meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007f95</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 4</string> - <key>scope</key> - <string>source.json meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007f95</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 3</string> - <key>scope</key> - <string>source.json meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007f95</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 2</string> - <key>scope</key> - <string>source.json meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007f95</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 1</string> - <key>scope</key> - <string>source.json meta meta.structure.dictionary.json string.quoted.double.json - meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta.structure.dictionary.json punctuation.definition.string - meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007f95</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 0</string> - <key>scope</key> - <string>source.json meta.structure.dictionary.json string.quoted.double.json - meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta.structure.dictionary.json punctuation.definition.string - meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007f95</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Heading</string> - <key>scope</key> - <string>markup.heading</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>bold</string> - <key>foreground</key> - <string>#aa5f0f</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Links</string> - <key>scope</key> - <string>string.other.link, markup.underline.link</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic underline</string> - <key>foreground</key> - <string>#2d7f68</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup image</string> - <key>scope</key> - <string>punctuation.definition.image</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#8f6f1d</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Italic</string> - <key>scope</key> - <string>markup.italic</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#b75349</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Bold</string> - <key>scope</key> - <string>markup.bold</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>bold</string> - <key>foreground</key> - <string>#b75349</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Bold/italic</string> - <key>scope</key> - <string>markup.italic markup.bold | markup.bold markup.italic</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>bold italic</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Code</string> - <key>scope</key> - <string>markup.raw</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#76736d07</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Code Inline</string> - <key>scope</key> - <string>markup.raw.inline</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#76736d10</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown Separator</string> - <key>scope</key> - <string>meta.separator</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#76736d10</string> - <key>fontStyle</key> - <string>bold</string> - <key>foreground</key> - <string>#5C6773</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Blockquote</string> - <key>scope</key> - <string>markup.quote</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#926b00</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup List Bullet</string> - <key>scope</key> - <string>markup.list.numbered.bullet, markup.list punctuation.definition.list_item</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#2d7f68</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Inserted</string> - <key>scope</key> - <string>markup.inserted</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#547f1c</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Changed</string> - <key>scope</key> - <string>markup.changed</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007f95</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Deleted</string> - <key>scope</key> - <string>markup.deleted</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#b75349</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Strike</string> - <key>scope</key> - <string>markup.strike</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#986b00</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Table</string> - <key>scope</key> - <string>markup.table</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#76736d10</string> - <key>foreground</key> - <string>#007f95</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup Raw Inline</string> - <key>scope</key> - <string>text.html.markdown markup.raw.inline</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#aa5f39</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown - Line Break</string> - <key>scope</key> - <string>text.html.markdown meta.dummy.line-break</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#5C6773</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown - Raw Block Fenced</string> - <key>scope</key> - <string>markup.raw.block.fenced.markdown</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#76736d10</string> - <key>foreground</key> - <string>#76736d</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown - Fenced Bode Block</string> - <key>scope</key> - <string>punctuation.definition.fenced.markdown, variable.language.fenced.markdown</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#76736d10</string> - <key>foreground</key> - <string>#5C6773</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown - Fenced Language</string> - <key>scope</key> - <string>variable.language.fenced.markdown</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#5C6773</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>GitGutter Added</string> - <key>scope</key> - <string>markup.inserted.git_gutter</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#547f1c</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>GitGutter Changed</string> - <key>scope</key> - <string>markup.changed.git_gutter</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007f95</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>GitGutter Deleted</string> - <key>scope</key> - <string>markup.deleted.git_gutter</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#e40320</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>GitGutter Ignored</string> - <key>scope</key> - <string>markup.ignored.git_gutter</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#363E4A</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>GitGutter Untracked</string> - <key>scope</key> - <string>markup.untracked.git_gutter</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#363E4A</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>GutterColor</string> - <key>scope</key> - <string>gutter_color</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#ffffff</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>AceJump Label - Blue</string> - <key>scope</key> - <string>acejump.label.blue</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#007f95</string> - <key>foreground</key> - <string>#ffffff</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>AceJump Label - Green</string> - <key>scope</key> - <string>acejump.label.green</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#547f1c</string> - <key>foreground</key> - <string>#ffffff</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>AceJump Label - Orange</string> - <key>scope</key> - <string>acejump.label.orange</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#aa5f0f</string> - <key>foreground</key> - <string>#ffffff</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>AceJump Label - Purple</string> - <key>scope</key> - <string>acejump.label.purple</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#b75349</string> - <key>foreground</key> - <string>#ffffff</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>SublimeLinter Warning</string> - <key>scope</key> - <string>sublimelinter.mark.warning</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007f95</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>SublimeLinter Gutter Mark</string> - <key>scope</key> - <string>sublimelinter.gutter-mark</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#ffffff</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>SublimeLinter Error</string> - <key>scope</key> - <string>sublimelinter.mark.error</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#e40320</string> - </dict> - </dict> - </array> - <key>uuid</key> - <string>0e709986-46a0-40a0-b3bf-c8dfe525c455</string> -</dict> -</plist> diff --git a/highlight_themes/charcoal-light-abridge.tmTheme b/highlight_themes/charcoal-light-abridge.tmTheme index 8715e76..c0313f4 100644 --- a/highlight_themes/charcoal-light-abridge.tmTheme +++ b/highlight_themes/charcoal-light-abridge.tmTheme @@ -13,9 +13,9 @@ <key>gutterSettings</key> <dict> <key>background</key> - <string>#fafafa</string> + <string>#ffffff</string> <key>divider</key> - <string>#fafafa</string> + <string>#ffffff</string> <key>foreground</key> <string>#727373</string> <key>selectionBackground</key> @@ -33,7 +33,7 @@ <key>settings</key> <dict> <key>background</key> - <string>#fafafa</string> + <string>#ffffff</string> <key>caret</key> <string>#727373</string> <key>foreground</key> diff --git a/highlight_themes/charcoal-white-abridge.tmTheme b/highlight_themes/charcoal-white-abridge.tmTheme deleted file mode 100644 index c0313f4..0000000 --- a/highlight_themes/charcoal-white-abridge.tmTheme +++ /dev/null @@ -1,330 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> -<!-- Generated by: TmTheme-Editor --> -<!-- ============================================ --> -<!-- app: http://tmtheme-editor.herokuapp.com --> -<!-- code: https://github.com/aziz/tmTheme-Editor --> -<plist version="1.0"> -<dict> - <key>author</key> - <string>Don Steinert (http://www.dnld.cc)</string> - <key>colorSpaceName</key> - <string>sRGB</string> - <key>gutterSettings</key> - <dict> - <key>background</key> - <string>#ffffff</string> - <key>divider</key> - <string>#ffffff</string> - <key>foreground</key> - <string>#727373</string> - <key>selectionBackground</key> - <string>#3E4044</string> - <key>selectionForeground</key> - <string>#727373</string> - </dict> - <key>name</key> - <string>Charcoal</string> - <key>semanticClass</key> - <string>theme.dark.charcoal</string> - <key>settings</key> - <array> - <dict> - <key>settings</key> - <dict> - <key>background</key> - <string>#ffffff</string> - <key>caret</key> - <string>#727373</string> - <key>foreground</key> - <string>#727373</string> - <key>invisibles</key> - <string>#3E4044</string> - <key>lineHighlight</key> - <string>#3E4044</string> - <key>selection</key> - <string>#3E4044</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Comments</string> - <key>scope</key> - <string>comment, punctuation.definition.comment</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#5F6364</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Variable</string> - <key>scope</key> - <string>variable</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#727373</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Keyword, Storage</string> - <key>scope</key> - <string>keyword, storage.type, storage.modifier</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#916392</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Operator, Misc</string> - <key>scope</key> - <string>keyword.operator, constant.other.color, punctuation, meta.tag, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#237e7f</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Tag</string> - <key>scope</key> - <string>entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#ca4251</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Function, Special Method, Block Level</string> - <key>scope</key> - <string>entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method, meta.block-level</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#4076a7</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Other Variable, String Link</string> - <key>scope</key> - <string>support.other.variable, string.other.link</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#c14c52</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Number, Constant, Function Argument, Tag Attribute, Embedded</string> - <key>scope</key> - <string>constant.numeric, constant.language, support.constant, constant.character, variable.parameter, keyword.other.unit</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#b75922</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>String, Symbols, Inherited Class, Markup Heading</string> - <key>scope</key> - <string>string, constant.other.symbol, constant.other.key, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>normal</string> - <key>foreground</key> - <string>#517c4e</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Class, Support</string> - <key>scope</key> - <string>entity.name.class, entity.name.type.class, support.type, support.class, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#926c00</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Sub-methods</string> - <key>scope</key> - <string>entity.name.module.js, variable.import.parameter.js, variable.other.class.js</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#cb414d</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Language methods</string> - <key>scope</key> - <string>variable.language</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#cb414d</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>entity.name.method.js</string> - <key>scope</key> - <string>entity.name.method.js</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#6c727c</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>meta.method.js</string> - <key>scope</key> - <string>meta.class-method.js entity.name.function.js, variable.function.constructor</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#6c727c</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Attributes</string> - <key>scope</key> - <string>entity.other.attribute-name</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#996091</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Inserted</string> - <key>scope</key> - <string>markup.inserted</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#517c4e</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Deleted</string> - <key>scope</key> - <string>markup.deleted</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#cb414d</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Changed</string> - <key>scope</key> - <string>markup.changed</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#996091</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Regular Expressions</string> - <key>scope</key> - <string>string.regexp</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#237e7f</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Escape Characters</string> - <key>scope</key> - <string>constant.character.escape</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#237e7f</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>URL</string> - <key>scope</key> - <string>*url*, *link*, *uri*</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>underline</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Search Results Nums</string> - <key>scope</key> - <string>constant.numeric.line-number.find-in-files - match</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#976756</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Search Results Lines</string> - <key>scope</key> - <string>entity.name.filename.find-in-files</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#517c4e</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Decorators</string> - <key>scope</key> - <string>tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#4076a7</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>ES7 Bind Operator</string> - <key>scope</key> - <string>source.js constant.other.object.key.js string.unquoted.label.js</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#cb414d</string> - </dict> - </dict> - </array> - <key>uuid</key> - <string>091c9b5a-9e64-4001-8c15-4c7c42840eb4</string> -</dict> -</plist> diff --git a/highlight_themes/dracula-light-abridge.tmTheme b/highlight_themes/dracula-light-abridge.tmTheme index 77b5e01..d53b792 100644 --- a/highlight_themes/dracula-light-abridge.tmTheme +++ b/highlight_themes/dracula-light-abridge.tmTheme @@ -22,7 +22,7 @@ <key>settings</key> <dict> <key>background</key> - <string>#fafafa</string> + <string>#ffffff</string> <key>caret</key> <string>#72726b</string> <key>foreground</key> @@ -790,7 +790,7 @@ <key>settings</key> <dict> <key>foreground</key> - <string>#fafafa</string> + <string>#ffffff</string> </dict> </dict> <dict> @@ -801,7 +801,7 @@ <key>settings</key> <dict> <key>foreground</key> - <string>#fafafa</string> + <string>#ffffff</string> </dict> </dict> <dict> @@ -856,7 +856,7 @@ <key>settings</key> <dict> <key>foreground</key> - <string>#fafafa</string> + <string>#ffffff</string> </dict> </dict> <dict> @@ -900,7 +900,7 @@ <key>settings</key> <dict> <key>foreground</key> - <string>#fafafa</string> + <string>#ffffff</string> </dict> </dict> <dict> diff --git a/highlight_themes/dracula-white-abridge.tmTheme b/highlight_themes/dracula-white-abridge.tmTheme deleted file mode 100644 index d53b792..0000000 --- a/highlight_themes/dracula-white-abridge.tmTheme +++ /dev/null @@ -1,938 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<!-- Dracula Theme v1.4.2 -# -# https://github.com/dracula/sublime -# -# Copyright 2013-present, All rights reserved -# -# Code licensed under the MIT license -# -# @author Zeno Rocha <hi@zenorocha.com> ---> - -<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> -<plist version="1.0"> -<dict> - <key>name</key> - <string>Dracula</string> - <key>settings</key> - <array> - <dict> - <key>settings</key> - <dict> - <key>background</key> - <string>#ffffff</string> - <key>caret</key> - <string>#72726b</string> - <key>foreground</key> - <string>#72726d</string> - <key>invisibles</key> - <string>#3B3A32</string> - <key>lineHighlight</key> - <string>#44475a</string> - <key>selection</key> - <string>#44475a</string> - <key>findHighlight</key> - <string>#687900</string> - <key>findHighlightForeground</key> - <string>#000000</string> - <key>selectionBorder</key> - <string>#222218</string> - <key>activeGuide</key> - <string>#9D550FB0</string> - <key>bracketsForeground</key> - <string>#72726dA5</string> - <key>bracketsOptions</key> - <string>underline</string> - <key>bracketContentsForeground</key> - <string>#72726dA5</string> - <key>bracketContentsOptions</key> - <string>underline</string> - <key>tagsOptions</key> - <string>stippled_underline</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Comment</string> - <key>scope</key> - <string>comment</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#6272a4</string> - <key>fontStyle</key> - <string></string> - </dict> - </dict> - <dict> - <key>name</key> - <string>String</string> - <key>scope</key> - <string>string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#6b7807</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Number</string> - <key>scope</key> - <string>constant.numeric</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#8660c1</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Built-in constant</string> - <key>scope</key> - <string>constant.language</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#8660c1</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>User-defined constant</string> - <key>scope</key> - <string>constant.character, constant.other</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#8660c1</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Variable</string> - <key>scope</key> - <string>variable</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string></string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Ruby's @variable</string> - <key>scope</key> - <string>variable.other.readwrite.instance</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string></string> - <key>foreground</key> - <string>#a1661c</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>String interpolation</string> - <key>scope</key> - <string>constant.character.escaped, constant.character.escape, string source, string source.ruby</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string></string> - <key>foreground</key> - <string>#c13f8e</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Ruby Regexp</string> - <key>scope</key> - <string>source.ruby string.regexp.classic.ruby,source.ruby string.regexp.mod-r.ruby</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string></string> - <key>foreground</key> - <string>#d9303a</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Keyword</string> - <key>scope</key> - <string>keyword</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#c13f8e</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Storage</string> - <key>scope</key> - <string>storage</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string></string> - <key>foreground</key> - <string>#c13f8e</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Storage type</string> - <key>scope</key> - <string>storage.type</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#007d90</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Storage Type Namespace</string> - <key>scope</key> - <string>storage.type.namespace</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#007d90</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Storage Type Class</string> - <key>scope</key> - <string>storage.type.class</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#c13f8e</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Class name</string> - <key>scope</key> - <string>entity.name.class</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>underline</string> - <key>foreground</key> - <string>#007d90</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Meta Path</string> - <key>scope</key> - <string>meta.path</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>underline</string> - <key>foreground</key> - <string>#007f93</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Inherited class</string> - <key>scope</key> - <string>entity.other.inherited-class</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic underline</string> - <key>foreground</key> - <string>#007d90</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Function name</string> - <key>scope</key> - <string>entity.name.function</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string></string> - <key>foreground</key> - <string>#008504</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Function argument</string> - <key>scope</key> - <string>variable.parameter</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#a1661c</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Tag name</string> - <key>scope</key> - <string>entity.name.tag</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string></string> - <key>foreground</key> - <string>#c13f8e</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Tag attribute</string> - <key>scope</key> - <string>entity.other.attribute-name</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string></string> - <key>foreground</key> - <string>#008504</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Library function</string> - <key>scope</key> - <string>support.function</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string></string> - <key>foreground</key> - <string>#007d90</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Library constant</string> - <key>scope</key> - <string>support.constant</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string></string> - <key>foreground</key> - <string>#007e94</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Library class/type</string> - <key>scope</key> - <string>support.type, support.class</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#007f93</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Library variable</string> - <key>scope</key> - <string>support.other.variable</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string></string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Support Other Namespace</string> - <key>scope</key> - <string>support.other.namespace</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#007f93</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Invalid</string> - <key>scope</key> - <string>invalid</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#c13f8e</string> - <key>fontStyle</key> - <string></string> - <key>foreground</key> - <string>#72726b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Invalid deprecated</string> - <key>scope</key> - <string>invalid.deprecated</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#8660c1</string> - <key>foreground</key> - <string>#72726b</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON String</string> - <key>scope</key> - <string>meta.structure.dictionary.json string.quoted.double.json</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#747469</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>diff.header</string> - <key>scope</key> - <string>meta.diff, meta.diff.header</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#6272a4</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>diff.deleted</string> - <key>scope</key> - <string>markup.deleted</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#c13f8e</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>diff.inserted</string> - <key>scope</key> - <string>markup.inserted</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#008504</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>diff.changed</string> - <key>scope</key> - <string>markup.changed</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#7b760c</string> - </dict> - </dict> - <dict> - <key>scope</key> - <string>constant.numeric.line-number.find-in-files - match</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#8660c1</string> - </dict> - </dict> - <dict> - <key>scope</key> - <string>entity.name.filename</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#7b760c</string> - </dict> - </dict> - <dict> - <key>scope</key> - <string>message.error</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#e31625</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Punctuation</string> - <key>scope</key> - <string>punctuation.definition.string.begin.json - meta.structure.dictionary.value.json, punctuation.definition.string.end.json - meta.structure.dictionary.value.json</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#727272</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Structure</string> - <key>scope</key> - <string>meta.structure.dictionary.json string.quoted.double.json</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d90</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON String</string> - <key>scope</key> - <string>meta.structure.dictionary.value.json string.quoted.double.json</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#6b7807</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON: 6 deep</string> - <key>scope</key> - <string>meta meta meta meta meta meta meta.structure.dictionary.value string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#008504</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON: 5 deep</string> - <key>scope</key> - <string>meta meta meta meta meta meta.structure.dictionary.value string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#a1661c</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON: 4 deep</string> - <key>scope</key> - <string>meta meta meta meta meta.structure.dictionary.value string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#c13f8e</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON: 3 deep</string> - <key>scope</key> - <string>meta meta meta meta.structure.dictionary.value string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#8660c1</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON: 2 deep</string> - <key>scope</key> - <string>meta meta meta.structure.dictionary.value string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#008504</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON: 1 deep</string> - <key>scope</key> - <string>meta meta.structure.dictionary.value string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#a1661c</string> - </dict> - </dict> - - <!-- Markdown Tweaks --> - <dict> - <key>name</key> - <string>Markup: strike</string> - <key>scope</key> - <string>markup.strike</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#a1661c</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup: bold</string> - <key>scope</key> - <string>markup.bold</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>bold</string> - <key>foreground</key> - <string>#a1661c</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup: italic</string> - <key>scope</key> - <string>markup.italic</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#a1661c</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown: heading</string> - <key>scope</key> - <string>markup.heading</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d90</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown: List Items Punctuation</string> - <key>scope</key> - <string>punctuation.definition.list_item.markdown</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#c13f8e</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown: Blockquote</string> - <key>scope</key> - <string>markup.quote</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#6272A4</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown: Blockquote Punctuation</string> - <key>scope</key> - <string>punctuation.definition.blockquote.markdown</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>background</key> - <string>#6272A4</string> - <key>foreground</key> - <string>#6272A4</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown: Separator</string> - <key>scope</key> - <string>meta.separator</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#6272A4</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup: raw inline</string> - <key>scope</key> - <string>text.html.markdown markup.raw.inline</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#008504</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup: underline</string> - <key>scope</key> - <string>markup.underline</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>underline</string> - <key>foreground</key> - <string>#8660c1</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup: Raw block</string> - <key>scope</key> - <string>markup.raw.block</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#747469</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown: Raw Block fenced source</string> - <key>scope</key> - <string>markup.raw.block.fenced.markdown source</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#72726d</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown: Fenced Bode Block</string> - <key>scope</key> - <string>punctuation.definition.fenced.markdown, variable.language.fenced.markdown</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#6272A4</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown: Fenced Language</string> - <key>scope</key> - <string>variable.language.fenced.markdown</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#6272A4</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Punctuation Accessor</string> - <key>scope</key> - <string>punctuation.accessor</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#c13f8e</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Meta Function Return Type</string> - <key>scope</key> - <string>meta.function.return-type</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#c13f8e</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Punctuation Section Block Begin</string> - <key>scope</key> - <string>punctuation.section.block.begin</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#ffffff</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Punctuation Section Block End</string> - <key>scope</key> - <string>punctuation.section.block.end</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#ffffff</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Punctuation Section Embedded Begin</string> - <key>scope</key> - <string>punctuation.section.embedded.begin</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#c13f8e</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Punctuation Section Embedded End</string> - <key>scope</key> - <string>punctuation.section.embedded.end</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#c13f8e</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Punctuation Separator Namespace</string> - <key>scope</key> - <string>punctuation.separator.namespace</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#c13f8e</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Variable Function</string> - <key>scope</key> - <string>variable.function</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#008504</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Variable Other</string> - <key>scope</key> - <string>variable.other</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#ffffff</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Variable Language</string> - <key>scope</key> - <string>variable.language</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#8660c1</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Entity Name Module Ruby</string> - <key>scope</key> - <string>entity.name.module.ruby</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d90</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Entity Name Constant Ruby</string> - <key>scope</key> - <string>entity.name.constant.ruby</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#8660c1</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Support Function Builtin Ruby</string> - <key>scope</key> - <string>support.function.builtin.ruby</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#ffffff</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Storage Type Namespace CS</string> - <key>scope</key> - <string>storage.type.namespace.cs</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#c13f8e</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Entity Name Namespace CS</string> - <key>scope</key> - <string>entity.name.namespace.cs</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#007d90</string> - </dict> - </dict> - </array> - <key>uuid</key> - <string>83091B89-765E-4F0D-9275-0EC6CB084126</string> - <key>colorSpaceName</key> - <string>sRGB</string> - <key>semanticClass</key> - <string>theme.dracula</string> - <key>author</key> - <string>Zeno Rocha</string> -</dict> -</plist> diff --git a/highlight_themes/material-light-abridge.tmTheme b/highlight_themes/material-light-abridge.tmTheme index b0ed3b0..306f2f9 100644 --- a/highlight_themes/material-light-abridge.tmTheme +++ b/highlight_themes/material-light-abridge.tmTheme @@ -18,7 +18,7 @@ <key>activeGuide</key> <string>#00000070</string> <key>background</key> - <string>#fafafa</string> + <string>#ffffff</string> <key>caret</key> <string>#27272790</string> <key>findHighlight</key> @@ -34,7 +34,7 @@ <key>lineHighlight</key> <string>#62757f20</string> <key>popupCss</key> - <string><![CDATA[ html { background-color: #fafafa; color: #317e78; padding: 16px; } a { color: #64738c; line-height: 16px; } .error, .deleted { color: #d92d2d; } .success, .inserted { color: #587f22; } .warning, .modified { color: #a16700; } .type { color: #008088; font-style: italic; } .param { color: #c94625; } .current { text-decoration: underline; } ]]></string> + <string><![CDATA[ html { background-color: #ffffff; color: #317e78; padding: 16px; } a { color: #64738c; line-height: 16px; } .error, .deleted { color: #d92d2d; } .success, .inserted { color: #587f22; } .warning, .modified { color: #a16700; } .type { color: #008088; font-style: italic; } .param { color: #c94625; } .current { text-decoration: underline; } ]]></string> <key>selection</key> <string>#317e7840</string> <key>selectionBorder</key> @@ -77,7 +77,7 @@ <key>settings</key> <dict> <key>foreground</key> - <string>#fafafa</string> + <string>#ffffff</string> </dict> </dict> <dict> @@ -90,7 +90,7 @@ <key>background</key> <string>#d92d2d</string> <key>foreground</key> - <string>#fafafa</string> + <string>#ffffff</string> </dict> </dict> <dict> @@ -103,7 +103,7 @@ <key>background</key> <string>#587f22</string> <key>foreground</key> - <string>#fafafa</string> + <string>#ffffff</string> </dict> </dict> <dict> @@ -116,7 +116,7 @@ <key>background</key> <string>#7C4DFF</string> <key>foreground</key> - <string>#fafafa</string> + <string>#ffffff</string> </dict> </dict> <dict> @@ -830,7 +830,7 @@ <key>background</key> <string>#5274a9</string> <key>foreground</key> - <string>#fafafa</string> + <string>#ffffff</string> </dict> </dict> <dict> @@ -843,7 +843,7 @@ <key>background</key> <string>#587f22</string> <key>foreground</key> - <string>#fafafa</string> + <string>#ffffff</string> </dict> </dict> <dict> @@ -856,7 +856,7 @@ <key>background</key> <string>#c94625</string> <key>foreground</key> - <string>#fafafa</string> + <string>#ffffff</string> </dict> </dict> <dict> @@ -869,7 +869,7 @@ <key>background</key> <string>#7C4DFF</string> <key>foreground</key> - <string>#fafafa</string> + <string>#ffffff</string> </dict> </dict> <dict> @@ -891,7 +891,7 @@ <key>settings</key> <dict> <key>foreground</key> - <string>#fafafa</string> + <string>#ffffff</string> </dict> </dict> <dict> diff --git a/highlight_themes/material-white-abridge.tmTheme b/highlight_themes/material-white-abridge.tmTheme deleted file mode 100644 index 306f2f9..0000000 --- a/highlight_themes/material-white-abridge.tmTheme +++ /dev/null @@ -1,1011 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> -<plist version="1.0"> -<dict> - <key>author</key> - <string>Mattia Astorino</string> - <key>colorSpaceName</key> - <string>sRGB</string> - <key>name</key> - <string>Material-Theme-Lighter</string> - <key>semanticClass</key> - <string>material.theme.lighter</string> - <key>settings</key> - <array> - <dict> - <key>settings</key> - <dict> - <key>activeGuide</key> - <string>#00000070</string> - <key>background</key> - <string>#ffffff</string> - <key>caret</key> - <string>#27272790</string> - <key>findHighlight</key> - <string>#7c7600</string> - <key>foreground</key> - <string>#317e78</string> - <key>guide</key> - <string>#68757b70</string> - <key>gutterForeground</key> - <string>#6b7377</string> - <key>invisibles</key> - <string>#717375</string> - <key>lineHighlight</key> - <string>#62757f20</string> - <key>popupCss</key> - <string><![CDATA[ html { background-color: #ffffff; color: #317e78; padding: 16px; } a { color: #64738c; line-height: 16px; } .error, .deleted { color: #d92d2d; } .success, .inserted { color: #587f22; } .warning, .modified { color: #a16700; } .type { color: #008088; font-style: italic; } .param { color: #c94625; } .current { text-decoration: underline; } ]]></string> - <key>selection</key> - <string>#317e7840</string> - <key>selectionBorder</key> - <string>#317e7840</string> - <key>shadow</key> - <string>#62757f50</string> - <key>stackGuide</key> - <string>#68757b80</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Comments</string> - <key>scope</key> - <string>comment, punctuation.definition.comment</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#6b7577</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Variable</string> - <key>scope</key> - <string>variable, string constant.other.placeholder</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#317e78</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Colors</string> - <key>scope</key> - <string>constant.other.color</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#ffffff</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Invalid</string> - <key>scope</key> - <string>invalid, invalid.illegal, invalid.broken</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#d92d2d</string> - <key>foreground</key> - <string>#ffffff</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Unimplemented</string> - <key>scope</key> - <string>invalid.unimplemented</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#587f22</string> - <key>foreground</key> - <string>#ffffff</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Invalid deprecated</string> - <key>scope</key> - <string>invalid.deprecated</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#7C4DFF</string> - <key>foreground</key> - <string>#ffffff</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Keyword, Storage</string> - <key>scope</key> - <string>keyword, storage.type, storage.modifier</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#7C4DFF</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Keyword, Storage</string> - <key>scope</key> - <string>storage.type, keyword.control</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Operator, Misc</string> - <key>scope</key> - <string>keyword.operator, constant.other.color, punctuation, meta.tag, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#008088</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Tag</string> - <key>scope</key> - <string>entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#d72952</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Function, Special Method, Block Level</string> - <key>scope</key> - <string>entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method, meta.block-level</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#5274a9</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Other Variable, String Link</string> - <key>scope</key> - <string>support.other.variable, string.other.link</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#d72952</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Number, Constant, Function Argument, Tag Attribute, Embedded</string> - <key>scope</key> - <string>constant.numeric, constant.language, support.constant, constant.character, variable.parameter, keyword.other.unit</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#c94625</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>String, Symbols, Inherited Class, Markup Heading</string> - <key>scope</key> - <string>string, constant.other.symbol, constant.other.key, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>normal</string> - <key>foreground</key> - <string>#587f22</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Class, Support</string> - <key>scope</key> - <string>entity.name.class, entity.name.type.class, support.type, support.class, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#a16700</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>CSS Class and Support</string> - <key>scope</key> - <string>source.css support.type, source.sass support.type, source.scss support.type, source.less support.type, source.stylus support.type</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#64738c</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Sub-methods</string> - <key>scope</key> - <string>entity.name.module.js, variable.import.parameter.js, variable.other.class.js</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#d92d2d</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Language methods</string> - <key>scope</key> - <string>variable.language</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#d92d2d</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>entity.name.method.js</string> - <key>scope</key> - <string>entity.name.method.js</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#5274a9</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>meta.method.js</string> - <key>scope</key> - <string>meta.class-method.js entity.name.function.js, variable.function.constructor</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#5274a9</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Attributes</string> - <key>scope</key> - <string>entity.other.attribute-name</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#7C4DFF</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>HTML Attributes</string> - <key>scope</key> - <string>text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#a16700</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>CSS Classes</string> - <key>scope</key> - <string>entity.other.attribute-name.class</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#a16700</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>CSS Id</string> - <key>scope</key> - <string>source.sass keyword.control</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#5274a9</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Inserted</string> - <key>scope</key> - <string>markup.inserted</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#587f22</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Deleted</string> - <key>scope</key> - <string>markup.deleted</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#d92d2d</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Changed</string> - <key>scope</key> - <string>markup.changed</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#7C4DFF</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Regular Expressions</string> - <key>scope</key> - <string>string.regexp</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#008088</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Escape Characters</string> - <key>scope</key> - <string>constant.character.escape</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#008088</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>URL</string> - <key>scope</key> - <string>*url*, *link*, *uri*</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>underline</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Search Results Nums</string> - <key>scope</key> - <string>constant.numeric.line-number.find-in-files - match</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#a26356</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Search Results Lines</string> - <key>scope</key> - <string>entity.name.filename.find-in-files</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#587f22</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Decorators</string> - <key>scope</key> - <string>tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#5274a9</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>ES7 Bind Operator</string> - <key>scope</key> - <string>source.js constant.other.object.key.js string.unquoted.label.js</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#d92d2d</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 8</string> - <key>scope</key> - <string>source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#587f22</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 7</string> - <key>scope</key> - <string>source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#7C4DFF</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 6</string> - <key>scope</key> - <string>source.json meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#d72952</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 5</string> - <key>scope</key> - <string>source.json meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#5274a9</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 4</string> - <key>scope</key> - <string>source.json meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#a26356</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 3</string> - <key>scope</key> - <string>source.json meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#d92d2d</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 2</string> - <key>scope</key> - <string>source.json meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#c94625</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 1</string> - <key>scope</key> - <string>source.json meta meta.structure.dictionary.json string.quoted.double.json - meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta.structure.dictionary.json punctuation.definition.string - meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#a16700</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>JSON Key - Level 0</string> - <key>scope</key> - <string>source.json meta.structure.dictionary.json string.quoted.double.json - meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta.structure.dictionary.json punctuation.definition.string - meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#7C4DFF</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown - Plain</string> - <key>scope</key> - <string>text.html.markdown, punctuation.definition.list_item.markdown</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#317e78</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown - Markup Raw Inline</string> - <key>scope</key> - <string>text.html.markdown markup.raw.inline</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#7C4DFF</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown - Markup Raw Inline Punctuation</string> - <key>scope</key> - <string>text.html.markdown punctuation.definition.raw.markdown</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#717375</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown - Line Break</string> - <key>scope</key> - <string>text.html.markdown meta.dummy.line-break</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string></string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown - Heading</string> - <key>scope</key> - <string>markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#587f22</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup - Italic</string> - <key>scope</key> - <string>markup.italic</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string>#d72952</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup - Bold</string> - <key>scope</key> - <string>markup.bold, markup.bold string</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>bold</string> - <key>foreground</key> - <string>#d72952</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup - Bold & Italic</string> - <key>scope</key> - <string>markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>bold italic</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup - Underline</string> - <key>scope</key> - <string>markup.underline</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>underline</string> - <key>foreground</key> - <string>#c94625</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup - Strike</string> - <key>scope</key> - <string>markup.strike</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>strike</string> - <key>foreground</key> - <string></string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown - Blockquote</string> - <key>scope</key> - <string>markup.quote punctuation.definition.blockquote.markdown</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#717375</string> - <key>foreground</key> - <string>#717375</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup - Quote</string> - <key>scope</key> - <string>markup.quote</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string>italic</string> - <key>foreground</key> - <string></string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown - Link</string> - <key>scope</key> - <string>string.other.link.title.markdown</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#5274a9</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown - Link Description</string> - <key>scope</key> - <string>string.other.link.description.title.markdown</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#7C4DFF</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown - Link Anchor</string> - <key>scope</key> - <string>constant.other.reference.link.markdown</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#a16700</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup - Raw Block</string> - <key>scope</key> - <string>markup.raw.block</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#7C4DFF</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown - Raw Block Fenced</string> - <key>scope</key> - <string>markup.raw.block.fenced.markdown</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#62757f20</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown - Fenced Bode Block</string> - <key>scope</key> - <string>punctuation.definition.fenced.markdown</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#62757f20</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown - Fenced Bode Block Variable</string> - <key>scope</key> - <string>markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#317e78</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown - Fenced Language</string> - <key>scope</key> - <string>variable.language.fenced.markdown</string> - <key>settings</key> - <dict> - <key>fontStyle</key> - <string></string> - <key>foreground</key> - <string>#717375</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown - Punctuation Definition</string> - <key>scope</key> - <string>text.html.markdown punctuation.definition</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#6b7577</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown HTML - Punctuation Definition</string> - <key>scope</key> - <string>text.html.markdown meta.disable-markdown punctuation.definition</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#008088</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markdown - Separator</string> - <key>scope</key> - <string>meta.separator</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#62757f20</string> - <key>fontStyle</key> - <string>bold</string> - <key>foreground</key> - <string>#717375</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Markup - Table</string> - <key>scope</key> - <string>markup.table</string> - <key>settings</key> - <dict> - <key>background</key> - <string></string> - <key>foreground</key> - <string>#317e78</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>AceJump Label - Blue</string> - <key>scope</key> - <string>acejump.label.blue</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#5274a9</string> - <key>foreground</key> - <string>#ffffff</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>AceJump Label - Green</string> - <key>scope</key> - <string>acejump.label.green</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#587f22</string> - <key>foreground</key> - <string>#ffffff</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>AceJump Label - Orange</string> - <key>scope</key> - <string>acejump.label.orange</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#c94625</string> - <key>foreground</key> - <string>#ffffff</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>AceJump Label - Purple</string> - <key>scope</key> - <string>acejump.label.purple</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#7C4DFF</string> - <key>foreground</key> - <string>#ffffff</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>SublimeLinter Warning</string> - <key>scope</key> - <string>sublimelinter.mark.warning</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#a16700</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>SublimeLinter Gutter Mark</string> - <key>scope</key> - <string>sublimelinter.gutter-mark</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#ffffff</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>SublimeLinter Error</string> - <key>scope</key> - <string>sublimelinter.mark.error</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#d92d2d</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>SublimeLinter Annotation</string> - <key>scope</key> - <string>sublimelinter.annotations</string> - <key>settings</key> - <dict> - <key>background</key> - <string>#a26356</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>GitGutter Ignored</string> - <key>scope</key> - <string>markup.ignored.git_gutter</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#717375</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>GitGutter Untracked</string> - <key>scope</key> - <string>markup.untracked.git_gutter</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#717375</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>GitGutter Inserted</string> - <key>scope</key> - <string>markup.inserted.git_gutter</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#587f22</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>GitGutter Changed</string> - <key>scope</key> - <string>markup.changed.git_gutter</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#a16700</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>GitGutter Deleted</string> - <key>scope</key> - <string>markup.deleted.git_gutter</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#d92d2d</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Bracket Curly</string> - <key>scope</key> - <string>brackethighlighter.default</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#64738c</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Bracket Quote</string> - <key>scope</key> - <string>brackethighlighter.quote</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#587f22</string> - </dict> - </dict> - <dict> - <key>name</key> - <string>Bracket Unmatched</string> - <key>scope</key> - <string>brackethighlighter.unmatched</string> - <key>settings</key> - <dict> - <key>foreground</key> - <string>#d92d2d</string> - </dict> - </dict> - </array> - <key>uuid</key> - <string>133d1250-19c6-4565-bc93-b37fd36f7fc9</string> -</dict> -</plist> diff --git a/netlify.toml b/netlify.toml index 1a0c0e0..d9065e7 100644 --- a/netlify.toml +++ b/netlify.toml @@ -16,4 +16,4 @@ command = "zola build --base-url $DEPLOY_PRIME_URL" X-XSS-Protection = "1; mode=block" Referrer-Policy = "strict-origin-when-cross-origin" Strict-Transport-Security = "max-age=63072000; includeSubdomains" - Content-Security-Policy = "default-src 'none'; frame-ancestors 'none'; object-src 'none'; base-uri 'self'; manifest-src 'self'; connect-src 'self'; form-action 'self'; media-src 'self' data: cdn.cloudflare.com www.youtube-nocookie.com player.vimeo.com; frame-src 'self' www.youtube-nocookie.com player.vimeo.com; font-src 'self' cdn.cloudflare.com cdn.jsdelivr.net fonts.gstatic.com; img-src 'self' data: cdn.cloudflare.com; style-src 'self' 'unsafe-inline' cdn.cloudflare.com cdn.jsdelivr.net fonts.googleapis.com; script-src 'self' www.youtube-nocookie.com player.vimeo.com" + Content-Security-Policy = "default-src 'none'; frame-ancestors 'none'; object-src 'none'; base-uri 'self'; manifest-src 'self'; connect-src 'self'; form-action 'self'; script-src 'self'; img-src 'self' data: cdn.cloudflare.com; frame-src 'self' www.youtube-nocookie.com player.vimeo.com; media-src 'self' data: cdn.cloudflare.com www.youtube-nocookie.com player.vimeo.com; font-src 'self' cdn.cloudflare.com cdn.jsdelivr.net fonts.gstatic.com; style-src 'self' 'unsafe-inline' cdn.cloudflare.com cdn.jsdelivr.net fonts.googleapis.com;" diff --git a/sass/_imports.scss b/sass/_imports.scss index 01c5e52..8a7e650 100644 --- a/sass/_imports.scss +++ b/sass/_imports.scss @@ -35,5 +35,7 @@ @import "include/icons"; // svg icons +@import "include/zola"; // Zola spacing and layout classes + //@import "include/grid"; // section infinite grid -- test/rework this similar to hnav and milligram in that it should collapse to a single column as the page becomes narrow //@import "include/misc"; // template, [hidden], dialog, canvas diff --git a/sass/_variables.scss b/sass/_variables.scss index e4de650..bc1e7f8 100644 --- a/sass/_variables.scss +++ b/sass/_variables.scss @@ -88,6 +88,8 @@ $icon-youtube: true !default; $icon-researchgate: true !default; $icon-search: true !default; +$icon-x: true !default;// x symbol +$icon-contrast: true !default;// dark/light mode $icon-ffolder: false !default; $icon-folder: false !default;// categories folder $icon-ftag: false !default; @@ -101,7 +103,6 @@ $icon-home: false !default; $icon-minus: false !default;// minus symbol $icon-moon: false !default;// dark moon $icon-sun: false !default;// light sun -$icon-x: true !default;// x symbol // add an icon link to an html template like this: <a href="#"><span class="svg home"></span></a> :root { diff --git a/sass/abridge-blue-dark.scss b/sass/abridge-blue-dark.scss new file mode 100644 index 0000000..1c4c4c0 --- /dev/null +++ b/sass/abridge-blue-dark.scss @@ -0,0 +1,22 @@ +@import "imports"; +@import "syntax/syntax-abridge-dark"; +//@import "fonts/Arimo"; +//@import "fonts/Lato"; +@import "fonts/Roboto"; +//@import "fonts/FiraCode"; // Monospaced + +:root { + --ff: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Noto Sans", Helvetica, Arial, sans-serif; + --fm: ui-monospace, Menlo, Monaco, Consolas, "SF Mono", "Cascadia Mono", "Segoe UI Mono", "DejaVu Sans Mono", "Liberation Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Ubuntu Mono", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", Courier, monospace; + --f1: #ccc;// Font Color Primary + --f2: #ddd;// Font color Headers + --c1: #111;// Background Color Primary + --c2: #222;// Background Color Secondary + --c3: #333;// Table Rows, Block quote edge, Borders + --c4: #888;// Disabled Buttons, Borders, mark background + --a1: #09f;// link color + --a2: #0bf;// link hover/focus color + --a3: #0af;// link h1-h2 hover/focus color + --cg: #483; // ins green, success + --cr: #d33; // del red, errors +} diff --git a/sass/abridge-blue-light.scss b/sass/abridge-blue-light.scss new file mode 100644 index 0000000..e43a7ef --- /dev/null +++ b/sass/abridge-blue-light.scss @@ -0,0 +1,22 @@ +@import "imports"; +@import "syntax/syntax-abridge-light"; +//@import "fonts/Arimo"; +//@import "fonts/Lato"; +@import "fonts/Roboto"; +//@import "fonts/FiraCode"; // Monospaced + +:root { + --ff: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Noto Sans", Helvetica, Arial, sans-serif; + --fm: ui-monospace, Menlo, Monaco, Consolas, "SF Mono", "Cascadia Mono", "Segoe UI Mono", "DejaVu Sans Mono", "Liberation Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Ubuntu Mono", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", Courier, monospace; + --f1: #444;// Font Color Primary + --f2: #333;// Font color Headers + --c1: #fff;// Background Color Primary + --c2: #eee;// Background Color Secondary + --c3: #ddd;// Table Rows, Block quote edge, Borders + --c4: #677;// Disabled Buttons, Borders, mark background + --a1: #06e;// link color + --a2: #09f;// link hover/focus color + --a3: #07f;// link h1-h2 hover/focus color + --cg: #483; // ins green, success + --cr: #d33; // del red, errors +} diff --git a/sass/abridge-blue-switcher.scss b/sass/abridge-blue-switcher.scss new file mode 100644 index 0000000..31ff33a --- /dev/null +++ b/sass/abridge-blue-switcher.scss @@ -0,0 +1,35 @@ +@import "imports"; +@import "syntax/syntax-abridge-switcher"; +//@import "fonts/Arimo"; +//@import "fonts/Lato"; +@import "fonts/Roboto"; +//@import "fonts/FiraCode"; // Monospaced + +:root { + --ff: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Noto Sans", Helvetica, Arial, sans-serif; + --fm: ui-monospace, Menlo, Monaco, Consolas, "SF Mono", "Cascadia Mono", "Segoe UI Mono", "DejaVu Sans Mono", "Liberation Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Ubuntu Mono", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", Courier, monospace; + --cg: #483; // ins green, success + --cr: #d33; // del red, errors +} +:root:not(.light) { + --f1: #ccc;// Font Color Primary + --f2: #ddd;// Font color Headers + --c1: #111;// Background Color Primary + --c2: #222;// Background Color Secondary + --c3: #333;// Table Rows, Block quote edge, Borders + --c4: #888;// Disabled Buttons, Borders, mark background + --a1: #09f;// link color + --a2: #0bf;// link hover/focus color + --a3: #0af;// link h1-h2 hover/focus color +} +:root.light { + --f1: #444;// Font Color Primary + --f2: #333;// Font color Headers + --c1: #fff;// Background Color Primary + --c2: #eee;// Background Color Secondary + --c3: #ddd;// Table Rows, Block quote edge, Borders + --c4: #677;// Disabled Buttons, Borders, mark background + --a1: #06e;// link color + --a2: #09f;// link hover/focus color + --a3: #07f;// link h1-h2 hover/focus color +} diff --git a/sass/abridge-blue.scss b/sass/abridge-blue.scss index dfd55b7..5d263fe 100644 --- a/sass/abridge-blue.scss +++ b/sass/abridge-blue.scss @@ -1,5 +1,5 @@ @import "imports"; - +@import "syntax/syntax-abridge"; //@import "fonts/Arimo"; //@import "fonts/Lato"; @import "fonts/Roboto"; @@ -8,55 +8,28 @@ :root { --ff: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Noto Sans", Helvetica, Arial, sans-serif; --fm: ui-monospace, Menlo, Monaco, Consolas, "SF Mono", "Cascadia Mono", "Segoe UI Mono", "DejaVu Sans Mono", "Liberation Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Ubuntu Mono", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", Courier, monospace; - - --f1: #111; // Primary Font color - --f2: #222; // Headers Font color - - --c1: #fafafa; // Primary Background Color - --c2: #def; // Secondary Background Color - --c3: #137; // Table Rows, Block quote edge, Borders - --c4: #013; // Disabled Buttons, Borders, mark background - - --a1: #06e; // accent color 1 links - --a2: #09f; // accent color 2 hover,focus - --a3: #07f; // accent color 3 h1-h2 hover,focus - + --f1: #ccc;// Font Color Primary + --f2: #ddd;// Font color Headers + --c1: #111;// Background Color Primary + --c2: #222;// Background Color Secondary + --c3: #333;// Table Rows, Block quote edge, Borders + --c4: #888;// Disabled Buttons, Borders, mark background + --a1: #09f;// link color + --a2: #0bf;// link hover/focus color + --a3: #0af;// link h1-h2 hover/focus color --cg: #483; // ins green, success - --cr: #c22; // del red, errors + --cr: #d33; // del red, errors } -@media (prefers-color-scheme: dark) { +@media (prefers-color-scheme: light) { :root { - --f1: #ccc; // Primary Font color - --f2: #ddd; // Headers Font color - - --c1: #111; // Primary Background Color - --c2: #123; // Secondary Background Color - --c3: #345; // Table Rows, Block quote edge, Borders - --c4: #789; // Disabled Buttons, Borders, mark background - - --a1: #09f; // accent color 1 links - --a2: #0bf; // accent color 2 hover,focus - --a3: #0af; // accent color 3 h1-h2 hover,focus - - --cr: #e33; // del red, errors + --f1: #444;// Font Color Primary + --f2: #333;// Font color Headers + --c1: #fff;// Background Color Primary + --c2: #eee;// Background Color Secondary + --c3: #ddd;// Table Rows, Block quote edge, Borders + --c4: #677;// Disabled Buttons, Borders, mark background + --a1: #06e;// link color + --a2: #09f;// link hover/focus color + --a3: #07f;// link h1-h2 hover/focus color } } - -@import "syntax/_abridge-dark"; -//@import "syntax/_abridge-light"; -//@import "syntax/_abridge-white"; -//@import "syntax/_ayu_mirage-dark-abridge"; -//@import "syntax/_ayu_mirage-light-abridge"; -//@import "syntax/_ayu_mirage-white-abridge"; -//@import "syntax/_ayu-dark-abridge"; -//@import "syntax/_ayu-light-abridge"; -//@import "syntax/_ayu-white-abridge"; -//@import "syntax/_charcoal-dark-abridge"; -//@import "syntax/_charcoal-light-abridge"; -//@import "syntax/_charcoal-white-abridge"; -//@import "syntax/_dracula-dark-abridge"; -//@import "syntax/_dracula-light-abridge"; -//@import "syntax/_dracula-white-abridge"; -//@import "syntax/_material-dark-abridge"; -//@import "syntax/_material-light-abridge"; -//@import "syntax/_material-white-abridge";
\ No newline at end of file diff --git a/sass/abridge-bluelight.scss b/sass/abridge-bluelight.scss deleted file mode 100644 index f913262..0000000 --- a/sass/abridge-bluelight.scss +++ /dev/null @@ -1,45 +0,0 @@ -@import "imports"; - -//@import "fonts/Arimo"; -//@import "fonts/Lato"; -@import "fonts/Roboto"; -//@import "fonts/FiraCode"; // Monospaced - -:root { - --ff: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Noto Sans", Helvetica, Arial, sans-serif; - --fm: ui-monospace, Menlo, Monaco, Consolas, "SF Mono", "Cascadia Mono", "Segoe UI Mono", "DejaVu Sans Mono", "Liberation Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Ubuntu Mono", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", Courier, monospace; - - --f1: #111; // Primary Font color - --f2: #222; // Headers Font color - - --c1: #fafafa; // Primary Background Color - --c2: #def; // Secondary Background Color - --c3: #137; // Table Rows, Block quote edge, Borders - --c4: #013; // Disabled Buttons, Borders, mark background - - --a1: #06e; // accent color 1 links - --a2: #09f; // accent color 2 hover,focus - --a3: #07f; // accent color 3 h1-h2 hover,focus - - --cg: #483; // ins green, success - --cr: #c22; // del red, errors -} - -//@import "syntax/_abridge-dark"; -@import "syntax/_abridge-light"; -//@import "syntax/_abridge-white"; -//@import "syntax/_ayu_mirage-dark-abridge"; -//@import "syntax/_ayu_mirage-light-abridge"; -//@import "syntax/_ayu_mirage-white-abridge"; -//@import "syntax/_ayu-dark-abridge"; -//@import "syntax/_ayu-light-abridge"; -//@import "syntax/_ayu-white-abridge"; -//@import "syntax/_charcoal-dark-abridge"; -//@import "syntax/_charcoal-light-abridge"; -//@import "syntax/_charcoal-white-abridge"; -//@import "syntax/_dracula-dark-abridge"; -//@import "syntax/_dracula-light-abridge"; -//@import "syntax/_dracula-white-abridge"; -//@import "syntax/_material-dark-abridge"; -//@import "syntax/_material-light-abridge"; -//@import "syntax/_material-white-abridge";
\ No newline at end of file diff --git a/sass/abridge-bluenight.scss b/sass/abridge-bluenight.scss deleted file mode 100644 index 100a266..0000000 --- a/sass/abridge-bluenight.scss +++ /dev/null @@ -1,45 +0,0 @@ -@import "imports"; - -//@import "fonts/Arimo"; -//@import "fonts/Lato"; -@import "fonts/Roboto"; -//@import "fonts/FiraCode"; // Monospaced - -:root { - --ff: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Noto Sans", Helvetica, Arial, sans-serif; - --fm: ui-monospace, Menlo, Monaco, Consolas, "SF Mono", "Cascadia Mono", "Segoe UI Mono", "DejaVu Sans Mono", "Liberation Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Ubuntu Mono", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", Courier, monospace; - - --f1: #ccc; // Primary Font color - --f2: #ddd; // Headers Font color - - --c1: #111; // Primary Background Color - --c2: #123; // Secondary Background Color - --c3: #345; // Table Rows, Block quote edge, Borders - --c4: #789; // Disabled Buttons, Borders, mark background - - --a1: #09f; // accent color 1 links - --a2: #0bf; // accent color 2 hover,focus - --a3: #0af; // accent color 3 h1-h2 hover,focus - - --cg: #483; // ins green, success - --cr: #e33; // del red, errors -} - -@import "syntax/_abridge-dark"; -//@import "syntax/_abridge-light"; -//@import "syntax/_abridge-white"; -//@import "syntax/_ayu_mirage-dark-abridge"; -//@import "syntax/_ayu_mirage-light-abridge"; -//@import "syntax/_ayu_mirage-white-abridge"; -//@import "syntax/_ayu-dark-abridge"; -//@import "syntax/_ayu-light-abridge"; -//@import "syntax/_ayu-white-abridge"; -//@import "syntax/_charcoal-dark-abridge"; -//@import "syntax/_charcoal-light-abridge"; -//@import "syntax/_charcoal-white-abridge"; -//@import "syntax/_dracula-dark-abridge"; -//@import "syntax/_dracula-light-abridge"; -//@import "syntax/_dracula-white-abridge"; -//@import "syntax/_material-dark-abridge"; -//@import "syntax/_material-light-abridge"; -//@import "syntax/_material-white-abridge";
\ No newline at end of file diff --git a/sass/abridge-blueshade-dark.scss b/sass/abridge-blueshade-dark.scss new file mode 100644 index 0000000..ebe8eb4 --- /dev/null +++ b/sass/abridge-blueshade-dark.scss @@ -0,0 +1,22 @@ +@import "imports"; +@import "syntax/syntax-abridge-dark"; +//@import "fonts/Arimo"; +//@import "fonts/Lato"; +@import "fonts/Roboto"; +//@import "fonts/FiraCode"; // Monospaced + +:root { + --ff: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Noto Sans", Helvetica, Arial, sans-serif; + --fm: ui-monospace, Menlo, Monaco, Consolas, "SF Mono", "Cascadia Mono", "Segoe UI Mono", "DejaVu Sans Mono", "Liberation Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Ubuntu Mono", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", Courier, monospace; + --f1: #ccc;// Font Color Primary + --f2: #ddd;// Font color Headers + --c1: #111;// Background Color Primary + --c2: #123;// Background Color Secondary + --c3: #345;// Table Rows, Block quote edge, Borders + --c4: #789;// Disabled Buttons, Borders, mark background + --a1: #09f;// link color + --a2: #0bf;// link hover/focus color + --a3: #0af;// link h1-h2 hover/focus color + --cg: #483; // ins green, success + --cr: #d33; // del red, errors +} diff --git a/sass/abridge-blueshade-light.scss b/sass/abridge-blueshade-light.scss new file mode 100644 index 0000000..4a6a04e --- /dev/null +++ b/sass/abridge-blueshade-light.scss @@ -0,0 +1,22 @@ +@import "imports"; +@import "syntax/syntax-abridge-light"; +//@import "fonts/Arimo"; +//@import "fonts/Lato"; +@import "fonts/Roboto"; +//@import "fonts/FiraCode"; // Monospaced + +:root { + --ff: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Noto Sans", Helvetica, Arial, sans-serif; + --fm: ui-monospace, Menlo, Monaco, Consolas, "SF Mono", "Cascadia Mono", "Segoe UI Mono", "DejaVu Sans Mono", "Liberation Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Ubuntu Mono", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", Courier, monospace; + --f1: #444;// Font Color Primary + --f2: #333;// Font color Headers + --c1: #fff;// Background Color Primary + --c2: #def;// Background Color Secondary + --c3: #137;// Table Rows, Block quote edge, Borders + --c4: #013;// Disabled Buttons, Borders, mark background + --a1: #06e;// link color + --a2: #09f;// link hover/focus color + --a3: #07f;// link h1-h2 hover/focus color + --cg: #483; // ins green, success + --cr: #d33; // del red, errors +} diff --git a/sass/abridge-blueshade-switcher.scss b/sass/abridge-blueshade-switcher.scss new file mode 100644 index 0000000..43df8f1 --- /dev/null +++ b/sass/abridge-blueshade-switcher.scss @@ -0,0 +1,35 @@ +@import "imports"; +@import "syntax/syntax-abridge-switcher"; +//@import "fonts/Arimo"; +//@import "fonts/Lato"; +@import "fonts/Roboto"; +//@import "fonts/FiraCode"; // Monospaced + +:root { + --ff: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Noto Sans", Helvetica, Arial, sans-serif; + --fm: ui-monospace, Menlo, Monaco, Consolas, "SF Mono", "Cascadia Mono", "Segoe UI Mono", "DejaVu Sans Mono", "Liberation Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Ubuntu Mono", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", Courier, monospace; + --cg: #483; // ins green, success + --cr: #d33; // del red, errors +} +:root:not(.light) { + --f1: #ccc;// Font Color Primary + --f2: #ddd;// Font color Headers + --c1: #111;// Background Color Primary + --c2: #123;// Background Color Secondary + --c3: #345;// Table Rows, Block quote edge, Borders + --c4: #789;// Disabled Buttons, Borders, mark background + --a1: #09f;// link color + --a2: #0bf;// link hover/focus color + --a3: #0af;// link h1-h2 hover/focus color +} +:root.light { + --f1: #444;// Font Color Primary + --f2: #333;// Font color Headers + --c1: #fff;// Background Color Primary + --c2: #def;// Background Color Secondary + --c3: #137;// Table Rows, Block quote edge, Borders + --c4: #013;// Disabled Buttons, Borders, mark background + --a1: #06e;// link color + --a2: #09f;// link hover/focus color + --a3: #07f;// link h1-h2 hover/focus color +} diff --git a/sass/abridge-blueshade.scss b/sass/abridge-blueshade.scss new file mode 100644 index 0000000..797687c --- /dev/null +++ b/sass/abridge-blueshade.scss @@ -0,0 +1,35 @@ +@import "imports"; +@import "syntax/syntax-abridge"; +//@import "fonts/Arimo"; +//@import "fonts/Lato"; +@import "fonts/Roboto"; +//@import "fonts/FiraCode"; // Monospaced + +:root { + --ff: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Noto Sans", Helvetica, Arial, sans-serif; + --fm: ui-monospace, Menlo, Monaco, Consolas, "SF Mono", "Cascadia Mono", "Segoe UI Mono", "DejaVu Sans Mono", "Liberation Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Ubuntu Mono", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", Courier, monospace; + --f1: #ccc;// Font Color Primary + --f2: #ddd;// Font color Headers + --c1: #111;// Background Color Primary + --c2: #123;// Background Color Secondary + --c3: #345;// Table Rows, Block quote edge, Borders + --c4: #789;// Disabled Buttons, Borders, mark background + --a1: #09f;// link color + --a2: #0bf;// link hover/focus color + --a3: #0af;// link h1-h2 hover/focus color + --cg: #483; // ins green, success + --cr: #d33; // del red, errors +} +@media (prefers-color-scheme: light) { + :root { + --f1: #444;// Font Color Primary + --f2: #333;// Font color Headers + --c1: #fff;// Background Color Primary + --c2: #def;// Background Color Secondary + --c3: #137;// Table Rows, Block quote edge, Borders + --c4: #013;// Disabled Buttons, Borders, mark background + --a1: #06e;// link color + --a2: #09f;// link hover/focus color + --a3: #07f;// link h1-h2 hover/focus color + } +} diff --git a/sass/abridge-dark.scss b/sass/abridge-dark.scss index 6b95009..b893298 100644 --- a/sass/abridge-dark.scss +++ b/sass/abridge-dark.scss @@ -1,5 +1,5 @@ @import "imports"; - +@import "syntax/syntax-abridge-dark"; //@import "fonts/Arimo"; //@import "fonts/Lato"; @import "fonts/Roboto"; @@ -8,38 +8,15 @@ :root { --ff: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Noto Sans", Helvetica, Arial, sans-serif; --fm: ui-monospace, Menlo, Monaco, Consolas, "SF Mono", "Cascadia Mono", "Segoe UI Mono", "DejaVu Sans Mono", "Liberation Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Ubuntu Mono", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", Courier, monospace; - - --f1: #ccc; // Primary Font color - --f2: #ddd; // Headers Font color - - --c1: #111; // Primary Background Color - --c2: #222; // Secondary Background Color - --c3: #333; // Table Rows, Block quote edge, Borders - --c4: #888; // Disabled Buttons, Borders, mark background - - --a1: #f90; // accent color 1 links - --a2: #fb0; // accent color 2 hover,focus - --a3: #f90; // accent color 3 h1-h2 hover,focus - + --f1: #ccc;// Font Color Primary + --f2: #ddd;// Font color Headers + --c1: #111;// Background Color Primary + --c2: #222;// Background Color Secondary + --c3: #333;// Table Rows, Block quote edge, Borders + --c4: #888;// Disabled Buttons, Borders, mark background + --a1: #f90;// link color + --a2: #fb0;// link hover/focus color + --a3: #f90;// link h1-h2 hover/focus color --cg: #483; // ins green, success --cr: #d33; // del red, errors } - -@import "syntax/_abridge-dark"; -//@import "syntax/_abridge-light"; -//@import "syntax/_abridge-white"; -//@import "syntax/_ayu_mirage-dark-abridge"; -//@import "syntax/_ayu_mirage-light-abridge"; -//@import "syntax/_ayu_mirage-white-abridge"; -//@import "syntax/_ayu-dark-abridge"; -//@import "syntax/_ayu-light-abridge"; -//@import "syntax/_ayu-white-abridge"; -//@import "syntax/_charcoal-dark-abridge"; -//@import "syntax/_charcoal-light-abridge"; -//@import "syntax/_charcoal-white-abridge"; -//@import "syntax/_dracula-dark-abridge"; -//@import "syntax/_dracula-light-abridge"; -//@import "syntax/_dracula-white-abridge"; -//@import "syntax/_material-dark-abridge"; -//@import "syntax/_material-light-abridge"; -//@import "syntax/_material-white-abridge";
\ No newline at end of file diff --git a/sass/abridge-light.scss b/sass/abridge-light.scss index 870e2a6..ed7457c 100644 --- a/sass/abridge-light.scss +++ b/sass/abridge-light.scss @@ -1,5 +1,5 @@ @import "imports"; - +@import "syntax/syntax-abridge-light"; //@import "fonts/Arimo"; //@import "fonts/Lato"; @import "fonts/Roboto"; @@ -8,38 +8,15 @@ :root { --ff: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Noto Sans", Helvetica, Arial, sans-serif; --fm: ui-monospace, Menlo, Monaco, Consolas, "SF Mono", "Cascadia Mono", "Segoe UI Mono", "DejaVu Sans Mono", "Liberation Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Ubuntu Mono", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", Courier, monospace; - - --f1: #444; // Primary Font color - --f2: #333; // Headers Font color - - --c1: #fff; // Primary Background Color - --c2: #eee; // Secondary Background Color - --c3: #ddd; // Table Rows, Block quote edge, Borders - --c4: #767676; // Disabled Buttons, Borders, mark background - - --a1: #c40; // accent color 1 links - --a2: #e60; // accent color 2 hover,focus - --a3: #e60; // accent color 3 h1-h2 hover,focus - + --f1: #444;// Font Color Primary + --f2: #333;// Font color Headers + --c1: #fff;// Background Color Primary + --c2: #eee;// Background Color Secondary + --c3: #ddd;// Table Rows, Block quote edge, Borders + --c4: #677;// Disabled Buttons, Borders, mark background + --a1: #c40;// link color + --a2: #e60;// link hover/focus color + --a3: #f90;// link h1-h2 hover/focus color --cg: #483; // ins green, success --cr: #d33; // del red, errors } - -@import "syntax/_abridge-dark"; -//@import "syntax/_abridge-light"; -//@import "syntax/_abridge-white"; -//@import "syntax/_ayu_mirage-dark-abridge"; -//@import "syntax/_ayu_mirage-light-abridge"; -//@import "syntax/_ayu_mirage-white-abridge"; -//@import "syntax/_ayu-dark-abridge"; -//@import "syntax/_ayu-light-abridge"; -//@import "syntax/_ayu-white-abridge"; -//@import "syntax/_charcoal-dark-abridge"; -//@import "syntax/_charcoal-light-abridge"; -//@import "syntax/_charcoal-white-abridge"; -//@import "syntax/_dracula-dark-abridge"; -//@import "syntax/_dracula-light-abridge"; -//@import "syntax/_dracula-white-abridge"; -//@import "syntax/_material-dark-abridge"; -//@import "syntax/_material-light-abridge"; -//@import "syntax/_material-white-abridge";
\ No newline at end of file diff --git a/sass/abridge-switcher.scss b/sass/abridge-switcher.scss new file mode 100644 index 0000000..d69ff54 --- /dev/null +++ b/sass/abridge-switcher.scss @@ -0,0 +1,35 @@ +@import "imports"; +@import "syntax/syntax-abridge-switcher"; +//@import "fonts/Arimo"; +//@import "fonts/Lato"; +@import "fonts/Roboto"; +//@import "fonts/FiraCode"; // Monospaced + +:root { + --ff: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Noto Sans", Helvetica, Arial, sans-serif; + --fm: ui-monospace, Menlo, Monaco, Consolas, "SF Mono", "Cascadia Mono", "Segoe UI Mono", "DejaVu Sans Mono", "Liberation Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Ubuntu Mono", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", Courier, monospace; + --cg: #483; // ins green, success + --cr: #d33; // del red, errors +} +:root:not(.light) { + --f1: #ccc;// Font Color Primary + --f2: #ddd;// Font color Headers + --c1: #111;// Background Color Primary + --c2: #222;// Background Color Secondary + --c3: #333;// Table Rows, Block quote edge, Borders + --c4: #888;// Disabled Buttons, Borders, mark background + --a1: #f90;// link color + --a2: #fb0;// link hover/focus color + --a3: #f90;// link h1-h2 hover/focus color +} +:root.light { + --f1: #444;// Font Color Primary + --f2: #333;// Font color Headers + --c1: #fff;// Background Color Primary + --c2: #eee;// Background Color Secondary + --c3: #ddd;// Table Rows, Block quote edge, Borders + --c4: #677;// Disabled Buttons, Borders, mark background + --a1: #c40;// link color + --a2: #e60;// link hover/focus color + --a3: #f90;// link h1-h2 hover/focus color +} diff --git a/sass/abridge.scss b/sass/abridge.scss index 6f20445..5aefad5 100644 --- a/sass/abridge.scss +++ b/sass/abridge.scss @@ -1,5 +1,5 @@ @import "imports"; - +@import "syntax/syntax-abridge"; //@import "fonts/Arimo"; //@import "fonts/Lato"; @import "fonts/Roboto"; @@ -8,53 +8,28 @@ :root { --ff: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Noto Sans", Helvetica, Arial, sans-serif; --fm: ui-monospace, Menlo, Monaco, Consolas, "SF Mono", "Cascadia Mono", "Segoe UI Mono", "DejaVu Sans Mono", "Liberation Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Ubuntu Mono", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", Courier, monospace; - - --f1: #444; // Primary Font color - --f2: #333; // Headers Font color - - --c1: #fff; // Primary Background Color - --c2: #eee; // Secondary Background Color - --c3: #ddd; // Table Rows, Block quote edge, Borders - --c4: #767676; // Disabled Buttons, Borders, mark background - - --a1: #c40; // accent color 1 links - --a2: #e60; // accent color 2 hover,focus - --a3: #e60; // accent color 3 h1-h2 hover,focus - + --f1: #ccc;// Font Color Primary + --f2: #ddd;// Font color Headers + --c1: #111;// Background Color Primary + --c2: #222;// Background Color Secondary + --c3: #333;// Table Rows, Block quote edge, Borders + --c4: #888;// Disabled Buttons, Borders, mark background + --a1: #f90;// link color + --a2: #fb0;// link hover/focus color + --a3: #f90;// link h1-h2 hover/focus color --cg: #483; // ins green, success --cr: #d33; // del red, errors } -@media (prefers-color-scheme: dark) { +@media (prefers-color-scheme: light) { :root { - --f1: #ccc; // Primary Font color - --f2: #ddd; // Headers Font color - - --c1: #111; // Primary Background Color - --c2: #222; // Secondary Background Color - --c3: #333; // Table Rows, Block quote edge, Borders - --c4: #888; // Disabled Buttons, Borders, mark background - - --a1: #f90; // accent color 1 links - --a2: #fb0; // accent color 2 hover,focus - --a3: #f90; // accent color 3 h1-h2 hover,focus + --f1: #444;// Font Color Primary + --f2: #333;// Font color Headers + --c1: #fff;// Background Color Primary + --c2: #eee;// Background Color Secondary + --c3: #ddd;// Table Rows, Block quote edge, Borders + --c4: #677;// Disabled Buttons, Borders, mark background + --a1: #c40;// link color + --a2: #e60;// link hover/focus color + --a3: #f90;// link h1-h2 hover/focus color } } - -@import "syntax/_abridge-dark"; -//@import "syntax/_abridge-light"; -//@import "syntax/_abridge-white"; -//@import "syntax/_ayu_mirage-dark-abridge"; -//@import "syntax/_ayu_mirage-light-abridge"; -//@import "syntax/_ayu_mirage-white-abridge"; -//@import "syntax/_ayu-dark-abridge"; -//@import "syntax/_ayu-light-abridge"; -//@import "syntax/_ayu-white-abridge"; -//@import "syntax/_charcoal-dark-abridge"; -//@import "syntax/_charcoal-light-abridge"; -//@import "syntax/_charcoal-white-abridge"; -//@import "syntax/_dracula-dark-abridge"; -//@import "syntax/_dracula-light-abridge"; -//@import "syntax/_dracula-white-abridge"; -//@import "syntax/_material-dark-abridge"; -//@import "syntax/_material-light-abridge"; -//@import "syntax/_material-white-abridge";
\ No newline at end of file diff --git a/sass/include/_button.scss b/sass/include/_button.scss index c1b1d9e..62c7c47 100644 --- a/sass/include/_button.scss +++ b/sass/include/_button.scss @@ -17,11 +17,11 @@ button, [type="button" i], [type="submit" i], [type="reset" i] { - -webkit-appearance: button; + //-webkit-appearance: button; display: inline-block; text-align: center; white-space: nowrap; - background: var(--c2); + //background: var(--c2); color: var(--f1); border: 0; cursor: pointer; diff --git a/sass/include/_icons.scss b/sass/include/_icons.scss index fd4e988..bf065aa 100644 --- a/sass/include/_icons.scss +++ b/sass/include/_icons.scss @@ -26,6 +26,7 @@ check: "%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='#{map-get($p, s)}' stroke-width='#{map-get($p, sw)}' fill='#{map-get($p, f)}' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E", chevron: "%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='#{map-get($p, s)}' stroke-width='#{map-get($p, sw)}' fill='#{map-get($p, f)}' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E", clock: "%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='#{map-get($p, s)}' stroke-width='#{map-get($p, sw)}' fill='#{map-get($p, f)}' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E", + contrast: "%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='#{map-get($p, s)}' stroke-width='#{map-get($p, sw)}' fill='#{map-get($p, f)}' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C6 0 0 6 0 12s5 12 12 12 12-5 12-12S19 0 12 0Zm0 4c5 0 8 3 8 8s-3 8-8 8V4Z'/%3E%3C/svg%3E", date: "%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='#{map-get($p, s)}' stroke-width='#{map-get($p, sw)}' fill='#{map-get($p, f)}' viewBox='0 0 24 24'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cpath d='M16 2v4M8 2v4m-5 4h18'/%3E%3C/svg%3E", docker: "%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='#{map-get($p, s)}' stroke-width='#{map-get($p, sw)}' fill='#{map-get($p, f)}' viewBox='0 0 24 24'%3E%3Cpath d='M4 19.8S7 20 8 18m-4-7h3v3H4Zm3 0h3v3H7Zm3 0h3v3h-3ZM7 8h3v3H7Zm3 0h3v3h-3Zm0-3h3v3h-3Zm10 8c-1 0-1 0-1.4-1.9C18.5 10 17 10 17 12c0 1 0 2-3 2H1a9 9 0 0 0 3 6c3 2 5 2 9 1a10.8 10.8 90 0 0 5-4c1-2 1-1 3-2s1-2 0-2Z'/%3E%3C/svg%3E%0A", element: "%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{map-get($p, f)}' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C5 0 0 6 0 12s6 12 12 12 12-6 12-12A12 12 0 0 0 12 0Zm-1 4c4 0 6 3 6 6 0 2-2 2-2 0s-2-4-4-4-2-2 0-2Zm-7 9c0-4 3-6 6-6 2 0 2 2 0 2s-4 2-4 4-2 2-2 0Zm9 7c-4 0-6-3-6-6 0-2 2-2 2 0s2.4 4 4 4c2 0 2 2 0 2Zm1-3c-2 0-2-2 0-2s4-2 4-4 2-2 2 0c0 4-3 6-6 6Z'/%3E%3C/svg%3E", @@ -65,6 +66,7 @@ @if $icon-check {.check { background-image: icon(check, "%23888", 2, "none") }} @if $icon-chevron {.chevron { background-image: icon(chevron, "%23888", 2, "none") }} @if $icon-clock {.clock { background-image: icon(clock, "%23888", 2, "none") }} + @if $icon-contrast {.contrast { background-image: icon(contrast, "none", 1, "%23888") }} @if $icon-date {.date { background-image: icon(date, "%23888", 2, "none") }} @if $icon-docker {.docker { background-image: icon(docker, "%2329e", 2, "none") }} @if $icon-element {.element { background-image: icon(element, "none", 1, "%231c8") }} diff --git a/sass/include/_nav.scss b/sass/include/_nav.scss index f28d92f..090fbc4 100644 --- a/sass/include/_nav.scss +++ b/sass/include/_nav.scss @@ -34,7 +34,7 @@ header > nav > div:first-of-type {//Keep the logo from wrapping } header > nav > div:nth-child(2) {//puts logo on left and menu/search on right margin-left: auto; - padding-right: var(--s1);//add some spacing between nav divs + padding-right: var(--s2);//add some spacing between nav divs } nav > div { ul, h2 { diff --git a/sass/include/_typography.scss b/sass/include/_typography.scss index 97f1e3e..db39f35 100644 --- a/sass/include/_typography.scss +++ b/sass/include/_typography.scss @@ -109,7 +109,7 @@ p, pre, table, ul { - margin: var(--s1) 0; + margin: .7rem 0; color: var(--f1); font-style: normal; font-weight: var(--fw); diff --git a/sass/include/_zola.scss b/sass/include/_zola.scss new file mode 100644 index 0000000..e07c1e1 --- /dev/null +++ b/sass/include/_zola.scss @@ -0,0 +1,4 @@ +.sum {margin: 0.2rem 0} +.info {font-size: .8rem} +.hpad {padding: 0 .4rem} +.rpad {padding-right: .4rem}
\ No newline at end of file diff --git a/sass/syntax/_abridge-light.scss b/sass/syntax/_abridge-light.scss deleted file mode 100644 index 2b4d858..0000000 --- a/sass/syntax/_abridge-light.scss +++ /dev/null @@ -1,272 +0,0 @@ -.z-code { - color: #50565a; - background-color: #fafafa; -} -.z-comment, .z-punctuation.z-definition.z-comment { - color: #6e7379; - font-style: italic; -} -.z-variable { - color: #50565a; -} -.z-string, .z-constant.z-other.z-symbol { - color: #507e00; -} -.z-constant.z-numeric { - color: #b85500; -} -.z-string.z-regexp, .z-constant.z-character.z-escape { - color: #008260; -} -.z-constant.z-language { - color: #b85500; -} -.z-constant.z-character, .z-constant.z-other { - color: #b85500; -} -.z-variable.z-member { - color: #cb414d; -} -.z-keyword, .z-keyword.z-operator.z-word { - color: #0066ee; -} -.z-keyword.z-operator { - color: #ac5c32; -} -.z-punctuation.z-separator, .z-punctuation.z-terminator { - color: #50565a; -} -.z-punctuation.z-section { - color: #50565a; -} -.z-punctuation.z-accessor { - color: #ac5c32; -} -.z-punctuation.z-definition.z-annotation { - color: #50565a; -} -.z-variable.z-other.z-dollar.z-only.z-js, .z-variable.z-other.z-object.z-dollar.z-only.z-js, .z-variable.z-type.z-dollar.z-only.z-js, .z-support.z-class.z-dollar.z-only.z-js { - color: #936b2c; -} -.z-storage { - color: #0066ee; -} -.z-storage.z-type { - color: #0066ee; -} -.z-entity.z-name.z-function { - color: #ac5d00; -} -.z-entity.z-name, .z-entity.z-name.z-tag, .z-entity.z-name.z-label { - color: #0079bd; -} -.z-entity.z-other.z-inherited-class { - color: #0079bd; - text-decoration: underline; -} -.z-variable.z-parameter { - color: #b85500; -} -.z-variable.z-language { - color: #007d9b; - font-style: italic; -} -.z-entity.z-name.z-tag, .z-meta.z-tag.z-sgml { - color: #007d9b; -} -.z-punctuation.z-definition.z-tag.z-end, .z-punctuation.z-definition.z-tag.z-begin, .z-punctuation.z-definition.z-tag { - color: #007d9b; -} -.z-entity.z-other.z-attribute-name { - color: #ac5d00; -} -.z-variable.z-function, .z-variable.z-annotation { - color: #ac5d00; -} -.z-support.z-function, .z-support.z-macro { - color: #c44a4e; -} -.z-support.z-constant { - color: #ac5c32; - font-style: italic; -} -.z-support.z-type, .z-support.z-class { - color: #007d9b; - font-style: italic; -} -.z-invalid { - color: #e6000b; -} -.z-invalid.z-deprecated { - color: #ffffff; - background-color: #0066ee; -} -.z-source.z-ruby .z-variable.z-other.z-readwrite { - color: #ac5d00; -} -.z-source.z-css .z-entity.z-name.z-tag, .z-source.z-sass .z-entity.z-name.z-tag, .z-source.z-scss .z-entity.z-name.z-tag, .z-source.z-less .z-entity.z-name.z-tag, .z-source.z-stylus .z-entity.z-name.z-tag { - color: #0079bd; -} -.z-source.z-css .z-support.z-type, .z-source.z-sass .z-support.z-type, .z-source.z-scss .z-support.z-type, .z-source.z-less .z-support.z-type, .z-source.z-stylus .z-support.z-type { - color: #6e7379; -} -.z-support.z-type.z-property-name { - color: #007d9b; -} -.z-constant.z-numeric.z-line-number.z-find-in-files { - color: #6e7379; -} -.z-constant.z-numeric.z-line-number.z-match { - color: #0066ee; -} -.z-entity.z-name.z-filename.z-find-in-files { - color: #507e00; -} -.z-message.z-error { - color: #e6000b; -} -.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #007d9b; -} -.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #007d9b; -} -.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #007d9b; -} -.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #007d9b; -} -.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #007d9b; -} -.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #007d9b; -} -.z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #007d9b; -} -.z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #007d9b; -} -.z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #007d9b; -} -.z-markup.z-heading { - color: #0066ee; -font-weight: bold; -} -.z-string.z-other.z-link, .z-markup.z-underline.z-link { - color: #008260; - text-decoration: underline; - font-style: italic; -} -.z-punctuation.z-definition.z-image { - color: #ac5d00; -} -.z-markup.z-italic { - color: #c44a4e; - font-style: italic; -} -.z-markup.z-bold { - color: #c44a4e; -font-weight: bold; -} -.z-markup.z-italic .z-markup.z-bold, .z-markup.z-bold .z-markup.z-italic { -font-weight: bold; - font-style: italic; -} -.z-markup.z-raw { - background-color: #50565a; -} -.z-markup.z-raw.z-inline { - background-color: #50565a; -} -.z-meta.z-separator { - color: #6e7379; - background-color: #50565a; -font-weight: bold; -} -.z-markup.z-quote { - color: #b85500; - font-style: italic; -} -.z-markup.z-list.z-numbered.z-bullet, .z-markup.z-list .z-punctuation.z-definition.z-list_item { - color: #008260; -} -.z-markup.z-inserted { - color: #507e00; -} -.z-markup.z-changed { - color: #007d9b; -} -.z-markup.z-deleted { - color: #c44a4e; -} -.z-markup.z-strike { - color: #936b2c; -} -.z-markup.z-table { - color: #007d9b; - background-color: #50565a; -} -.z-text.z-html.z-markdown .z-markup.z-raw.z-inline { - color: #ac5c32; -} -.z-text.z-html.z-markdown .z-meta.z-dummy.z-line-break { - color: #6e7379; -} -.z-markup.z-raw.z-block.z-fenced.z-markdown { - color: #50565a; - background-color: #50565a; -} -.z-punctuation.z-definition.z-fenced.z-markdown, .z-variable.z-language.z-fenced.z-markdown { - color: #6e7379; - background-color: #50565a; -} -.z-variable.z-language.z-fenced.z-markdown { - color: #6e7379; -} -.z-markup.z-inserted.z-git_gutter { - color: #507e00; -} -.z-markup.z-changed.z-git_gutter { - color: #007d9b; -} -.z-markup.z-deleted.z-git_gutter { - color: #e6000b; -} -.z-markup.z-ignored.z-git_gutter { - color: #dee0e1; -} -.z-markup.z-untracked.z-git_gutter { - color: #dee0e1; -} -.z-gutter_color { - color: #ffffff; -} -.z-acejump.z-label.z-blue { - color: #ffffff; - background-color: #007d9b; -} -.z-acejump.z-label.z-green { - color: #ffffff; - background-color: #507e00; -} -.z-acejump.z-label.z-orange { - color: #ffffff; - background-color: #0066ee; -} -.z-acejump.z-label.z-purple { - color: #ffffff; - background-color: #c44a4e; -} -.z-sublimelinter.z-mark.z-warning { - color: #007d9b; -} -.z-sublimelinter.z-gutter-mark { - color: #ffffff; -} -.z-sublimelinter.z-mark.z-error { - color: #e6000b; -} diff --git a/sass/syntax/_ayu-light-abridge.scss b/sass/syntax/_ayu-light-abridge.scss deleted file mode 100644 index 96c1ffa..0000000 --- a/sass/syntax/_ayu-light-abridge.scss +++ /dev/null @@ -1,272 +0,0 @@ -.z-code { - color: #61676c; - background-color: #fafafa; -} -.z-comment, .z-punctuation.z-definition.z-comment { - color: #6e7379; - font-style: italic; -} -.z-variable { - color: #61676c; -} -.z-string, .z-constant.z-other.z-symbol { - color: #507e00; -} -.z-constant.z-numeric { - color: #b85500; -} -.z-string.z-regexp, .z-constant.z-character.z-escape { - color: #008260; -} -.z-constant.z-language { - color: #b85500; -} -.z-constant.z-character, .z-constant.z-other { - color: #b85500; -} -.z-variable.z-member { - color: #cb414d; -} -.z-keyword, .z-keyword.z-operator.z-word { - color: #c94506; -} -.z-keyword.z-operator { - color: #ac5c32; -} -.z-punctuation.z-separator, .z-punctuation.z-terminator { - color: #61676c; -} -.z-punctuation.z-section { - color: #61676c; -} -.z-punctuation.z-accessor { - color: #ac5c32; -} -.z-punctuation.z-definition.z-annotation { - color: #61676c; -} -.z-variable.z-other.z-dollar.z-only.z-js, .z-variable.z-other.z-object.z-dollar.z-only.z-js, .z-variable.z-type.z-dollar.z-only.z-js, .z-support.z-class.z-dollar.z-only.z-js { - color: #936b2c; -} -.z-storage { - color: #c94506; -} -.z-storage.z-type { - color: #c94506; -} -.z-entity.z-name.z-function { - color: #ac5d00; -} -.z-entity.z-name, .z-entity.z-name.z-tag, .z-entity.z-name.z-label { - color: #0079bd; -} -.z-entity.z-other.z-inherited-class { - color: #0079bd; - text-decoration: underline; -} -.z-variable.z-parameter { - color: #b85500; -} -.z-variable.z-language { - color: #007d9b; - font-style: italic; -} -.z-entity.z-name.z-tag, .z-meta.z-tag.z-sgml { - color: #007d9b; -} -.z-punctuation.z-definition.z-tag.z-end, .z-punctuation.z-definition.z-tag.z-begin, .z-punctuation.z-definition.z-tag { - color: #007d9b; -} -.z-entity.z-other.z-attribute-name { - color: #ac5d00; -} -.z-variable.z-function, .z-variable.z-annotation { - color: #ac5d00; -} -.z-support.z-function, .z-support.z-macro { - color: #c44a4e; -} -.z-support.z-constant { - color: #ac5c32; - font-style: italic; -} -.z-support.z-type, .z-support.z-class { - color: #007d9b; - font-style: italic; -} -.z-invalid { - color: #e6000b; -} -.z-invalid.z-deprecated { - color: #ffffff; - background-color: #c94506; -} -.z-source.z-ruby .z-variable.z-other.z-readwrite { - color: #ac5d00; -} -.z-source.z-css .z-entity.z-name.z-tag, .z-source.z-sass .z-entity.z-name.z-tag, .z-source.z-scss .z-entity.z-name.z-tag, .z-source.z-less .z-entity.z-name.z-tag, .z-source.z-stylus .z-entity.z-name.z-tag { - color: #0079bd; -} -.z-source.z-css .z-support.z-type, .z-source.z-sass .z-support.z-type, .z-source.z-scss .z-support.z-type, .z-source.z-less .z-support.z-type, .z-source.z-stylus .z-support.z-type { - color: #6e7379; -} -.z-support.z-type.z-property-name { - color: #007d9b; -} -.z-constant.z-numeric.z-line-number.z-find-in-files { - color: #6e7379; -} -.z-constant.z-numeric.z-line-number.z-match { - color: #c94506; -} -.z-entity.z-name.z-filename.z-find-in-files { - color: #507e00; -} -.z-message.z-error { - color: #e6000b; -} -.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #007d9b; -} -.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #007d9b; -} -.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #007d9b; -} -.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #007d9b; -} -.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #007d9b; -} -.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #007d9b; -} -.z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #007d9b; -} -.z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #007d9b; -} -.z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #007d9b; -} -.z-markup.z-heading { - color: #c94506; -font-weight: bold; -} -.z-string.z-other.z-link, .z-markup.z-underline.z-link { - color: #008260; - text-decoration: underline; - font-style: italic; -} -.z-punctuation.z-definition.z-image { - color: #ac5d00; -} -.z-markup.z-italic { - color: #c44a4e; - font-style: italic; -} -.z-markup.z-bold { - color: #c44a4e; -font-weight: bold; -} -.z-markup.z-italic .z-markup.z-bold, .z-markup.z-bold .z-markup.z-italic { -font-weight: bold; - font-style: italic; -} -.z-markup.z-raw { - background-color: #61676c; -} -.z-markup.z-raw.z-inline { - background-color: #61676c; -} -.z-meta.z-separator { - color: #6e7379; - background-color: #61676c; -font-weight: bold; -} -.z-markup.z-quote { - color: #b85500; - font-style: italic; -} -.z-markup.z-list.z-numbered.z-bullet, .z-markup.z-list .z-punctuation.z-definition.z-list_item { - color: #008260; -} -.z-markup.z-inserted { - color: #507e00; -} -.z-markup.z-changed { - color: #007d9b; -} -.z-markup.z-deleted { - color: #c44a4e; -} -.z-markup.z-strike { - color: #936b2c; -} -.z-markup.z-table { - color: #007d9b; - background-color: #61676c; -} -.z-text.z-html.z-markdown .z-markup.z-raw.z-inline { - color: #ac5c32; -} -.z-text.z-html.z-markdown .z-meta.z-dummy.z-line-break { - color: #6e7379; -} -.z-markup.z-raw.z-block.z-fenced.z-markdown { - color: #61676c; - background-color: #61676c; -} -.z-punctuation.z-definition.z-fenced.z-markdown, .z-variable.z-language.z-fenced.z-markdown { - color: #6e7379; - background-color: #61676c; -} -.z-variable.z-language.z-fenced.z-markdown { - color: #6e7379; -} -.z-markup.z-inserted.z-git_gutter { - color: #507e00; -} -.z-markup.z-changed.z-git_gutter { - color: #007d9b; -} -.z-markup.z-deleted.z-git_gutter { - color: #e6000b; -} -.z-markup.z-ignored.z-git_gutter { - color: #dee0e1; -} -.z-markup.z-untracked.z-git_gutter { - color: #dee0e1; -} -.z-gutter_color { - color: #ffffff; -} -.z-acejump.z-label.z-blue { - color: #ffffff; - background-color: #007d9b; -} -.z-acejump.z-label.z-green { - color: #ffffff; - background-color: #507e00; -} -.z-acejump.z-label.z-orange { - color: #ffffff; - background-color: #c94506; -} -.z-acejump.z-label.z-purple { - color: #ffffff; - background-color: #c44a4e; -} -.z-sublimelinter.z-mark.z-warning { - color: #007d9b; -} -.z-sublimelinter.z-gutter-mark { - color: #ffffff; -} -.z-sublimelinter.z-mark.z-error { - color: #e6000b; -} diff --git a/sass/syntax/_ayu_mirage-light-abridge.scss b/sass/syntax/_ayu_mirage-light-abridge.scss deleted file mode 100644 index 3ba72cb..0000000 --- a/sass/syntax/_ayu_mirage-light-abridge.scss +++ /dev/null @@ -1,275 +0,0 @@ -.z-code { - color: #76736d; - background-color: #fafafa; -} -.z-comment, .z-punctuation.z-definition.z-comment { - color: #5c6773; - font-style: italic; -} -.z-variable { - color: #76736d; -} -.z-string, .z-constant.z-other.z-symbol { - color: #547f1c; -} -.z-constant.z-numeric { - color: #926b00; -} -.z-string.z-regexp, .z-constant.z-character.z-escape { - color: #2d7f68; -} -.z-constant.z-language { - color: #926b00; -} -.z-constant.z-character, .z-constant.z-other { - color: #926b00; -} -.z-variable.z-member { - color: #cb414d; -} -.z-keyword, .z-keyword.z-operator.z-word { - color: #aa5f0f; -} -.z-keyword.z-operator { - color: #aa5f39; -} -.z-punctuation.z-separator, .z-punctuation.z-terminator { - color: #76736d; -} -.z-punctuation.z-section { - color: #76736d; -} -.z-punctuation.z-accessor { - color: #aa5f39; -} -.z-punctuation.z-definition.z-annotation { - color: #76736d; -} -.z-variable.z-other.z-dollar.z-only.z-js, .z-variable.z-other.z-object.z-dollar.z-only.z-js, .z-variable.z-type.z-dollar.z-only.z-js, .z-support.z-class.z-dollar.z-only.z-js { - color: #986b00; -} -.z-storage { - color: #aa5f0f; -} -.z-storage.z-type { - color: #aa5f0f; -} -.z-entity.z-name.z-function { - color: #8f6f1d; -} -.z-entity.z-name, .z-entity.z-name.z-tag, .z-entity.z-name.z-label { - color: #007ca7; -} -.z-entity.z-other.z-inherited-class { - color: #007ca7; - text-decoration: underline; -} -.z-variable.z-parameter { - color: #926b00; -} -.z-variable.z-language { - color: #007f95; - font-style: italic; -} -.z-entity.z-name.z-tag, .z-meta.z-tag.z-sgml { - color: #007f95; -} -.z-punctuation.z-definition.z-tag.z-end, .z-punctuation.z-definition.z-tag.z-begin, .z-punctuation.z-definition.z-tag { - color: #007f95; -} -.z-entity.z-other.z-attribute-name { - color: #8f6f1d; -} -.z-variable.z-function, .z-variable.z-annotation { - color: #8f6f1d; -} -.z-support.z-function, .z-support.z-macro { - color: #b75349; -} -.z-support.z-constant { - color: #aa5f39; - font-style: italic; -} -.z-support.z-type, .z-support.z-class { - color: #007f95; - font-style: italic; -} -.z-invalid { - color: #e40320; -} -.z-invalid.z-deprecated { - color: #fafafa; - background-color: #aa5f0f; -} -.z-meta.z-diff, .z-meta.z-diff.z-header { - color: #916392; -} -.z-source.z-ruby .z-variable.z-other.z-readwrite { - color: #8f6f1d; -} -.z-source.z-css .z-entity.z-name.z-tag, .z-source.z-sass .z-entity.z-name.z-tag, .z-source.z-scss .z-entity.z-name.z-tag, .z-source.z-less .z-entity.z-name.z-tag, .z-source.z-stylus .z-entity.z-name.z-tag { - color: #007ca7; -} -.z-source.z-css .z-support.z-type, .z-source.z-sass .z-support.z-type, .z-source.z-scss .z-support.z-type, .z-source.z-less .z-support.z-type, .z-source.z-stylus .z-support.z-type { - color: #5c6773; -} -.z-support.z-type.z-property-name { - color: #007f95; -} -.z-constant.z-numeric.z-line-number.z-find-in-files { - color: #5c6773; -} -.z-constant.z-numeric.z-line-number.z-match { - color: #aa5f0f; -} -.z-entity.z-name.z-filename.z-find-in-files { - color: #547f1c; -} -.z-message.z-error { - color: #e40320; -} -.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #007f95; -} -.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #007f95; -} -.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #007f95; -} -.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #007f95; -} -.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #007f95; -} -.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #007f95; -} -.z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #007f95; -} -.z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #007f95; -} -.z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #007f95; -} -.z-markup.z-heading { - color: #aa5f0f; -font-weight: bold; -} -.z-string.z-other.z-link, .z-markup.z-underline.z-link { - color: #2d7f68; - text-decoration: underline; - font-style: italic; -} -.z-punctuation.z-definition.z-image { - color: #8f6f1d; -} -.z-markup.z-italic { - color: #b75349; - font-style: italic; -} -.z-markup.z-bold { - color: #b75349; -font-weight: bold; -} -.z-markup.z-italic .z-markup.z-bold, .z-markup.z-bold .z-markup.z-italic { -font-weight: bold; - font-style: italic; -} -.z-markup.z-raw { - background-color: #76736d; -} -.z-markup.z-raw.z-inline { - background-color: #76736d; -} -.z-meta.z-separator { - color: #5c6773; - background-color: #76736d; -font-weight: bold; -} -.z-markup.z-quote { - color: #926b00; - font-style: italic; -} -.z-markup.z-list.z-numbered.z-bullet, .z-markup.z-list .z-punctuation.z-definition.z-list_item { - color: #2d7f68; -} -.z-markup.z-inserted { - color: #547f1c; -} -.z-markup.z-changed { - color: #007f95; -} -.z-markup.z-deleted { - color: #b75349; -} -.z-markup.z-strike { - color: #986b00; -} -.z-markup.z-table { - color: #007f95; - background-color: #76736d; -} -.z-text.z-html.z-markdown .z-markup.z-raw.z-inline { - color: #aa5f39; -} -.z-text.z-html.z-markdown .z-meta.z-dummy.z-line-break { - color: #5c6773; -} -.z-markup.z-raw.z-block.z-fenced.z-markdown { - color: #76736d; - background-color: #76736d; -} -.z-punctuation.z-definition.z-fenced.z-markdown, .z-variable.z-language.z-fenced.z-markdown { - color: #5c6773; - background-color: #76736d; -} -.z-variable.z-language.z-fenced.z-markdown { - color: #5c6773; -} -.z-markup.z-inserted.z-git_gutter { - color: #547f1c; -} -.z-markup.z-changed.z-git_gutter { - color: #007f95; -} -.z-markup.z-deleted.z-git_gutter { - color: #e40320; -} -.z-markup.z-ignored.z-git_gutter { - color: #363e4a; -} -.z-markup.z-untracked.z-git_gutter { - color: #363e4a; -} -.z-gutter_color { - color: #fafafa; -} -.z-acejump.z-label.z-blue { - color: #fafafa; - background-color: #007f95; -} -.z-acejump.z-label.z-green { - color: #fafafa; - background-color: #547f1c; -} -.z-acejump.z-label.z-orange { - color: #fafafa; - background-color: #aa5f0f; -} -.z-acejump.z-label.z-purple { - color: #fafafa; - background-color: #b75349; -} -.z-sublimelinter.z-mark.z-warning { - color: #007f95; -} -.z-sublimelinter.z-gutter-mark { - color: #fafafa; -} -.z-sublimelinter.z-mark.z-error { - color: #e40320; -} diff --git a/sass/syntax/_charcoal-light-abridge.scss b/sass/syntax/_charcoal-light-abridge.scss deleted file mode 100644 index 927d678..0000000 --- a/sass/syntax/_charcoal-light-abridge.scss +++ /dev/null @@ -1,79 +0,0 @@ -.z-code { - color: #727373; - background-color: #fafafa; -} -.z-comment, .z-punctuation.z-definition.z-comment { - color: #5f6364; -} -.z-variable { - color: #727373; -} -.z-keyword, .z-storage.z-type, .z-storage.z-modifier { - color: #916392; -} -.z-keyword.z-operator, .z-constant.z-other.z-color, .z-punctuation, .z-meta.z-tag, .z-punctuation.z-definition.z-tag, .z-punctuation.z-separator.z-inheritance.z-php, .z-punctuation.z-definition.z-tag.z-html, .z-punctuation.z-definition.z-tag.z-begin.z-html, .z-punctuation.z-definition.z-tag.z-end.z-html, .z-punctuation.z-section.z-embedded, .z-keyword.z-other.z-template, .z-keyword.z-other.z-substitution { - color: #237e7f; -} -.z-entity.z-name.z-tag, .z-meta.z-tag.z-sgml, .z-markup.z-deleted.z-git_gutter { - color: #ca4251; -} -.z-entity.z-name.z-function, .z-meta.z-function-call, .z-variable.z-function, .z-support.z-function, .z-keyword.z-other.z-special-method, .z-meta.z-block-level { - color: #4076a7; -} -.z-support.z-other.z-variable, .z-string.z-other.z-link { - color: #c14c52; -} -.z-constant.z-numeric, .z-constant.z-language, .z-support.z-constant, .z-constant.z-character, .z-variable.z-parameter, .z-keyword.z-other.z-unit { - color: #b75922; -} -.z-string, .z-constant.z-other.z-symbol, .z-constant.z-other.z-key, .z-entity.z-other.z-inherited-class, .z-markup.z-heading, .z-markup.z-inserted.z-git_gutter, .z-meta.z-group.z-braces.z-curly .z-constant.z-other.z-object.z-key.z-js .z-string.z-unquoted.z-label.z-js { - color: #517c4e; -} -.z-entity.z-name.z-class, .z-entity.z-name.z-type.z-class, .z-support.z-type, .z-support.z-class, .z-support.z-orther.z-namespace.z-use.z-php, .z-meta.z-use.z-php, .z-support.z-other.z-namespace.z-php, .z-markup.z-changed.z-git_gutter { - color: #926c00; -} -.z-entity.z-name.z-module.z-js, .z-variable.z-import.z-parameter.z-js, .z-variable.z-other.z-class.z-js { - color: #cb414d; -} -.z-variable.z-language { - color: #cb414d; -} -.z-entity.z-name.z-method.z-js { - color: #6c727c; -} -.z-meta.z-class-method.z-js .z-entity.z-name.z-function.z-js, .z-variable.z-function.z-constructor { - color: #6c727c; -} -.z-entity.z-other.z-attribute-name { - color: #996091; -} -.z-markup.z-inserted { - color: #517c4e; -} -.z-markup.z-deleted { - color: #cb414d; -} -.z-markup.z-changed { - color: #996091; -} -.z-string.z-regexp { - color: #237e7f; -} -.z-constant.z-character.z-escape { - color: #237e7f; -} -.z-*url*, .z-*link*, .z-*uri* { - text-decoration: underline; -} -.z-constant.z-numeric.z-line-number.z-find-in-files { - color: #976756; -} -.z-entity.z-name.z-filename.z-find-in-files { - color: #517c4e; -} -.z-tag.z-decorator.z-js .z-entity.z-name.z-tag.z-js, .z-tag.z-decorator.z-js .z-punctuation.z-definition.z-tag.z-js { - color: #4076a7; -} -.z-source.z-js .z-constant.z-other.z-object.z-key.z-js .z-string.z-unquoted.z-label.z-js { - color: #cb414d; -} diff --git a/sass/syntax/_dracula-light-abridge.scss b/sass/syntax/_dracula-light-abridge.scss deleted file mode 100644 index b122c9b..0000000 --- a/sass/syntax/_dracula-light-abridge.scss +++ /dev/null @@ -1,245 +0,0 @@ -.z-code { - color: #72726d; - background-color: #fafafa; -} -.z-comment { - color: #6272a4; -} -.z-string { - color: #6b7807; -} -.z-constant.z-numeric { - color: #8660c1; -} -.z-constant.z-language { - color: #8660c1; -} -.z-constant.z-character, .z-constant.z-other { - color: #8660c1; -} -.z-variable { -} -.z-variable.z-other.z-readwrite.z-instance { - color: #a1661c; -} -.z-constant.z-character.z-escaped, .z-constant.z-character.z-escape, .z-string .z-source, .z-string .z-source.z-ruby { - color: #c13f8e; -} -.z-source.z-ruby .z-string.z-regexp.z-classic.z-ruby, .z-source.z-ruby .z-string.z-regexp.z-mod-r.z-ruby { - color: #d9303a; -} -.z-keyword { - color: #c13f8e; -} -.z-storage { - color: #c13f8e; -} -.z-storage.z-type { - color: #007d90; - font-style: italic; -} -.z-storage.z-type.z-namespace { - color: #007d90; - font-style: italic; -} -.z-storage.z-type.z-class { - color: #c13f8e; - font-style: italic; -} -.z-entity.z-name.z-class { - color: #007d90; - text-decoration: underline; -} -.z-meta.z-path { - color: #007f93; - text-decoration: underline; -} -.z-entity.z-other.z-inherited-class { - color: #007d90; - text-decoration: underline; - font-style: italic; -} -.z-entity.z-name.z-function { - color: #008504; -} -.z-variable.z-parameter { - color: #a1661c; - font-style: italic; -} -.z-entity.z-name.z-tag { - color: #c13f8e; -} -.z-entity.z-other.z-attribute-name { - color: #008504; -} -.z-support.z-function { - color: #007d90; -} -.z-support.z-constant { - color: #007e94; -} -.z-support.z-type, .z-support.z-class { - color: #007f93; - font-style: italic; -} -.z-support.z-other.z-variable { -} -.z-support.z-other.z-namespace { - color: #007f93; - font-style: italic; -} -.z-invalid { - color: #72726b; - background-color: #c13f8e; -} -.z-invalid.z-deprecated { - color: #72726b; - background-color: #8660c1; -} -.z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { - color: #747469; -} -.z-meta.z-diff, .z-meta.z-diff.z-header { - color: #6272a4; -} -.z-markup.z-deleted { - color: #c13f8e; -} -.z-markup.z-inserted { - color: #008504; -} -.z-markup.z-changed { - color: #7b760c; -} -.z-constant.z-numeric.z-line-number.z-find-in-files { - color: #8660c1; -} -.z-entity.z-name.z-filename { - color: #7b760c; -} -.z-message.z-error { - color: #e31625; -} -.z-punctuation.z-definition.z-string.z-begin.z-json, .z-punctuation.z-definition.z-string.z-end.z-json { - color: #727272; -} -.z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { - color: #007d90; -} -.z-meta.z-structure.z-dictionary.z-value.z-json .z-string.z-quoted.z-double.z-json { - color: #6b7807; -} -.z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-value .z-string { - color: #008504; -} -.z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-value .z-string { - color: #a1661c; -} -.z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-value .z-string { - color: #c13f8e; -} -.z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-value .z-string { - color: #8660c1; -} -.z-meta .z-meta .z-meta.z-structure.z-dictionary.z-value .z-string { - color: #008504; -} -.z-meta .z-meta.z-structure.z-dictionary.z-value .z-string { - color: #a1661c; -} -.z-markup.z-strike { - color: #a1661c; - font-style: italic; -} -.z-markup.z-bold { - color: #a1661c; -font-weight: bold; -} -.z-markup.z-italic { - color: #a1661c; - font-style: italic; -} -.z-markup.z-heading { - color: #007d90; -} -.z-punctuation.z-definition.z-list_item.z-markdown { - color: #c13f8e; -} -.z-markup.z-quote { - color: #6272a4; - font-style: italic; -} -.z-punctuation.z-definition.z-blockquote.z-markdown { - color: #6272a4; - background-color: #6272a4; - font-style: italic; -} -.z-meta.z-separator { - color: #6272a4; -} -.z-text.z-html.z-markdown .z-markup.z-raw.z-inline { - color: #008504; -} -.z-markup.z-underline { - color: #8660c1; - text-decoration: underline; -} -.z-markup.z-raw.z-block { - color: #747469; -} -.z-markup.z-raw.z-block.z-fenced.z-markdown .z-source { - color: #72726d; -} -.z-punctuation.z-definition.z-fenced.z-markdown, .z-variable.z-language.z-fenced.z-markdown { - color: #6272a4; - font-style: italic; -} -.z-variable.z-language.z-fenced.z-markdown { - color: #6272a4; - font-style: italic; -} -.z-punctuation.z-accessor { - color: #c13f8e; -} -.z-meta.z-function.z-return-type { - color: #c13f8e; -} -.z-punctuation.z-section.z-block.z-begin { - color: #fafafa; -} -.z-punctuation.z-section.z-block.z-end { - color: #fafafa; -} -.z-punctuation.z-section.z-embedded.z-begin { - color: #c13f8e; -} -.z-punctuation.z-section.z-embedded.z-end { - color: #c13f8e; -} -.z-punctuation.z-separator.z-namespace { - color: #c13f8e; -} -.z-variable.z-function { - color: #008504; -} -.z-variable.z-other { - color: #fafafa; -} -.z-variable.z-language { - color: #8660c1; -} -.z-entity.z-name.z-module.z-ruby { - color: #007d90; -} -.z-entity.z-name.z-constant.z-ruby { - color: #8660c1; -} -.z-support.z-function.z-builtin.z-ruby { - color: #fafafa; -} -.z-storage.z-type.z-namespace.z-cs { - color: #c13f8e; -} -.z-entity.z-name.z-namespace.z-cs { - color: #007d90; -} diff --git a/sass/syntax/_material-light-abridge.scss b/sass/syntax/_material-light-abridge.scss deleted file mode 100644 index fa7f307..0000000 --- a/sass/syntax/_material-light-abridge.scss +++ /dev/null @@ -1,260 +0,0 @@ -.z-code { - color: #317e78; - background-color: #fafafa; -} -.z-comment, .z-punctuation.z-definition.z-comment { - color: #6b7577; - font-style: italic; -} -.z-variable, .z-string .z-constant.z-other.z-placeholder { - color: #317e78; -} -.z-constant.z-other.z-color { - color: #fafafa; -} -.z-invalid, .z-invalid.z-illegal, .z-invalid.z-broken { - color: #fafafa; - background-color: #d92d2d; -} -.z-invalid.z-unimplemented { - color: #fafafa; - background-color: #587f22; -} -.z-invalid.z-deprecated { - color: #fafafa; - background-color: #7c4dff; -} -.z-keyword, .z-storage.z-type, .z-storage.z-modifier { - color: #7c4dff; -} -.z-storage.z-type, .z-keyword.z-control { - font-style: italic; -} -.z-keyword.z-operator, .z-constant.z-other.z-color, .z-punctuation, .z-meta.z-tag, .z-punctuation.z-definition.z-tag, .z-punctuation.z-separator.z-inheritance.z-php, .z-punctuation.z-definition.z-tag.z-html, .z-punctuation.z-definition.z-tag.z-begin.z-html, .z-punctuation.z-definition.z-tag.z-end.z-html, .z-punctuation.z-section.z-embedded, .z-keyword.z-other.z-template, .z-keyword.z-other.z-substitution { - color: #008088; -} -.z-entity.z-name.z-tag, .z-meta.z-tag.z-sgml, .z-markup.z-deleted.z-git_gutter { - color: #d72952; -} -.z-entity.z-name.z-function, .z-meta.z-function-call, .z-variable.z-function, .z-support.z-function, .z-keyword.z-other.z-special-method, .z-meta.z-block-level { - color: #5274a9; -} -.z-support.z-other.z-variable, .z-string.z-other.z-link { - color: #d72952; -} -.z-constant.z-numeric, .z-constant.z-language, .z-support.z-constant, .z-constant.z-character, .z-variable.z-parameter, .z-keyword.z-other.z-unit { - color: #c94625; -} -.z-string, .z-constant.z-other.z-symbol, .z-constant.z-other.z-key, .z-entity.z-other.z-inherited-class, .z-markup.z-heading, .z-markup.z-inserted.z-git_gutter, .z-meta.z-group.z-braces.z-curly .z-constant.z-other.z-object.z-key.z-js .z-string.z-unquoted.z-label.z-js { - color: #587f22; -} -.z-entity.z-name.z-class, .z-entity.z-name.z-type.z-class, .z-support.z-type, .z-support.z-class, .z-support.z-orther.z-namespace.z-use.z-php, .z-meta.z-use.z-php, .z-support.z-other.z-namespace.z-php, .z-markup.z-changed.z-git_gutter, .z-support.z-type.z-sys-types { - color: #a16700; -} -.z-source.z-css .z-support.z-type, .z-source.z-sass .z-support.z-type, .z-source.z-scss .z-support.z-type, .z-source.z-less .z-support.z-type, .z-source.z-stylus .z-support.z-type { - color: #64738c; -} -.z-entity.z-name.z-module.z-js, .z-variable.z-import.z-parameter.z-js, .z-variable.z-other.z-class.z-js { - color: #d92d2d; -} -.z-variable.z-language { - color: #d92d2d; - font-style: italic; -} -.z-entity.z-name.z-method.z-js { - color: #5274a9; -} -.z-meta.z-class-method.z-js .z-entity.z-name.z-function.z-js, .z-variable.z-function.z-constructor { - color: #5274a9; -} -.z-entity.z-other.z-attribute-name { - color: #7c4dff; -} -.z-text.z-html.z-basic .z-entity.z-other.z-attribute-name.z-html, .z-text.z-html.z-basic .z-entity.z-other.z-attribute-name { - color: #a16700; - font-style: italic; -} -.z-entity.z-other.z-attribute-name.z-class { - color: #a16700; -} -.z-source.z-sass .z-keyword.z-control { - color: #5274a9; -} -.z-markup.z-inserted { - color: #587f22; -} -.z-markup.z-deleted { - color: #d92d2d; -} -.z-markup.z-changed { - color: #7c4dff; -} -.z-string.z-regexp { - color: #008088; -} -.z-constant.z-character.z-escape { - color: #008088; -} -.z-*url*, .z-*link*, .z-*uri* { - text-decoration: underline; -} -.z-constant.z-numeric.z-line-number.z-find-in-files { - color: #a26356; -} -.z-entity.z-name.z-filename.z-find-in-files { - color: #587f22; -} -.z-tag.z-decorator.z-js .z-entity.z-name.z-tag.z-js, .z-tag.z-decorator.z-js .z-punctuation.z-definition.z-tag.z-js { - color: #5274a9; - font-style: italic; -} -.z-source.z-js .z-constant.z-other.z-object.z-key.z-js .z-string.z-unquoted.z-label.z-js { - color: #d92d2d; - font-style: italic; -} -.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #587f22; -} -.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #7c4dff; -} -.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #d72952; -} -.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #5274a9; -} -.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #a26356; -} -.z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #d92d2d; -} -.z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #c94625; -} -.z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #a16700; -} -.z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { - color: #7c4dff; -} -.z-text.z-html.z-markdown, .z-punctuation.z-definition.z-list_item.z-markdown { - color: #317e78; -} -.z-text.z-html.z-markdown .z-markup.z-raw.z-inline { - color: #7c4dff; -} -.z-text.z-html.z-markdown .z-punctuation.z-definition.z-raw.z-markdown { - color: #717375; -} -.z-markdown.z-heading, .z-markup.z-heading, .z-markup.z-heading .z-entity.z-name, .z-markup.z-heading.z-markdown .z-punctuation.z-definition.z-heading.z-markdown { - color: #587f22; -} -.z-markup.z-italic { - color: #d72952; - font-style: italic; -} -.z-markup.z-bold, .z-markup.z-bold .z-string { - color: #d72952; -font-weight: bold; -} -.z-markup.z-bold .z-markup.z-italic, .z-markup.z-italic .z-markup.z-bold, .z-markup.z-quote .z-markup.z-bold, .z-markup.z-bold .z-markup.z-italic .z-string, .z-markup.z-italic .z-markup.z-bold .z-string, .z-markup.z-quote .z-markup.z-bold .z-string { -font-weight: bold; - font-style: italic; -} -.z-markup.z-underline { - color: #c94625; - text-decoration: underline; -} -.z-markup.z-quote .z-punctuation.z-definition.z-blockquote.z-markdown { - color: #717375; - background-color: #717375; -} -.z-string.z-other.z-link.z-title.z-markdown { - color: #5274a9; -} -.z-string.z-other.z-link.z-description.z-title.z-markdown { - color: #7c4dff; -} -.z-constant.z-other.z-reference.z-link.z-markdown { - color: #a16700; -} -.z-markup.z-raw.z-block { - color: #7c4dff; -} -.z-markup.z-raw.z-block.z-fenced.z-markdown { - background-color: #62757f; -} -.z-punctuation.z-definition.z-fenced.z-markdown { - background-color: #62757f; -} -.z-markup.z-raw.z-block.z-fenced.z-markdown, .z-variable.z-language.z-fenced.z-markdown, .z-punctuation.z-section.z-class.z-end { - color: #317e78; -} -.z-variable.z-language.z-fenced.z-markdown { - color: #717375; -} -.z-text.z-html.z-markdown .z-punctuation.z-definition { - color: #6b7577; -} -.z-text.z-html.z-markdown .z-meta.z-disable-markdown .z-punctuation.z-definition { - color: #008088; -} -.z-meta.z-separator { - color: #717375; - background-color: #62757f; -font-weight: bold; -} -.z-acejump.z-label.z-blue { - color: #fafafa; - background-color: #5274a9; -} -.z-acejump.z-label.z-green { - color: #fafafa; - background-color: #587f22; -} -.z-acejump.z-label.z-orange { - color: #fafafa; - background-color: #c94625; -} -.z-acejump.z-label.z-purple { - color: #fafafa; - background-color: #7c4dff; -} -.z-sublimelinter.z-mark.z-warning { - color: #a16700; -} -.z-sublimelinter.z-gutter-mark { - color: #fafafa; -} -.z-sublimelinter.z-mark.z-error { - color: #d92d2d; -} -.z-sublimelinter.z-annotations { - background-color: #a26356; -} -.z-markup.z-ignored.z-git_gutter { - color: #717375; -} -.z-markup.z-untracked.z-git_gutter { - color: #717375; -} -.z-markup.z-inserted.z-git_gutter { - color: #587f22; -} -.z-markup.z-changed.z-git_gutter { - color: #a16700; -} -.z-markup.z-deleted.z-git_gutter { - color: #d92d2d; -} -.z-brackethighlighter.z-default { - color: #64738c; -} -.z-brackethighlighter.z-quote { - color: #587f22; -} -.z-brackethighlighter.z-unmatched { - color: #d92d2d; -} diff --git a/sass/syntax/_abridge-dark.scss b/sass/syntax/syntax-abridge-dark.scss index 53bdc2e..53bdc2e 100644 --- a/sass/syntax/_abridge-dark.scss +++ b/sass/syntax/syntax-abridge-dark.scss diff --git a/sass/syntax/_abridge-white.scss b/sass/syntax/syntax-abridge-light.scss index 74ddb5e..74ddb5e 100644 --- a/sass/syntax/_abridge-white.scss +++ b/sass/syntax/syntax-abridge-light.scss diff --git a/sass/syntax/syntax-abridge-switcher.scss b/sass/syntax/syntax-abridge-switcher.scss new file mode 100644 index 0000000..8b6d6c2 --- /dev/null +++ b/sass/syntax/syntax-abridge-switcher.scss @@ -0,0 +1,551 @@ +:root:not(.light) { + .z-code { + color: #bfbab0; + background-color: #191919; + } + .z-comment, .z-punctuation.z-definition.z-comment { + color: #798491; + font-style: italic; + } + .z-variable { + color: #bfbab0; + } + .z-string, .z-constant.z-other.z-symbol { + color: #c2d94c; + } + .z-constant.z-numeric { + color: #f29718; + } + .z-string.z-regexp, .z-constant.z-character.z-escape { + color: #95e6cb; + } + .z-constant.z-language { + color: #f29718; + } + .z-constant.z-character, .z-constant.z-other { + color: #f29718; + } + .z-variable.z-member { + color: #ff7d82; + } + .z-keyword, .z-keyword.z-operator.z-word { + color: #00bbff; + } + .z-keyword.z-operator { + color: #f29668; + } + .z-punctuation.z-separator, .z-punctuation.z-terminator { + color: #bfbab0; + } + .z-punctuation.z-section { + color: #bfbab0; + } + .z-punctuation.z-accessor { + color: #f29668; + } + .z-punctuation.z-definition.z-annotation { + color: #bfbab0; + } + .z-variable.z-other.z-dollar.z-only.z-js, .z-variable.z-other.z-object.z-dollar.z-only.z-js, .z-variable.z-type.z-dollar.z-only.z-js, .z-support.z-class.z-dollar.z-only.z-js { + color: #e6b673; + } + .z-storage { + color: #00bbff; + } + .z-storage.z-type { + color: #00bbff; + } + .z-entity.z-name.z-function { + color: #ffb454; + } + .z-entity.z-name, .z-entity.z-name.z-tag, .z-entity.z-name.z-label { + color: #59c2ff; + } + .z-entity.z-other.z-inherited-class { + color: #59c2ff; + text-decoration: underline; + } + .z-variable.z-parameter { + color: #f29718; + } + .z-variable.z-language { + color: #39bae6; + font-style: italic; + } + .z-entity.z-name.z-tag, .z-meta.z-tag.z-sgml { + color: #39bae6; + } + .z-punctuation.z-definition.z-tag.z-end, .z-punctuation.z-definition.z-tag.z-begin, .z-punctuation.z-definition.z-tag { + color: #39bae6; + } + .z-entity.z-other.z-attribute-name { + color: #ffb454; + } + .z-variable.z-function, .z-variable.z-annotation { + color: #ffb454; + } + .z-support.z-function, .z-support.z-macro { + color: #fe7d83; + } + .z-support.z-constant { + color: #f29668; + font-style: italic; + } + .z-support.z-type, .z-support.z-class { + color: #39bae6; + font-style: italic; + } + .z-invalid { + color: #ff7c6d; + } + .z-invalid.z-deprecated { + color: #ffffff; + background-color: #00bbff; + } + .z-meta.z-diff, .z-meta.z-diff.z-header { + color: #c594c5; + } + .z-source.z-ruby .z-variable.z-other.z-readwrite { + color: #ffb454; + } + .z-source.z-css .z-entity.z-name.z-tag, .z-source.z-sass .z-entity.z-name.z-tag, .z-source.z-scss .z-entity.z-name.z-tag, .z-source.z-less .z-entity.z-name.z-tag, .z-source.z-stylus .z-entity.z-name.z-tag { + color: #59c2ff; + } + .z-source.z-css .z-support.z-type, .z-source.z-sass .z-support.z-type, .z-source.z-scss .z-support.z-type, .z-source.z-less .z-support.z-type, .z-source.z-stylus .z-support.z-type { + color: #798491; + } + .z-support.z-type.z-property-name { + color: #39bae6; + } + .z-constant.z-numeric.z-line-number.z-find-in-files { + color: #798491; + } + .z-constant.z-numeric.z-line-number.z-match { + color: #00bbff; + } + .z-entity.z-name.z-filename.z-find-in-files { + color: #c2d94c; + } + .z-message.z-error { + color: #ff7c6d; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-markup.z-heading { + color: #00bbff; + font-weight: bold; + } + .z-string.z-other.z-link, .z-markup.z-underline.z-link { + color: #95e6cb; + text-decoration: underline; + font-style: italic; + } + .z-punctuation.z-definition.z-image { + color: #ffb454; + } + .z-markup.z-italic { + color: #fe7d83; + font-style: italic; + } + .z-markup.z-bold { + color: #fe7d83; + font-weight: bold; + } + .z-markup.z-italic .z-markup.z-bold, .z-markup.z-bold .z-markup.z-italic { + font-weight: bold; + font-style: italic; + } + .z-markup.z-raw { + background-color: #bfbab0; + } + .z-markup.z-raw.z-inline { + background-color: #bfbab0; + } + .z-meta.z-separator { + color: #798491; + background-color: #bfbab0; + font-weight: bold; + } + .z-markup.z-quote { + color: #f29718; + font-style: italic; + } + .z-markup.z-list.z-numbered.z-bullet, .z-markup.z-list .z-punctuation.z-definition.z-list_item { + color: #95e6cb; + } + .z-markup.z-inserted { + color: #c2d94c; + } + .z-markup.z-changed { + color: #39bae6; + } + .z-markup.z-deleted { + color: #fe7d83; + } + .z-markup.z-strike { + color: #e6b673; + } + .z-markup.z-table { + color: #39bae6; + background-color: #bfbab0; + } + .z-text.z-html.z-markdown .z-markup.z-raw.z-inline { + color: #f29668; + } + .z-text.z-html.z-markdown .z-meta.z-dummy.z-line-break { + color: #798491; + } + .z-markup.z-raw.z-block.z-fenced.z-markdown { + color: #bfbab0; + background-color: #bfbab0; + } + .z-punctuation.z-definition.z-fenced.z-markdown, .z-variable.z-language.z-fenced.z-markdown { + color: #798491; + background-color: #bfbab0; + } + .z-variable.z-language.z-fenced.z-markdown { + color: #798491; + } + .z-markup.z-inserted.z-git_gutter { + color: #c2d94c; + } + .z-markup.z-changed.z-git_gutter { + color: #39bae6; + } + .z-markup.z-deleted.z-git_gutter { + color: #ff7c6d; + } + .z-markup.z-ignored.z-git_gutter { + color: #20272c; + } + .z-markup.z-untracked.z-git_gutter { + color: #20272c; + } + .z-gutter_color { + color: #ffffff; + } + .z-acejump.z-label.z-blue { + color: #ffffff; + background-color: #39bae6; + } + .z-acejump.z-label.z-green { + color: #ffffff; + background-color: #c2d94c; + } + .z-acejump.z-label.z-orange { + color: #ffffff; + background-color: #00bbff; + } + .z-acejump.z-label.z-purple { + color: #ffffff; + background-color: #fe7d83; + } + .z-sublimelinter.z-mark.z-warning { + color: #39bae6; + } + .z-sublimelinter.z-gutter-mark { + color: #ffffff; + } + .z-sublimelinter.z-mark.z-error { + color: #ff7c6d; + } +} +:root.light { + .z-code { + color: #50565a; + background-color: #ffffff; + } + .z-comment, .z-punctuation.z-definition.z-comment { + color: #6e7379; + font-style: italic; + } + .z-variable { + color: #50565a; + } + .z-string, .z-constant.z-other.z-symbol { + color: #507e00; + } + .z-constant.z-numeric { + color: #b85500; + } + .z-string.z-regexp, .z-constant.z-character.z-escape { + color: #008260; + } + .z-constant.z-language { + color: #b85500; + } + .z-constant.z-character, .z-constant.z-other { + color: #b85500; + } + .z-variable.z-member { + color: #cb414d; + } + .z-keyword, .z-keyword.z-operator.z-word { + color: #0066ee; + } + .z-keyword.z-operator { + color: #ac5c32; + } + .z-punctuation.z-separator, .z-punctuation.z-terminator { + color: #50565a; + } + .z-punctuation.z-section { + color: #50565a; + } + .z-punctuation.z-accessor { + color: #ac5c32; + } + .z-punctuation.z-definition.z-annotation { + color: #50565a; + } + .z-variable.z-other.z-dollar.z-only.z-js, .z-variable.z-other.z-object.z-dollar.z-only.z-js, .z-variable.z-type.z-dollar.z-only.z-js, .z-support.z-class.z-dollar.z-only.z-js { + color: #936b2c; + } + .z-storage { + color: #0066ee; + } + .z-storage.z-type { + color: #0066ee; + } + .z-entity.z-name.z-function { + color: #ac5d00; + } + .z-entity.z-name, .z-entity.z-name.z-tag, .z-entity.z-name.z-label { + color: #0079bd; + } + .z-entity.z-other.z-inherited-class { + color: #0079bd; + text-decoration: underline; + } + .z-variable.z-parameter { + color: #b85500; + } + .z-variable.z-language { + color: #007d9b; + font-style: italic; + } + .z-entity.z-name.z-tag, .z-meta.z-tag.z-sgml { + color: #007d9b; + } + .z-punctuation.z-definition.z-tag.z-end, .z-punctuation.z-definition.z-tag.z-begin, .z-punctuation.z-definition.z-tag { + color: #007d9b; + } + .z-entity.z-other.z-attribute-name { + color: #ac5d00; + } + .z-variable.z-function, .z-variable.z-annotation { + color: #ac5d00; + } + .z-support.z-function, .z-support.z-macro { + color: #c44a4e; + } + .z-support.z-constant { + color: #ac5c32; + font-style: italic; + } + .z-support.z-type, .z-support.z-class { + color: #007d9b; + font-style: italic; + } + .z-invalid { + color: #e6000b; + } + .z-invalid.z-deprecated { + color: #ffffff; + background-color: #0066ee; + } + .z-source.z-ruby .z-variable.z-other.z-readwrite { + color: #ac5d00; + } + .z-source.z-css .z-entity.z-name.z-tag, .z-source.z-sass .z-entity.z-name.z-tag, .z-source.z-scss .z-entity.z-name.z-tag, .z-source.z-less .z-entity.z-name.z-tag, .z-source.z-stylus .z-entity.z-name.z-tag { + color: #0079bd; + } + .z-source.z-css .z-support.z-type, .z-source.z-sass .z-support.z-type, .z-source.z-scss .z-support.z-type, .z-source.z-less .z-support.z-type, .z-source.z-stylus .z-support.z-type { + color: #6e7379; + } + .z-support.z-type.z-property-name { + color: #007d9b; + } + .z-constant.z-numeric.z-line-number.z-find-in-files { + color: #6e7379; + } + .z-constant.z-numeric.z-line-number.z-match { + color: #0066ee; + } + .z-entity.z-name.z-filename.z-find-in-files { + color: #507e00; + } + .z-message.z-error { + color: #e6000b; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-markup.z-heading { + color: #0066ee; + font-weight: bold; + } + .z-string.z-other.z-link, .z-markup.z-underline.z-link { + color: #008260; + text-decoration: underline; + font-style: italic; + } + .z-punctuation.z-definition.z-image { + color: #ac5d00; + } + .z-markup.z-italic { + color: #c44a4e; + font-style: italic; + } + .z-markup.z-bold { + color: #c44a4e; + font-weight: bold; + } + .z-markup.z-italic .z-markup.z-bold, .z-markup.z-bold .z-markup.z-italic { + font-weight: bold; + font-style: italic; + } + .z-markup.z-raw { + background-color: #50565a; + } + .z-markup.z-raw.z-inline { + background-color: #50565a; + } + .z-meta.z-separator { + color: #6e7379; + background-color: #50565a; + font-weight: bold; + } + .z-markup.z-quote { + color: #b85500; + font-style: italic; + } + .z-markup.z-list.z-numbered.z-bullet, .z-markup.z-list .z-punctuation.z-definition.z-list_item { + color: #008260; + } + .z-markup.z-inserted { + color: #507e00; + } + .z-markup.z-changed { + color: #007d9b; + } + .z-markup.z-deleted { + color: #c44a4e; + } + .z-markup.z-strike { + color: #936b2c; + } + .z-markup.z-table { + color: #007d9b; + background-color: #50565a; + } + .z-text.z-html.z-markdown .z-markup.z-raw.z-inline { + color: #ac5c32; + } + .z-text.z-html.z-markdown .z-meta.z-dummy.z-line-break { + color: #6e7379; + } + .z-markup.z-raw.z-block.z-fenced.z-markdown { + color: #50565a; + background-color: #50565a; + } + .z-punctuation.z-definition.z-fenced.z-markdown, .z-variable.z-language.z-fenced.z-markdown { + color: #6e7379; + background-color: #50565a; + } + .z-variable.z-language.z-fenced.z-markdown { + color: #6e7379; + } + .z-markup.z-inserted.z-git_gutter { + color: #507e00; + } + .z-markup.z-changed.z-git_gutter { + color: #007d9b; + } + .z-markup.z-deleted.z-git_gutter { + color: #e6000b; + } + .z-markup.z-ignored.z-git_gutter { + color: #dee0e1; + } + .z-markup.z-untracked.z-git_gutter { + color: #dee0e1; + } + .z-gutter_color { + color: #ffffff; + } + .z-acejump.z-label.z-blue { + color: #ffffff; + background-color: #007d9b; + } + .z-acejump.z-label.z-green { + color: #ffffff; + background-color: #507e00; + } + .z-acejump.z-label.z-orange { + color: #ffffff; + background-color: #0066ee; + } + .z-acejump.z-label.z-purple { + color: #ffffff; + background-color: #c44a4e; + } + .z-sublimelinter.z-mark.z-warning { + color: #007d9b; + } + .z-sublimelinter.z-gutter-mark { + color: #ffffff; + } + .z-sublimelinter.z-mark.z-error { + color: #e6000b; + } +}
\ No newline at end of file diff --git a/sass/syntax/syntax-abridge.scss b/sass/syntax/syntax-abridge.scss new file mode 100644 index 0000000..2df7234 --- /dev/null +++ b/sass/syntax/syntax-abridge.scss @@ -0,0 +1,553 @@ +:root { + .z-code { + color: #bfbab0; + background-color: #191919; + } + .z-comment, .z-punctuation.z-definition.z-comment { + color: #798491; + font-style: italic; + } + .z-variable { + color: #bfbab0; + } + .z-string, .z-constant.z-other.z-symbol { + color: #c2d94c; + } + .z-constant.z-numeric { + color: #f29718; + } + .z-string.z-regexp, .z-constant.z-character.z-escape { + color: #95e6cb; + } + .z-constant.z-language { + color: #f29718; + } + .z-constant.z-character, .z-constant.z-other { + color: #f29718; + } + .z-variable.z-member { + color: #ff7d82; + } + .z-keyword, .z-keyword.z-operator.z-word { + color: #00bbff; + } + .z-keyword.z-operator { + color: #f29668; + } + .z-punctuation.z-separator, .z-punctuation.z-terminator { + color: #bfbab0; + } + .z-punctuation.z-section { + color: #bfbab0; + } + .z-punctuation.z-accessor { + color: #f29668; + } + .z-punctuation.z-definition.z-annotation { + color: #bfbab0; + } + .z-variable.z-other.z-dollar.z-only.z-js, .z-variable.z-other.z-object.z-dollar.z-only.z-js, .z-variable.z-type.z-dollar.z-only.z-js, .z-support.z-class.z-dollar.z-only.z-js { + color: #e6b673; + } + .z-storage { + color: #00bbff; + } + .z-storage.z-type { + color: #00bbff; + } + .z-entity.z-name.z-function { + color: #ffb454; + } + .z-entity.z-name, .z-entity.z-name.z-tag, .z-entity.z-name.z-label { + color: #59c2ff; + } + .z-entity.z-other.z-inherited-class { + color: #59c2ff; + text-decoration: underline; + } + .z-variable.z-parameter { + color: #f29718; + } + .z-variable.z-language { + color: #39bae6; + font-style: italic; + } + .z-entity.z-name.z-tag, .z-meta.z-tag.z-sgml { + color: #39bae6; + } + .z-punctuation.z-definition.z-tag.z-end, .z-punctuation.z-definition.z-tag.z-begin, .z-punctuation.z-definition.z-tag { + color: #39bae6; + } + .z-entity.z-other.z-attribute-name { + color: #ffb454; + } + .z-variable.z-function, .z-variable.z-annotation { + color: #ffb454; + } + .z-support.z-function, .z-support.z-macro { + color: #fe7d83; + } + .z-support.z-constant { + color: #f29668; + font-style: italic; + } + .z-support.z-type, .z-support.z-class { + color: #39bae6; + font-style: italic; + } + .z-invalid { + color: #ff7c6d; + } + .z-invalid.z-deprecated { + color: #ffffff; + background-color: #00bbff; + } + .z-meta.z-diff, .z-meta.z-diff.z-header { + color: #c594c5; + } + .z-source.z-ruby .z-variable.z-other.z-readwrite { + color: #ffb454; + } + .z-source.z-css .z-entity.z-name.z-tag, .z-source.z-sass .z-entity.z-name.z-tag, .z-source.z-scss .z-entity.z-name.z-tag, .z-source.z-less .z-entity.z-name.z-tag, .z-source.z-stylus .z-entity.z-name.z-tag { + color: #59c2ff; + } + .z-source.z-css .z-support.z-type, .z-source.z-sass .z-support.z-type, .z-source.z-scss .z-support.z-type, .z-source.z-less .z-support.z-type, .z-source.z-stylus .z-support.z-type { + color: #798491; + } + .z-support.z-type.z-property-name { + color: #39bae6; + } + .z-constant.z-numeric.z-line-number.z-find-in-files { + color: #798491; + } + .z-constant.z-numeric.z-line-number.z-match { + color: #00bbff; + } + .z-entity.z-name.z-filename.z-find-in-files { + color: #c2d94c; + } + .z-message.z-error { + color: #ff7c6d; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-markup.z-heading { + color: #00bbff; + font-weight: bold; + } + .z-string.z-other.z-link, .z-markup.z-underline.z-link { + color: #95e6cb; + text-decoration: underline; + font-style: italic; + } + .z-punctuation.z-definition.z-image { + color: #ffb454; + } + .z-markup.z-italic { + color: #fe7d83; + font-style: italic; + } + .z-markup.z-bold { + color: #fe7d83; + font-weight: bold; + } + .z-markup.z-italic .z-markup.z-bold, .z-markup.z-bold .z-markup.z-italic { + font-weight: bold; + font-style: italic; + } + .z-markup.z-raw { + background-color: #bfbab0; + } + .z-markup.z-raw.z-inline { + background-color: #bfbab0; + } + .z-meta.z-separator { + color: #798491; + background-color: #bfbab0; + font-weight: bold; + } + .z-markup.z-quote { + color: #f29718; + font-style: italic; + } + .z-markup.z-list.z-numbered.z-bullet, .z-markup.z-list .z-punctuation.z-definition.z-list_item { + color: #95e6cb; + } + .z-markup.z-inserted { + color: #c2d94c; + } + .z-markup.z-changed { + color: #39bae6; + } + .z-markup.z-deleted { + color: #fe7d83; + } + .z-markup.z-strike { + color: #e6b673; + } + .z-markup.z-table { + color: #39bae6; + background-color: #bfbab0; + } + .z-text.z-html.z-markdown .z-markup.z-raw.z-inline { + color: #f29668; + } + .z-text.z-html.z-markdown .z-meta.z-dummy.z-line-break { + color: #798491; + } + .z-markup.z-raw.z-block.z-fenced.z-markdown { + color: #bfbab0; + background-color: #bfbab0; + } + .z-punctuation.z-definition.z-fenced.z-markdown, .z-variable.z-language.z-fenced.z-markdown { + color: #798491; + background-color: #bfbab0; + } + .z-variable.z-language.z-fenced.z-markdown { + color: #798491; + } + .z-markup.z-inserted.z-git_gutter { + color: #c2d94c; + } + .z-markup.z-changed.z-git_gutter { + color: #39bae6; + } + .z-markup.z-deleted.z-git_gutter { + color: #ff7c6d; + } + .z-markup.z-ignored.z-git_gutter { + color: #20272c; + } + .z-markup.z-untracked.z-git_gutter { + color: #20272c; + } + .z-gutter_color { + color: #ffffff; + } + .z-acejump.z-label.z-blue { + color: #ffffff; + background-color: #39bae6; + } + .z-acejump.z-label.z-green { + color: #ffffff; + background-color: #c2d94c; + } + .z-acejump.z-label.z-orange { + color: #ffffff; + background-color: #00bbff; + } + .z-acejump.z-label.z-purple { + color: #ffffff; + background-color: #fe7d83; + } + .z-sublimelinter.z-mark.z-warning { + color: #39bae6; + } + .z-sublimelinter.z-gutter-mark { + color: #ffffff; + } + .z-sublimelinter.z-mark.z-error { + color: #ff7c6d; + } +} +@media (prefers-color-scheme: light) { + :root { + .z-code { + color: #50565a; + background-color: #ffffff; + } + .z-comment, .z-punctuation.z-definition.z-comment { + color: #6e7379; + font-style: italic; + } + .z-variable { + color: #50565a; + } + .z-string, .z-constant.z-other.z-symbol { + color: #507e00; + } + .z-constant.z-numeric { + color: #b85500; + } + .z-string.z-regexp, .z-constant.z-character.z-escape { + color: #008260; + } + .z-constant.z-language { + color: #b85500; + } + .z-constant.z-character, .z-constant.z-other { + color: #b85500; + } + .z-variable.z-member { + color: #cb414d; + } + .z-keyword, .z-keyword.z-operator.z-word { + color: #0066ee; + } + .z-keyword.z-operator { + color: #ac5c32; + } + .z-punctuation.z-separator, .z-punctuation.z-terminator { + color: #50565a; + } + .z-punctuation.z-section { + color: #50565a; + } + .z-punctuation.z-accessor { + color: #ac5c32; + } + .z-punctuation.z-definition.z-annotation { + color: #50565a; + } + .z-variable.z-other.z-dollar.z-only.z-js, .z-variable.z-other.z-object.z-dollar.z-only.z-js, .z-variable.z-type.z-dollar.z-only.z-js, .z-support.z-class.z-dollar.z-only.z-js { + color: #936b2c; + } + .z-storage { + color: #0066ee; + } + .z-storage.z-type { + color: #0066ee; + } + .z-entity.z-name.z-function { + color: #ac5d00; + } + .z-entity.z-name, .z-entity.z-name.z-tag, .z-entity.z-name.z-label { + color: #0079bd; + } + .z-entity.z-other.z-inherited-class { + color: #0079bd; + text-decoration: underline; + } + .z-variable.z-parameter { + color: #b85500; + } + .z-variable.z-language { + color: #007d9b; + font-style: italic; + } + .z-entity.z-name.z-tag, .z-meta.z-tag.z-sgml { + color: #007d9b; + } + .z-punctuation.z-definition.z-tag.z-end, .z-punctuation.z-definition.z-tag.z-begin, .z-punctuation.z-definition.z-tag { + color: #007d9b; + } + .z-entity.z-other.z-attribute-name { + color: #ac5d00; + } + .z-variable.z-function, .z-variable.z-annotation { + color: #ac5d00; + } + .z-support.z-function, .z-support.z-macro { + color: #c44a4e; + } + .z-support.z-constant { + color: #ac5c32; + font-style: italic; + } + .z-support.z-type, .z-support.z-class { + color: #007d9b; + font-style: italic; + } + .z-invalid { + color: #e6000b; + } + .z-invalid.z-deprecated { + color: #ffffff; + background-color: #0066ee; + } + .z-source.z-ruby .z-variable.z-other.z-readwrite { + color: #ac5d00; + } + .z-source.z-css .z-entity.z-name.z-tag, .z-source.z-sass .z-entity.z-name.z-tag, .z-source.z-scss .z-entity.z-name.z-tag, .z-source.z-less .z-entity.z-name.z-tag, .z-source.z-stylus .z-entity.z-name.z-tag { + color: #0079bd; + } + .z-source.z-css .z-support.z-type, .z-source.z-sass .z-support.z-type, .z-source.z-scss .z-support.z-type, .z-source.z-less .z-support.z-type, .z-source.z-stylus .z-support.z-type { + color: #6e7379; + } + .z-support.z-type.z-property-name { + color: #007d9b; + } + .z-constant.z-numeric.z-line-number.z-find-in-files { + color: #6e7379; + } + .z-constant.z-numeric.z-line-number.z-match { + color: #0066ee; + } + .z-entity.z-name.z-filename.z-find-in-files { + color: #507e00; + } + .z-message.z-error { + color: #e6000b; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-markup.z-heading { + color: #0066ee; + font-weight: bold; + } + .z-string.z-other.z-link, .z-markup.z-underline.z-link { + color: #008260; + text-decoration: underline; + font-style: italic; + } + .z-punctuation.z-definition.z-image { + color: #ac5d00; + } + .z-markup.z-italic { + color: #c44a4e; + font-style: italic; + } + .z-markup.z-bold { + color: #c44a4e; + font-weight: bold; + } + .z-markup.z-italic .z-markup.z-bold, .z-markup.z-bold .z-markup.z-italic { + font-weight: bold; + font-style: italic; + } + .z-markup.z-raw { + background-color: #50565a; + } + .z-markup.z-raw.z-inline { + background-color: #50565a; + } + .z-meta.z-separator { + color: #6e7379; + background-color: #50565a; + font-weight: bold; + } + .z-markup.z-quote { + color: #b85500; + font-style: italic; + } + .z-markup.z-list.z-numbered.z-bullet, .z-markup.z-list .z-punctuation.z-definition.z-list_item { + color: #008260; + } + .z-markup.z-inserted { + color: #507e00; + } + .z-markup.z-changed { + color: #007d9b; + } + .z-markup.z-deleted { + color: #c44a4e; + } + .z-markup.z-strike { + color: #936b2c; + } + .z-markup.z-table { + color: #007d9b; + background-color: #50565a; + } + .z-text.z-html.z-markdown .z-markup.z-raw.z-inline { + color: #ac5c32; + } + .z-text.z-html.z-markdown .z-meta.z-dummy.z-line-break { + color: #6e7379; + } + .z-markup.z-raw.z-block.z-fenced.z-markdown { + color: #50565a; + background-color: #50565a; + } + .z-punctuation.z-definition.z-fenced.z-markdown, .z-variable.z-language.z-fenced.z-markdown { + color: #6e7379; + background-color: #50565a; + } + .z-variable.z-language.z-fenced.z-markdown { + color: #6e7379; + } + .z-markup.z-inserted.z-git_gutter { + color: #507e00; + } + .z-markup.z-changed.z-git_gutter { + color: #007d9b; + } + .z-markup.z-deleted.z-git_gutter { + color: #e6000b; + } + .z-markup.z-ignored.z-git_gutter { + color: #dee0e1; + } + .z-markup.z-untracked.z-git_gutter { + color: #dee0e1; + } + .z-gutter_color { + color: #ffffff; + } + .z-acejump.z-label.z-blue { + color: #ffffff; + background-color: #007d9b; + } + .z-acejump.z-label.z-green { + color: #ffffff; + background-color: #507e00; + } + .z-acejump.z-label.z-orange { + color: #ffffff; + background-color: #0066ee; + } + .z-acejump.z-label.z-purple { + color: #ffffff; + background-color: #c44a4e; + } + .z-sublimelinter.z-mark.z-warning { + color: #007d9b; + } + .z-sublimelinter.z-gutter-mark { + color: #ffffff; + } + .z-sublimelinter.z-mark.z-error { + color: #e6000b; + } + } +}
\ No newline at end of file diff --git a/sass/syntax/_ayu-dark-abridge.scss b/sass/syntax/syntax-ayu-abridge-dark.scss index c35232d..c35232d 100644 --- a/sass/syntax/_ayu-dark-abridge.scss +++ b/sass/syntax/syntax-ayu-abridge-dark.scss diff --git a/sass/syntax/_ayu-white-abridge.scss b/sass/syntax/syntax-ayu-abridge-light.scss index d99ad69..d99ad69 100644 --- a/sass/syntax/_ayu-white-abridge.scss +++ b/sass/syntax/syntax-ayu-abridge-light.scss diff --git a/sass/syntax/syntax-ayu-abridge-switcher.scss b/sass/syntax/syntax-ayu-abridge-switcher.scss new file mode 100644 index 0000000..8542c6b --- /dev/null +++ b/sass/syntax/syntax-ayu-abridge-switcher.scss @@ -0,0 +1,551 @@ +:root:not(.light) { + .z-code { + color: #bfbab0; + background-color: #191919; + } + .z-comment, .z-punctuation.z-definition.z-comment { + color: #798491; + font-style: italic; + } + .z-variable { + color: #bfbab0; + } + .z-string, .z-constant.z-other.z-symbol { + color: #c2d94c; + } + .z-constant.z-numeric { + color: #f29718; + } + .z-string.z-regexp, .z-constant.z-character.z-escape { + color: #95e6cb; + } + .z-constant.z-language { + color: #f29718; + } + .z-constant.z-character, .z-constant.z-other { + color: #f29718; + } + .z-variable.z-member { + color: #ff7d82; + } + .z-keyword, .z-keyword.z-operator.z-word { + color: #ff813c; + } + .z-keyword.z-operator { + color: #f29668; + } + .z-punctuation.z-separator, .z-punctuation.z-terminator { + color: #bfbab0; + } + .z-punctuation.z-section { + color: #bfbab0; + } + .z-punctuation.z-accessor { + color: #f29668; + } + .z-punctuation.z-definition.z-annotation { + color: #bfbab0; + } + .z-variable.z-other.z-dollar.z-only.z-js, .z-variable.z-other.z-object.z-dollar.z-only.z-js, .z-variable.z-type.z-dollar.z-only.z-js, .z-support.z-class.z-dollar.z-only.z-js { + color: #e6b673; + } + .z-storage { + color: #ff813c; + } + .z-storage.z-type { + color: #ff813c; + } + .z-entity.z-name.z-function { + color: #ffb454; + } + .z-entity.z-name, .z-entity.z-name.z-tag, .z-entity.z-name.z-label { + color: #59c2ff; + } + .z-entity.z-other.z-inherited-class { + color: #59c2ff; + text-decoration: underline; + } + .z-variable.z-parameter { + color: #f29718; + } + .z-variable.z-language { + color: #39bae6; + font-style: italic; + } + .z-entity.z-name.z-tag, .z-meta.z-tag.z-sgml { + color: #39bae6; + } + .z-punctuation.z-definition.z-tag.z-end, .z-punctuation.z-definition.z-tag.z-begin, .z-punctuation.z-definition.z-tag { + color: #39bae6; + } + .z-entity.z-other.z-attribute-name { + color: #ffb454; + } + .z-variable.z-function, .z-variable.z-annotation { + color: #ffb454; + } + .z-support.z-function, .z-support.z-macro { + color: #fe7d83; + } + .z-support.z-constant { + color: #f29668; + font-style: italic; + } + .z-support.z-type, .z-support.z-class { + color: #39bae6; + font-style: italic; + } + .z-invalid { + color: #ff7c6d; + } + .z-invalid.z-deprecated { + color: #ffffff; + background-color: #ff813c; + } + .z-meta.z-diff, .z-meta.z-diff.z-header { + color: #c594c5; + } + .z-source.z-ruby .z-variable.z-other.z-readwrite { + color: #ffb454; + } + .z-source.z-css .z-entity.z-name.z-tag, .z-source.z-sass .z-entity.z-name.z-tag, .z-source.z-scss .z-entity.z-name.z-tag, .z-source.z-less .z-entity.z-name.z-tag, .z-source.z-stylus .z-entity.z-name.z-tag { + color: #59c2ff; + } + .z-source.z-css .z-support.z-type, .z-source.z-sass .z-support.z-type, .z-source.z-scss .z-support.z-type, .z-source.z-less .z-support.z-type, .z-source.z-stylus .z-support.z-type { + color: #798491; + } + .z-support.z-type.z-property-name { + color: #39bae6; + } + .z-constant.z-numeric.z-line-number.z-find-in-files { + color: #798491; + } + .z-constant.z-numeric.z-line-number.z-match { + color: #ff813c; + } + .z-entity.z-name.z-filename.z-find-in-files { + color: #c2d94c; + } + .z-message.z-error { + color: #ff7c6d; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-markup.z-heading { + color: #ff813c; + font-weight: bold; + } + .z-string.z-other.z-link, .z-markup.z-underline.z-link { + color: #95e6cb; + text-decoration: underline; + font-style: italic; + } + .z-punctuation.z-definition.z-image { + color: #ffb454; + } + .z-markup.z-italic { + color: #fe7d83; + font-style: italic; + } + .z-markup.z-bold { + color: #fe7d83; + font-weight: bold; + } + .z-markup.z-italic .z-markup.z-bold, .z-markup.z-bold .z-markup.z-italic { + font-weight: bold; + font-style: italic; + } + .z-markup.z-raw { + background-color: #bfbab0; + } + .z-markup.z-raw.z-inline { + background-color: #bfbab0; + } + .z-meta.z-separator { + color: #798491; + background-color: #bfbab0; + font-weight: bold; + } + .z-markup.z-quote { + color: #f29718; + font-style: italic; + } + .z-markup.z-list.z-numbered.z-bullet, .z-markup.z-list .z-punctuation.z-definition.z-list_item { + color: #95e6cb; + } + .z-markup.z-inserted { + color: #c2d94c; + } + .z-markup.z-changed { + color: #39bae6; + } + .z-markup.z-deleted { + color: #fe7d83; + } + .z-markup.z-strike { + color: #e6b673; + } + .z-markup.z-table { + color: #39bae6; + background-color: #bfbab0; + } + .z-text.z-html.z-markdown .z-markup.z-raw.z-inline { + color: #f29668; + } + .z-text.z-html.z-markdown .z-meta.z-dummy.z-line-break { + color: #798491; + } + .z-markup.z-raw.z-block.z-fenced.z-markdown { + color: #bfbab0; + background-color: #bfbab0; + } + .z-punctuation.z-definition.z-fenced.z-markdown, .z-variable.z-language.z-fenced.z-markdown { + color: #798491; + background-color: #bfbab0; + } + .z-variable.z-language.z-fenced.z-markdown { + color: #798491; + } + .z-markup.z-inserted.z-git_gutter { + color: #c2d94c; + } + .z-markup.z-changed.z-git_gutter { + color: #39bae6; + } + .z-markup.z-deleted.z-git_gutter { + color: #ff7c6d; + } + .z-markup.z-ignored.z-git_gutter { + color: #20272c; + } + .z-markup.z-untracked.z-git_gutter { + color: #20272c; + } + .z-gutter_color { + color: #ffffff; + } + .z-acejump.z-label.z-blue { + color: #ffffff; + background-color: #39bae6; + } + .z-acejump.z-label.z-green { + color: #ffffff; + background-color: #c2d94c; + } + .z-acejump.z-label.z-orange { + color: #ffffff; + background-color: #ff813c; + } + .z-acejump.z-label.z-purple { + color: #ffffff; + background-color: #fe7d83; + } + .z-sublimelinter.z-mark.z-warning { + color: #39bae6; + } + .z-sublimelinter.z-gutter-mark { + color: #ffffff; + } + .z-sublimelinter.z-mark.z-error { + color: #ff7c6d; + } +} +:root.light { + .z-code { + color: #61676c; + background-color: #ffffff; + } + .z-comment, .z-punctuation.z-definition.z-comment { + color: #6e7379; + font-style: italic; + } + .z-variable { + color: #61676c; + } + .z-string, .z-constant.z-other.z-symbol { + color: #507e00; + } + .z-constant.z-numeric { + color: #b85500; + } + .z-string.z-regexp, .z-constant.z-character.z-escape { + color: #008260; + } + .z-constant.z-language { + color: #b85500; + } + .z-constant.z-character, .z-constant.z-other { + color: #b85500; + } + .z-variable.z-member { + color: #cb414d; + } + .z-keyword, .z-keyword.z-operator.z-word { + color: #c94506; + } + .z-keyword.z-operator { + color: #ac5c32; + } + .z-punctuation.z-separator, .z-punctuation.z-terminator { + color: #61676c; + } + .z-punctuation.z-section { + color: #61676c; + } + .z-punctuation.z-accessor { + color: #ac5c32; + } + .z-punctuation.z-definition.z-annotation { + color: #61676c; + } + .z-variable.z-other.z-dollar.z-only.z-js, .z-variable.z-other.z-object.z-dollar.z-only.z-js, .z-variable.z-type.z-dollar.z-only.z-js, .z-support.z-class.z-dollar.z-only.z-js { + color: #936b2c; + } + .z-storage { + color: #c94506; + } + .z-storage.z-type { + color: #c94506; + } + .z-entity.z-name.z-function { + color: #ac5d00; + } + .z-entity.z-name, .z-entity.z-name.z-tag, .z-entity.z-name.z-label { + color: #0079bd; + } + .z-entity.z-other.z-inherited-class { + color: #0079bd; + text-decoration: underline; + } + .z-variable.z-parameter { + color: #b85500; + } + .z-variable.z-language { + color: #007d9b; + font-style: italic; + } + .z-entity.z-name.z-tag, .z-meta.z-tag.z-sgml { + color: #007d9b; + } + .z-punctuation.z-definition.z-tag.z-end, .z-punctuation.z-definition.z-tag.z-begin, .z-punctuation.z-definition.z-tag { + color: #007d9b; + } + .z-entity.z-other.z-attribute-name { + color: #ac5d00; + } + .z-variable.z-function, .z-variable.z-annotation { + color: #ac5d00; + } + .z-support.z-function, .z-support.z-macro { + color: #c44a4e; + } + .z-support.z-constant { + color: #ac5c32; + font-style: italic; + } + .z-support.z-type, .z-support.z-class { + color: #007d9b; + font-style: italic; + } + .z-invalid { + color: #e6000b; + } + .z-invalid.z-deprecated { + color: #ffffff; + background-color: #c94506; + } + .z-source.z-ruby .z-variable.z-other.z-readwrite { + color: #ac5d00; + } + .z-source.z-css .z-entity.z-name.z-tag, .z-source.z-sass .z-entity.z-name.z-tag, .z-source.z-scss .z-entity.z-name.z-tag, .z-source.z-less .z-entity.z-name.z-tag, .z-source.z-stylus .z-entity.z-name.z-tag { + color: #0079bd; + } + .z-source.z-css .z-support.z-type, .z-source.z-sass .z-support.z-type, .z-source.z-scss .z-support.z-type, .z-source.z-less .z-support.z-type, .z-source.z-stylus .z-support.z-type { + color: #6e7379; + } + .z-support.z-type.z-property-name { + color: #007d9b; + } + .z-constant.z-numeric.z-line-number.z-find-in-files { + color: #6e7379; + } + .z-constant.z-numeric.z-line-number.z-match { + color: #c94506; + } + .z-entity.z-name.z-filename.z-find-in-files { + color: #507e00; + } + .z-message.z-error { + color: #e6000b; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-markup.z-heading { + color: #c94506; + font-weight: bold; + } + .z-string.z-other.z-link, .z-markup.z-underline.z-link { + color: #008260; + text-decoration: underline; + font-style: italic; + } + .z-punctuation.z-definition.z-image { + color: #ac5d00; + } + .z-markup.z-italic { + color: #c44a4e; + font-style: italic; + } + .z-markup.z-bold { + color: #c44a4e; + font-weight: bold; + } + .z-markup.z-italic .z-markup.z-bold, .z-markup.z-bold .z-markup.z-italic { + font-weight: bold; + font-style: italic; + } + .z-markup.z-raw { + background-color: #61676c; + } + .z-markup.z-raw.z-inline { + background-color: #61676c; + } + .z-meta.z-separator { + color: #6e7379; + background-color: #61676c; + font-weight: bold; + } + .z-markup.z-quote { + color: #b85500; + font-style: italic; + } + .z-markup.z-list.z-numbered.z-bullet, .z-markup.z-list .z-punctuation.z-definition.z-list_item { + color: #008260; + } + .z-markup.z-inserted { + color: #507e00; + } + .z-markup.z-changed { + color: #007d9b; + } + .z-markup.z-deleted { + color: #c44a4e; + } + .z-markup.z-strike { + color: #936b2c; + } + .z-markup.z-table { + color: #007d9b; + background-color: #61676c; + } + .z-text.z-html.z-markdown .z-markup.z-raw.z-inline { + color: #ac5c32; + } + .z-text.z-html.z-markdown .z-meta.z-dummy.z-line-break { + color: #6e7379; + } + .z-markup.z-raw.z-block.z-fenced.z-markdown { + color: #61676c; + background-color: #61676c; + } + .z-punctuation.z-definition.z-fenced.z-markdown, .z-variable.z-language.z-fenced.z-markdown { + color: #6e7379; + background-color: #61676c; + } + .z-variable.z-language.z-fenced.z-markdown { + color: #6e7379; + } + .z-markup.z-inserted.z-git_gutter { + color: #507e00; + } + .z-markup.z-changed.z-git_gutter { + color: #007d9b; + } + .z-markup.z-deleted.z-git_gutter { + color: #e6000b; + } + .z-markup.z-ignored.z-git_gutter { + color: #dee0e1; + } + .z-markup.z-untracked.z-git_gutter { + color: #dee0e1; + } + .z-gutter_color { + color: #ffffff; + } + .z-acejump.z-label.z-blue { + color: #ffffff; + background-color: #007d9b; + } + .z-acejump.z-label.z-green { + color: #ffffff; + background-color: #507e00; + } + .z-acejump.z-label.z-orange { + color: #ffffff; + background-color: #c94506; + } + .z-acejump.z-label.z-purple { + color: #ffffff; + background-color: #c44a4e; + } + .z-sublimelinter.z-mark.z-warning { + color: #007d9b; + } + .z-sublimelinter.z-gutter-mark { + color: #ffffff; + } + .z-sublimelinter.z-mark.z-error { + color: #e6000b; + } +}
\ No newline at end of file diff --git a/sass/syntax/syntax-ayu-abridge.scss b/sass/syntax/syntax-ayu-abridge.scss new file mode 100644 index 0000000..aab5761 --- /dev/null +++ b/sass/syntax/syntax-ayu-abridge.scss @@ -0,0 +1,553 @@ +:root { + .z-code { + color: #bfbab0; + background-color: #191919; + } + .z-comment, .z-punctuation.z-definition.z-comment { + color: #798491; + font-style: italic; + } + .z-variable { + color: #bfbab0; + } + .z-string, .z-constant.z-other.z-symbol { + color: #c2d94c; + } + .z-constant.z-numeric { + color: #f29718; + } + .z-string.z-regexp, .z-constant.z-character.z-escape { + color: #95e6cb; + } + .z-constant.z-language { + color: #f29718; + } + .z-constant.z-character, .z-constant.z-other { + color: #f29718; + } + .z-variable.z-member { + color: #ff7d82; + } + .z-keyword, .z-keyword.z-operator.z-word { + color: #ff813c; + } + .z-keyword.z-operator { + color: #f29668; + } + .z-punctuation.z-separator, .z-punctuation.z-terminator { + color: #bfbab0; + } + .z-punctuation.z-section { + color: #bfbab0; + } + .z-punctuation.z-accessor { + color: #f29668; + } + .z-punctuation.z-definition.z-annotation { + color: #bfbab0; + } + .z-variable.z-other.z-dollar.z-only.z-js, .z-variable.z-other.z-object.z-dollar.z-only.z-js, .z-variable.z-type.z-dollar.z-only.z-js, .z-support.z-class.z-dollar.z-only.z-js { + color: #e6b673; + } + .z-storage { + color: #ff813c; + } + .z-storage.z-type { + color: #ff813c; + } + .z-entity.z-name.z-function { + color: #ffb454; + } + .z-entity.z-name, .z-entity.z-name.z-tag, .z-entity.z-name.z-label { + color: #59c2ff; + } + .z-entity.z-other.z-inherited-class { + color: #59c2ff; + text-decoration: underline; + } + .z-variable.z-parameter { + color: #f29718; + } + .z-variable.z-language { + color: #39bae6; + font-style: italic; + } + .z-entity.z-name.z-tag, .z-meta.z-tag.z-sgml { + color: #39bae6; + } + .z-punctuation.z-definition.z-tag.z-end, .z-punctuation.z-definition.z-tag.z-begin, .z-punctuation.z-definition.z-tag { + color: #39bae6; + } + .z-entity.z-other.z-attribute-name { + color: #ffb454; + } + .z-variable.z-function, .z-variable.z-annotation { + color: #ffb454; + } + .z-support.z-function, .z-support.z-macro { + color: #fe7d83; + } + .z-support.z-constant { + color: #f29668; + font-style: italic; + } + .z-support.z-type, .z-support.z-class { + color: #39bae6; + font-style: italic; + } + .z-invalid { + color: #ff7c6d; + } + .z-invalid.z-deprecated { + color: #ffffff; + background-color: #ff813c; + } + .z-meta.z-diff, .z-meta.z-diff.z-header { + color: #c594c5; + } + .z-source.z-ruby .z-variable.z-other.z-readwrite { + color: #ffb454; + } + .z-source.z-css .z-entity.z-name.z-tag, .z-source.z-sass .z-entity.z-name.z-tag, .z-source.z-scss .z-entity.z-name.z-tag, .z-source.z-less .z-entity.z-name.z-tag, .z-source.z-stylus .z-entity.z-name.z-tag { + color: #59c2ff; + } + .z-source.z-css .z-support.z-type, .z-source.z-sass .z-support.z-type, .z-source.z-scss .z-support.z-type, .z-source.z-less .z-support.z-type, .z-source.z-stylus .z-support.z-type { + color: #798491; + } + .z-support.z-type.z-property-name { + color: #39bae6; + } + .z-constant.z-numeric.z-line-number.z-find-in-files { + color: #798491; + } + .z-constant.z-numeric.z-line-number.z-match { + color: #ff813c; + } + .z-entity.z-name.z-filename.z-find-in-files { + color: #c2d94c; + } + .z-message.z-error { + color: #ff7c6d; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #39bae6; + } + .z-markup.z-heading { + color: #ff813c; + font-weight: bold; + } + .z-string.z-other.z-link, .z-markup.z-underline.z-link { + color: #95e6cb; + text-decoration: underline; + font-style: italic; + } + .z-punctuation.z-definition.z-image { + color: #ffb454; + } + .z-markup.z-italic { + color: #fe7d83; + font-style: italic; + } + .z-markup.z-bold { + color: #fe7d83; + font-weight: bold; + } + .z-markup.z-italic .z-markup.z-bold, .z-markup.z-bold .z-markup.z-italic { + font-weight: bold; + font-style: italic; + } + .z-markup.z-raw { + background-color: #bfbab0; + } + .z-markup.z-raw.z-inline { + background-color: #bfbab0; + } + .z-meta.z-separator { + color: #798491; + background-color: #bfbab0; + font-weight: bold; + } + .z-markup.z-quote { + color: #f29718; + font-style: italic; + } + .z-markup.z-list.z-numbered.z-bullet, .z-markup.z-list .z-punctuation.z-definition.z-list_item { + color: #95e6cb; + } + .z-markup.z-inserted { + color: #c2d94c; + } + .z-markup.z-changed { + color: #39bae6; + } + .z-markup.z-deleted { + color: #fe7d83; + } + .z-markup.z-strike { + color: #e6b673; + } + .z-markup.z-table { + color: #39bae6; + background-color: #bfbab0; + } + .z-text.z-html.z-markdown .z-markup.z-raw.z-inline { + color: #f29668; + } + .z-text.z-html.z-markdown .z-meta.z-dummy.z-line-break { + color: #798491; + } + .z-markup.z-raw.z-block.z-fenced.z-markdown { + color: #bfbab0; + background-color: #bfbab0; + } + .z-punctuation.z-definition.z-fenced.z-markdown, .z-variable.z-language.z-fenced.z-markdown { + color: #798491; + background-color: #bfbab0; + } + .z-variable.z-language.z-fenced.z-markdown { + color: #798491; + } + .z-markup.z-inserted.z-git_gutter { + color: #c2d94c; + } + .z-markup.z-changed.z-git_gutter { + color: #39bae6; + } + .z-markup.z-deleted.z-git_gutter { + color: #ff7c6d; + } + .z-markup.z-ignored.z-git_gutter { + color: #20272c; + } + .z-markup.z-untracked.z-git_gutter { + color: #20272c; + } + .z-gutter_color { + color: #ffffff; + } + .z-acejump.z-label.z-blue { + color: #ffffff; + background-color: #39bae6; + } + .z-acejump.z-label.z-green { + color: #ffffff; + background-color: #c2d94c; + } + .z-acejump.z-label.z-orange { + color: #ffffff; + background-color: #ff813c; + } + .z-acejump.z-label.z-purple { + color: #ffffff; + background-color: #fe7d83; + } + .z-sublimelinter.z-mark.z-warning { + color: #39bae6; + } + .z-sublimelinter.z-gutter-mark { + color: #ffffff; + } + .z-sublimelinter.z-mark.z-error { + color: #ff7c6d; + } +} +@media (prefers-color-scheme: light) { + :root { + .z-code { + color: #61676c; + background-color: #ffffff; + } + .z-comment, .z-punctuation.z-definition.z-comment { + color: #6e7379; + font-style: italic; + } + .z-variable { + color: #61676c; + } + .z-string, .z-constant.z-other.z-symbol { + color: #507e00; + } + .z-constant.z-numeric { + color: #b85500; + } + .z-string.z-regexp, .z-constant.z-character.z-escape { + color: #008260; + } + .z-constant.z-language { + color: #b85500; + } + .z-constant.z-character, .z-constant.z-other { + color: #b85500; + } + .z-variable.z-member { + color: #cb414d; + } + .z-keyword, .z-keyword.z-operator.z-word { + color: #c94506; + } + .z-keyword.z-operator { + color: #ac5c32; + } + .z-punctuation.z-separator, .z-punctuation.z-terminator { + color: #61676c; + } + .z-punctuation.z-section { + color: #61676c; + } + .z-punctuation.z-accessor { + color: #ac5c32; + } + .z-punctuation.z-definition.z-annotation { + color: #61676c; + } + .z-variable.z-other.z-dollar.z-only.z-js, .z-variable.z-other.z-object.z-dollar.z-only.z-js, .z-variable.z-type.z-dollar.z-only.z-js, .z-support.z-class.z-dollar.z-only.z-js { + color: #936b2c; + } + .z-storage { + color: #c94506; + } + .z-storage.z-type { + color: #c94506; + } + .z-entity.z-name.z-function { + color: #ac5d00; + } + .z-entity.z-name, .z-entity.z-name.z-tag, .z-entity.z-name.z-label { + color: #0079bd; + } + .z-entity.z-other.z-inherited-class { + color: #0079bd; + text-decoration: underline; + } + .z-variable.z-parameter { + color: #b85500; + } + .z-variable.z-language { + color: #007d9b; + font-style: italic; + } + .z-entity.z-name.z-tag, .z-meta.z-tag.z-sgml { + color: #007d9b; + } + .z-punctuation.z-definition.z-tag.z-end, .z-punctuation.z-definition.z-tag.z-begin, .z-punctuation.z-definition.z-tag { + color: #007d9b; + } + .z-entity.z-other.z-attribute-name { + color: #ac5d00; + } + .z-variable.z-function, .z-variable.z-annotation { + color: #ac5d00; + } + .z-support.z-function, .z-support.z-macro { + color: #c44a4e; + } + .z-support.z-constant { + color: #ac5c32; + font-style: italic; + } + .z-support.z-type, .z-support.z-class { + color: #007d9b; + font-style: italic; + } + .z-invalid { + color: #e6000b; + } + .z-invalid.z-deprecated { + color: #ffffff; + background-color: #c94506; + } + .z-source.z-ruby .z-variable.z-other.z-readwrite { + color: #ac5d00; + } + .z-source.z-css .z-entity.z-name.z-tag, .z-source.z-sass .z-entity.z-name.z-tag, .z-source.z-scss .z-entity.z-name.z-tag, .z-source.z-less .z-entity.z-name.z-tag, .z-source.z-stylus .z-entity.z-name.z-tag { + color: #0079bd; + } + .z-source.z-css .z-support.z-type, .z-source.z-sass .z-support.z-type, .z-source.z-scss .z-support.z-type, .z-source.z-less .z-support.z-type, .z-source.z-stylus .z-support.z-type { + color: #6e7379; + } + .z-support.z-type.z-property-name { + color: #007d9b; + } + .z-constant.z-numeric.z-line-number.z-find-in-files { + color: #6e7379; + } + .z-constant.z-numeric.z-line-number.z-match { + color: #c94506; + } + .z-entity.z-name.z-filename.z-find-in-files { + color: #507e00; + } + .z-message.z-error { + color: #e6000b; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007d9b; + } + .z-markup.z-heading { + color: #c94506; + font-weight: bold; + } + .z-string.z-other.z-link, .z-markup.z-underline.z-link { + color: #008260; + text-decoration: underline; + font-style: italic; + } + .z-punctuation.z-definition.z-image { + color: #ac5d00; + } + .z-markup.z-italic { + color: #c44a4e; + font-style: italic; + } + .z-markup.z-bold { + color: #c44a4e; + font-weight: bold; + } + .z-markup.z-italic .z-markup.z-bold, .z-markup.z-bold .z-markup.z-italic { + font-weight: bold; + font-style: italic; + } + .z-markup.z-raw { + background-color: #61676c; + } + .z-markup.z-raw.z-inline { + background-color: #61676c; + } + .z-meta.z-separator { + color: #6e7379; + background-color: #61676c; + font-weight: bold; + } + .z-markup.z-quote { + color: #b85500; + font-style: italic; + } + .z-markup.z-list.z-numbered.z-bullet, .z-markup.z-list .z-punctuation.z-definition.z-list_item { + color: #008260; + } + .z-markup.z-inserted { + color: #507e00; + } + .z-markup.z-changed { + color: #007d9b; + } + .z-markup.z-deleted { + color: #c44a4e; + } + .z-markup.z-strike { + color: #936b2c; + } + .z-markup.z-table { + color: #007d9b; + background-color: #61676c; + } + .z-text.z-html.z-markdown .z-markup.z-raw.z-inline { + color: #ac5c32; + } + .z-text.z-html.z-markdown .z-meta.z-dummy.z-line-break { + color: #6e7379; + } + .z-markup.z-raw.z-block.z-fenced.z-markdown { + color: #61676c; + background-color: #61676c; + } + .z-punctuation.z-definition.z-fenced.z-markdown, .z-variable.z-language.z-fenced.z-markdown { + color: #6e7379; + background-color: #61676c; + } + .z-variable.z-language.z-fenced.z-markdown { + color: #6e7379; + } + .z-markup.z-inserted.z-git_gutter { + color: #507e00; + } + .z-markup.z-changed.z-git_gutter { + color: #007d9b; + } + .z-markup.z-deleted.z-git_gutter { + color: #e6000b; + } + .z-markup.z-ignored.z-git_gutter { + color: #dee0e1; + } + .z-markup.z-untracked.z-git_gutter { + color: #dee0e1; + } + .z-gutter_color { + color: #ffffff; + } + .z-acejump.z-label.z-blue { + color: #ffffff; + background-color: #007d9b; + } + .z-acejump.z-label.z-green { + color: #ffffff; + background-color: #507e00; + } + .z-acejump.z-label.z-orange { + color: #ffffff; + background-color: #c94506; + } + .z-acejump.z-label.z-purple { + color: #ffffff; + background-color: #c44a4e; + } + .z-sublimelinter.z-mark.z-warning { + color: #007d9b; + } + .z-sublimelinter.z-gutter-mark { + color: #ffffff; + } + .z-sublimelinter.z-mark.z-error { + color: #e6000b; + } + } +}
\ No newline at end of file diff --git a/sass/syntax/_ayu_mirage-dark-abridge.scss b/sass/syntax/syntax-ayumirage-abridge-dark.scss index b007562..b007562 100644 --- a/sass/syntax/_ayu_mirage-dark-abridge.scss +++ b/sass/syntax/syntax-ayumirage-abridge-dark.scss diff --git a/sass/syntax/_ayu_mirage-white-abridge.scss b/sass/syntax/syntax-ayumirage-abridge-light.scss index 825e6ef..825e6ef 100644 --- a/sass/syntax/_ayu_mirage-white-abridge.scss +++ b/sass/syntax/syntax-ayumirage-abridge-light.scss diff --git a/sass/syntax/syntax-ayumirage-abridge-switcher.scss b/sass/syntax/syntax-ayumirage-abridge-switcher.scss new file mode 100644 index 0000000..4d2f39f --- /dev/null +++ b/sass/syntax/syntax-ayumirage-abridge-switcher.scss @@ -0,0 +1,554 @@ +:root:not(.light) { + .z-code { + color: #ccc9c2; + background-color: #191919; + } + .z-comment, .z-punctuation.z-definition.z-comment { + color: #798491; + font-style: italic; + } + .z-variable { + color: #ccc9c2; + } + .z-string, .z-constant.z-other.z-symbol { + color: #bae67e; + } + .z-constant.z-numeric { + color: #ffcc66; + } + .z-string.z-regexp, .z-constant.z-character.z-escape { + color: #95e6cb; + } + .z-constant.z-language { + color: #ffcc66; + } + .z-constant.z-character, .z-constant.z-other { + color: #ffcc66; + } + .z-variable.z-member { + color: #ff7d82; + } + .z-keyword, .z-keyword.z-operator.z-word { + color: #ffa759; + } + .z-keyword.z-operator { + color: #f29e74; + } + .z-punctuation.z-separator, .z-punctuation.z-terminator { + color: #ccc9c2; + } + .z-punctuation.z-section { + color: #ccc9c2; + } + .z-punctuation.z-accessor { + color: #f29e74; + } + .z-punctuation.z-definition.z-annotation { + color: #ccc9c2; + } + .z-variable.z-other.z-dollar.z-only.z-js, .z-variable.z-other.z-object.z-dollar.z-only.z-js, .z-variable.z-type.z-dollar.z-only.z-js, .z-support.z-class.z-dollar.z-only.z-js { + color: #ffc44c; + } + .z-storage { + color: #ffa759; + } + .z-storage.z-type { + color: #ffa759; + } + .z-entity.z-name.z-function { + color: #ffd580; + } + .z-entity.z-name, .z-entity.z-name.z-tag, .z-entity.z-name.z-label { + color: #73d0ff; + } + .z-entity.z-other.z-inherited-class { + color: #73d0ff; + text-decoration: underline; + } + .z-variable.z-parameter { + color: #ffcc66; + } + .z-variable.z-language { + color: #5ccfe6; + font-style: italic; + } + .z-entity.z-name.z-tag, .z-meta.z-tag.z-sgml { + color: #5ccfe6; + } + .z-punctuation.z-definition.z-tag.z-end, .z-punctuation.z-definition.z-tag.z-begin, .z-punctuation.z-definition.z-tag { + color: #5ccfe6; + } + .z-entity.z-other.z-attribute-name { + color: #ffd580; + } + .z-variable.z-function, .z-variable.z-annotation { + color: #ffd580; + } + .z-support.z-function, .z-support.z-macro { + color: #f28779; + } + .z-support.z-constant { + color: #f29e74; + font-style: italic; + } + .z-support.z-type, .z-support.z-class { + color: #5ccfe6; + font-style: italic; + } + .z-invalid { + color: #ff7c6d; + } + .z-invalid.z-deprecated { + color: #ffffff; + background-color: #ffa759; + } + .z-meta.z-diff, .z-meta.z-diff.z-header { + color: #c594c5; + } + .z-source.z-ruby .z-variable.z-other.z-readwrite { + color: #ffd580; + } + .z-source.z-css .z-entity.z-name.z-tag, .z-source.z-sass .z-entity.z-name.z-tag, .z-source.z-scss .z-entity.z-name.z-tag, .z-source.z-less .z-entity.z-name.z-tag, .z-source.z-stylus .z-entity.z-name.z-tag { + color: #73d0ff; + } + .z-source.z-css .z-support.z-type, .z-source.z-sass .z-support.z-type, .z-source.z-scss .z-support.z-type, .z-source.z-less .z-support.z-type, .z-source.z-stylus .z-support.z-type { + color: #798491; + } + .z-support.z-type.z-property-name { + color: #5ccfe6; + } + .z-constant.z-numeric.z-line-number.z-find-in-files { + color: #798491; + } + .z-constant.z-numeric.z-line-number.z-match { + color: #ffa759; + } + .z-entity.z-name.z-filename.z-find-in-files { + color: #bae67e; + } + .z-message.z-error { + color: #ff7c6d; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #5ccfe6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #5ccfe6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #5ccfe6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #5ccfe6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #5ccfe6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #5ccfe6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #5ccfe6; + } + .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #5ccfe6; + } + .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #5ccfe6; + } + .z-markup.z-heading { + color: #ffa759; + font-weight: bold; + } + .z-string.z-other.z-link, .z-markup.z-underline.z-link { + color: #95e6cb; + text-decoration: underline; + font-style: italic; + } + .z-punctuation.z-definition.z-image { + color: #ffd580; + } + .z-markup.z-italic { + color: #f28779; + font-style: italic; + } + .z-markup.z-bold { + color: #f28779; + font-weight: bold; + } + .z-markup.z-italic .z-markup.z-bold, .z-markup.z-bold .z-markup.z-italic { + font-weight: bold; + font-style: italic; + } + .z-markup.z-raw { + background-color: #ccc9c2; + } + .z-markup.z-raw.z-inline { + background-color: #ccc9c2; + } + .z-meta.z-separator { + color: #798491; + background-color: #ccc9c2; + font-weight: bold; + } + .z-markup.z-quote { + color: #ffcc66; + font-style: italic; + } + .z-markup.z-list.z-numbered.z-bullet, .z-markup.z-list .z-punctuation.z-definition.z-list_item { + color: #95e6cb; + } + .z-markup.z-inserted { + color: #bae67e; + } + .z-markup.z-changed { + color: #5ccfe6; + } + .z-markup.z-deleted { + color: #f28779; + } + .z-markup.z-strike { + color: #ffc44c; + } + .z-markup.z-table { + color: #5ccfe6; + background-color: #ccc9c2; + } + .z-text.z-html.z-markdown .z-markup.z-raw.z-inline { + color: #f29e74; + } + .z-text.z-html.z-markdown .z-meta.z-dummy.z-line-break { + color: #798491; + } + .z-markup.z-raw.z-block.z-fenced.z-markdown { + color: #ccc9c2; + background-color: #ccc9c2; + } + .z-punctuation.z-definition.z-fenced.z-markdown, .z-variable.z-language.z-fenced.z-markdown { + color: #798491; + background-color: #ccc9c2; + } + .z-variable.z-language.z-fenced.z-markdown { + color: #798491; + } + .z-markup.z-inserted.z-git_gutter { + color: #bae67e; + } + .z-markup.z-changed.z-git_gutter { + color: #5ccfe6; + } + .z-markup.z-deleted.z-git_gutter { + color: #ff7c6d; + } + .z-markup.z-ignored.z-git_gutter { + color: #363e4a; + } + .z-markup.z-untracked.z-git_gutter { + color: #363e4a; + } + .z-gutter_color { + color: #ffffff; + } + .z-acejump.z-label.z-blue { + color: #ffffff; + background-color: #5ccfe6; + } + .z-acejump.z-label.z-green { + color: #ffffff; + background-color: #bae67e; + } + .z-acejump.z-label.z-orange { + color: #ffffff; + background-color: #ffa759; + } + .z-acejump.z-label.z-purple { + color: #ffffff; + background-color: #f28779; + } + .z-sublimelinter.z-mark.z-warning { + color: #5ccfe6; + } + .z-sublimelinter.z-gutter-mark { + color: #ffffff; + } + .z-sublimelinter.z-mark.z-error { + color: #ff7c6d; + } +} +:root.light { + .z-code { + color: #76736d; + background-color: #ffffff; + } + .z-comment, .z-punctuation.z-definition.z-comment { + color: #5c6773; + font-style: italic; + } + .z-variable { + color: #76736d; + } + .z-string, .z-constant.z-other.z-symbol { + color: #547f1c; + } + .z-constant.z-numeric { + color: #926b00; + } + .z-string.z-regexp, .z-constant.z-character.z-escape { + color: #2d7f68; + } + .z-constant.z-language { + color: #926b00; + } + .z-constant.z-character, .z-constant.z-other { + color: #926b00; + } + .z-variable.z-member { + color: #cb414d; + } + .z-keyword, .z-keyword.z-operator.z-word { + color: #aa5f0f; + } + .z-keyword.z-operator { + color: #aa5f39; + } + .z-punctuation.z-separator, .z-punctuation.z-terminator { + color: #76736d; + } + .z-punctuation.z-section { + color: #76736d; + } + .z-punctuation.z-accessor { + color: #aa5f39; + } + .z-punctuation.z-definition.z-annotation { + color: #76736d; + } + .z-variable.z-other.z-dollar.z-only.z-js, .z-variable.z-other.z-object.z-dollar.z-only.z-js, .z-variable.z-type.z-dollar.z-only.z-js, .z-support.z-class.z-dollar.z-only.z-js { + color: #986b00; + } + .z-storage { + color: #aa5f0f; + } + .z-storage.z-type { + color: #aa5f0f; + } + .z-entity.z-name.z-function { + color: #8f6f1d; + } + .z-entity.z-name, .z-entity.z-name.z-tag, .z-entity.z-name.z-label { + color: #007ca7; + } + .z-entity.z-other.z-inherited-class { + color: #007ca7; + text-decoration: underline; + } + .z-variable.z-parameter { + color: #926b00; + } + .z-variable.z-language { + color: #007f95; + font-style: italic; + } + .z-entity.z-name.z-tag, .z-meta.z-tag.z-sgml { + color: #007f95; + } + .z-punctuation.z-definition.z-tag.z-end, .z-punctuation.z-definition.z-tag.z-begin, .z-punctuation.z-definition.z-tag { + color: #007f95; + } + .z-entity.z-other.z-attribute-name { + color: #8f6f1d; + } + .z-variable.z-function, .z-variable.z-annotation { + color: #8f6f1d; + } + .z-support.z-function, .z-support.z-macro { + color: #b75349; + } + .z-support.z-constant { + color: #aa5f39; + font-style: italic; + } + .z-support.z-type, .z-support.z-class { + color: #007f95; + font-style: italic; + } + .z-invalid { + color: #e40320; + } + .z-invalid.z-deprecated { + color: #ffffff; + background-color: #aa5f0f; + } + .z-meta.z-diff, .z-meta.z-diff.z-header { + color: #916392; + } + .z-source.z-ruby .z-variable.z-other.z-readwrite { + color: #8f6f1d; + } + .z-source.z-css .z-entity.z-name.z-tag, .z-source.z-sass .z-entity.z-name.z-tag, .z-source.z-scss .z-entity.z-name.z-tag, .z-source.z-less .z-entity.z-name.z-tag, .z-source.z-stylus .z-entity.z-name.z-tag { + color: #007ca7; + } + .z-source.z-css .z-support.z-type, .z-source.z-sass .z-support.z-type, .z-source.z-scss .z-support.z-type, .z-source.z-less .z-support.z-type, .z-source.z-stylus .z-support.z-type { + color: #5c6773; + } + .z-support.z-type.z-property-name { + color: #007f95; + } + .z-constant.z-numeric.z-line-number.z-find-in-files { + color: #5c6773; + } + .z-constant.z-numeric.z-line-number.z-match { + color: #aa5f0f; + } + .z-entity.z-name.z-filename.z-find-in-files { + color: #547f1c; + } + .z-message.z-error { + color: #e40320; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007f95; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007f95; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007f95; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007f95; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007f95; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007f95; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007f95; + } + .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007f95; + } + .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007f95; + } + .z-markup.z-heading { + color: #aa5f0f; + font-weight: bold; + } + .z-string.z-other.z-link, .z-markup.z-underline.z-link { + color: #2d7f68; + text-decoration: underline; + font-style: italic; + } + .z-punctuation.z-definition.z-image { + color: #8f6f1d; + } + .z-markup.z-italic { + color: #b75349; + font-style: italic; + } + .z-markup.z-bold { + color: #b75349; + font-weight: bold; + } + .z-markup.z-italic .z-markup.z-bold, .z-markup.z-bold .z-markup.z-italic { + font-weight: bold; + font-style: italic; + } + .z-markup.z-raw { + background-color: #76736d; + } + .z-markup.z-raw.z-inline { + background-color: #76736d; + } + .z-meta.z-separator { + color: #5c6773; + background-color: #76736d; + font-weight: bold; + } + .z-markup.z-quote { + color: #926b00; + font-style: italic; + } + .z-markup.z-list.z-numbered.z-bullet, .z-markup.z-list .z-punctuation.z-definition.z-list_item { + color: #2d7f68; + } + .z-markup.z-inserted { + color: #547f1c; + } + .z-markup.z-changed { + color: #007f95; + } + .z-markup.z-deleted { + color: #b75349; + } + .z-markup.z-strike { + color: #986b00; + } + .z-markup.z-table { + color: #007f95; + background-color: #76736d; + } + .z-text.z-html.z-markdown .z-markup.z-raw.z-inline { + color: #aa5f39; + } + .z-text.z-html.z-markdown .z-meta.z-dummy.z-line-break { + color: #5c6773; + } + .z-markup.z-raw.z-block.z-fenced.z-markdown { + color: #76736d; + background-color: #76736d; + } + .z-punctuation.z-definition.z-fenced.z-markdown, .z-variable.z-language.z-fenced.z-markdown { + color: #5c6773; + background-color: #76736d; + } + .z-variable.z-language.z-fenced.z-markdown { + color: #5c6773; + } + .z-markup.z-inserted.z-git_gutter { + color: #547f1c; + } + .z-markup.z-changed.z-git_gutter { + color: #007f95; + } + .z-markup.z-deleted.z-git_gutter { + color: #e40320; + } + .z-markup.z-ignored.z-git_gutter { + color: #363e4a; + } + .z-markup.z-untracked.z-git_gutter { + color: #363e4a; + } + .z-gutter_color { + color: #ffffff; + } + .z-acejump.z-label.z-blue { + color: #ffffff; + background-color: #007f95; + } + .z-acejump.z-label.z-green { + color: #ffffff; + background-color: #547f1c; + } + .z-acejump.z-label.z-orange { + color: #ffffff; + background-color: #aa5f0f; + } + .z-acejump.z-label.z-purple { + color: #ffffff; + background-color: #b75349; + } + .z-sublimelinter.z-mark.z-warning { + color: #007f95; + } + .z-sublimelinter.z-gutter-mark { + color: #ffffff; + } + .z-sublimelinter.z-mark.z-error { + color: #e40320; + } +}
\ No newline at end of file diff --git a/sass/syntax/syntax-ayumirage-abridge.scss b/sass/syntax/syntax-ayumirage-abridge.scss new file mode 100644 index 0000000..30bee09 --- /dev/null +++ b/sass/syntax/syntax-ayumirage-abridge.scss @@ -0,0 +1,556 @@ +:root { + .z-code { + color: #ccc9c2; + background-color: #191919; + } + .z-comment, .z-punctuation.z-definition.z-comment { + color: #798491; + font-style: italic; + } + .z-variable { + color: #ccc9c2; + } + .z-string, .z-constant.z-other.z-symbol { + color: #bae67e; + } + .z-constant.z-numeric { + color: #ffcc66; + } + .z-string.z-regexp, .z-constant.z-character.z-escape { + color: #95e6cb; + } + .z-constant.z-language { + color: #ffcc66; + } + .z-constant.z-character, .z-constant.z-other { + color: #ffcc66; + } + .z-variable.z-member { + color: #ff7d82; + } + .z-keyword, .z-keyword.z-operator.z-word { + color: #ffa759; + } + .z-keyword.z-operator { + color: #f29e74; + } + .z-punctuation.z-separator, .z-punctuation.z-terminator { + color: #ccc9c2; + } + .z-punctuation.z-section { + color: #ccc9c2; + } + .z-punctuation.z-accessor { + color: #f29e74; + } + .z-punctuation.z-definition.z-annotation { + color: #ccc9c2; + } + .z-variable.z-other.z-dollar.z-only.z-js, .z-variable.z-other.z-object.z-dollar.z-only.z-js, .z-variable.z-type.z-dollar.z-only.z-js, .z-support.z-class.z-dollar.z-only.z-js { + color: #ffc44c; + } + .z-storage { + color: #ffa759; + } + .z-storage.z-type { + color: #ffa759; + } + .z-entity.z-name.z-function { + color: #ffd580; + } + .z-entity.z-name, .z-entity.z-name.z-tag, .z-entity.z-name.z-label { + color: #73d0ff; + } + .z-entity.z-other.z-inherited-class { + color: #73d0ff; + text-decoration: underline; + } + .z-variable.z-parameter { + color: #ffcc66; + } + .z-variable.z-language { + color: #5ccfe6; + font-style: italic; + } + .z-entity.z-name.z-tag, .z-meta.z-tag.z-sgml { + color: #5ccfe6; + } + .z-punctuation.z-definition.z-tag.z-end, .z-punctuation.z-definition.z-tag.z-begin, .z-punctuation.z-definition.z-tag { + color: #5ccfe6; + } + .z-entity.z-other.z-attribute-name { + color: #ffd580; + } + .z-variable.z-function, .z-variable.z-annotation { + color: #ffd580; + } + .z-support.z-function, .z-support.z-macro { + color: #f28779; + } + .z-support.z-constant { + color: #f29e74; + font-style: italic; + } + .z-support.z-type, .z-support.z-class { + color: #5ccfe6; + font-style: italic; + } + .z-invalid { + color: #ff7c6d; + } + .z-invalid.z-deprecated { + color: #ffffff; + background-color: #ffa759; + } + .z-meta.z-diff, .z-meta.z-diff.z-header { + color: #c594c5; + } + .z-source.z-ruby .z-variable.z-other.z-readwrite { + color: #ffd580; + } + .z-source.z-css .z-entity.z-name.z-tag, .z-source.z-sass .z-entity.z-name.z-tag, .z-source.z-scss .z-entity.z-name.z-tag, .z-source.z-less .z-entity.z-name.z-tag, .z-source.z-stylus .z-entity.z-name.z-tag { + color: #73d0ff; + } + .z-source.z-css .z-support.z-type, .z-source.z-sass .z-support.z-type, .z-source.z-scss .z-support.z-type, .z-source.z-less .z-support.z-type, .z-source.z-stylus .z-support.z-type { + color: #798491; + } + .z-support.z-type.z-property-name { + color: #5ccfe6; + } + .z-constant.z-numeric.z-line-number.z-find-in-files { + color: #798491; + } + .z-constant.z-numeric.z-line-number.z-match { + color: #ffa759; + } + .z-entity.z-name.z-filename.z-find-in-files { + color: #bae67e; + } + .z-message.z-error { + color: #ff7c6d; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #5ccfe6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #5ccfe6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #5ccfe6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #5ccfe6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #5ccfe6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #5ccfe6; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #5ccfe6; + } + .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #5ccfe6; + } + .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #5ccfe6; + } + .z-markup.z-heading { + color: #ffa759; + font-weight: bold; + } + .z-string.z-other.z-link, .z-markup.z-underline.z-link { + color: #95e6cb; + text-decoration: underline; + font-style: italic; + } + .z-punctuation.z-definition.z-image { + color: #ffd580; + } + .z-markup.z-italic { + color: #f28779; + font-style: italic; + } + .z-markup.z-bold { + color: #f28779; + font-weight: bold; + } + .z-markup.z-italic .z-markup.z-bold, .z-markup.z-bold .z-markup.z-italic { + font-weight: bold; + font-style: italic; + } + .z-markup.z-raw { + background-color: #ccc9c2; + } + .z-markup.z-raw.z-inline { + background-color: #ccc9c2; + } + .z-meta.z-separator { + color: #798491; + background-color: #ccc9c2; + font-weight: bold; + } + .z-markup.z-quote { + color: #ffcc66; + font-style: italic; + } + .z-markup.z-list.z-numbered.z-bullet, .z-markup.z-list .z-punctuation.z-definition.z-list_item { + color: #95e6cb; + } + .z-markup.z-inserted { + color: #bae67e; + } + .z-markup.z-changed { + color: #5ccfe6; + } + .z-markup.z-deleted { + color: #f28779; + } + .z-markup.z-strike { + color: #ffc44c; + } + .z-markup.z-table { + color: #5ccfe6; + background-color: #ccc9c2; + } + .z-text.z-html.z-markdown .z-markup.z-raw.z-inline { + color: #f29e74; + } + .z-text.z-html.z-markdown .z-meta.z-dummy.z-line-break { + color: #798491; + } + .z-markup.z-raw.z-block.z-fenced.z-markdown { + color: #ccc9c2; + background-color: #ccc9c2; + } + .z-punctuation.z-definition.z-fenced.z-markdown, .z-variable.z-language.z-fenced.z-markdown { + color: #798491; + background-color: #ccc9c2; + } + .z-variable.z-language.z-fenced.z-markdown { + color: #798491; + } + .z-markup.z-inserted.z-git_gutter { + color: #bae67e; + } + .z-markup.z-changed.z-git_gutter { + color: #5ccfe6; + } + .z-markup.z-deleted.z-git_gutter { + color: #ff7c6d; + } + .z-markup.z-ignored.z-git_gutter { + color: #363e4a; + } + .z-markup.z-untracked.z-git_gutter { + color: #363e4a; + } + .z-gutter_color { + color: #ffffff; + } + .z-acejump.z-label.z-blue { + color: #ffffff; + background-color: #5ccfe6; + } + .z-acejump.z-label.z-green { + color: #ffffff; + background-color: #bae67e; + } + .z-acejump.z-label.z-orange { + color: #ffffff; + background-color: #ffa759; + } + .z-acejump.z-label.z-purple { + color: #ffffff; + background-color: #f28779; + } + .z-sublimelinter.z-mark.z-warning { + color: #5ccfe6; + } + .z-sublimelinter.z-gutter-mark { + color: #ffffff; + } + .z-sublimelinter.z-mark.z-error { + color: #ff7c6d; + } +} +@media (prefers-color-scheme: light) { + :root { + .z-code { + color: #76736d; + background-color: #ffffff; + } + .z-comment, .z-punctuation.z-definition.z-comment { + color: #5c6773; + font-style: italic; + } + .z-variable { + color: #76736d; + } + .z-string, .z-constant.z-other.z-symbol { + color: #547f1c; + } + .z-constant.z-numeric { + color: #926b00; + } + .z-string.z-regexp, .z-constant.z-character.z-escape { + color: #2d7f68; + } + .z-constant.z-language { + color: #926b00; + } + .z-constant.z-character, .z-constant.z-other { + color: #926b00; + } + .z-variable.z-member { + color: #cb414d; + } + .z-keyword, .z-keyword.z-operator.z-word { + color: #aa5f0f; + } + .z-keyword.z-operator { + color: #aa5f39; + } + .z-punctuation.z-separator, .z-punctuation.z-terminator { + color: #76736d; + } + .z-punctuation.z-section { + color: #76736d; + } + .z-punctuation.z-accessor { + color: #aa5f39; + } + .z-punctuation.z-definition.z-annotation { + color: #76736d; + } + .z-variable.z-other.z-dollar.z-only.z-js, .z-variable.z-other.z-object.z-dollar.z-only.z-js, .z-variable.z-type.z-dollar.z-only.z-js, .z-support.z-class.z-dollar.z-only.z-js { + color: #986b00; + } + .z-storage { + color: #aa5f0f; + } + .z-storage.z-type { + color: #aa5f0f; + } + .z-entity.z-name.z-function { + color: #8f6f1d; + } + .z-entity.z-name, .z-entity.z-name.z-tag, .z-entity.z-name.z-label { + color: #007ca7; + } + .z-entity.z-other.z-inherited-class { + color: #007ca7; + text-decoration: underline; + } + .z-variable.z-parameter { + color: #926b00; + } + .z-variable.z-language { + color: #007f95; + font-style: italic; + } + .z-entity.z-name.z-tag, .z-meta.z-tag.z-sgml { + color: #007f95; + } + .z-punctuation.z-definition.z-tag.z-end, .z-punctuation.z-definition.z-tag.z-begin, .z-punctuation.z-definition.z-tag { + color: #007f95; + } + .z-entity.z-other.z-attribute-name { + color: #8f6f1d; + } + .z-variable.z-function, .z-variable.z-annotation { + color: #8f6f1d; + } + .z-support.z-function, .z-support.z-macro { + color: #b75349; + } + .z-support.z-constant { + color: #aa5f39; + font-style: italic; + } + .z-support.z-type, .z-support.z-class { + color: #007f95; + font-style: italic; + } + .z-invalid { + color: #e40320; + } + .z-invalid.z-deprecated { + color: #ffffff; + background-color: #aa5f0f; + } + .z-meta.z-diff, .z-meta.z-diff.z-header { + color: #916392; + } + .z-source.z-ruby .z-variable.z-other.z-readwrite { + color: #8f6f1d; + } + .z-source.z-css .z-entity.z-name.z-tag, .z-source.z-sass .z-entity.z-name.z-tag, .z-source.z-scss .z-entity.z-name.z-tag, .z-source.z-less .z-entity.z-name.z-tag, .z-source.z-stylus .z-entity.z-name.z-tag { + color: #007ca7; + } + .z-source.z-css .z-support.z-type, .z-source.z-sass .z-support.z-type, .z-source.z-scss .z-support.z-type, .z-source.z-less .z-support.z-type, .z-source.z-stylus .z-support.z-type { + color: #5c6773; + } + .z-support.z-type.z-property-name { + color: #007f95; + } + .z-constant.z-numeric.z-line-number.z-find-in-files { + color: #5c6773; + } + .z-constant.z-numeric.z-line-number.z-match { + color: #aa5f0f; + } + .z-entity.z-name.z-filename.z-find-in-files { + color: #547f1c; + } + .z-message.z-error { + color: #e40320; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007f95; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007f95; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007f95; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007f95; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007f95; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007f95; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007f95; + } + .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007f95; + } + .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #007f95; + } + .z-markup.z-heading { + color: #aa5f0f; + font-weight: bold; + } + .z-string.z-other.z-link, .z-markup.z-underline.z-link { + color: #2d7f68; + text-decoration: underline; + font-style: italic; + } + .z-punctuation.z-definition.z-image { + color: #8f6f1d; + } + .z-markup.z-italic { + color: #b75349; + font-style: italic; + } + .z-markup.z-bold { + color: #b75349; + font-weight: bold; + } + .z-markup.z-italic .z-markup.z-bold, .z-markup.z-bold .z-markup.z-italic { + font-weight: bold; + font-style: italic; + } + .z-markup.z-raw { + background-color: #76736d; + } + .z-markup.z-raw.z-inline { + background-color: #76736d; + } + .z-meta.z-separator { + color: #5c6773; + background-color: #76736d; + font-weight: bold; + } + .z-markup.z-quote { + color: #926b00; + font-style: italic; + } + .z-markup.z-list.z-numbered.z-bullet, .z-markup.z-list .z-punctuation.z-definition.z-list_item { + color: #2d7f68; + } + .z-markup.z-inserted { + color: #547f1c; + } + .z-markup.z-changed { + color: #007f95; + } + .z-markup.z-deleted { + color: #b75349; + } + .z-markup.z-strike { + color: #986b00; + } + .z-markup.z-table { + color: #007f95; + background-color: #76736d; + } + .z-text.z-html.z-markdown .z-markup.z-raw.z-inline { + color: #aa5f39; + } + .z-text.z-html.z-markdown .z-meta.z-dummy.z-line-break { + color: #5c6773; + } + .z-markup.z-raw.z-block.z-fenced.z-markdown { + color: #76736d; + background-color: #76736d; + } + .z-punctuation.z-definition.z-fenced.z-markdown, .z-variable.z-language.z-fenced.z-markdown { + color: #5c6773; + background-color: #76736d; + } + .z-variable.z-language.z-fenced.z-markdown { + color: #5c6773; + } + .z-markup.z-inserted.z-git_gutter { + color: #547f1c; + } + .z-markup.z-changed.z-git_gutter { + color: #007f95; + } + .z-markup.z-deleted.z-git_gutter { + color: #e40320; + } + .z-markup.z-ignored.z-git_gutter { + color: #363e4a; + } + .z-markup.z-untracked.z-git_gutter { + color: #363e4a; + } + .z-gutter_color { + color: #ffffff; + } + .z-acejump.z-label.z-blue { + color: #ffffff; + background-color: #007f95; + } + .z-acejump.z-label.z-green { + color: #ffffff; + background-color: #547f1c; + } + .z-acejump.z-label.z-orange { + color: #ffffff; + background-color: #aa5f0f; + } + .z-acejump.z-label.z-purple { + color: #ffffff; + background-color: #b75349; + } + .z-sublimelinter.z-mark.z-warning { + color: #007f95; + } + .z-sublimelinter.z-gutter-mark { + color: #ffffff; + } + .z-sublimelinter.z-mark.z-error { + color: #e40320; + } + } +}
\ No newline at end of file diff --git a/sass/syntax/_charcoal-dark-abridge.scss b/sass/syntax/syntax-charcoal-abridge-dark.scss index b3ab18c..b3ab18c 100644 --- a/sass/syntax/_charcoal-dark-abridge.scss +++ b/sass/syntax/syntax-charcoal-abridge-dark.scss diff --git a/sass/syntax/_charcoal-white-abridge.scss b/sass/syntax/syntax-charcoal-abridge-light.scss index 53f86ce..53f86ce 100644 --- a/sass/syntax/_charcoal-white-abridge.scss +++ b/sass/syntax/syntax-charcoal-abridge-light.scss diff --git a/sass/syntax/syntax-charcoal-abridge-switcher.scss b/sass/syntax/syntax-charcoal-abridge-switcher.scss new file mode 100644 index 0000000..93abc50 --- /dev/null +++ b/sass/syntax/syntax-charcoal-abridge-switcher.scss @@ -0,0 +1,162 @@ +:root:not(.light) { + .z-code { + color: #cccece; + background-color: #191919; + } + .z-comment, .z-punctuation.z-definition.z-comment { + color: #7e8384; + } + .z-variable { + color: #cccece; + } + .z-keyword, .z-storage.z-type, .z-storage.z-modifier { + color: #c594c5; + } + .z-keyword.z-operator, .z-constant.z-other.z-color, .z-punctuation, .z-meta.z-tag, .z-punctuation.z-definition.z-tag, .z-punctuation.z-separator.z-inheritance.z-php, .z-punctuation.z-definition.z-tag.z-html, .z-punctuation.z-definition.z-tag.z-begin.z-html, .z-punctuation.z-definition.z-tag.z-end.z-html, .z-punctuation.z-section.z-embedded, .z-keyword.z-other.z-template, .z-keyword.z-other.z-substitution { + color: #5fb3b3; + } + .z-entity.z-name.z-tag, .z-meta.z-tag.z-sgml, .z-markup.z-deleted.z-git_gutter { + color: #ff7b84; + } + .z-entity.z-name.z-function, .z-meta.z-function-call, .z-variable.z-function, .z-support.z-function, .z-keyword.z-other.z-special-method, .z-meta.z-block-level { + color: #78aade; + } + .z-support.z-other.z-variable, .z-string.z-other.z-link { + color: #fa7e81; + } + .z-constant.z-numeric, .z-constant.z-language, .z-support.z-constant, .z-constant.z-character, .z-variable.z-parameter, .z-keyword.z-other.z-unit { + color: #f99157; + } + .z-string, .z-constant.z-other.z-symbol, .z-constant.z-other.z-key, .z-entity.z-other.z-inherited-class, .z-markup.z-heading, .z-markup.z-inserted.z-git_gutter, .z-meta.z-group.z-braces.z-curly .z-constant.z-other.z-object.z-key.z-js .z-string.z-unquoted.z-label.z-js { + color: #99c794; + } + .z-entity.z-name.z-class, .z-entity.z-name.z-type.z-class, .z-support.z-type, .z-support.z-class, .z-support.z-orther.z-namespace.z-use.z-php, .z-meta.z-use.z-php, .z-support.z-other.z-namespace.z-php, .z-markup.z-changed.z-git_gutter { + color: #fac863; + } + .z-entity.z-name.z-module.z-js, .z-variable.z-import.z-parameter.z-js, .z-variable.z-other.z-class.z-js { + color: #ff7d82; + } + .z-variable.z-language { + color: #ff7d82; + } + .z-entity.z-name.z-method.z-js { + color: #d8dee9; + } + .z-meta.z-class-method.z-js .z-entity.z-name.z-function.z-js, .z-variable.z-function.z-constructor { + color: #d8dee9; + } + .z-entity.z-other.z-attribute-name { + color: #cd91c4; + } + .z-markup.z-inserted { + color: #99c794; + } + .z-markup.z-deleted { + color: #ff7d82; + } + .z-markup.z-changed { + color: #cd91c4; + } + .z-string.z-regexp { + color: #5fb3b3; + } + .z-constant.z-character.z-escape { + color: #5fb3b3; + } + .z-*url*, .z-*link*, .z-*uri* { + text-decoration: underline; + } + .z-constant.z-numeric.z-line-number.z-find-in-files { + color: #cf9a87; + } + .z-entity.z-name.z-filename.z-find-in-files { + color: #99c794; + } + .z-tag.z-decorator.z-js .z-entity.z-name.z-tag.z-js, .z-tag.z-decorator.z-js .z-punctuation.z-definition.z-tag.z-js { + color: #78aade; + } + .z-source.z-js .z-constant.z-other.z-object.z-key.z-js .z-string.z-unquoted.z-label.z-js { + color: #ff7d82; + } +} +:root.light { + .z-code { + color: #727373; + background-color: #ffffff; + } + .z-comment, .z-punctuation.z-definition.z-comment { + color: #5f6364; + } + .z-variable { + color: #727373; + } + .z-keyword, .z-storage.z-type, .z-storage.z-modifier { + color: #916392; + } + .z-keyword.z-operator, .z-constant.z-other.z-color, .z-punctuation, .z-meta.z-tag, .z-punctuation.z-definition.z-tag, .z-punctuation.z-separator.z-inheritance.z-php, .z-punctuation.z-definition.z-tag.z-html, .z-punctuation.z-definition.z-tag.z-begin.z-html, .z-punctuation.z-definition.z-tag.z-end.z-html, .z-punctuation.z-section.z-embedded, .z-keyword.z-other.z-template, .z-keyword.z-other.z-substitution { + color: #237e7f; + } + .z-entity.z-name.z-tag, .z-meta.z-tag.z-sgml, .z-markup.z-deleted.z-git_gutter { + color: #ca4251; + } + .z-entity.z-name.z-function, .z-meta.z-function-call, .z-variable.z-function, .z-support.z-function, .z-keyword.z-other.z-special-method, .z-meta.z-block-level { + color: #4076a7; + } + .z-support.z-other.z-variable, .z-string.z-other.z-link { + color: #c14c52; + } + .z-constant.z-numeric, .z-constant.z-language, .z-support.z-constant, .z-constant.z-character, .z-variable.z-parameter, .z-keyword.z-other.z-unit { + color: #b75922; + } + .z-string, .z-constant.z-other.z-symbol, .z-constant.z-other.z-key, .z-entity.z-other.z-inherited-class, .z-markup.z-heading, .z-markup.z-inserted.z-git_gutter, .z-meta.z-group.z-braces.z-curly .z-constant.z-other.z-object.z-key.z-js .z-string.z-unquoted.z-label.z-js { + color: #517c4e; + } + .z-entity.z-name.z-class, .z-entity.z-name.z-type.z-class, .z-support.z-type, .z-support.z-class, .z-support.z-orther.z-namespace.z-use.z-php, .z-meta.z-use.z-php, .z-support.z-other.z-namespace.z-php, .z-markup.z-changed.z-git_gutter { + color: #926c00; + } + .z-entity.z-name.z-module.z-js, .z-variable.z-import.z-parameter.z-js, .z-variable.z-other.z-class.z-js { + color: #cb414d; + } + .z-variable.z-language { + color: #cb414d; + } + .z-entity.z-name.z-method.z-js { + color: #6c727c; + } + .z-meta.z-class-method.z-js .z-entity.z-name.z-function.z-js, .z-variable.z-function.z-constructor { + color: #6c727c; + } + .z-entity.z-other.z-attribute-name { + color: #996091; + } + .z-markup.z-inserted { + color: #517c4e; + } + .z-markup.z-deleted { + color: #cb414d; + } + .z-markup.z-changed { + color: #996091; + } + .z-string.z-regexp { + color: #237e7f; + } + .z-constant.z-character.z-escape { + color: #237e7f; + } + .z-*url*, .z-*link*, .z-*uri* { + text-decoration: underline; + } + .z-constant.z-numeric.z-line-number.z-find-in-files { + color: #976756; + } + .z-entity.z-name.z-filename.z-find-in-files { + color: #517c4e; + } + .z-tag.z-decorator.z-js .z-entity.z-name.z-tag.z-js, .z-tag.z-decorator.z-js .z-punctuation.z-definition.z-tag.z-js { + color: #4076a7; + } + .z-source.z-js .z-constant.z-other.z-object.z-key.z-js .z-string.z-unquoted.z-label.z-js { + color: #cb414d; + } +}
\ No newline at end of file diff --git a/sass/syntax/syntax-charcoal-abridge.scss b/sass/syntax/syntax-charcoal-abridge.scss new file mode 100644 index 0000000..94c497f --- /dev/null +++ b/sass/syntax/syntax-charcoal-abridge.scss @@ -0,0 +1,164 @@ +:root { + .z-code { + color: #cccece; + background-color: #191919; + } + .z-comment, .z-punctuation.z-definition.z-comment { + color: #7e8384; + } + .z-variable { + color: #cccece; + } + .z-keyword, .z-storage.z-type, .z-storage.z-modifier { + color: #c594c5; + } + .z-keyword.z-operator, .z-constant.z-other.z-color, .z-punctuation, .z-meta.z-tag, .z-punctuation.z-definition.z-tag, .z-punctuation.z-separator.z-inheritance.z-php, .z-punctuation.z-definition.z-tag.z-html, .z-punctuation.z-definition.z-tag.z-begin.z-html, .z-punctuation.z-definition.z-tag.z-end.z-html, .z-punctuation.z-section.z-embedded, .z-keyword.z-other.z-template, .z-keyword.z-other.z-substitution { + color: #5fb3b3; + } + .z-entity.z-name.z-tag, .z-meta.z-tag.z-sgml, .z-markup.z-deleted.z-git_gutter { + color: #ff7b84; + } + .z-entity.z-name.z-function, .z-meta.z-function-call, .z-variable.z-function, .z-support.z-function, .z-keyword.z-other.z-special-method, .z-meta.z-block-level { + color: #78aade; + } + .z-support.z-other.z-variable, .z-string.z-other.z-link { + color: #fa7e81; + } + .z-constant.z-numeric, .z-constant.z-language, .z-support.z-constant, .z-constant.z-character, .z-variable.z-parameter, .z-keyword.z-other.z-unit { + color: #f99157; + } + .z-string, .z-constant.z-other.z-symbol, .z-constant.z-other.z-key, .z-entity.z-other.z-inherited-class, .z-markup.z-heading, .z-markup.z-inserted.z-git_gutter, .z-meta.z-group.z-braces.z-curly .z-constant.z-other.z-object.z-key.z-js .z-string.z-unquoted.z-label.z-js { + color: #99c794; + } + .z-entity.z-name.z-class, .z-entity.z-name.z-type.z-class, .z-support.z-type, .z-support.z-class, .z-support.z-orther.z-namespace.z-use.z-php, .z-meta.z-use.z-php, .z-support.z-other.z-namespace.z-php, .z-markup.z-changed.z-git_gutter { + color: #fac863; + } + .z-entity.z-name.z-module.z-js, .z-variable.z-import.z-parameter.z-js, .z-variable.z-other.z-class.z-js { + color: #ff7d82; + } + .z-variable.z-language { + color: #ff7d82; + } + .z-entity.z-name.z-method.z-js { + color: #d8dee9; + } + .z-meta.z-class-method.z-js .z-entity.z-name.z-function.z-js, .z-variable.z-function.z-constructor { + color: #d8dee9; + } + .z-entity.z-other.z-attribute-name { + color: #cd91c4; + } + .z-markup.z-inserted { + color: #99c794; + } + .z-markup.z-deleted { + color: #ff7d82; + } + .z-markup.z-changed { + color: #cd91c4; + } + .z-string.z-regexp { + color: #5fb3b3; + } + .z-constant.z-character.z-escape { + color: #5fb3b3; + } + .z-*url*, .z-*link*, .z-*uri* { + text-decoration: underline; + } + .z-constant.z-numeric.z-line-number.z-find-in-files { + color: #cf9a87; + } + .z-entity.z-name.z-filename.z-find-in-files { + color: #99c794; + } + .z-tag.z-decorator.z-js .z-entity.z-name.z-tag.z-js, .z-tag.z-decorator.z-js .z-punctuation.z-definition.z-tag.z-js { + color: #78aade; + } + .z-source.z-js .z-constant.z-other.z-object.z-key.z-js .z-string.z-unquoted.z-label.z-js { + color: #ff7d82; + } +} +@media (prefers-color-scheme: light) { + :root { + .z-code { + color: #727373; + background-color: #ffffff; + } + .z-comment, .z-punctuation.z-definition.z-comment { + color: #5f6364; + } + .z-variable { + color: #727373; + } + .z-keyword, .z-storage.z-type, .z-storage.z-modifier { + color: #916392; + } + .z-keyword.z-operator, .z-constant.z-other.z-color, .z-punctuation, .z-meta.z-tag, .z-punctuation.z-definition.z-tag, .z-punctuation.z-separator.z-inheritance.z-php, .z-punctuation.z-definition.z-tag.z-html, .z-punctuation.z-definition.z-tag.z-begin.z-html, .z-punctuation.z-definition.z-tag.z-end.z-html, .z-punctuation.z-section.z-embedded, .z-keyword.z-other.z-template, .z-keyword.z-other.z-substitution { + color: #237e7f; + } + .z-entity.z-name.z-tag, .z-meta.z-tag.z-sgml, .z-markup.z-deleted.z-git_gutter { + color: #ca4251; + } + .z-entity.z-name.z-function, .z-meta.z-function-call, .z-variable.z-function, .z-support.z-function, .z-keyword.z-other.z-special-method, .z-meta.z-block-level { + color: #4076a7; + } + .z-support.z-other.z-variable, .z-string.z-other.z-link { + color: #c14c52; + } + .z-constant.z-numeric, .z-constant.z-language, .z-support.z-constant, .z-constant.z-character, .z-variable.z-parameter, .z-keyword.z-other.z-unit { + color: #b75922; + } + .z-string, .z-constant.z-other.z-symbol, .z-constant.z-other.z-key, .z-entity.z-other.z-inherited-class, .z-markup.z-heading, .z-markup.z-inserted.z-git_gutter, .z-meta.z-group.z-braces.z-curly .z-constant.z-other.z-object.z-key.z-js .z-string.z-unquoted.z-label.z-js { + color: #517c4e; + } + .z-entity.z-name.z-class, .z-entity.z-name.z-type.z-class, .z-support.z-type, .z-support.z-class, .z-support.z-orther.z-namespace.z-use.z-php, .z-meta.z-use.z-php, .z-support.z-other.z-namespace.z-php, .z-markup.z-changed.z-git_gutter { + color: #926c00; + } + .z-entity.z-name.z-module.z-js, .z-variable.z-import.z-parameter.z-js, .z-variable.z-other.z-class.z-js { + color: #cb414d; + } + .z-variable.z-language { + color: #cb414d; + } + .z-entity.z-name.z-method.z-js { + color: #6c727c; + } + .z-meta.z-class-method.z-js .z-entity.z-name.z-function.z-js, .z-variable.z-function.z-constructor { + color: #6c727c; + } + .z-entity.z-other.z-attribute-name { + color: #996091; + } + .z-markup.z-inserted { + color: #517c4e; + } + .z-markup.z-deleted { + color: #cb414d; + } + .z-markup.z-changed { + color: #996091; + } + .z-string.z-regexp { + color: #237e7f; + } + .z-constant.z-character.z-escape { + color: #237e7f; + } + .z-*url*, .z-*link*, .z-*uri* { + text-decoration: underline; + } + .z-constant.z-numeric.z-line-number.z-find-in-files { + color: #976756; + } + .z-entity.z-name.z-filename.z-find-in-files { + color: #517c4e; + } + .z-tag.z-decorator.z-js .z-entity.z-name.z-tag.z-js, .z-tag.z-decorator.z-js .z-punctuation.z-definition.z-tag.z-js { + color: #4076a7; + } + .z-source.z-js .z-constant.z-other.z-object.z-key.z-js .z-string.z-unquoted.z-label.z-js { + color: #cb414d; + } + } +}
\ No newline at end of file diff --git a/sass/syntax/_dracula-dark-abridge.scss b/sass/syntax/syntax-dracula-abridge-dark.scss index f5fc9c4..f5fc9c4 100644 --- a/sass/syntax/_dracula-dark-abridge.scss +++ b/sass/syntax/syntax-dracula-abridge-dark.scss diff --git a/sass/syntax/_dracula-white-abridge.scss b/sass/syntax/syntax-dracula-abridge-light.scss index db807f0..db807f0 100644 --- a/sass/syntax/_dracula-white-abridge.scss +++ b/sass/syntax/syntax-dracula-abridge-light.scss diff --git a/sass/syntax/syntax-dracula-abridge-switcher.scss b/sass/syntax/syntax-dracula-abridge-switcher.scss new file mode 100644 index 0000000..ff5b8c5 --- /dev/null +++ b/sass/syntax/syntax-dracula-abridge-switcher.scss @@ -0,0 +1,494 @@ +:root:not(.light) { + .z-code { + color: #f8f8f2; + background-color: #191919; + } + .z-comment { + color: #7080b3; + } + .z-string { + color: #f1fa8c; + } + .z-constant.z-numeric { + color: #bd93f9; + } + .z-constant.z-language { + color: #bd93f9; + } + .z-constant.z-character, .z-constant.z-other { + color: #bd93f9; + } + .z-variable { + } + .z-variable.z-other.z-readwrite.z-instance { + color: #ffb86c; + } + .z-constant.z-character.z-escaped, .z-constant.z-character.z-escape, .z-string .z-source, .z-string .z-source.z-ruby { + color: #ff79c6; + } + .z-source.z-ruby .z-string.z-regexp.z-classic.z-ruby, .z-source.z-ruby .z-string.z-regexp.z-mod-r.z-ruby { + color: #ff7d78; + } + .z-keyword { + color: #ff79c6; + } + .z-storage { + color: #ff79c6; + } + .z-storage.z-type { + color: #8be9fd; + font-style: italic; + } + .z-storage.z-type.z-namespace { + color: #8be9fd; + font-style: italic; + } + .z-storage.z-type.z-class { + color: #ff79c6; + font-style: italic; + } + .z-entity.z-name.z-class { + color: #8be9fd; + text-decoration: underline; + } + .z-meta.z-path { + color: #66d9ef; + text-decoration: underline; + } + .z-entity.z-other.z-inherited-class { + color: #8be9fd; + text-decoration: underline; + font-style: italic; + } + .z-entity.z-name.z-function { + color: #50fa7b; + } + .z-variable.z-parameter { + color: #ffb86c; + font-style: italic; + } + .z-entity.z-name.z-tag { + color: #ff79c6; + } + .z-entity.z-other.z-attribute-name { + color: #50fa7b; + } + .z-support.z-function { + color: #8be9fd; + } + .z-support.z-constant { + color: #6be5fd; + } + .z-support.z-type, .z-support.z-class { + color: #66d9ef; + font-style: italic; + } + .z-support.z-other.z-variable { + } + .z-support.z-other.z-namespace { + color: #66d9ef; + font-style: italic; + } + .z-invalid { + color: #f8f8f0; + background-color: #ff79c6; + } + .z-invalid.z-deprecated { + color: #f8f8f0; + background-color: #bd93f9; + } + .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { + color: #cfcfc2; + } + .z-meta.z-diff, .z-meta.z-diff.z-header { + color: #7080b3; + } + .z-markup.z-deleted { + color: #ff79c6; + } + .z-markup.z-inserted { + color: #50fa7b; + } + .z-markup.z-changed { + color: #e6db74; + } + .z-constant.z-numeric.z-line-number.z-find-in-files { + color: #bd93f9; + } + .z-entity.z-name.z-filename { + color: #e6db74; + } + .z-message.z-error { + color: #ff7c6d; + } + .z-punctuation.z-definition.z-string.z-begin.z-json, .z-punctuation.z-definition.z-string.z-end.z-json { + color: #eeeeee; + } + .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { + color: #8be9fd; + } + .z-meta.z-structure.z-dictionary.z-value.z-json .z-string.z-quoted.z-double.z-json { + color: #f1fa8c; + } + .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-value .z-string { + color: #50fa7b; + } + .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-value .z-string { + color: #ffb86c; + } + .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-value .z-string { + color: #ff79c6; + } + .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-value .z-string { + color: #bd93f9; + } + .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-value .z-string { + color: #50fa7b; + } + .z-meta .z-meta.z-structure.z-dictionary.z-value .z-string { + color: #ffb86c; + } + .z-markup.z-strike { + color: #ffb86c; + font-style: italic; + } + .z-markup.z-bold { + color: #ffb86c; + font-weight: bold; + } + .z-markup.z-italic { + color: #ffb86c; + font-style: italic; + } + .z-markup.z-heading { + color: #8be9fd; + } + .z-punctuation.z-definition.z-list_item.z-markdown { + color: #ff79c6; + } + .z-markup.z-quote { + color: #7080b3; + font-style: italic; + } + .z-punctuation.z-definition.z-blockquote.z-markdown { + color: #7080b3; + background-color: #7080b3; + font-style: italic; + } + .z-meta.z-separator { + color: #7080b3; + } + .z-text.z-html.z-markdown .z-markup.z-raw.z-inline { + color: #50fa7b; + } + .z-markup.z-underline { + color: #bd93f9; + text-decoration: underline; + } + .z-markup.z-raw.z-block { + color: #cfcfc2; + } + .z-markup.z-raw.z-block.z-fenced.z-markdown .z-source { + color: #f8f8f2; + } + .z-punctuation.z-definition.z-fenced.z-markdown, .z-variable.z-language.z-fenced.z-markdown { + color: #7080b3; + font-style: italic; + } + .z-variable.z-language.z-fenced.z-markdown { + color: #7080b3; + font-style: italic; + } + .z-punctuation.z-accessor { + color: #ff79c6; + } + .z-meta.z-function.z-return-type { + color: #ff79c6; + } + .z-punctuation.z-section.z-block.z-begin { + color: #ffffff; + } + .z-punctuation.z-section.z-block.z-end { + color: #ffffff; + } + .z-punctuation.z-section.z-embedded.z-begin { + color: #ff79c6; + } + .z-punctuation.z-section.z-embedded.z-end { + color: #ff79c6; + } + .z-punctuation.z-separator.z-namespace { + color: #ff79c6; + } + .z-variable.z-function { + color: #50fa7b; + } + .z-variable.z-other { + color: #ffffff; + } + .z-variable.z-language { + color: #bd93f9; + } + .z-entity.z-name.z-module.z-ruby { + color: #8be9fd; + } + .z-entity.z-name.z-constant.z-ruby { + color: #bd93f9; + } + .z-support.z-function.z-builtin.z-ruby { + color: #ffffff; + } + .z-storage.z-type.z-namespace.z-cs { + color: #ff79c6; + } + .z-entity.z-name.z-namespace.z-cs { + color: #8be9fd; + } +} +:root.light { + .z-code { + color: #72726d; + background-color: #ffffff; + } + .z-comment { + color: #6272a4; + } + .z-string { + color: #6b7807; + } + .z-constant.z-numeric { + color: #8660c1; + } + .z-constant.z-language { + color: #8660c1; + } + .z-constant.z-character, .z-constant.z-other { + color: #8660c1; + } + .z-variable { + } + .z-variable.z-other.z-readwrite.z-instance { + color: #a1661c; + } + .z-constant.z-character.z-escaped, .z-constant.z-character.z-escape, .z-string .z-source, .z-string .z-source.z-ruby { + color: #c13f8e; + } + .z-source.z-ruby .z-string.z-regexp.z-classic.z-ruby, .z-source.z-ruby .z-string.z-regexp.z-mod-r.z-ruby { + color: #d9303a; + } + .z-keyword { + color: #c13f8e; + } + .z-storage { + color: #c13f8e; + } + .z-storage.z-type { + color: #007d90; + font-style: italic; + } + .z-storage.z-type.z-namespace { + color: #007d90; + font-style: italic; + } + .z-storage.z-type.z-class { + color: #c13f8e; + font-style: italic; + } + .z-entity.z-name.z-class { + color: #007d90; + text-decoration: underline; + } + .z-meta.z-path { + color: #007f93; + text-decoration: underline; + } + .z-entity.z-other.z-inherited-class { + color: #007d90; + text-decoration: underline; + font-style: italic; + } + .z-entity.z-name.z-function { + color: #008504; + } + .z-variable.z-parameter { + color: #a1661c; + font-style: italic; + } + .z-entity.z-name.z-tag { + color: #c13f8e; + } + .z-entity.z-other.z-attribute-name { + color: #008504; + } + .z-support.z-function { + color: #007d90; + } + .z-support.z-constant { + color: #007e94; + } + .z-support.z-type, .z-support.z-class { + color: #007f93; + font-style: italic; + } + .z-support.z-other.z-variable { + } + .z-support.z-other.z-namespace { + color: #007f93; + font-style: italic; + } + .z-invalid { + color: #72726b; + background-color: #c13f8e; + } + .z-invalid.z-deprecated { + color: #72726b; + background-color: #8660c1; + } + .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { + color: #747469; + } + .z-meta.z-diff, .z-meta.z-diff.z-header { + color: #6272a4; + } + .z-markup.z-deleted { + color: #c13f8e; + } + .z-markup.z-inserted { + color: #008504; + } + .z-markup.z-changed { + color: #7b760c; + } + .z-constant.z-numeric.z-line-number.z-find-in-files { + color: #8660c1; + } + .z-entity.z-name.z-filename { + color: #7b760c; + } + .z-message.z-error { + color: #e31625; + } + .z-punctuation.z-definition.z-string.z-begin.z-json, .z-punctuation.z-definition.z-string.z-end.z-json { + color: #727272; + } + .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { + color: #007d90; + } + .z-meta.z-structure.z-dictionary.z-value.z-json .z-string.z-quoted.z-double.z-json { + color: #6b7807; + } + .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-value .z-string { + color: #008504; + } + .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-value .z-string { + color: #a1661c; + } + .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-value .z-string { + color: #c13f8e; + } + .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-value .z-string { + color: #8660c1; + } + .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-value .z-string { + color: #008504; + } + .z-meta .z-meta.z-structure.z-dictionary.z-value .z-string { + color: #a1661c; + } + .z-markup.z-strike { + color: #a1661c; + font-style: italic; + } + .z-markup.z-bold { + color: #a1661c; + font-weight: bold; + } + .z-markup.z-italic { + color: #a1661c; + font-style: italic; + } + .z-markup.z-heading { + color: #007d90; + } + .z-punctuation.z-definition.z-list_item.z-markdown { + color: #c13f8e; + } + .z-markup.z-quote { + color: #6272a4; + font-style: italic; + } + .z-punctuation.z-definition.z-blockquote.z-markdown { + color: #6272a4; + background-color: #6272a4; + font-style: italic; + } + .z-meta.z-separator { + color: #6272a4; + } + .z-text.z-html.z-markdown .z-markup.z-raw.z-inline { + color: #008504; + } + .z-markup.z-underline { + color: #8660c1; + text-decoration: underline; + } + .z-markup.z-raw.z-block { + color: #747469; + } + .z-markup.z-raw.z-block.z-fenced.z-markdown .z-source { + color: #72726d; + } + .z-punctuation.z-definition.z-fenced.z-markdown, .z-variable.z-language.z-fenced.z-markdown { + color: #6272a4; + font-style: italic; + } + .z-variable.z-language.z-fenced.z-markdown { + color: #6272a4; + font-style: italic; + } + .z-punctuation.z-accessor { + color: #c13f8e; + } + .z-meta.z-function.z-return-type { + color: #c13f8e; + } + .z-punctuation.z-section.z-block.z-begin { + color: #ffffff; + } + .z-punctuation.z-section.z-block.z-end { + color: #ffffff; + } + .z-punctuation.z-section.z-embedded.z-begin { + color: #c13f8e; + } + .z-punctuation.z-section.z-embedded.z-end { + color: #c13f8e; + } + .z-punctuation.z-separator.z-namespace { + color: #c13f8e; + } + .z-variable.z-function { + color: #008504; + } + .z-variable.z-other { + color: #ffffff; + } + .z-variable.z-language { + color: #8660c1; + } + .z-entity.z-name.z-module.z-ruby { + color: #007d90; + } + .z-entity.z-name.z-constant.z-ruby { + color: #8660c1; + } + .z-support.z-function.z-builtin.z-ruby { + color: #ffffff; + } + .z-storage.z-type.z-namespace.z-cs { + color: #c13f8e; + } + .z-entity.z-name.z-namespace.z-cs { + color: #007d90; + } +}
\ No newline at end of file diff --git a/sass/syntax/syntax-dracula-abridge.scss b/sass/syntax/syntax-dracula-abridge.scss new file mode 100644 index 0000000..afcb050 --- /dev/null +++ b/sass/syntax/syntax-dracula-abridge.scss @@ -0,0 +1,496 @@ +:root { + .z-code { + color: #f8f8f2; + background-color: #191919; + } + .z-comment { + color: #7080b3; + } + .z-string { + color: #f1fa8c; + } + .z-constant.z-numeric { + color: #bd93f9; + } + .z-constant.z-language { + color: #bd93f9; + } + .z-constant.z-character, .z-constant.z-other { + color: #bd93f9; + } + .z-variable { + } + .z-variable.z-other.z-readwrite.z-instance { + color: #ffb86c; + } + .z-constant.z-character.z-escaped, .z-constant.z-character.z-escape, .z-string .z-source, .z-string .z-source.z-ruby { + color: #ff79c6; + } + .z-source.z-ruby .z-string.z-regexp.z-classic.z-ruby, .z-source.z-ruby .z-string.z-regexp.z-mod-r.z-ruby { + color: #ff7d78; + } + .z-keyword { + color: #ff79c6; + } + .z-storage { + color: #ff79c6; + } + .z-storage.z-type { + color: #8be9fd; + font-style: italic; + } + .z-storage.z-type.z-namespace { + color: #8be9fd; + font-style: italic; + } + .z-storage.z-type.z-class { + color: #ff79c6; + font-style: italic; + } + .z-entity.z-name.z-class { + color: #8be9fd; + text-decoration: underline; + } + .z-meta.z-path { + color: #66d9ef; + text-decoration: underline; + } + .z-entity.z-other.z-inherited-class { + color: #8be9fd; + text-decoration: underline; + font-style: italic; + } + .z-entity.z-name.z-function { + color: #50fa7b; + } + .z-variable.z-parameter { + color: #ffb86c; + font-style: italic; + } + .z-entity.z-name.z-tag { + color: #ff79c6; + } + .z-entity.z-other.z-attribute-name { + color: #50fa7b; + } + .z-support.z-function { + color: #8be9fd; + } + .z-support.z-constant { + color: #6be5fd; + } + .z-support.z-type, .z-support.z-class { + color: #66d9ef; + font-style: italic; + } + .z-support.z-other.z-variable { + } + .z-support.z-other.z-namespace { + color: #66d9ef; + font-style: italic; + } + .z-invalid { + color: #f8f8f0; + background-color: #ff79c6; + } + .z-invalid.z-deprecated { + color: #f8f8f0; + background-color: #bd93f9; + } + .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { + color: #cfcfc2; + } + .z-meta.z-diff, .z-meta.z-diff.z-header { + color: #7080b3; + } + .z-markup.z-deleted { + color: #ff79c6; + } + .z-markup.z-inserted { + color: #50fa7b; + } + .z-markup.z-changed { + color: #e6db74; + } + .z-constant.z-numeric.z-line-number.z-find-in-files { + color: #bd93f9; + } + .z-entity.z-name.z-filename { + color: #e6db74; + } + .z-message.z-error { + color: #ff7c6d; + } + .z-punctuation.z-definition.z-string.z-begin.z-json, .z-punctuation.z-definition.z-string.z-end.z-json { + color: #eeeeee; + } + .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { + color: #8be9fd; + } + .z-meta.z-structure.z-dictionary.z-value.z-json .z-string.z-quoted.z-double.z-json { + color: #f1fa8c; + } + .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-value .z-string { + color: #50fa7b; + } + .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-value .z-string { + color: #ffb86c; + } + .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-value .z-string { + color: #ff79c6; + } + .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-value .z-string { + color: #bd93f9; + } + .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-value .z-string { + color: #50fa7b; + } + .z-meta .z-meta.z-structure.z-dictionary.z-value .z-string { + color: #ffb86c; + } + .z-markup.z-strike { + color: #ffb86c; + font-style: italic; + } + .z-markup.z-bold { + color: #ffb86c; + font-weight: bold; + } + .z-markup.z-italic { + color: #ffb86c; + font-style: italic; + } + .z-markup.z-heading { + color: #8be9fd; + } + .z-punctuation.z-definition.z-list_item.z-markdown { + color: #ff79c6; + } + .z-markup.z-quote { + color: #7080b3; + font-style: italic; + } + .z-punctuation.z-definition.z-blockquote.z-markdown { + color: #7080b3; + background-color: #7080b3; + font-style: italic; + } + .z-meta.z-separator { + color: #7080b3; + } + .z-text.z-html.z-markdown .z-markup.z-raw.z-inline { + color: #50fa7b; + } + .z-markup.z-underline { + color: #bd93f9; + text-decoration: underline; + } + .z-markup.z-raw.z-block { + color: #cfcfc2; + } + .z-markup.z-raw.z-block.z-fenced.z-markdown .z-source { + color: #f8f8f2; + } + .z-punctuation.z-definition.z-fenced.z-markdown, .z-variable.z-language.z-fenced.z-markdown { + color: #7080b3; + font-style: italic; + } + .z-variable.z-language.z-fenced.z-markdown { + color: #7080b3; + font-style: italic; + } + .z-punctuation.z-accessor { + color: #ff79c6; + } + .z-meta.z-function.z-return-type { + color: #ff79c6; + } + .z-punctuation.z-section.z-block.z-begin { + color: #ffffff; + } + .z-punctuation.z-section.z-block.z-end { + color: #ffffff; + } + .z-punctuation.z-section.z-embedded.z-begin { + color: #ff79c6; + } + .z-punctuation.z-section.z-embedded.z-end { + color: #ff79c6; + } + .z-punctuation.z-separator.z-namespace { + color: #ff79c6; + } + .z-variable.z-function { + color: #50fa7b; + } + .z-variable.z-other { + color: #ffffff; + } + .z-variable.z-language { + color: #bd93f9; + } + .z-entity.z-name.z-module.z-ruby { + color: #8be9fd; + } + .z-entity.z-name.z-constant.z-ruby { + color: #bd93f9; + } + .z-support.z-function.z-builtin.z-ruby { + color: #ffffff; + } + .z-storage.z-type.z-namespace.z-cs { + color: #ff79c6; + } + .z-entity.z-name.z-namespace.z-cs { + color: #8be9fd; + } +} +@media (prefers-color-scheme: light) { + :root { + .z-code { + color: #72726d; + background-color: #ffffff; + } + .z-comment { + color: #6272a4; + } + .z-string { + color: #6b7807; + } + .z-constant.z-numeric { + color: #8660c1; + } + .z-constant.z-language { + color: #8660c1; + } + .z-constant.z-character, .z-constant.z-other { + color: #8660c1; + } + .z-variable { + } + .z-variable.z-other.z-readwrite.z-instance { + color: #a1661c; + } + .z-constant.z-character.z-escaped, .z-constant.z-character.z-escape, .z-string .z-source, .z-string .z-source.z-ruby { + color: #c13f8e; + } + .z-source.z-ruby .z-string.z-regexp.z-classic.z-ruby, .z-source.z-ruby .z-string.z-regexp.z-mod-r.z-ruby { + color: #d9303a; + } + .z-keyword { + color: #c13f8e; + } + .z-storage { + color: #c13f8e; + } + .z-storage.z-type { + color: #007d90; + font-style: italic; + } + .z-storage.z-type.z-namespace { + color: #007d90; + font-style: italic; + } + .z-storage.z-type.z-class { + color: #c13f8e; + font-style: italic; + } + .z-entity.z-name.z-class { + color: #007d90; + text-decoration: underline; + } + .z-meta.z-path { + color: #007f93; + text-decoration: underline; + } + .z-entity.z-other.z-inherited-class { + color: #007d90; + text-decoration: underline; + font-style: italic; + } + .z-entity.z-name.z-function { + color: #008504; + } + .z-variable.z-parameter { + color: #a1661c; + font-style: italic; + } + .z-entity.z-name.z-tag { + color: #c13f8e; + } + .z-entity.z-other.z-attribute-name { + color: #008504; + } + .z-support.z-function { + color: #007d90; + } + .z-support.z-constant { + color: #007e94; + } + .z-support.z-type, .z-support.z-class { + color: #007f93; + font-style: italic; + } + .z-support.z-other.z-variable { + } + .z-support.z-other.z-namespace { + color: #007f93; + font-style: italic; + } + .z-invalid { + color: #72726b; + background-color: #c13f8e; + } + .z-invalid.z-deprecated { + color: #72726b; + background-color: #8660c1; + } + .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { + color: #747469; + } + .z-meta.z-diff, .z-meta.z-diff.z-header { + color: #6272a4; + } + .z-markup.z-deleted { + color: #c13f8e; + } + .z-markup.z-inserted { + color: #008504; + } + .z-markup.z-changed { + color: #7b760c; + } + .z-constant.z-numeric.z-line-number.z-find-in-files { + color: #8660c1; + } + .z-entity.z-name.z-filename { + color: #7b760c; + } + .z-message.z-error { + color: #e31625; + } + .z-punctuation.z-definition.z-string.z-begin.z-json, .z-punctuation.z-definition.z-string.z-end.z-json { + color: #727272; + } + .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { + color: #007d90; + } + .z-meta.z-structure.z-dictionary.z-value.z-json .z-string.z-quoted.z-double.z-json { + color: #6b7807; + } + .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-value .z-string { + color: #008504; + } + .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-value .z-string { + color: #a1661c; + } + .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-value .z-string { + color: #c13f8e; + } + .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-value .z-string { + color: #8660c1; + } + .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-value .z-string { + color: #008504; + } + .z-meta .z-meta.z-structure.z-dictionary.z-value .z-string { + color: #a1661c; + } + .z-markup.z-strike { + color: #a1661c; + font-style: italic; + } + .z-markup.z-bold { + color: #a1661c; + font-weight: bold; + } + .z-markup.z-italic { + color: #a1661c; + font-style: italic; + } + .z-markup.z-heading { + color: #007d90; + } + .z-punctuation.z-definition.z-list_item.z-markdown { + color: #c13f8e; + } + .z-markup.z-quote { + color: #6272a4; + font-style: italic; + } + .z-punctuation.z-definition.z-blockquote.z-markdown { + color: #6272a4; + background-color: #6272a4; + font-style: italic; + } + .z-meta.z-separator { + color: #6272a4; + } + .z-text.z-html.z-markdown .z-markup.z-raw.z-inline { + color: #008504; + } + .z-markup.z-underline { + color: #8660c1; + text-decoration: underline; + } + .z-markup.z-raw.z-block { + color: #747469; + } + .z-markup.z-raw.z-block.z-fenced.z-markdown .z-source { + color: #72726d; + } + .z-punctuation.z-definition.z-fenced.z-markdown, .z-variable.z-language.z-fenced.z-markdown { + color: #6272a4; + font-style: italic; + } + .z-variable.z-language.z-fenced.z-markdown { + color: #6272a4; + font-style: italic; + } + .z-punctuation.z-accessor { + color: #c13f8e; + } + .z-meta.z-function.z-return-type { + color: #c13f8e; + } + .z-punctuation.z-section.z-block.z-begin { + color: #ffffff; + } + .z-punctuation.z-section.z-block.z-end { + color: #ffffff; + } + .z-punctuation.z-section.z-embedded.z-begin { + color: #c13f8e; + } + .z-punctuation.z-section.z-embedded.z-end { + color: #c13f8e; + } + .z-punctuation.z-separator.z-namespace { + color: #c13f8e; + } + .z-variable.z-function { + color: #008504; + } + .z-variable.z-other { + color: #ffffff; + } + .z-variable.z-language { + color: #8660c1; + } + .z-entity.z-name.z-module.z-ruby { + color: #007d90; + } + .z-entity.z-name.z-constant.z-ruby { + color: #8660c1; + } + .z-support.z-function.z-builtin.z-ruby { + color: #ffffff; + } + .z-storage.z-type.z-namespace.z-cs { + color: #c13f8e; + } + .z-entity.z-name.z-namespace.z-cs { + color: #007d90; + } + } +}
\ No newline at end of file diff --git a/sass/syntax/_material-dark-abridge.scss b/sass/syntax/syntax-material-abridge-dark.scss index 85035d9..85035d9 100644 --- a/sass/syntax/_material-dark-abridge.scss +++ b/sass/syntax/syntax-material-abridge-dark.scss diff --git a/sass/syntax/_material-white-abridge.scss b/sass/syntax/syntax-material-abridge-light.scss index 05281bb..05281bb 100644 --- a/sass/syntax/_material-white-abridge.scss +++ b/sass/syntax/syntax-material-abridge-light.scss diff --git a/sass/syntax/syntax-material-abridge-switcher.scss b/sass/syntax/syntax-material-abridge-switcher.scss new file mode 100644 index 0000000..a65cf95 --- /dev/null +++ b/sass/syntax/syntax-material-abridge-switcher.scss @@ -0,0 +1,524 @@ +:root:not(.light) { + .z-code { + color: #eeffff; + background-color: #191919; + } + .z-comment, .z-punctuation.z-definition.z-comment { + color: #818181; + font-style: italic; + } + .z-variable, .z-string .z-constant.z-other.z-placeholder { + color: #eeffff; + } + .z-constant.z-other.z-color { + color: #ffffff; + } + .z-invalid, .z-invalid.z-illegal, .z-invalid.z-broken { + color: #ffffff; + background-color: #ff7992; + } + .z-invalid.z-unimplemented { + color: #ffffff; + background-color: #c3e88d; + } + .z-invalid.z-deprecated { + color: #ffffff; + background-color: #c792ea; + } + .z-keyword, .z-storage.z-type, .z-storage.z-modifier { + color: #c792ea; + } + .z-storage.z-type, .z-keyword.z-control { + font-style: italic; + } + .z-keyword.z-operator, .z-constant.z-other.z-color, .z-punctuation, .z-meta.z-tag, .z-punctuation.z-definition.z-tag, .z-punctuation.z-separator.z-inheritance.z-php, .z-punctuation.z-definition.z-tag.z-html, .z-punctuation.z-definition.z-tag.z-begin.z-html, .z-punctuation.z-definition.z-tag.z-end.z-html, .z-punctuation.z-section.z-embedded, .z-keyword.z-other.z-template, .z-keyword.z-other.z-substitution { + color: #89ddff; + } + .z-entity.z-name.z-tag, .z-meta.z-tag.z-sgml, .z-markup.z-deleted.z-git_gutter { + color: #fe7d83; + } + .z-entity.z-name.z-function, .z-meta.z-function-call, .z-variable.z-function, .z-support.z-function, .z-keyword.z-other.z-special-method, .z-meta.z-block-level { + color: #82aaff; + } + .z-support.z-other.z-variable, .z-string.z-other.z-link { + color: #fe7d83; + } + .z-constant.z-numeric, .z-constant.z-language, .z-support.z-constant, .z-constant.z-character, .z-variable.z-parameter, .z-keyword.z-other.z-unit { + color: #f78c6c; + } + .z-string, .z-constant.z-other.z-symbol, .z-constant.z-other.z-key, .z-entity.z-other.z-inherited-class, .z-markup.z-heading, .z-markup.z-inserted.z-git_gutter, .z-meta.z-group.z-braces.z-curly .z-constant.z-other.z-object.z-key.z-js .z-string.z-unquoted.z-label.z-js { + color: #c3e88d; + } + .z-entity.z-name.z-class, .z-entity.z-name.z-type.z-class, .z-support.z-type, .z-support.z-class, .z-support.z-orther.z-namespace.z-use.z-php, .z-meta.z-use.z-php, .z-support.z-other.z-namespace.z-php, .z-markup.z-changed.z-git_gutter, .z-support.z-type.z-sys-types { + color: #ffcb6b; + } + .z-source.z-css .z-support.z-type, .z-source.z-sass .z-support.z-type, .z-source.z-scss .z-support.z-type, .z-source.z-less .z-support.z-type, .z-source.z-stylus .z-support.z-type { + color: #b2ccd6; + } + .z-entity.z-name.z-module.z-js, .z-variable.z-import.z-parameter.z-js, .z-variable.z-other.z-class.z-js { + color: #ff7992; + } + .z-variable.z-language { + color: #ff7992; + font-style: italic; + } + .z-entity.z-name.z-method.z-js { + color: #82aaff; + } + .z-meta.z-class-method.z-js .z-entity.z-name.z-function.z-js, .z-variable.z-function.z-constructor { + color: #82aaff; + } + .z-entity.z-other.z-attribute-name { + color: #c792ea; + } + .z-text.z-html.z-basic .z-entity.z-other.z-attribute-name.z-html, .z-text.z-html.z-basic .z-entity.z-other.z-attribute-name { + color: #ffcb6b; + font-style: italic; + } + .z-entity.z-other.z-attribute-name.z-class { + color: #ffcb6b; + } + .z-source.z-sass .z-keyword.z-control { + color: #82aaff; + } + .z-markup.z-inserted { + color: #c3e88d; + } + .z-markup.z-deleted { + color: #ff7992; + } + .z-markup.z-changed { + color: #c792ea; + } + .z-string.z-regexp { + color: #89ddff; + } + .z-constant.z-character.z-escape { + color: #89ddff; + } + .z-*url*, .z-*link*, .z-*uri* { + text-decoration: underline; + } + .z-constant.z-numeric.z-line-number.z-find-in-files { + color: #d89385; + } + .z-entity.z-name.z-filename.z-find-in-files { + color: #c3e88d; + } + .z-tag.z-decorator.z-js .z-entity.z-name.z-tag.z-js, .z-tag.z-decorator.z-js .z-punctuation.z-definition.z-tag.z-js { + color: #82aaff; + font-style: italic; + } + .z-source.z-js .z-constant.z-other.z-object.z-key.z-js .z-string.z-unquoted.z-label.z-js { + color: #ff7992; + font-style: italic; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #c3e88d; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #c792ea; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #fe7d83; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #82aaff; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #d89385; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #ff7992; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #f78c6c; + } + .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #ffcb6b; + } + .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #c792ea; + } + .z-text.z-html.z-markdown, .z-punctuation.z-definition.z-list_item.z-markdown { + color: #eeffff; + } + .z-text.z-html.z-markdown .z-markup.z-raw.z-inline { + color: #c792ea; + } + .z-text.z-html.z-markdown .z-punctuation.z-definition.z-raw.z-markdown { + color: #65737e; + } + .z-markdown.z-heading, .z-markup.z-heading, .z-markup.z-heading .z-entity.z-name, .z-markup.z-heading.z-markdown .z-punctuation.z-definition.z-heading.z-markdown { + color: #c3e88d; + } + .z-markup.z-italic { + color: #fe7d83; + font-style: italic; + } + .z-markup.z-bold, .z-markup.z-bold .z-string { + color: #fe7d83; + font-weight: bold; + } + .z-markup.z-bold .z-markup.z-italic, .z-markup.z-italic .z-markup.z-bold, .z-markup.z-quote .z-markup.z-bold, .z-markup.z-bold .z-markup.z-italic .z-string, .z-markup.z-italic .z-markup.z-bold .z-string, .z-markup.z-quote .z-markup.z-bold .z-string { + font-weight: bold; + font-style: italic; + } + .z-markup.z-underline { + color: #f78c6c; + text-decoration: underline; + } + .z-markup.z-quote .z-punctuation.z-definition.z-blockquote.z-markdown { + color: #65737e; + background-color: #65737e; + } + .z-string.z-other.z-link.z-title.z-markdown { + color: #82aaff; + } + .z-string.z-other.z-link.z-description.z-title.z-markdown { + color: #c792ea; + } + .z-constant.z-other.z-reference.z-link.z-markdown { + color: #ffcb6b; + } + .z-markup.z-raw.z-block { + color: #c792ea; + } + .z-markup.z-raw.z-block.z-fenced.z-markdown { + background-color: #000000; + } + .z-punctuation.z-definition.z-fenced.z-markdown { + background-color: #000000; + } + .z-markup.z-raw.z-block.z-fenced.z-markdown, .z-variable.z-language.z-fenced.z-markdown, .z-punctuation.z-section.z-class.z-end { + color: #eeffff; + } + .z-variable.z-language.z-fenced.z-markdown { + color: #65737e; + } + .z-text.z-html.z-markdown .z-punctuation.z-definition { + color: #818181; + } + .z-text.z-html.z-markdown .z-meta.z-disable-markdown .z-punctuation.z-definition { + color: #89ddff; + } + .z-meta.z-separator { + color: #65737e; + background-color: #000000; + font-weight: bold; + } + .z-acejump.z-label.z-blue { + color: #ffffff; + background-color: #82aaff; + } + .z-acejump.z-label.z-green { + color: #ffffff; + background-color: #c3e88d; + } + .z-acejump.z-label.z-orange { + color: #ffffff; + background-color: #f78c6c; + } + .z-acejump.z-label.z-purple { + color: #ffffff; + background-color: #c792ea; + } + .z-sublimelinter.z-mark.z-warning { + color: #ffcb6b; + } + .z-sublimelinter.z-gutter-mark { + color: #ffffff; + } + .z-sublimelinter.z-mark.z-error { + color: #ff7992; + } + .z-sublimelinter.z-annotations { + background-color: #d89385; + } + .z-markup.z-ignored.z-git_gutter { + color: #65737e; + } + .z-markup.z-untracked.z-git_gutter { + color: #65737e; + } + .z-markup.z-inserted.z-git_gutter { + color: #c3e88d; + } + .z-markup.z-changed.z-git_gutter { + color: #ffcb6b; + } + .z-markup.z-deleted.z-git_gutter { + color: #ff7992; + } + .z-brackethighlighter.z-default { + color: #b2ccd6; + } + .z-brackethighlighter.z-quote { + color: #c3e88d; + } + .z-brackethighlighter.z-unmatched { + color: #ff7992; + } +} +:root.light { + .z-code { + color: #317e78; + background-color: #ffffff; + } + .z-comment, .z-punctuation.z-definition.z-comment { + color: #6b7577; + font-style: italic; + } + .z-variable, .z-string .z-constant.z-other.z-placeholder { + color: #317e78; + } + .z-constant.z-other.z-color { + color: #ffffff; + } + .z-invalid, .z-invalid.z-illegal, .z-invalid.z-broken { + color: #ffffff; + background-color: #d92d2d; + } + .z-invalid.z-unimplemented { + color: #ffffff; + background-color: #587f22; + } + .z-invalid.z-deprecated { + color: #ffffff; + background-color: #7c4dff; + } + .z-keyword, .z-storage.z-type, .z-storage.z-modifier { + color: #7c4dff; + } + .z-storage.z-type, .z-keyword.z-control { + font-style: italic; + } + .z-keyword.z-operator, .z-constant.z-other.z-color, .z-punctuation, .z-meta.z-tag, .z-punctuation.z-definition.z-tag, .z-punctuation.z-separator.z-inheritance.z-php, .z-punctuation.z-definition.z-tag.z-html, .z-punctuation.z-definition.z-tag.z-begin.z-html, .z-punctuation.z-definition.z-tag.z-end.z-html, .z-punctuation.z-section.z-embedded, .z-keyword.z-other.z-template, .z-keyword.z-other.z-substitution { + color: #008088; + } + .z-entity.z-name.z-tag, .z-meta.z-tag.z-sgml, .z-markup.z-deleted.z-git_gutter { + color: #d72952; + } + .z-entity.z-name.z-function, .z-meta.z-function-call, .z-variable.z-function, .z-support.z-function, .z-keyword.z-other.z-special-method, .z-meta.z-block-level { + color: #5274a9; + } + .z-support.z-other.z-variable, .z-string.z-other.z-link { + color: #d72952; + } + .z-constant.z-numeric, .z-constant.z-language, .z-support.z-constant, .z-constant.z-character, .z-variable.z-parameter, .z-keyword.z-other.z-unit { + color: #c94625; + } + .z-string, .z-constant.z-other.z-symbol, .z-constant.z-other.z-key, .z-entity.z-other.z-inherited-class, .z-markup.z-heading, .z-markup.z-inserted.z-git_gutter, .z-meta.z-group.z-braces.z-curly .z-constant.z-other.z-object.z-key.z-js .z-string.z-unquoted.z-label.z-js { + color: #587f22; + } + .z-entity.z-name.z-class, .z-entity.z-name.z-type.z-class, .z-support.z-type, .z-support.z-class, .z-support.z-orther.z-namespace.z-use.z-php, .z-meta.z-use.z-php, .z-support.z-other.z-namespace.z-php, .z-markup.z-changed.z-git_gutter, .z-support.z-type.z-sys-types { + color: #a16700; + } + .z-source.z-css .z-support.z-type, .z-source.z-sass .z-support.z-type, .z-source.z-scss .z-support.z-type, .z-source.z-less .z-support.z-type, .z-source.z-stylus .z-support.z-type { + color: #64738c; + } + .z-entity.z-name.z-module.z-js, .z-variable.z-import.z-parameter.z-js, .z-variable.z-other.z-class.z-js { + color: #d92d2d; + } + .z-variable.z-language { + color: #d92d2d; + font-style: italic; + } + .z-entity.z-name.z-method.z-js { + color: #5274a9; + } + .z-meta.z-class-method.z-js .z-entity.z-name.z-function.z-js, .z-variable.z-function.z-constructor { + color: #5274a9; + } + .z-entity.z-other.z-attribute-name { + color: #7c4dff; + } + .z-text.z-html.z-basic .z-entity.z-other.z-attribute-name.z-html, .z-text.z-html.z-basic .z-entity.z-other.z-attribute-name { + color: #a16700; + font-style: italic; + } + .z-entity.z-other.z-attribute-name.z-class { + color: #a16700; + } + .z-source.z-sass .z-keyword.z-control { + color: #5274a9; + } + .z-markup.z-inserted { + color: #587f22; + } + .z-markup.z-deleted { + color: #d92d2d; + } + .z-markup.z-changed { + color: #7c4dff; + } + .z-string.z-regexp { + color: #008088; + } + .z-constant.z-character.z-escape { + color: #008088; + } + .z-*url*, .z-*link*, .z-*uri* { + text-decoration: underline; + } + .z-constant.z-numeric.z-line-number.z-find-in-files { + color: #a26356; + } + .z-entity.z-name.z-filename.z-find-in-files { + color: #587f22; + } + .z-tag.z-decorator.z-js .z-entity.z-name.z-tag.z-js, .z-tag.z-decorator.z-js .z-punctuation.z-definition.z-tag.z-js { + color: #5274a9; + font-style: italic; + } + .z-source.z-js .z-constant.z-other.z-object.z-key.z-js .z-string.z-unquoted.z-label.z-js { + color: #d92d2d; + font-style: italic; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #587f22; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #7c4dff; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #d72952; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #5274a9; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #a26356; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #d92d2d; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #c94625; + } + .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #a16700; + } + .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #7c4dff; + } + .z-text.z-html.z-markdown, .z-punctuation.z-definition.z-list_item.z-markdown { + color: #317e78; + } + .z-text.z-html.z-markdown .z-markup.z-raw.z-inline { + color: #7c4dff; + } + .z-text.z-html.z-markdown .z-punctuation.z-definition.z-raw.z-markdown { + color: #717375; + } + .z-markdown.z-heading, .z-markup.z-heading, .z-markup.z-heading .z-entity.z-name, .z-markup.z-heading.z-markdown .z-punctuation.z-definition.z-heading.z-markdown { + color: #587f22; + } + .z-markup.z-italic { + color: #d72952; + font-style: italic; + } + .z-markup.z-bold, .z-markup.z-bold .z-string { + color: #d72952; + font-weight: bold; + } + .z-markup.z-bold .z-markup.z-italic, .z-markup.z-italic .z-markup.z-bold, .z-markup.z-quote .z-markup.z-bold, .z-markup.z-bold .z-markup.z-italic .z-string, .z-markup.z-italic .z-markup.z-bold .z-string, .z-markup.z-quote .z-markup.z-bold .z-string { + font-weight: bold; + font-style: italic; + } + .z-markup.z-underline { + color: #c94625; + text-decoration: underline; + } + .z-markup.z-quote .z-punctuation.z-definition.z-blockquote.z-markdown { + color: #717375; + background-color: #717375; + } + .z-string.z-other.z-link.z-title.z-markdown { + color: #5274a9; + } + .z-string.z-other.z-link.z-description.z-title.z-markdown { + color: #7c4dff; + } + .z-constant.z-other.z-reference.z-link.z-markdown { + color: #a16700; + } + .z-markup.z-raw.z-block { + color: #7c4dff; + } + .z-markup.z-raw.z-block.z-fenced.z-markdown { + background-color: #62757f; + } + .z-punctuation.z-definition.z-fenced.z-markdown { + background-color: #62757f; + } + .z-markup.z-raw.z-block.z-fenced.z-markdown, .z-variable.z-language.z-fenced.z-markdown, .z-punctuation.z-section.z-class.z-end { + color: #317e78; + } + .z-variable.z-language.z-fenced.z-markdown { + color: #717375; + } + .z-text.z-html.z-markdown .z-punctuation.z-definition { + color: #6b7577; + } + .z-text.z-html.z-markdown .z-meta.z-disable-markdown .z-punctuation.z-definition { + color: #008088; + } + .z-meta.z-separator { + color: #717375; + background-color: #62757f; + font-weight: bold; + } + .z-acejump.z-label.z-blue { + color: #ffffff; + background-color: #5274a9; + } + .z-acejump.z-label.z-green { + color: #ffffff; + background-color: #587f22; + } + .z-acejump.z-label.z-orange { + color: #ffffff; + background-color: #c94625; + } + .z-acejump.z-label.z-purple { + color: #ffffff; + background-color: #7c4dff; + } + .z-sublimelinter.z-mark.z-warning { + color: #a16700; + } + .z-sublimelinter.z-gutter-mark { + color: #ffffff; + } + .z-sublimelinter.z-mark.z-error { + color: #d92d2d; + } + .z-sublimelinter.z-annotations { + background-color: #a26356; + } + .z-markup.z-ignored.z-git_gutter { + color: #717375; + } + .z-markup.z-untracked.z-git_gutter { + color: #717375; + } + .z-markup.z-inserted.z-git_gutter { + color: #587f22; + } + .z-markup.z-changed.z-git_gutter { + color: #a16700; + } + .z-markup.z-deleted.z-git_gutter { + color: #d92d2d; + } + .z-brackethighlighter.z-default { + color: #64738c; + } + .z-brackethighlighter.z-quote { + color: #587f22; + } + .z-brackethighlighter.z-unmatched { + color: #d92d2d; + } +}
\ No newline at end of file diff --git a/sass/syntax/syntax-material-abridge.scss b/sass/syntax/syntax-material-abridge.scss new file mode 100644 index 0000000..c448b58 --- /dev/null +++ b/sass/syntax/syntax-material-abridge.scss @@ -0,0 +1,526 @@ +:root { + .z-code { + color: #eeffff; + background-color: #191919; + } + .z-comment, .z-punctuation.z-definition.z-comment { + color: #818181; + font-style: italic; + } + .z-variable, .z-string .z-constant.z-other.z-placeholder { + color: #eeffff; + } + .z-constant.z-other.z-color { + color: #ffffff; + } + .z-invalid, .z-invalid.z-illegal, .z-invalid.z-broken { + color: #ffffff; + background-color: #ff7992; + } + .z-invalid.z-unimplemented { + color: #ffffff; + background-color: #c3e88d; + } + .z-invalid.z-deprecated { + color: #ffffff; + background-color: #c792ea; + } + .z-keyword, .z-storage.z-type, .z-storage.z-modifier { + color: #c792ea; + } + .z-storage.z-type, .z-keyword.z-control { + font-style: italic; + } + .z-keyword.z-operator, .z-constant.z-other.z-color, .z-punctuation, .z-meta.z-tag, .z-punctuation.z-definition.z-tag, .z-punctuation.z-separator.z-inheritance.z-php, .z-punctuation.z-definition.z-tag.z-html, .z-punctuation.z-definition.z-tag.z-begin.z-html, .z-punctuation.z-definition.z-tag.z-end.z-html, .z-punctuation.z-section.z-embedded, .z-keyword.z-other.z-template, .z-keyword.z-other.z-substitution { + color: #89ddff; + } + .z-entity.z-name.z-tag, .z-meta.z-tag.z-sgml, .z-markup.z-deleted.z-git_gutter { + color: #fe7d83; + } + .z-entity.z-name.z-function, .z-meta.z-function-call, .z-variable.z-function, .z-support.z-function, .z-keyword.z-other.z-special-method, .z-meta.z-block-level { + color: #82aaff; + } + .z-support.z-other.z-variable, .z-string.z-other.z-link { + color: #fe7d83; + } + .z-constant.z-numeric, .z-constant.z-language, .z-support.z-constant, .z-constant.z-character, .z-variable.z-parameter, .z-keyword.z-other.z-unit { + color: #f78c6c; + } + .z-string, .z-constant.z-other.z-symbol, .z-constant.z-other.z-key, .z-entity.z-other.z-inherited-class, .z-markup.z-heading, .z-markup.z-inserted.z-git_gutter, .z-meta.z-group.z-braces.z-curly .z-constant.z-other.z-object.z-key.z-js .z-string.z-unquoted.z-label.z-js { + color: #c3e88d; + } + .z-entity.z-name.z-class, .z-entity.z-name.z-type.z-class, .z-support.z-type, .z-support.z-class, .z-support.z-orther.z-namespace.z-use.z-php, .z-meta.z-use.z-php, .z-support.z-other.z-namespace.z-php, .z-markup.z-changed.z-git_gutter, .z-support.z-type.z-sys-types { + color: #ffcb6b; + } + .z-source.z-css .z-support.z-type, .z-source.z-sass .z-support.z-type, .z-source.z-scss .z-support.z-type, .z-source.z-less .z-support.z-type, .z-source.z-stylus .z-support.z-type { + color: #b2ccd6; + } + .z-entity.z-name.z-module.z-js, .z-variable.z-import.z-parameter.z-js, .z-variable.z-other.z-class.z-js { + color: #ff7992; + } + .z-variable.z-language { + color: #ff7992; + font-style: italic; + } + .z-entity.z-name.z-method.z-js { + color: #82aaff; + } + .z-meta.z-class-method.z-js .z-entity.z-name.z-function.z-js, .z-variable.z-function.z-constructor { + color: #82aaff; + } + .z-entity.z-other.z-attribute-name { + color: #c792ea; + } + .z-text.z-html.z-basic .z-entity.z-other.z-attribute-name.z-html, .z-text.z-html.z-basic .z-entity.z-other.z-attribute-name { + color: #ffcb6b; + font-style: italic; + } + .z-entity.z-other.z-attribute-name.z-class { + color: #ffcb6b; + } + .z-source.z-sass .z-keyword.z-control { + color: #82aaff; + } + .z-markup.z-inserted { + color: #c3e88d; + } + .z-markup.z-deleted { + color: #ff7992; + } + .z-markup.z-changed { + color: #c792ea; + } + .z-string.z-regexp { + color: #89ddff; + } + .z-constant.z-character.z-escape { + color: #89ddff; + } + .z-*url*, .z-*link*, .z-*uri* { + text-decoration: underline; + } + .z-constant.z-numeric.z-line-number.z-find-in-files { + color: #d89385; + } + .z-entity.z-name.z-filename.z-find-in-files { + color: #c3e88d; + } + .z-tag.z-decorator.z-js .z-entity.z-name.z-tag.z-js, .z-tag.z-decorator.z-js .z-punctuation.z-definition.z-tag.z-js { + color: #82aaff; + font-style: italic; + } + .z-source.z-js .z-constant.z-other.z-object.z-key.z-js .z-string.z-unquoted.z-label.z-js { + color: #ff7992; + font-style: italic; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #c3e88d; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #c792ea; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #fe7d83; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #82aaff; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #d89385; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #ff7992; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #f78c6c; + } + .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #ffcb6b; + } + .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #c792ea; + } + .z-text.z-html.z-markdown, .z-punctuation.z-definition.z-list_item.z-markdown { + color: #eeffff; + } + .z-text.z-html.z-markdown .z-markup.z-raw.z-inline { + color: #c792ea; + } + .z-text.z-html.z-markdown .z-punctuation.z-definition.z-raw.z-markdown { + color: #65737e; + } + .z-markdown.z-heading, .z-markup.z-heading, .z-markup.z-heading .z-entity.z-name, .z-markup.z-heading.z-markdown .z-punctuation.z-definition.z-heading.z-markdown { + color: #c3e88d; + } + .z-markup.z-italic { + color: #fe7d83; + font-style: italic; + } + .z-markup.z-bold, .z-markup.z-bold .z-string { + color: #fe7d83; + font-weight: bold; + } + .z-markup.z-bold .z-markup.z-italic, .z-markup.z-italic .z-markup.z-bold, .z-markup.z-quote .z-markup.z-bold, .z-markup.z-bold .z-markup.z-italic .z-string, .z-markup.z-italic .z-markup.z-bold .z-string, .z-markup.z-quote .z-markup.z-bold .z-string { + font-weight: bold; + font-style: italic; + } + .z-markup.z-underline { + color: #f78c6c; + text-decoration: underline; + } + .z-markup.z-quote .z-punctuation.z-definition.z-blockquote.z-markdown { + color: #65737e; + background-color: #65737e; + } + .z-string.z-other.z-link.z-title.z-markdown { + color: #82aaff; + } + .z-string.z-other.z-link.z-description.z-title.z-markdown { + color: #c792ea; + } + .z-constant.z-other.z-reference.z-link.z-markdown { + color: #ffcb6b; + } + .z-markup.z-raw.z-block { + color: #c792ea; + } + .z-markup.z-raw.z-block.z-fenced.z-markdown { + background-color: #000000; + } + .z-punctuation.z-definition.z-fenced.z-markdown { + background-color: #000000; + } + .z-markup.z-raw.z-block.z-fenced.z-markdown, .z-variable.z-language.z-fenced.z-markdown, .z-punctuation.z-section.z-class.z-end { + color: #eeffff; + } + .z-variable.z-language.z-fenced.z-markdown { + color: #65737e; + } + .z-text.z-html.z-markdown .z-punctuation.z-definition { + color: #818181; + } + .z-text.z-html.z-markdown .z-meta.z-disable-markdown .z-punctuation.z-definition { + color: #89ddff; + } + .z-meta.z-separator { + color: #65737e; + background-color: #000000; + font-weight: bold; + } + .z-acejump.z-label.z-blue { + color: #ffffff; + background-color: #82aaff; + } + .z-acejump.z-label.z-green { + color: #ffffff; + background-color: #c3e88d; + } + .z-acejump.z-label.z-orange { + color: #ffffff; + background-color: #f78c6c; + } + .z-acejump.z-label.z-purple { + color: #ffffff; + background-color: #c792ea; + } + .z-sublimelinter.z-mark.z-warning { + color: #ffcb6b; + } + .z-sublimelinter.z-gutter-mark { + color: #ffffff; + } + .z-sublimelinter.z-mark.z-error { + color: #ff7992; + } + .z-sublimelinter.z-annotations { + background-color: #d89385; + } + .z-markup.z-ignored.z-git_gutter { + color: #65737e; + } + .z-markup.z-untracked.z-git_gutter { + color: #65737e; + } + .z-markup.z-inserted.z-git_gutter { + color: #c3e88d; + } + .z-markup.z-changed.z-git_gutter { + color: #ffcb6b; + } + .z-markup.z-deleted.z-git_gutter { + color: #ff7992; + } + .z-brackethighlighter.z-default { + color: #b2ccd6; + } + .z-brackethighlighter.z-quote { + color: #c3e88d; + } + .z-brackethighlighter.z-unmatched { + color: #ff7992; + } +} +@media (prefers-color-scheme: light) { + :root { + .z-code { + color: #317e78; + background-color: #ffffff; + } + .z-comment, .z-punctuation.z-definition.z-comment { + color: #6b7577; + font-style: italic; + } + .z-variable, .z-string .z-constant.z-other.z-placeholder { + color: #317e78; + } + .z-constant.z-other.z-color { + color: #ffffff; + } + .z-invalid, .z-invalid.z-illegal, .z-invalid.z-broken { + color: #ffffff; + background-color: #d92d2d; + } + .z-invalid.z-unimplemented { + color: #ffffff; + background-color: #587f22; + } + .z-invalid.z-deprecated { + color: #ffffff; + background-color: #7c4dff; + } + .z-keyword, .z-storage.z-type, .z-storage.z-modifier { + color: #7c4dff; + } + .z-storage.z-type, .z-keyword.z-control { + font-style: italic; + } + .z-keyword.z-operator, .z-constant.z-other.z-color, .z-punctuation, .z-meta.z-tag, .z-punctuation.z-definition.z-tag, .z-punctuation.z-separator.z-inheritance.z-php, .z-punctuation.z-definition.z-tag.z-html, .z-punctuation.z-definition.z-tag.z-begin.z-html, .z-punctuation.z-definition.z-tag.z-end.z-html, .z-punctuation.z-section.z-embedded, .z-keyword.z-other.z-template, .z-keyword.z-other.z-substitution { + color: #008088; + } + .z-entity.z-name.z-tag, .z-meta.z-tag.z-sgml, .z-markup.z-deleted.z-git_gutter { + color: #d72952; + } + .z-entity.z-name.z-function, .z-meta.z-function-call, .z-variable.z-function, .z-support.z-function, .z-keyword.z-other.z-special-method, .z-meta.z-block-level { + color: #5274a9; + } + .z-support.z-other.z-variable, .z-string.z-other.z-link { + color: #d72952; + } + .z-constant.z-numeric, .z-constant.z-language, .z-support.z-constant, .z-constant.z-character, .z-variable.z-parameter, .z-keyword.z-other.z-unit { + color: #c94625; + } + .z-string, .z-constant.z-other.z-symbol, .z-constant.z-other.z-key, .z-entity.z-other.z-inherited-class, .z-markup.z-heading, .z-markup.z-inserted.z-git_gutter, .z-meta.z-group.z-braces.z-curly .z-constant.z-other.z-object.z-key.z-js .z-string.z-unquoted.z-label.z-js { + color: #587f22; + } + .z-entity.z-name.z-class, .z-entity.z-name.z-type.z-class, .z-support.z-type, .z-support.z-class, .z-support.z-orther.z-namespace.z-use.z-php, .z-meta.z-use.z-php, .z-support.z-other.z-namespace.z-php, .z-markup.z-changed.z-git_gutter, .z-support.z-type.z-sys-types { + color: #a16700; + } + .z-source.z-css .z-support.z-type, .z-source.z-sass .z-support.z-type, .z-source.z-scss .z-support.z-type, .z-source.z-less .z-support.z-type, .z-source.z-stylus .z-support.z-type { + color: #64738c; + } + .z-entity.z-name.z-module.z-js, .z-variable.z-import.z-parameter.z-js, .z-variable.z-other.z-class.z-js { + color: #d92d2d; + } + .z-variable.z-language { + color: #d92d2d; + font-style: italic; + } + .z-entity.z-name.z-method.z-js { + color: #5274a9; + } + .z-meta.z-class-method.z-js .z-entity.z-name.z-function.z-js, .z-variable.z-function.z-constructor { + color: #5274a9; + } + .z-entity.z-other.z-attribute-name { + color: #7c4dff; + } + .z-text.z-html.z-basic .z-entity.z-other.z-attribute-name.z-html, .z-text.z-html.z-basic .z-entity.z-other.z-attribute-name { + color: #a16700; + font-style: italic; + } + .z-entity.z-other.z-attribute-name.z-class { + color: #a16700; + } + .z-source.z-sass .z-keyword.z-control { + color: #5274a9; + } + .z-markup.z-inserted { + color: #587f22; + } + .z-markup.z-deleted { + color: #d92d2d; + } + .z-markup.z-changed { + color: #7c4dff; + } + .z-string.z-regexp { + color: #008088; + } + .z-constant.z-character.z-escape { + color: #008088; + } + .z-*url*, .z-*link*, .z-*uri* { + text-decoration: underline; + } + .z-constant.z-numeric.z-line-number.z-find-in-files { + color: #a26356; + } + .z-entity.z-name.z-filename.z-find-in-files { + color: #587f22; + } + .z-tag.z-decorator.z-js .z-entity.z-name.z-tag.z-js, .z-tag.z-decorator.z-js .z-punctuation.z-definition.z-tag.z-js { + color: #5274a9; + font-style: italic; + } + .z-source.z-js .z-constant.z-other.z-object.z-key.z-js .z-string.z-unquoted.z-label.z-js { + color: #d92d2d; + font-style: italic; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #587f22; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #7c4dff; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #d72952; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #5274a9; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #a26356; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #d92d2d; + } + .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #c94625; + } + .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #a16700; + } + .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { + color: #7c4dff; + } + .z-text.z-html.z-markdown, .z-punctuation.z-definition.z-list_item.z-markdown { + color: #317e78; + } + .z-text.z-html.z-markdown .z-markup.z-raw.z-inline { + color: #7c4dff; + } + .z-text.z-html.z-markdown .z-punctuation.z-definition.z-raw.z-markdown { + color: #717375; + } + .z-markdown.z-heading, .z-markup.z-heading, .z-markup.z-heading .z-entity.z-name, .z-markup.z-heading.z-markdown .z-punctuation.z-definition.z-heading.z-markdown { + color: #587f22; + } + .z-markup.z-italic { + color: #d72952; + font-style: italic; + } + .z-markup.z-bold, .z-markup.z-bold .z-string { + color: #d72952; + font-weight: bold; + } + .z-markup.z-bold .z-markup.z-italic, .z-markup.z-italic .z-markup.z-bold, .z-markup.z-quote .z-markup.z-bold, .z-markup.z-bold .z-markup.z-italic .z-string, .z-markup.z-italic .z-markup.z-bold .z-string, .z-markup.z-quote .z-markup.z-bold .z-string { + font-weight: bold; + font-style: italic; + } + .z-markup.z-underline { + color: #c94625; + text-decoration: underline; + } + .z-markup.z-quote .z-punctuation.z-definition.z-blockquote.z-markdown { + color: #717375; + background-color: #717375; + } + .z-string.z-other.z-link.z-title.z-markdown { + color: #5274a9; + } + .z-string.z-other.z-link.z-description.z-title.z-markdown { + color: #7c4dff; + } + .z-constant.z-other.z-reference.z-link.z-markdown { + color: #a16700; + } + .z-markup.z-raw.z-block { + color: #7c4dff; + } + .z-markup.z-raw.z-block.z-fenced.z-markdown { + background-color: #62757f; + } + .z-punctuation.z-definition.z-fenced.z-markdown { + background-color: #62757f; + } + .z-markup.z-raw.z-block.z-fenced.z-markdown, .z-variable.z-language.z-fenced.z-markdown, .z-punctuation.z-section.z-class.z-end { + color: #317e78; + } + .z-variable.z-language.z-fenced.z-markdown { + color: #717375; + } + .z-text.z-html.z-markdown .z-punctuation.z-definition { + color: #6b7577; + } + .z-text.z-html.z-markdown .z-meta.z-disable-markdown .z-punctuation.z-definition { + color: #008088; + } + .z-meta.z-separator { + color: #717375; + background-color: #62757f; + font-weight: bold; + } + .z-acejump.z-label.z-blue { + color: #ffffff; + background-color: #5274a9; + } + .z-acejump.z-label.z-green { + color: #ffffff; + background-color: #587f22; + } + .z-acejump.z-label.z-orange { + color: #ffffff; + background-color: #c94625; + } + .z-acejump.z-label.z-purple { + color: #ffffff; + background-color: #7c4dff; + } + .z-sublimelinter.z-mark.z-warning { + color: #a16700; + } + .z-sublimelinter.z-gutter-mark { + color: #ffffff; + } + .z-sublimelinter.z-mark.z-error { + color: #d92d2d; + } + .z-sublimelinter.z-annotations { + background-color: #a26356; + } + .z-markup.z-ignored.z-git_gutter { + color: #717375; + } + .z-markup.z-untracked.z-git_gutter { + color: #717375; + } + .z-markup.z-inserted.z-git_gutter { + color: #587f22; + } + .z-markup.z-changed.z-git_gutter { + color: #a16700; + } + .z-markup.z-deleted.z-git_gutter { + color: #d92d2d; + } + .z-brackethighlighter.z-default { + color: #64738c; + } + .z-brackethighlighter.z-quote { + color: #587f22; + } + .z-brackethighlighter.z-unmatched { + color: #d92d2d; + } + } +}
\ No newline at end of file diff --git a/screenshot.png b/screenshot.png Binary files differindex 79e0bb5..78ed1c0 100644 --- a/screenshot.png +++ b/screenshot.png diff --git a/static/abridge-switcher.min.js b/static/abridge-switcher.min.js new file mode 100644 index 0000000..52cfdc6 --- /dev/null +++ b/static/abridge-switcher.min.js @@ -0,0 +1 @@ +const items=document.querySelectorAll(".preStyle");function closeSearchNow(){const e=document.querySelector("main");e.innerHTML=window.main}function goSearchNow(){const e=document.querySelector("main");window.main||(window.main=e.innerHTML);var t=document.getElementById("suggestions"),n=t.cloneNode(!0),o=(n.id="results",document.createElement("div")),i='<form name="closeSearch"><h2><button type="submit" title="Close Search"><i class="svgs x"></i></button> Results For: '.concat(document.getElementById("userinput").value,"</h2></form>");return o.innerHTML=i,n.insertBefore(o,n.firstChild),e.innerHTML=n.outerHTML,t.innerHTML="",document.getElementById("userinput").value="",!1}items.forEach(e=>{e.rel="stylesheet"}),document.getElementById("mode").addEventListener("click",()=>{document.documentElement.classList.toggle("light"),localStorage.setItem("theme",document.documentElement.classList.contains("light")?"light":"dark")}),function(){function m(e){var t=new m.Index;return t.pipeline.add(m.trimmer,m.stopWordFilter,m.stemmer),e&&e.call(t,t),t}var a,c,e,t,d,h,f,p,g,y,v,S,x,w,b,I,E,F,D,k,C,_,N,L,n;m.version="0.9.5",((lunr=m).utils={}).warn=(n=this,function(e){n.console&&console.warn&&console.warn(e)}),m.utils.toString=function(e){return null==e?"":e.toString()},(m.EventEmitter=function(){this.events={}}).prototype.addListener=function(){var e=Array.prototype.slice.call(arguments),t=e.pop();if("function"!=typeof t)throw new TypeError("last argument must be a function");e.forEach(function(e){this.hasHandler(e)||(this.events[e]=[]),this.events[e].push(t)},this)},m.EventEmitter.prototype.removeListener=function(e,t){this.hasHandler(e)&&-1!==(t=this.events[e].indexOf(t))&&(this.events[e].splice(t,1),0==this.events[e].length&&delete this.events[e])},m.EventEmitter.prototype.emit=function(e){var t;this.hasHandler(e)&&(t=Array.prototype.slice.call(arguments,1),this.events[e].forEach(function(e){e.apply(void 0,t)},this))},m.EventEmitter.prototype.hasHandler=function(e){return e in this.events},(m.tokenizer=function(e){return arguments.length&&null!=e?Array.isArray(e)?(t=(t=e.filter(function(e){return null!=e})).map(function(e){return m.utils.toString(e).toLowerCase()}),n=[],t.forEach(function(e){e=e.split(m.tokenizer.seperator);n=n.concat(e)},this),n):e.toString().trim().toLowerCase().split(m.tokenizer.seperator):[];var t,n}).defaultSeperator=/[\s\-]+/,m.tokenizer.seperator=m.tokenizer.defaultSeperator,m.tokenizer.setSeperator=function(e){null!=e&&"object"==typeof e&&(m.tokenizer.seperator=e)},m.tokenizer.resetSeperator=function(){m.tokenizer.seperator=m.tokenizer.defaultSeperator},m.tokenizer.getSeperator=function(){return m.tokenizer.seperator},(m.Pipeline=function(){this._queue=[]}).registeredFunctions={},m.Pipeline.registerFunction=function(e,t){t in m.Pipeline.registeredFunctions&&m.utils.warn("Overwriting existing registered function: "+t),e.label=t,m.Pipeline.registeredFunctions[t]=e},m.Pipeline.getRegisteredFunction=function(e){return e in m.Pipeline.registeredFunctions!=1?null:m.Pipeline.registeredFunctions[e]},m.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||m.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},m.Pipeline.load=function(e){var n=new m.Pipeline;return e.forEach(function(e){var t=m.Pipeline.getRegisteredFunction(e);if(!t)throw new Error("Cannot load un-registered function: "+e);n.add(t)}),n},m.Pipeline.prototype.add=function(){Array.prototype.slice.call(arguments).forEach(function(e){m.Pipeline.warnIfFunctionNotRegistered(e),this._queue.push(e)},this)},m.Pipeline.prototype.after=function(e,t){m.Pipeline.warnIfFunctionNotRegistered(t);e=this._queue.indexOf(e);if(-1===e)throw new Error("Cannot find existingFn");this._queue.splice(e+1,0,t)},m.Pipeline.prototype.before=function(e,t){m.Pipeline.warnIfFunctionNotRegistered(t);e=this._queue.indexOf(e);if(-1===e)throw new Error("Cannot find existingFn");this._queue.splice(e,0,t)},m.Pipeline.prototype.remove=function(e){e=this._queue.indexOf(e);-1!==e&&this._queue.splice(e,1)},m.Pipeline.prototype.run=function(e){for(var t=[],n=e.length,o=this._queue.length,i=0;i<n;i++){for(var r=e[i],s=0;s<o&&null!=(r=this._queue[s](r,i,e));s++);null!=r&&t.push(r)}return t},m.Pipeline.prototype.reset=function(){this._queue=[]},m.Pipeline.prototype.get=function(){return this._queue},m.Pipeline.prototype.toJSON=function(){return this._queue.map(function(e){return m.Pipeline.warnIfFunctionNotRegistered(e),e.label})},(m.Index=function(){this._fields=[],this._ref="id",this.pipeline=new m.Pipeline,this.documentStore=new m.DocumentStore,this.index={},this.eventEmitter=new m.EventEmitter,this._idfCache={},this.on("add","remove","update",function(){this._idfCache={}}.bind(this))}).prototype.on=function(){var e=Array.prototype.slice.call(arguments);return this.eventEmitter.addListener.apply(this.eventEmitter,e)},m.Index.prototype.off=function(e,t){return this.eventEmitter.removeListener(e,t)},m.Index.load=function(e){e.version!==m.version&&m.utils.warn("version mismatch: current "+m.version+" importing "+e.version);var t,n=new this;for(t in n._fields=e.fields,n._ref=e.ref,n.documentStore=m.DocumentStore.load(e.documentStore),n.pipeline=m.Pipeline.load(e.pipeline),n.index={},e.index)n.index[t]=m.InvertedIndex.load(e.index[t]);return n},m.Index.prototype.addField=function(e){return this._fields.push(e),this.index[e]=new m.InvertedIndex,this},m.Index.prototype.setRef=function(e){return this._ref=e,this},m.Index.prototype.saveDocument=function(e){return this.documentStore=new m.DocumentStore(e),this},m.Index.prototype.addDoc=function(r,e){var s;r&&(e=void 0===e||e,s=r[this._ref],this.documentStore.addDoc(s,r),this._fields.forEach(function(e){var t,n=this.pipeline.run(m.tokenizer(r[e])),o=(this.documentStore.addFieldLength(s,e,n.length),{});for(t in n.forEach(function(e){e in o?o[e]+=1:o[e]=1},this),o){var i=o[t],i=Math.sqrt(i);this.index[e].addToken(t,{ref:s,tf:i})}},this),e&&this.eventEmitter.emit("add",r,this))},m.Index.prototype.removeDocByRef=function(e){e&&!1!==this.documentStore.isDocStored()&&this.documentStore.hasDoc(e)&&(e=this.documentStore.getDoc(e),this.removeDoc(e,!1))},m.Index.prototype.removeDoc=function(e,t){var n;e&&(t=void 0===t||t,n=e[this._ref],this.documentStore.hasDoc(n)&&(this.documentStore.removeDoc(n),this._fields.forEach(function(t){this.pipeline.run(m.tokenizer(e[t])).forEach(function(e){this.index[t].removeToken(e,n)},this)},this),t&&this.eventEmitter.emit("remove",e,this)))},m.Index.prototype.updateDoc=function(e,t){t=void 0===t||t;this.removeDocByRef(e[this._ref],!1),this.addDoc(e,!1),t&&this.eventEmitter.emit("update",e,this)},m.Index.prototype.idf=function(e,t){var n="@"+t+"/"+e;if(Object.prototype.hasOwnProperty.call(this._idfCache,n))return this._idfCache[n];t=this.index[t].getDocFreq(e),e=1+Math.log(this.documentStore.length/(t+1));return this._idfCache[n]=e},m.Index.prototype.getFields=function(){return this._fields.slice()},m.Index.prototype.search=function(e,t){if(!e)return[];e="string"==typeof e?{any:e}:JSON.parse(JSON.stringify(e));var n=null;null!=t&&(n=JSON.stringify(t));for(var o=new m.Configuration(n,this.getFields()).get(),i={},r=Object.keys(e),s=0;s<r.length;s++){var u=r[s];i[u]=this.pipeline.run(m.tokenizer(e[u]))}var l,a={};for(l in o){var c=i[l]||i.any;if(c){var d=this.fieldSearch(c,l,o),h=o[l].boost;for(p in d)d[p]=d[p]*h;for(p in d)p in a?a[p]+=d[p]:a[p]=d[p]}}var f,p,g=[];for(p in a)f={ref:p,score:a[p]},this.documentStore.hasDoc(p)&&(f.doc=this.documentStore.getDoc(p)),g.push(f);return g.sort(function(e,t){return t.score-e.score}),g},m.Index.prototype.fieldSearch=function(e,d,t){var h=t[d].bool,n=t[d].expand,t=t[d].boost,f=null,p={};return 0!==t?(e.forEach(function(a){var e=[a],c=(1==n&&(e=this.index[d].expandToken(a)),{});e.forEach(function(e){var t=this.index[d].getDocs(e),n=this.idf(e,d);if(f&&"AND"==h){var o,i={};for(o in f)o in t&&(i[o]=t[o]);t=i}for(o in e==a&&this.fieldSearchStats(p,e,t),t){var r=this.index[d].getTermFrequency(e,o),s=this.documentStore.getFieldLength(o,d),u=1,l=1,r=r*n*(u=0!=s?1/Math.sqrt(s):u)*(l=e!=a?.15*(1-(e.length-a.length)/e.length):l);o in c?c[o]+=r:c[o]=r}},this),f=this.mergeScores(f,c,h)},this),f=this.coordNorm(f,p,e.length)):void 0},m.Index.prototype.mergeScores=function(e,t,n){if(!e)return t;if("AND"==n){var o={};for(i in t)i in e&&(o[i]=e[i]+t[i]);return o}for(var i in t)i in e?e[i]+=t[i]:e[i]=t[i];return e},m.Index.prototype.fieldSearchStats=function(e,t,n){for(var o in n)o in e?e[o].push(t):e[o]=[t]},m.Index.prototype.coordNorm=function(e,t,n){for(var o in e){var i;o in t&&(i=t[o].length,e[o]=e[o]*i/n)}return e},m.Index.prototype.toJSON=function(){var t={};return this._fields.forEach(function(e){t[e]=this.index[e].toJSON()},this),{version:m.version,fields:this._fields,ref:this._ref,documentStore:this.documentStore.toJSON(),index:t,pipeline:this.pipeline.toJSON()}},m.Index.prototype.use=function(e){var t=Array.prototype.slice.call(arguments,1);t.unshift(this),e.apply(this,t)},(m.DocumentStore=function(e){this._save=null==e||e,this.docs={},this.docInfo={},this.length=0}).load=function(e){var t=new this;return t.length=e.length,t.docs=e.docs,t.docInfo=e.docInfo,t._save=e.save,t},m.DocumentStore.prototype.isDocStored=function(){return this._save},m.DocumentStore.prototype.addDoc=function(e,t){this.hasDoc(e)||this.length++,this.docs[e]=!0===this._save?function(e){if(null===e||"object"!=typeof e)return e;var t,n=e.constructor();for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}(t):null},m.DocumentStore.prototype.getDoc=function(e){return!1===this.hasDoc(e)?null:this.docs[e]},m.DocumentStore.prototype.hasDoc=function(e){return e in this.docs},m.DocumentStore.prototype.removeDoc=function(e){this.hasDoc(e)&&(delete this.docs[e],delete this.docInfo[e],this.length--)},m.DocumentStore.prototype.addFieldLength=function(e,t,n){null!=e&&0!=this.hasDoc(e)&&(this.docInfo[e]||(this.docInfo[e]={}),this.docInfo[e][t]=n)},m.DocumentStore.prototype.updateFieldLength=function(e,t,n){null!=e&&0!=this.hasDoc(e)&&this.addFieldLength(e,t,n)},m.DocumentStore.prototype.getFieldLength=function(e,t){return null!=e&&e in this.docs&&t in this.docInfo[e]?this.docInfo[e][t]:0},m.DocumentStore.prototype.toJSON=function(){return{docs:this.docs,docInfo:this.docInfo,length:this.length,save:this._save}},a={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},c={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},e="[aeiouy]",t="[^aeiou][^aeiouy]*",d=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*"),h=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*[aeiouy][aeiou]*[^aeiou][^aeiouy]*"),f=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*([aeiouy][aeiou]*)?$"),p=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy]"),g=/^(.+?)(ss|i)es$/,y=/^(.+?)([^s])s$/,v=/^(.+?)eed$/,S=/^(.+?)(ed|ing)$/,x=/.$/,w=/(at|bl|iz)$/,b=new RegExp("([^aeiouylsz])\\1$"),I=new RegExp("^"+t+e+"[^aeiouwxy]$"),E=/^(.+?[^aeiou])y$/,F=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,D=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,k=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,C=/^(.+?)(s|t)(ion)$/,_=/^(.+?)e$/,N=/ll$/,L=new RegExp("^"+t+e+"[^aeiouwxy]$"),m.Pipeline.registerFunction(m.stemmer=function(e){var t,n,o,i,r,s,u,l;return e.length<3?e:("y"==(n=e.substr(0,1))&&(e=n.toUpperCase()+e.substr(1)),u=y,(r=g).test(e)?e=e.replace(r,"$1$2"):u.test(e)&&(e=e.replace(u,"$1$2")),u=S,(r=v).test(e)?(l=r.exec(e),(r=d).test(l[1])&&(e=e.replace(r=x,""))):u.test(e)&&(s=(l=u.exec(e))[1],(u=p).test(s)&&(e=s,o=b,i=I,(u=w).test(e)?e+="e":o.test(e)?e=e.replace(r=x,""):i.test(e)&&(e+="e"))),(r=E).test(e)&&(e=(s=(l=r.exec(e))[1])+"i"),(r=F).test(e)&&(s=(l=r.exec(e))[1],t=l[2],(r=d).test(s)&&(e=s+a[t])),(r=D).test(e)&&(s=(l=r.exec(e))[1],t=l[2],(r=d).test(s)&&(e=s+c[t])),u=C,(r=k).test(e)?(s=(l=r.exec(e))[1],(r=h).test(s)&&(e=s)):u.test(e)&&(s=(l=u.exec(e))[1]+l[2],(u=h).test(s)&&(e=s)),(r=_).test(e)&&(s=(l=r.exec(e))[1],u=f,o=L,((r=h).test(s)||u.test(s)&&!o.test(s))&&(e=s)),u=h,(r=N).test(e)&&u.test(e)&&(e=e.replace(r=x,"")),"y"==n?n.toLowerCase()+e.substr(1):e)},"stemmer"),m.stopWordFilter=function(e){return e&&!0!==m.stopWordFilter.stopWords[e]?e:void 0},m.clearStopWords=function(){m.stopWordFilter.stopWords={}},m.addStopWords=function(e){null!=e&&!1!==Array.isArray(e)&&e.forEach(function(e){m.stopWordFilter.stopWords[e]=!0},this)},m.resetStopWords=function(){m.stopWordFilter.stopWords=m.defaultStopWords},m.stopWordFilter.stopWords=m.defaultStopWords={"":!0,a:!0,able:!0,about:!0,across:!0,after:!0,all:!0,almost:!0,also:!0,am:!0,among:!0,an:!0,and:!0,any:!0,are:!0,as:!0,at:!0,be:!0,because:!0,been:!0,but:!0,by:!0,can:!0,cannot:!0,could:!0,dear:!0,did:!0,do:!0,does:!0,either:!0,else:!0,ever:!0,every:!0,for:!0,from:!0,get:!0,got:!0,had:!0,has:!0,have:!0,he:!0,her:!0,hers:!0,him:!0,his:!0,how:!0,however:!0,i:!0,if:!0,in:!0,into:!0,is:!0,it:!0,its:!0,just:!0,least:!0,let:!0,like:!0,likely:!0,may:!0,me:!0,might:!0,most:!0,must:!0,my:!0,neither:!0,no:!0,nor:!0,not:!0,of:!0,off:!0,often:!0,on:!0,only:!0,or:!0,other:!0,our:!0,own:!0,rather:!0,said:!0,say:!0,says:!0,she:!0,should:!0,since:!0,so:!0,some:!0,than:!0,that:!0,the:!0,their:!0,them:!0,then:!0,there:!0,these:!0,they:!0,this:!0,tis:!0,to:!0,too:!0,twas:!0,us:!0,wants:!0,was:!0,we:!0,were:!0,what:!0,when:!0,where:!0,which:!0,while:!0,who:!0,whom:!0,why:!0,will:!0,with:!0,would:!0,yet:!0,you:!0,your:!0},m.Pipeline.registerFunction(m.stopWordFilter,"stopWordFilter"),m.Pipeline.registerFunction(m.trimmer=function(e){if(null==e)throw new Error("token should not be undefined");return e.replace(/^\W+/,"").replace(/\W+$/,"")},"trimmer"),(m.InvertedIndex=function(){this.root={docs:{},df:0}}).load=function(e){var t=new this;return t.root=e.root,t},m.InvertedIndex.prototype.addToken=function(e,t,n){for(var n=n||this.root,o=0;o<=e.length-1;){var i=e[o];i in n||(n[i]={docs:{},df:0}),o+=1,n=n[i]}var r=t.ref;n.docs[r]?n.docs[r]={tf:t.tf}:(n.docs[r]={tf:t.tf},n.df+=1)},m.InvertedIndex.prototype.hasToken=function(e){if(!e)return!1;for(var t=this.root,n=0;n<e.length;n++){if(!t[e[n]])return!1;t=t[e[n]]}return!0},m.InvertedIndex.prototype.getNode=function(e){if(!e)return null;for(var t=this.root,n=0;n<e.length;n++){if(!t[e[n]])return null;t=t[e[n]]}return t},m.InvertedIndex.prototype.getDocs=function(e){e=this.getNode(e);return null==e?{}:e.docs},m.InvertedIndex.prototype.getTermFrequency=function(e,t){e=this.getNode(e);return null!=e&&t in e.docs?e.docs[t].tf:0},m.InvertedIndex.prototype.getDocFreq=function(e){e=this.getNode(e);return null==e?0:e.df},m.InvertedIndex.prototype.removeToken=function(e,t){e&&null!=(e=this.getNode(e))&&t in e.docs&&(delete e.docs[t],--e.df)},m.InvertedIndex.prototype.expandToken=function(e,t,n){if(null==e||""==e)return[];var o,t=t||[];if(null==n&&null==(n=this.getNode(e)))return t;for(o in 0<n.df&&t.push(e),n)"docs"!==o&&"df"!==o&&this.expandToken(e+o,t,n[o]);return t},m.InvertedIndex.prototype.toJSON=function(){return{root:this.root}},(m.Configuration=function(e,t){var n,e=e||"";if(null==t)throw new Error("fields should not be null");this.config={};try{n=JSON.parse(e),this.buildUserConfig(n,t)}catch(e){m.utils.warn("user configuration parse failed, will use default configuration"),this.buildDefaultConfig(t)}}).prototype.buildDefaultConfig=function(e){this.reset(),e.forEach(function(e){this.config[e]={boost:1,bool:"OR",expand:!1}},this)},m.Configuration.prototype.buildUserConfig=function(e,t){var n,o,i="OR",r=!1;if(this.reset(),"bool"in e&&(i=e.bool||i),"expand"in e&&(r=e.expand||r),"fields"in e)for(var s in e.fields)-1<t.indexOf(s)?(o=r,null!=(n=e.fields[s]).expand&&(o=n.expand),this.config[s]={boost:n.boost||0===n.boost?n.boost:1,bool:n.bool||i,expand:o}):m.utils.warn("field name in user configuration not found in index instance fields");else this.addAllFields2UserConfig(i,r,t)},m.Configuration.prototype.addAllFields2UserConfig=function(t,n,e){e.forEach(function(e){this.config[e]={boost:1,bool:t,expand:n}},this)},m.Configuration.prototype.get=function(){return this.config},m.Configuration.prototype.reset=function(){this.config={}},lunr.SortedSet=function(){this.length=0,this.elements=[]},lunr.SortedSet.load=function(e){var t=new this;return t.elements=e,t.length=e.length,t},lunr.SortedSet.prototype.add=function(){for(var e,t=0;t<arguments.length;t++)~this.indexOf(e=arguments[t])||this.elements.splice(this.locationFor(e),0,e);this.length=this.elements.length},lunr.SortedSet.prototype.toArray=function(){return this.elements.slice()},lunr.SortedSet.prototype.map=function(e,t){return this.elements.map(e,t)},lunr.SortedSet.prototype.forEach=function(e,t){return this.elements.forEach(e,t)},lunr.SortedSet.prototype.indexOf=function(e){for(var t=0,n=this.elements.length,o=n-t,i=t+Math.floor(o/2),r=this.elements[i];1<o;){if(r===e)return i;o=(n=e<r?i:n)-(t=r<e?i:t),i=t+Math.floor(o/2),r=this.elements[i]}return r===e?i:-1},lunr.SortedSet.prototype.locationFor=function(e){for(var t=0,n=this.elements.length,o=n-t,i=t+Math.floor(o/2),r=this.elements[i];1<o;)o=(n=e<r?i:n)-(t=r<e?i:t),i=t+Math.floor(o/2),r=this.elements[i];return e<r?i:r<e?i+1:void 0},lunr.SortedSet.prototype.intersect=function(e){for(var t=new lunr.SortedSet,n=0,o=0,i=this.length,r=e.length,s=this.elements,u=e.elements;!(i-1<n||r-1<o);)s[n]!==u[o]?s[n]<u[o]?n++:s[n]>u[o]&&o++:(t.add(s[n]),n++,o++);return t},lunr.SortedSet.prototype.clone=function(){var e=new lunr.SortedSet;return e.elements=this.toArray(),e.length=e.elements.length,e},lunr.SortedSet.prototype.union=function(e){for(var t,e=this.length>=e.length?(t=this,e):(t=e,this),n=t.clone(),o=0,i=e.toArray();o<i.length;o++)n.add(i[o]);return n},lunr.SortedSet.prototype.toJSON=function(){return this.toArray()},t=this,e=function(){return m},"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=m:t.elasticlunr=m}(),window.onload=function(){document.body.contains(document.goSearch)&&(document.goSearch.onsubmit=function(){return goSearchNow()}),document.body.contains(document.closeSearch)&&(document.closeSearch.onsubmit=function(){closeSearchNow()})};var suggestions=document.getElementById("suggestions"),userinput=document.getElementById("userinput");function inputFocus(e){191===e.keyCode&&"INPUT"!==document.activeElement.tagName&&"TEXTAREA"!==document.activeElement.tagName&&(e.preventDefault(),userinput.focus()),27===e.keyCode&&(userinput.blur(),suggestions.classList.add("d-none"))}function suggestionFocus(t){const n=suggestions.querySelectorAll("a");if(!suggestions.classList.contains("d-none")&&0!==n.length){const i=[...n];var o=i.indexOf(document.activeElement);let e=0;38===t.keyCode?(t.preventDefault(),e=0<o?o-1:0,n[e].focus()):40===t.keyCode&&(t.preventDefault(),e=o+1<i.length?o+1:o,n[e].focus())}}function substringByByte(e,t){for(var n="",o=!1,i=0,r=0,s=0,u=0;u<e.length;u++){var l=e.codePointAt(u).toString(16);if(o=4<l.length&&++u+1<e.length?"200d"==e.codePointAt(u+1).toString(16):o){if(i+=getByteByHex(l),u==e.length-1){if(!((r+=i)<=t))break;n+=e.substr(s,u-s+1)}}else if(0!=i){if(!((r=(r+=i)+getByteByHex(l))<=t))break;n+=e.substr(s,u-s+1),s=u+1,i=0}else{if(!((r+=getByteByHex(l))<=t))break;l.length<=4?n+=e[u]:n+=e[u-1]+e[u],s=u+1}}return n}function getByteByBinary(e){return[0,1,2,3,4][Math.ceil(e.length/8)]}function getByteByHex(e){return getByteByBinary(parseInt(e,16).toString(2))}document.addEventListener("keydown",inputFocus),document.addEventListener("click",function(e){suggestions.contains(e.target)||suggestions.classList.add("d-none")}),document.addEventListener("keydown",suggestionFocus),function(){var u=elasticlunr.Index.load(window.searchIndex);userinput.addEventListener("input",function(){var n,e=this.value.trim(),o=u.search(e,{bool:"OR",fields:{title:{boost:2},body:{boost:1}}}),i=suggestions.childNodes,r=o.length,s=e.split(/\s+/);suggestions.classList.remove("d-none"),o.forEach(function(e){""!==e.doc.body&&((n=document.createElement("div")).innerHTML="<a href><span></span><span></span></a>",a=n.querySelector("a"),t=n.querySelector("span:first-child"),d=n.querySelector("span:nth-child(2)"),a.href=e.ref,t.textContent=e.doc.title,d.innerHTML=function(e,t){var n=t.map(function(e){return elasticlunr.stemmer(e.toLowerCase())}),o=!1,i=0,r=[],s=e.toLowerCase().split(". ");for(p in s){var u,l=s[p].split(/[\s\n]/),a=8;for(u in l){if(0<(x=l[u]).length){for(var c in n)elasticlunr.stemmer(x).startsWith(n[c])&&(a=40,o=!0);r.push([x,a,i]),a=2}i=i+x.length+1}i+=1}if(0===r.length)return void 0!==e.length&&300<e.length?e.substring(0,300)+"...":e;for(var d=[],h=Math.min(r.length,30),f=0,p=0;p<h;p++)f+=r[p][1];d.push(f);for(p=0;p<r.length-h;p++)f=(f-=r[p][1])+r[p+h][1],d.push(f);var g=0;if(o)for(var m=0,p=d.length-1;0<=p;p--)d[p]>m&&(m=d[p],g=p);for(var y=[],v=r[g][2],p=g;p<g+h;p++){var S,x=r[p];v<x[2]&&(y.push(e.substring(v,x[2])),v=x[2]),40===x[1]&&y.push("<b>"),v=x[2]+x[0].length;40!==x[1]&&12<=x[0].length&&!/^[\x00-\xff]+$/.test(x[0])?(S=substringByByte(e.substring(x[2],v),12),y.push(S)):y.push(e.substring(x[2],v)),40===x[1]&&y.push("</b>")}return y.push("…"),y.join("")}(e.doc.body,s),suggestions.appendChild(n))});for(;i.length>r;)suggestions.removeChild(i[0])},!0),suggestions.addEventListener("click",function(){for(;suggestions.lastChild;)suggestions.removeChild(suggestions.lastChild);return!1},!0)}();
\ No newline at end of file diff --git a/static/abridge.min.js b/static/abridge.min.js new file mode 100644 index 0000000..a57ed90 --- /dev/null +++ b/static/abridge.min.js @@ -0,0 +1 @@ +const items=document.querySelectorAll(".preStyle");function closeSearchNow(){const e=document.querySelector("main");e.innerHTML=window.main}function goSearchNow(){const e=document.querySelector("main");window.main||(window.main=e.innerHTML);var t=document.getElementById("suggestions"),n=t.cloneNode(!0),o=(n.id="results",document.createElement("div")),i='<form name="closeSearch"><h2><button type="submit" title="Close Search"><i class="svgs x"></i></button> Results For: '.concat(document.getElementById("userinput").value,"</h2></form>");return o.innerHTML=i,n.insertBefore(o,n.firstChild),e.innerHTML=n.outerHTML,t.innerHTML="",document.getElementById("userinput").value="",!1}items.forEach(e=>{e.rel="stylesheet"}),function(){function m(e){var t=new m.Index;return t.pipeline.add(m.trimmer,m.stopWordFilter,m.stemmer),e&&e.call(t,t),t}var a,c,e,t,d,h,f,p,g,y,v,S,x,w,b,I,E,F,D,k,C,_,N,P,n;m.version="0.9.5",((lunr=m).utils={}).warn=(n=this,function(e){n.console&&console.warn&&console.warn(e)}),m.utils.toString=function(e){return null==e?"":e.toString()},(m.EventEmitter=function(){this.events={}}).prototype.addListener=function(){var e=Array.prototype.slice.call(arguments),t=e.pop();if("function"!=typeof t)throw new TypeError("last argument must be a function");e.forEach(function(e){this.hasHandler(e)||(this.events[e]=[]),this.events[e].push(t)},this)},m.EventEmitter.prototype.removeListener=function(e,t){this.hasHandler(e)&&-1!==(t=this.events[e].indexOf(t))&&(this.events[e].splice(t,1),0==this.events[e].length&&delete this.events[e])},m.EventEmitter.prototype.emit=function(e){var t;this.hasHandler(e)&&(t=Array.prototype.slice.call(arguments,1),this.events[e].forEach(function(e){e.apply(void 0,t)},this))},m.EventEmitter.prototype.hasHandler=function(e){return e in this.events},(m.tokenizer=function(e){return arguments.length&&null!=e?Array.isArray(e)?(t=(t=e.filter(function(e){return null!=e})).map(function(e){return m.utils.toString(e).toLowerCase()}),n=[],t.forEach(function(e){e=e.split(m.tokenizer.seperator);n=n.concat(e)},this),n):e.toString().trim().toLowerCase().split(m.tokenizer.seperator):[];var t,n}).defaultSeperator=/[\s\-]+/,m.tokenizer.seperator=m.tokenizer.defaultSeperator,m.tokenizer.setSeperator=function(e){null!=e&&"object"==typeof e&&(m.tokenizer.seperator=e)},m.tokenizer.resetSeperator=function(){m.tokenizer.seperator=m.tokenizer.defaultSeperator},m.tokenizer.getSeperator=function(){return m.tokenizer.seperator},(m.Pipeline=function(){this._queue=[]}).registeredFunctions={},m.Pipeline.registerFunction=function(e,t){t in m.Pipeline.registeredFunctions&&m.utils.warn("Overwriting existing registered function: "+t),e.label=t,m.Pipeline.registeredFunctions[t]=e},m.Pipeline.getRegisteredFunction=function(e){return e in m.Pipeline.registeredFunctions!=1?null:m.Pipeline.registeredFunctions[e]},m.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||m.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},m.Pipeline.load=function(e){var n=new m.Pipeline;return e.forEach(function(e){var t=m.Pipeline.getRegisteredFunction(e);if(!t)throw new Error("Cannot load un-registered function: "+e);n.add(t)}),n},m.Pipeline.prototype.add=function(){Array.prototype.slice.call(arguments).forEach(function(e){m.Pipeline.warnIfFunctionNotRegistered(e),this._queue.push(e)},this)},m.Pipeline.prototype.after=function(e,t){m.Pipeline.warnIfFunctionNotRegistered(t);e=this._queue.indexOf(e);if(-1===e)throw new Error("Cannot find existingFn");this._queue.splice(e+1,0,t)},m.Pipeline.prototype.before=function(e,t){m.Pipeline.warnIfFunctionNotRegistered(t);e=this._queue.indexOf(e);if(-1===e)throw new Error("Cannot find existingFn");this._queue.splice(e,0,t)},m.Pipeline.prototype.remove=function(e){e=this._queue.indexOf(e);-1!==e&&this._queue.splice(e,1)},m.Pipeline.prototype.run=function(e){for(var t=[],n=e.length,o=this._queue.length,i=0;i<n;i++){for(var r=e[i],s=0;s<o&&null!=(r=this._queue[s](r,i,e));s++);null!=r&&t.push(r)}return t},m.Pipeline.prototype.reset=function(){this._queue=[]},m.Pipeline.prototype.get=function(){return this._queue},m.Pipeline.prototype.toJSON=function(){return this._queue.map(function(e){return m.Pipeline.warnIfFunctionNotRegistered(e),e.label})},(m.Index=function(){this._fields=[],this._ref="id",this.pipeline=new m.Pipeline,this.documentStore=new m.DocumentStore,this.index={},this.eventEmitter=new m.EventEmitter,this._idfCache={},this.on("add","remove","update",function(){this._idfCache={}}.bind(this))}).prototype.on=function(){var e=Array.prototype.slice.call(arguments);return this.eventEmitter.addListener.apply(this.eventEmitter,e)},m.Index.prototype.off=function(e,t){return this.eventEmitter.removeListener(e,t)},m.Index.load=function(e){e.version!==m.version&&m.utils.warn("version mismatch: current "+m.version+" importing "+e.version);var t,n=new this;for(t in n._fields=e.fields,n._ref=e.ref,n.documentStore=m.DocumentStore.load(e.documentStore),n.pipeline=m.Pipeline.load(e.pipeline),n.index={},e.index)n.index[t]=m.InvertedIndex.load(e.index[t]);return n},m.Index.prototype.addField=function(e){return this._fields.push(e),this.index[e]=new m.InvertedIndex,this},m.Index.prototype.setRef=function(e){return this._ref=e,this},m.Index.prototype.saveDocument=function(e){return this.documentStore=new m.DocumentStore(e),this},m.Index.prototype.addDoc=function(r,e){var s;r&&(e=void 0===e||e,s=r[this._ref],this.documentStore.addDoc(s,r),this._fields.forEach(function(e){var t,n=this.pipeline.run(m.tokenizer(r[e])),o=(this.documentStore.addFieldLength(s,e,n.length),{});for(t in n.forEach(function(e){e in o?o[e]+=1:o[e]=1},this),o){var i=o[t],i=Math.sqrt(i);this.index[e].addToken(t,{ref:s,tf:i})}},this),e&&this.eventEmitter.emit("add",r,this))},m.Index.prototype.removeDocByRef=function(e){e&&!1!==this.documentStore.isDocStored()&&this.documentStore.hasDoc(e)&&(e=this.documentStore.getDoc(e),this.removeDoc(e,!1))},m.Index.prototype.removeDoc=function(e,t){var n;e&&(t=void 0===t||t,n=e[this._ref],this.documentStore.hasDoc(n)&&(this.documentStore.removeDoc(n),this._fields.forEach(function(t){this.pipeline.run(m.tokenizer(e[t])).forEach(function(e){this.index[t].removeToken(e,n)},this)},this),t&&this.eventEmitter.emit("remove",e,this)))},m.Index.prototype.updateDoc=function(e,t){t=void 0===t||t;this.removeDocByRef(e[this._ref],!1),this.addDoc(e,!1),t&&this.eventEmitter.emit("update",e,this)},m.Index.prototype.idf=function(e,t){var n="@"+t+"/"+e;if(Object.prototype.hasOwnProperty.call(this._idfCache,n))return this._idfCache[n];t=this.index[t].getDocFreq(e),e=1+Math.log(this.documentStore.length/(t+1));return this._idfCache[n]=e},m.Index.prototype.getFields=function(){return this._fields.slice()},m.Index.prototype.search=function(e,t){if(!e)return[];e="string"==typeof e?{any:e}:JSON.parse(JSON.stringify(e));var n=null;null!=t&&(n=JSON.stringify(t));for(var o=new m.Configuration(n,this.getFields()).get(),i={},r=Object.keys(e),s=0;s<r.length;s++){var u=r[s];i[u]=this.pipeline.run(m.tokenizer(e[u]))}var l,a={};for(l in o){var c=i[l]||i.any;if(c){var d=this.fieldSearch(c,l,o),h=o[l].boost;for(p in d)d[p]=d[p]*h;for(p in d)p in a?a[p]+=d[p]:a[p]=d[p]}}var f,p,g=[];for(p in a)f={ref:p,score:a[p]},this.documentStore.hasDoc(p)&&(f.doc=this.documentStore.getDoc(p)),g.push(f);return g.sort(function(e,t){return t.score-e.score}),g},m.Index.prototype.fieldSearch=function(e,d,t){var h=t[d].bool,n=t[d].expand,t=t[d].boost,f=null,p={};return 0!==t?(e.forEach(function(a){var e=[a],c=(1==n&&(e=this.index[d].expandToken(a)),{});e.forEach(function(e){var t=this.index[d].getDocs(e),n=this.idf(e,d);if(f&&"AND"==h){var o,i={};for(o in f)o in t&&(i[o]=t[o]);t=i}for(o in e==a&&this.fieldSearchStats(p,e,t),t){var r=this.index[d].getTermFrequency(e,o),s=this.documentStore.getFieldLength(o,d),u=1,l=1,r=r*n*(u=0!=s?1/Math.sqrt(s):u)*(l=e!=a?.15*(1-(e.length-a.length)/e.length):l);o in c?c[o]+=r:c[o]=r}},this),f=this.mergeScores(f,c,h)},this),f=this.coordNorm(f,p,e.length)):void 0},m.Index.prototype.mergeScores=function(e,t,n){if(!e)return t;if("AND"==n){var o={};for(i in t)i in e&&(o[i]=e[i]+t[i]);return o}for(var i in t)i in e?e[i]+=t[i]:e[i]=t[i];return e},m.Index.prototype.fieldSearchStats=function(e,t,n){for(var o in n)o in e?e[o].push(t):e[o]=[t]},m.Index.prototype.coordNorm=function(e,t,n){for(var o in e){var i;o in t&&(i=t[o].length,e[o]=e[o]*i/n)}return e},m.Index.prototype.toJSON=function(){var t={};return this._fields.forEach(function(e){t[e]=this.index[e].toJSON()},this),{version:m.version,fields:this._fields,ref:this._ref,documentStore:this.documentStore.toJSON(),index:t,pipeline:this.pipeline.toJSON()}},m.Index.prototype.use=function(e){var t=Array.prototype.slice.call(arguments,1);t.unshift(this),e.apply(this,t)},(m.DocumentStore=function(e){this._save=null==e||e,this.docs={},this.docInfo={},this.length=0}).load=function(e){var t=new this;return t.length=e.length,t.docs=e.docs,t.docInfo=e.docInfo,t._save=e.save,t},m.DocumentStore.prototype.isDocStored=function(){return this._save},m.DocumentStore.prototype.addDoc=function(e,t){this.hasDoc(e)||this.length++,this.docs[e]=!0===this._save?function(e){if(null===e||"object"!=typeof e)return e;var t,n=e.constructor();for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}(t):null},m.DocumentStore.prototype.getDoc=function(e){return!1===this.hasDoc(e)?null:this.docs[e]},m.DocumentStore.prototype.hasDoc=function(e){return e in this.docs},m.DocumentStore.prototype.removeDoc=function(e){this.hasDoc(e)&&(delete this.docs[e],delete this.docInfo[e],this.length--)},m.DocumentStore.prototype.addFieldLength=function(e,t,n){null!=e&&0!=this.hasDoc(e)&&(this.docInfo[e]||(this.docInfo[e]={}),this.docInfo[e][t]=n)},m.DocumentStore.prototype.updateFieldLength=function(e,t,n){null!=e&&0!=this.hasDoc(e)&&this.addFieldLength(e,t,n)},m.DocumentStore.prototype.getFieldLength=function(e,t){return null!=e&&e in this.docs&&t in this.docInfo[e]?this.docInfo[e][t]:0},m.DocumentStore.prototype.toJSON=function(){return{docs:this.docs,docInfo:this.docInfo,length:this.length,save:this._save}},a={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},c={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},e="[aeiouy]",t="[^aeiou][^aeiouy]*",d=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*"),h=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*[aeiouy][aeiou]*[^aeiou][^aeiouy]*"),f=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*([aeiouy][aeiou]*)?$"),p=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy]"),g=/^(.+?)(ss|i)es$/,y=/^(.+?)([^s])s$/,v=/^(.+?)eed$/,S=/^(.+?)(ed|ing)$/,x=/.$/,w=/(at|bl|iz)$/,b=new RegExp("([^aeiouylsz])\\1$"),I=new RegExp("^"+t+e+"[^aeiouwxy]$"),E=/^(.+?[^aeiou])y$/,F=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,D=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,k=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,C=/^(.+?)(s|t)(ion)$/,_=/^(.+?)e$/,N=/ll$/,P=new RegExp("^"+t+e+"[^aeiouwxy]$"),m.Pipeline.registerFunction(m.stemmer=function(e){var t,n,o,i,r,s,u,l;return e.length<3?e:("y"==(n=e.substr(0,1))&&(e=n.toUpperCase()+e.substr(1)),u=y,(r=g).test(e)?e=e.replace(r,"$1$2"):u.test(e)&&(e=e.replace(u,"$1$2")),u=S,(r=v).test(e)?(l=r.exec(e),(r=d).test(l[1])&&(e=e.replace(r=x,""))):u.test(e)&&(s=(l=u.exec(e))[1],(u=p).test(s)&&(e=s,o=b,i=I,(u=w).test(e)?e+="e":o.test(e)?e=e.replace(r=x,""):i.test(e)&&(e+="e"))),(r=E).test(e)&&(e=(s=(l=r.exec(e))[1])+"i"),(r=F).test(e)&&(s=(l=r.exec(e))[1],t=l[2],(r=d).test(s)&&(e=s+a[t])),(r=D).test(e)&&(s=(l=r.exec(e))[1],t=l[2],(r=d).test(s)&&(e=s+c[t])),u=C,(r=k).test(e)?(s=(l=r.exec(e))[1],(r=h).test(s)&&(e=s)):u.test(e)&&(s=(l=u.exec(e))[1]+l[2],(u=h).test(s)&&(e=s)),(r=_).test(e)&&(s=(l=r.exec(e))[1],u=f,o=P,((r=h).test(s)||u.test(s)&&!o.test(s))&&(e=s)),u=h,(r=N).test(e)&&u.test(e)&&(e=e.replace(r=x,"")),"y"==n?n.toLowerCase()+e.substr(1):e)},"stemmer"),m.stopWordFilter=function(e){return e&&!0!==m.stopWordFilter.stopWords[e]?e:void 0},m.clearStopWords=function(){m.stopWordFilter.stopWords={}},m.addStopWords=function(e){null!=e&&!1!==Array.isArray(e)&&e.forEach(function(e){m.stopWordFilter.stopWords[e]=!0},this)},m.resetStopWords=function(){m.stopWordFilter.stopWords=m.defaultStopWords},m.stopWordFilter.stopWords=m.defaultStopWords={"":!0,a:!0,able:!0,about:!0,across:!0,after:!0,all:!0,almost:!0,also:!0,am:!0,among:!0,an:!0,and:!0,any:!0,are:!0,as:!0,at:!0,be:!0,because:!0,been:!0,but:!0,by:!0,can:!0,cannot:!0,could:!0,dear:!0,did:!0,do:!0,does:!0,either:!0,else:!0,ever:!0,every:!0,for:!0,from:!0,get:!0,got:!0,had:!0,has:!0,have:!0,he:!0,her:!0,hers:!0,him:!0,his:!0,how:!0,however:!0,i:!0,if:!0,in:!0,into:!0,is:!0,it:!0,its:!0,just:!0,least:!0,let:!0,like:!0,likely:!0,may:!0,me:!0,might:!0,most:!0,must:!0,my:!0,neither:!0,no:!0,nor:!0,not:!0,of:!0,off:!0,often:!0,on:!0,only:!0,or:!0,other:!0,our:!0,own:!0,rather:!0,said:!0,say:!0,says:!0,she:!0,should:!0,since:!0,so:!0,some:!0,than:!0,that:!0,the:!0,their:!0,them:!0,then:!0,there:!0,these:!0,they:!0,this:!0,tis:!0,to:!0,too:!0,twas:!0,us:!0,wants:!0,was:!0,we:!0,were:!0,what:!0,when:!0,where:!0,which:!0,while:!0,who:!0,whom:!0,why:!0,will:!0,with:!0,would:!0,yet:!0,you:!0,your:!0},m.Pipeline.registerFunction(m.stopWordFilter,"stopWordFilter"),m.Pipeline.registerFunction(m.trimmer=function(e){if(null==e)throw new Error("token should not be undefined");return e.replace(/^\W+/,"").replace(/\W+$/,"")},"trimmer"),(m.InvertedIndex=function(){this.root={docs:{},df:0}}).load=function(e){var t=new this;return t.root=e.root,t},m.InvertedIndex.prototype.addToken=function(e,t,n){for(var n=n||this.root,o=0;o<=e.length-1;){var i=e[o];i in n||(n[i]={docs:{},df:0}),o+=1,n=n[i]}var r=t.ref;n.docs[r]?n.docs[r]={tf:t.tf}:(n.docs[r]={tf:t.tf},n.df+=1)},m.InvertedIndex.prototype.hasToken=function(e){if(!e)return!1;for(var t=this.root,n=0;n<e.length;n++){if(!t[e[n]])return!1;t=t[e[n]]}return!0},m.InvertedIndex.prototype.getNode=function(e){if(!e)return null;for(var t=this.root,n=0;n<e.length;n++){if(!t[e[n]])return null;t=t[e[n]]}return t},m.InvertedIndex.prototype.getDocs=function(e){e=this.getNode(e);return null==e?{}:e.docs},m.InvertedIndex.prototype.getTermFrequency=function(e,t){e=this.getNode(e);return null!=e&&t in e.docs?e.docs[t].tf:0},m.InvertedIndex.prototype.getDocFreq=function(e){e=this.getNode(e);return null==e?0:e.df},m.InvertedIndex.prototype.removeToken=function(e,t){e&&null!=(e=this.getNode(e))&&t in e.docs&&(delete e.docs[t],--e.df)},m.InvertedIndex.prototype.expandToken=function(e,t,n){if(null==e||""==e)return[];var o,t=t||[];if(null==n&&null==(n=this.getNode(e)))return t;for(o in 0<n.df&&t.push(e),n)"docs"!==o&&"df"!==o&&this.expandToken(e+o,t,n[o]);return t},m.InvertedIndex.prototype.toJSON=function(){return{root:this.root}},(m.Configuration=function(e,t){var n,e=e||"";if(null==t)throw new Error("fields should not be null");this.config={};try{n=JSON.parse(e),this.buildUserConfig(n,t)}catch(e){m.utils.warn("user configuration parse failed, will use default configuration"),this.buildDefaultConfig(t)}}).prototype.buildDefaultConfig=function(e){this.reset(),e.forEach(function(e){this.config[e]={boost:1,bool:"OR",expand:!1}},this)},m.Configuration.prototype.buildUserConfig=function(e,t){var n,o,i="OR",r=!1;if(this.reset(),"bool"in e&&(i=e.bool||i),"expand"in e&&(r=e.expand||r),"fields"in e)for(var s in e.fields)-1<t.indexOf(s)?(o=r,null!=(n=e.fields[s]).expand&&(o=n.expand),this.config[s]={boost:n.boost||0===n.boost?n.boost:1,bool:n.bool||i,expand:o}):m.utils.warn("field name in user configuration not found in index instance fields");else this.addAllFields2UserConfig(i,r,t)},m.Configuration.prototype.addAllFields2UserConfig=function(t,n,e){e.forEach(function(e){this.config[e]={boost:1,bool:t,expand:n}},this)},m.Configuration.prototype.get=function(){return this.config},m.Configuration.prototype.reset=function(){this.config={}},lunr.SortedSet=function(){this.length=0,this.elements=[]},lunr.SortedSet.load=function(e){var t=new this;return t.elements=e,t.length=e.length,t},lunr.SortedSet.prototype.add=function(){for(var e,t=0;t<arguments.length;t++)~this.indexOf(e=arguments[t])||this.elements.splice(this.locationFor(e),0,e);this.length=this.elements.length},lunr.SortedSet.prototype.toArray=function(){return this.elements.slice()},lunr.SortedSet.prototype.map=function(e,t){return this.elements.map(e,t)},lunr.SortedSet.prototype.forEach=function(e,t){return this.elements.forEach(e,t)},lunr.SortedSet.prototype.indexOf=function(e){for(var t=0,n=this.elements.length,o=n-t,i=t+Math.floor(o/2),r=this.elements[i];1<o;){if(r===e)return i;o=(n=e<r?i:n)-(t=r<e?i:t),i=t+Math.floor(o/2),r=this.elements[i]}return r===e?i:-1},lunr.SortedSet.prototype.locationFor=function(e){for(var t=0,n=this.elements.length,o=n-t,i=t+Math.floor(o/2),r=this.elements[i];1<o;)o=(n=e<r?i:n)-(t=r<e?i:t),i=t+Math.floor(o/2),r=this.elements[i];return e<r?i:r<e?i+1:void 0},lunr.SortedSet.prototype.intersect=function(e){for(var t=new lunr.SortedSet,n=0,o=0,i=this.length,r=e.length,s=this.elements,u=e.elements;!(i-1<n||r-1<o);)s[n]!==u[o]?s[n]<u[o]?n++:s[n]>u[o]&&o++:(t.add(s[n]),n++,o++);return t},lunr.SortedSet.prototype.clone=function(){var e=new lunr.SortedSet;return e.elements=this.toArray(),e.length=e.elements.length,e},lunr.SortedSet.prototype.union=function(e){for(var t,e=this.length>=e.length?(t=this,e):(t=e,this),n=t.clone(),o=0,i=e.toArray();o<i.length;o++)n.add(i[o]);return n},lunr.SortedSet.prototype.toJSON=function(){return this.toArray()},t=this,e=function(){return m},"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=m:t.elasticlunr=m}(),window.onload=function(){document.body.contains(document.goSearch)&&(document.goSearch.onsubmit=function(){return goSearchNow()}),document.body.contains(document.closeSearch)&&(document.closeSearch.onsubmit=function(){closeSearchNow()})};var suggestions=document.getElementById("suggestions"),userinput=document.getElementById("userinput");function inputFocus(e){191===e.keyCode&&"INPUT"!==document.activeElement.tagName&&"TEXTAREA"!==document.activeElement.tagName&&(e.preventDefault(),userinput.focus()),27===e.keyCode&&(userinput.blur(),suggestions.classList.add("d-none"))}function suggestionFocus(t){const n=suggestions.querySelectorAll("a");if(!suggestions.classList.contains("d-none")&&0!==n.length){const i=[...n];var o=i.indexOf(document.activeElement);let e=0;38===t.keyCode?(t.preventDefault(),e=0<o?o-1:0,n[e].focus()):40===t.keyCode&&(t.preventDefault(),e=o+1<i.length?o+1:o,n[e].focus())}}function substringByByte(e,t){for(var n="",o=!1,i=0,r=0,s=0,u=0;u<e.length;u++){var l=e.codePointAt(u).toString(16);if(o=4<l.length&&++u+1<e.length?"200d"==e.codePointAt(u+1).toString(16):o){if(i+=getByteByHex(l),u==e.length-1){if(!((r+=i)<=t))break;n+=e.substr(s,u-s+1)}}else if(0!=i){if(!((r=(r+=i)+getByteByHex(l))<=t))break;n+=e.substr(s,u-s+1),s=u+1,i=0}else{if(!((r+=getByteByHex(l))<=t))break;l.length<=4?n+=e[u]:n+=e[u-1]+e[u],s=u+1}}return n}function getByteByBinary(e){return[0,1,2,3,4][Math.ceil(e.length/8)]}function getByteByHex(e){return getByteByBinary(parseInt(e,16).toString(2))}document.addEventListener("keydown",inputFocus),document.addEventListener("click",function(e){suggestions.contains(e.target)||suggestions.classList.add("d-none")}),document.addEventListener("keydown",suggestionFocus),function(){var u=elasticlunr.Index.load(window.searchIndex);userinput.addEventListener("input",function(){var n,e=this.value.trim(),o=u.search(e,{bool:"OR",fields:{title:{boost:2},body:{boost:1}}}),i=suggestions.childNodes,r=o.length,s=e.split(/\s+/);suggestions.classList.remove("d-none"),o.forEach(function(e){""!==e.doc.body&&((n=document.createElement("div")).innerHTML="<a href><span></span><span></span></a>",a=n.querySelector("a"),t=n.querySelector("span:first-child"),d=n.querySelector("span:nth-child(2)"),a.href=e.ref,t.textContent=e.doc.title,d.innerHTML=function(e,t){var n=t.map(function(e){return elasticlunr.stemmer(e.toLowerCase())}),o=!1,i=0,r=[],s=e.toLowerCase().split(". ");for(p in s){var u,l=s[p].split(/[\s\n]/),a=8;for(u in l){if(0<(x=l[u]).length){for(var c in n)elasticlunr.stemmer(x).startsWith(n[c])&&(a=40,o=!0);r.push([x,a,i]),a=2}i=i+x.length+1}i+=1}if(0===r.length)return void 0!==e.length&&300<e.length?e.substring(0,300)+"...":e;for(var d=[],h=Math.min(r.length,30),f=0,p=0;p<h;p++)f+=r[p][1];d.push(f);for(p=0;p<r.length-h;p++)f=(f-=r[p][1])+r[p+h][1],d.push(f);var g=0;if(o)for(var m=0,p=d.length-1;0<=p;p--)d[p]>m&&(m=d[p],g=p);for(var y=[],v=r[g][2],p=g;p<g+h;p++){var S,x=r[p];v<x[2]&&(y.push(e.substring(v,x[2])),v=x[2]),40===x[1]&&y.push("<b>"),v=x[2]+x[0].length;40!==x[1]&&12<=x[0].length&&!/^[\x00-\xff]+$/.test(x[0])?(S=substringByByte(e.substring(x[2],v),12),y.push(S)):y.push(e.substring(x[2],v)),40===x[1]&&y.push("</b>")}return y.push("…"),y.join("")}(e.doc.body,s),suggestions.appendChild(n))});for(;i.length>r;)suggestions.removeChild(i[0])},!0),suggestions.addEventListener("click",function(){for(;suggestions.lastChild;)suggestions.removeChild(suggestions.lastChild);return!1},!0)}();
\ No newline at end of file diff --git a/static/android-chrome-192x192.png b/static/android-chrome-192x192.png Binary files differindex 7419c21..4eba45e 100644 --- a/static/android-chrome-192x192.png +++ b/static/android-chrome-192x192.png diff --git a/static/android-chrome-192x192m.png b/static/android-chrome-192x192m.png Binary files differindex a49b019..f7e37a2 100644 --- a/static/android-chrome-192x192m.png +++ b/static/android-chrome-192x192m.png diff --git a/static/android-chrome-512x512.png b/static/android-chrome-512x512.png Binary files differindex 37faf45..371daf4 100644 --- a/static/android-chrome-512x512.png +++ b/static/android-chrome-512x512.png diff --git a/static/apple-touch-icon.png b/static/apple-touch-icon.png Binary files differindex fb183f5..b872d32 100644 --- a/static/apple-touch-icon.png +++ b/static/apple-touch-icon.png diff --git a/static/banner.png b/static/banner.png Binary files differindex 61b2179..775bff2 100644 --- a/static/banner.png +++ b/static/banner.png diff --git a/static/elasticlunr.min.js b/static/elasticlunr.min.js new file mode 100644 index 0000000..79dad65 --- /dev/null +++ b/static/elasticlunr.min.js @@ -0,0 +1,10 @@ +/** + * elasticlunr - http://weixsong.github.io + * Lightweight full-text search engine in Javascript for browser search and offline search. - 0.9.6 + * + * Copyright (C) 2017 Oliver Nightingale + * Copyright (C) 2017 Wei Song + * MIT Licensed + * @license + */ +!function(){function e(e){if(null===e||"object"!=typeof e)return e;var t=e.constructor();for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}var t=function(e){var n=new t.Index;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),e&&e.call(n,n),n};t.version="0.9.5",lunr=t,t.utils={},t.utils.warn=function(e){return function(t){e.console&&console.warn&&console.warn(t)}}(this),t.utils.toString=function(e){return void 0===e||null===e?"":e.toString()},t.EventEmitter=function(){this.events={}},t.EventEmitter.prototype.addListener=function(){var e=Array.prototype.slice.call(arguments),t=e.pop(),n=e;if("function"!=typeof t)throw new TypeError("last argument must be a function");n.forEach(function(e){this.hasHandler(e)||(this.events[e]=[]),this.events[e].push(t)},this)},t.EventEmitter.prototype.removeListener=function(e,t){if(this.hasHandler(e)){var n=this.events[e].indexOf(t);-1!==n&&(this.events[e].splice(n,1),0==this.events[e].length&&delete this.events[e])}},t.EventEmitter.prototype.emit=function(e){if(this.hasHandler(e)){var t=Array.prototype.slice.call(arguments,1);this.events[e].forEach(function(e){e.apply(void 0,t)},this)}},t.EventEmitter.prototype.hasHandler=function(e){return e in this.events},t.tokenizer=function(e){if(!arguments.length||null===e||void 0===e)return[];if(Array.isArray(e)){var n=e.filter(function(e){return null===e||void 0===e?!1:!0});n=n.map(function(e){return t.utils.toString(e).toLowerCase()});var i=[];return n.forEach(function(e){var n=e.split(t.tokenizer.seperator);i=i.concat(n)},this),i}return e.toString().trim().toLowerCase().split(t.tokenizer.seperator)},t.tokenizer.defaultSeperator=/[\s\-]+/,t.tokenizer.seperator=t.tokenizer.defaultSeperator,t.tokenizer.setSeperator=function(e){null!==e&&void 0!==e&&"object"==typeof e&&(t.tokenizer.seperator=e)},t.tokenizer.resetSeperator=function(){t.tokenizer.seperator=t.tokenizer.defaultSeperator},t.tokenizer.getSeperator=function(){return t.tokenizer.seperator},t.Pipeline=function(){this._queue=[]},t.Pipeline.registeredFunctions={},t.Pipeline.registerFunction=function(e,n){n in t.Pipeline.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[n]=e},t.Pipeline.getRegisteredFunction=function(e){return e in t.Pipeline.registeredFunctions!=!0?null:t.Pipeline.registeredFunctions[e]},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(e){var i=t.Pipeline.getRegisteredFunction(e);if(!i)throw new Error("Cannot load un-registered function: "+e);n.add(i)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(e){t.Pipeline.warnIfFunctionNotRegistered(e),this._queue.push(e)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var i=this._queue.indexOf(e);if(-1===i)throw new Error("Cannot find existingFn");this._queue.splice(i+1,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var i=this._queue.indexOf(e);if(-1===i)throw new Error("Cannot find existingFn");this._queue.splice(i,0,n)},t.Pipeline.prototype.remove=function(e){var t=this._queue.indexOf(e);-1!==t&&this._queue.splice(t,1)},t.Pipeline.prototype.run=function(e){for(var t=[],n=e.length,i=this._queue.length,o=0;n>o;o++){for(var r=e[o],s=0;i>s&&(r=this._queue[s](r,o,e),void 0!==r&&null!==r);s++);void 0!==r&&null!==r&&t.push(r)}return t},t.Pipeline.prototype.reset=function(){this._queue=[]},t.Pipeline.prototype.get=function(){return this._queue},t.Pipeline.prototype.toJSON=function(){return this._queue.map(function(e){return t.Pipeline.warnIfFunctionNotRegistered(e),e.label})},t.Index=function(){this._fields=[],this._ref="id",this.pipeline=new t.Pipeline,this.documentStore=new t.DocumentStore,this.index={},this.eventEmitter=new t.EventEmitter,this._idfCache={},this.on("add","remove","update",function(){this._idfCache={}}.bind(this))},t.Index.prototype.on=function(){var e=Array.prototype.slice.call(arguments);return this.eventEmitter.addListener.apply(this.eventEmitter,e)},t.Index.prototype.off=function(e,t){return this.eventEmitter.removeListener(e,t)},t.Index.load=function(e){e.version!==t.version&&t.utils.warn("version mismatch: current "+t.version+" importing "+e.version);var n=new this;n._fields=e.fields,n._ref=e.ref,n.documentStore=t.DocumentStore.load(e.documentStore),n.pipeline=t.Pipeline.load(e.pipeline),n.index={};for(var i in e.index)n.index[i]=t.InvertedIndex.load(e.index[i]);return n},t.Index.prototype.addField=function(e){return this._fields.push(e),this.index[e]=new t.InvertedIndex,this},t.Index.prototype.setRef=function(e){return this._ref=e,this},t.Index.prototype.saveDocument=function(e){return this.documentStore=new t.DocumentStore(e),this},t.Index.prototype.addDoc=function(e,n){if(e){var n=void 0===n?!0:n,i=e[this._ref];this.documentStore.addDoc(i,e),this._fields.forEach(function(n){var o=this.pipeline.run(t.tokenizer(e[n]));this.documentStore.addFieldLength(i,n,o.length);var r={};o.forEach(function(e){e in r?r[e]+=1:r[e]=1},this);for(var s in r){var u=r[s];u=Math.sqrt(u),this.index[n].addToken(s,{ref:i,tf:u})}},this),n&&this.eventEmitter.emit("add",e,this)}},t.Index.prototype.removeDocByRef=function(e){if(e&&this.documentStore.isDocStored()!==!1&&this.documentStore.hasDoc(e)){var t=this.documentStore.getDoc(e);this.removeDoc(t,!1)}},t.Index.prototype.removeDoc=function(e,n){if(e){var n=void 0===n?!0:n,i=e[this._ref];this.documentStore.hasDoc(i)&&(this.documentStore.removeDoc(i),this._fields.forEach(function(n){var o=this.pipeline.run(t.tokenizer(e[n]));o.forEach(function(e){this.index[n].removeToken(e,i)},this)},this),n&&this.eventEmitter.emit("remove",e,this))}},t.Index.prototype.updateDoc=function(e,t){var t=void 0===t?!0:t;this.removeDocByRef(e[this._ref],!1),this.addDoc(e,!1),t&&this.eventEmitter.emit("update",e,this)},t.Index.prototype.idf=function(e,t){var n="@"+t+"/"+e;if(Object.prototype.hasOwnProperty.call(this._idfCache,n))return this._idfCache[n];var i=this.index[t].getDocFreq(e),o=1+Math.log(this.documentStore.length/(i+1));return this._idfCache[n]=o,o},t.Index.prototype.getFields=function(){return this._fields.slice()},t.Index.prototype.search=function(e,n){if(!e)return[];e="string"==typeof e?{any:e}:JSON.parse(JSON.stringify(e));var i=null;null!=n&&(i=JSON.stringify(n));for(var o=new t.Configuration(i,this.getFields()).get(),r={},s=Object.keys(e),u=0;u<s.length;u++){var a=s[u];r[a]=this.pipeline.run(t.tokenizer(e[a]))}var l={};for(var c in o){var d=r[c]||r.any;if(d){var f=this.fieldSearch(d,c,o),h=o[c].boost;for(var p in f)f[p]=f[p]*h;for(var p in f)p in l?l[p]+=f[p]:l[p]=f[p]}}var v,g=[];for(var p in l)v={ref:p,score:l[p]},this.documentStore.hasDoc(p)&&(v.doc=this.documentStore.getDoc(p)),g.push(v);return g.sort(function(e,t){return t.score-e.score}),g},t.Index.prototype.fieldSearch=function(e,t,n){var i=n[t].bool,o=n[t].expand,r=n[t].boost,s=null,u={};return 0!==r?(e.forEach(function(e){var n=[e];1==o&&(n=this.index[t].expandToken(e));var r={};n.forEach(function(n){var o=this.index[t].getDocs(n),a=this.idf(n,t);if(s&&"AND"==i){var l={};for(var c in s)c in o&&(l[c]=o[c]);o=l}n==e&&this.fieldSearchStats(u,n,o);for(var c in o){var d=this.index[t].getTermFrequency(n,c),f=this.documentStore.getFieldLength(c,t),h=1;0!=f&&(h=1/Math.sqrt(f));var p=1;n!=e&&(p=.15*(1-(n.length-e.length)/n.length));var v=d*a*h*p;c in r?r[c]+=v:r[c]=v}},this),s=this.mergeScores(s,r,i)},this),s=this.coordNorm(s,u,e.length)):void 0},t.Index.prototype.mergeScores=function(e,t,n){if(!e)return t;if("AND"==n){var i={};for(var o in t)o in e&&(i[o]=e[o]+t[o]);return i}for(var o in t)o in e?e[o]+=t[o]:e[o]=t[o];return e},t.Index.prototype.fieldSearchStats=function(e,t,n){for(var i in n)i in e?e[i].push(t):e[i]=[t]},t.Index.prototype.coordNorm=function(e,t,n){for(var i in e)if(i in t){var o=t[i].length;e[i]=e[i]*o/n}return e},t.Index.prototype.toJSON=function(){var e={};return this._fields.forEach(function(t){e[t]=this.index[t].toJSON()},this),{version:t.version,fields:this._fields,ref:this._ref,documentStore:this.documentStore.toJSON(),index:e,pipeline:this.pipeline.toJSON()}},t.Index.prototype.use=function(e){var t=Array.prototype.slice.call(arguments,1);t.unshift(this),e.apply(this,t)},t.DocumentStore=function(e){this._save=null===e||void 0===e?!0:e,this.docs={},this.docInfo={},this.length=0},t.DocumentStore.load=function(e){var t=new this;return t.length=e.length,t.docs=e.docs,t.docInfo=e.docInfo,t._save=e.save,t},t.DocumentStore.prototype.isDocStored=function(){return this._save},t.DocumentStore.prototype.addDoc=function(t,n){this.hasDoc(t)||this.length++,this.docs[t]=this._save===!0?e(n):null},t.DocumentStore.prototype.getDoc=function(e){return this.hasDoc(e)===!1?null:this.docs[e]},t.DocumentStore.prototype.hasDoc=function(e){return e in this.docs},t.DocumentStore.prototype.removeDoc=function(e){this.hasDoc(e)&&(delete this.docs[e],delete this.docInfo[e],this.length--)},t.DocumentStore.prototype.addFieldLength=function(e,t,n){null!==e&&void 0!==e&&0!=this.hasDoc(e)&&(this.docInfo[e]||(this.docInfo[e]={}),this.docInfo[e][t]=n)},t.DocumentStore.prototype.updateFieldLength=function(e,t,n){null!==e&&void 0!==e&&0!=this.hasDoc(e)&&this.addFieldLength(e,t,n)},t.DocumentStore.prototype.getFieldLength=function(e,t){return null===e||void 0===e?0:e in this.docs&&t in this.docInfo[e]?this.docInfo[e][t]:0},t.DocumentStore.prototype.toJSON=function(){return{docs:this.docs,docInfo:this.docInfo,length:this.length,save:this._save}},t.stemmer=function(){var e={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},t={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},n="[^aeiou]",i="[aeiouy]",o=n+"[^aeiouy]*",r=i+"[aeiou]*",s="^("+o+")?"+r+o,u="^("+o+")?"+r+o+"("+r+")?$",a="^("+o+")?"+r+o+r+o,l="^("+o+")?"+i,c=new RegExp(s),d=new RegExp(a),f=new RegExp(u),h=new RegExp(l),p=/^(.+?)(ss|i)es$/,v=/^(.+?)([^s])s$/,g=/^(.+?)eed$/,m=/^(.+?)(ed|ing)$/,y=/.$/,S=/(at|bl|iz)$/,x=new RegExp("([^aeiouylsz])\\1$"),w=new RegExp("^"+o+i+"[^aeiouwxy]$"),I=/^(.+?[^aeiou])y$/,b=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,E=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,D=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,F=/^(.+?)(s|t)(ion)$/,_=/^(.+?)e$/,P=/ll$/,k=new RegExp("^"+o+i+"[^aeiouwxy]$"),z=function(n){var i,o,r,s,u,a,l;if(n.length<3)return n;if(r=n.substr(0,1),"y"==r&&(n=r.toUpperCase()+n.substr(1)),s=p,u=v,s.test(n)?n=n.replace(s,"$1$2"):u.test(n)&&(n=n.replace(u,"$1$2")),s=g,u=m,s.test(n)){var z=s.exec(n);s=c,s.test(z[1])&&(s=y,n=n.replace(s,""))}else if(u.test(n)){var z=u.exec(n);i=z[1],u=h,u.test(i)&&(n=i,u=S,a=x,l=w,u.test(n)?n+="e":a.test(n)?(s=y,n=n.replace(s,"")):l.test(n)&&(n+="e"))}if(s=I,s.test(n)){var z=s.exec(n);i=z[1],n=i+"i"}if(s=b,s.test(n)){var z=s.exec(n);i=z[1],o=z[2],s=c,s.test(i)&&(n=i+e[o])}if(s=E,s.test(n)){var z=s.exec(n);i=z[1],o=z[2],s=c,s.test(i)&&(n=i+t[o])}if(s=D,u=F,s.test(n)){var z=s.exec(n);i=z[1],s=d,s.test(i)&&(n=i)}else if(u.test(n)){var z=u.exec(n);i=z[1]+z[2],u=d,u.test(i)&&(n=i)}if(s=_,s.test(n)){var z=s.exec(n);i=z[1],s=d,u=f,a=k,(s.test(i)||u.test(i)&&!a.test(i))&&(n=i)}return s=P,u=d,s.test(n)&&u.test(n)&&(s=y,n=n.replace(s,"")),"y"==r&&(n=r.toLowerCase()+n.substr(1)),n};return z}(),t.Pipeline.registerFunction(t.stemmer,"stemmer"),t.stopWordFilter=function(e){return e&&t.stopWordFilter.stopWords[e]!==!0?e:void 0},t.clearStopWords=function(){t.stopWordFilter.stopWords={}},t.addStopWords=function(e){null!=e&&Array.isArray(e)!==!1&&e.forEach(function(e){t.stopWordFilter.stopWords[e]=!0},this)},t.resetStopWords=function(){t.stopWordFilter.stopWords=t.defaultStopWords},t.defaultStopWords={"":!0,a:!0,able:!0,about:!0,across:!0,after:!0,all:!0,almost:!0,also:!0,am:!0,among:!0,an:!0,and:!0,any:!0,are:!0,as:!0,at:!0,be:!0,because:!0,been:!0,but:!0,by:!0,can:!0,cannot:!0,could:!0,dear:!0,did:!0,"do":!0,does:!0,either:!0,"else":!0,ever:!0,every:!0,"for":!0,from:!0,get:!0,got:!0,had:!0,has:!0,have:!0,he:!0,her:!0,hers:!0,him:!0,his:!0,how:!0,however:!0,i:!0,"if":!0,"in":!0,into:!0,is:!0,it:!0,its:!0,just:!0,least:!0,let:!0,like:!0,likely:!0,may:!0,me:!0,might:!0,most:!0,must:!0,my:!0,neither:!0,no:!0,nor:!0,not:!0,of:!0,off:!0,often:!0,on:!0,only:!0,or:!0,other:!0,our:!0,own:!0,rather:!0,said:!0,say:!0,says:!0,she:!0,should:!0,since:!0,so:!0,some:!0,than:!0,that:!0,the:!0,their:!0,them:!0,then:!0,there:!0,these:!0,they:!0,"this":!0,tis:!0,to:!0,too:!0,twas:!0,us:!0,wants:!0,was:!0,we:!0,were:!0,what:!0,when:!0,where:!0,which:!0,"while":!0,who:!0,whom:!0,why:!0,will:!0,"with":!0,would:!0,yet:!0,you:!0,your:!0},t.stopWordFilter.stopWords=t.defaultStopWords,t.Pipeline.registerFunction(t.stopWordFilter,"stopWordFilter"),t.trimmer=function(e){if(null===e||void 0===e)throw new Error("token should not be undefined");return e.replace(/^\W+/,"").replace(/\W+$/,"")},t.Pipeline.registerFunction(t.trimmer,"trimmer"),t.InvertedIndex=function(){this.root={docs:{},df:0}},t.InvertedIndex.load=function(e){var t=new this;return t.root=e.root,t},t.InvertedIndex.prototype.addToken=function(e,t,n){for(var n=n||this.root,i=0;i<=e.length-1;){var o=e[i];o in n||(n[o]={docs:{},df:0}),i+=1,n=n[o]}var r=t.ref;n.docs[r]?n.docs[r]={tf:t.tf}:(n.docs[r]={tf:t.tf},n.df+=1)},t.InvertedIndex.prototype.hasToken=function(e){if(!e)return!1;for(var t=this.root,n=0;n<e.length;n++){if(!t[e[n]])return!1;t=t[e[n]]}return!0},t.InvertedIndex.prototype.getNode=function(e){if(!e)return null;for(var t=this.root,n=0;n<e.length;n++){if(!t[e[n]])return null;t=t[e[n]]}return t},t.InvertedIndex.prototype.getDocs=function(e){var t=this.getNode(e);return null==t?{}:t.docs},t.InvertedIndex.prototype.getTermFrequency=function(e,t){var n=this.getNode(e);return null==n?0:t in n.docs?n.docs[t].tf:0},t.InvertedIndex.prototype.getDocFreq=function(e){var t=this.getNode(e);return null==t?0:t.df},t.InvertedIndex.prototype.removeToken=function(e,t){if(e){var n=this.getNode(e);null!=n&&t in n.docs&&(delete n.docs[t],n.df-=1)}},t.InvertedIndex.prototype.expandToken=function(e,t,n){if(null==e||""==e)return[];var t=t||[];if(void 0==n&&(n=this.getNode(e),null==n))return t;n.df>0&&t.push(e);for(var i in n)"docs"!==i&&"df"!==i&&this.expandToken(e+i,t,n[i]);return t},t.InvertedIndex.prototype.toJSON=function(){return{root:this.root}},t.Configuration=function(e,n){var e=e||"";if(void 0==n||null==n)throw new Error("fields should not be null");this.config={};var i;try{i=JSON.parse(e),this.buildUserConfig(i,n)}catch(o){t.utils.warn("user configuration parse failed, will use default configuration"),this.buildDefaultConfig(n)}},t.Configuration.prototype.buildDefaultConfig=function(e){this.reset(),e.forEach(function(e){this.config[e]={boost:1,bool:"OR",expand:!1}},this)},t.Configuration.prototype.buildUserConfig=function(e,n){var i="OR",o=!1;if(this.reset(),"bool"in e&&(i=e.bool||i),"expand"in e&&(o=e.expand||o),"fields"in e)for(var r in e.fields)if(n.indexOf(r)>-1){var s=e.fields[r],u=o;void 0!=s.expand&&(u=s.expand),this.config[r]={boost:s.boost||0===s.boost?s.boost:1,bool:s.bool||i,expand:u}}else t.utils.warn("field name in user configuration not found in index instance fields");else this.addAllFields2UserConfig(i,o,n)},t.Configuration.prototype.addAllFields2UserConfig=function(e,t,n){n.forEach(function(n){this.config[n]={boost:1,bool:e,expand:t}},this)},t.Configuration.prototype.get=function(){return this.config},t.Configuration.prototype.reset=function(){this.config={}},lunr.SortedSet=function(){this.length=0,this.elements=[]},lunr.SortedSet.load=function(e){var t=new this;return t.elements=e,t.length=e.length,t},lunr.SortedSet.prototype.add=function(){var e,t;for(e=0;e<arguments.length;e++)t=arguments[e],~this.indexOf(t)||this.elements.splice(this.locationFor(t),0,t);this.length=this.elements.length},lunr.SortedSet.prototype.toArray=function(){return this.elements.slice()},lunr.SortedSet.prototype.map=function(e,t){return this.elements.map(e,t)},lunr.SortedSet.prototype.forEach=function(e,t){return this.elements.forEach(e,t)},lunr.SortedSet.prototype.indexOf=function(e){for(var t=0,n=this.elements.length,i=n-t,o=t+Math.floor(i/2),r=this.elements[o];i>1;){if(r===e)return o;e>r&&(t=o),r>e&&(n=o),i=n-t,o=t+Math.floor(i/2),r=this.elements[o]}return r===e?o:-1},lunr.SortedSet.prototype.locationFor=function(e){for(var t=0,n=this.elements.length,i=n-t,o=t+Math.floor(i/2),r=this.elements[o];i>1;)e>r&&(t=o),r>e&&(n=o),i=n-t,o=t+Math.floor(i/2),r=this.elements[o];return r>e?o:e>r?o+1:void 0},lunr.SortedSet.prototype.intersect=function(e){for(var t=new lunr.SortedSet,n=0,i=0,o=this.length,r=e.length,s=this.elements,u=e.elements;;){if(n>o-1||i>r-1)break;s[n]!==u[i]?s[n]<u[i]?n++:s[n]>u[i]&&i++:(t.add(s[n]),n++,i++)}return t},lunr.SortedSet.prototype.clone=function(){var e=new lunr.SortedSet;return e.elements=this.toArray(),e.length=e.elements.length,e},lunr.SortedSet.prototype.union=function(e){var t,n,i;this.length>=e.length?(t=this,n=e):(t=e,n=this),i=t.clone();for(var o=0,r=n.toArray();o<r.length;o++)i.add(r[o]);return i},lunr.SortedSet.prototype.toJSON=function(){return this.toArray()},function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.elasticlunr=t()}(this,function(){return t})}(); diff --git a/static/elasticlunr_search.min.js b/static/elasticlunr_search.min.js new file mode 100644 index 0000000..0a654cd --- /dev/null +++ b/static/elasticlunr_search.min.js @@ -0,0 +1 @@ +function closeSearchNow(){const e=document.querySelector("main");e.innerHTML=window.main}function goSearchNow(){const e=document.querySelector("main");window.main||(window.main=e.innerHTML);var t=document.getElementById("suggestions"),n=t.cloneNode(!0),o=(n.id="results",document.createElement("div")),i='<form name="closeSearch"><h2><button type="submit" title="Close Search"><i class="svgs x"></i></button> Results For: '.concat(document.getElementById("userinput").value,"</h2></form>");return o.innerHTML=i,n.insertBefore(o,n.firstChild),e.innerHTML=n.outerHTML,t.innerHTML="",document.getElementById("userinput").value="",!1}!function(){function m(e){var t=new m.Index;return t.pipeline.add(m.trimmer,m.stopWordFilter,m.stemmer),e&&e.call(t,t),t}var a,c,e,t,d,h,f,p,g,y,v,S,x,w,b,I,E,F,D,k,C,_,N,P,n;m.version="0.9.5",((lunr=m).utils={}).warn=(n=this,function(e){n.console&&console.warn&&console.warn(e)}),m.utils.toString=function(e){return null==e?"":e.toString()},(m.EventEmitter=function(){this.events={}}).prototype.addListener=function(){var e=Array.prototype.slice.call(arguments),t=e.pop();if("function"!=typeof t)throw new TypeError("last argument must be a function");e.forEach(function(e){this.hasHandler(e)||(this.events[e]=[]),this.events[e].push(t)},this)},m.EventEmitter.prototype.removeListener=function(e,t){this.hasHandler(e)&&-1!==(t=this.events[e].indexOf(t))&&(this.events[e].splice(t,1),0==this.events[e].length&&delete this.events[e])},m.EventEmitter.prototype.emit=function(e){var t;this.hasHandler(e)&&(t=Array.prototype.slice.call(arguments,1),this.events[e].forEach(function(e){e.apply(void 0,t)},this))},m.EventEmitter.prototype.hasHandler=function(e){return e in this.events},(m.tokenizer=function(e){return arguments.length&&null!=e?Array.isArray(e)?(t=(t=e.filter(function(e){return null!=e})).map(function(e){return m.utils.toString(e).toLowerCase()}),n=[],t.forEach(function(e){e=e.split(m.tokenizer.seperator);n=n.concat(e)},this),n):e.toString().trim().toLowerCase().split(m.tokenizer.seperator):[];var t,n}).defaultSeperator=/[\s\-]+/,m.tokenizer.seperator=m.tokenizer.defaultSeperator,m.tokenizer.setSeperator=function(e){null!=e&&"object"==typeof e&&(m.tokenizer.seperator=e)},m.tokenizer.resetSeperator=function(){m.tokenizer.seperator=m.tokenizer.defaultSeperator},m.tokenizer.getSeperator=function(){return m.tokenizer.seperator},(m.Pipeline=function(){this._queue=[]}).registeredFunctions={},m.Pipeline.registerFunction=function(e,t){t in m.Pipeline.registeredFunctions&&m.utils.warn("Overwriting existing registered function: "+t),e.label=t,m.Pipeline.registeredFunctions[t]=e},m.Pipeline.getRegisteredFunction=function(e){return e in m.Pipeline.registeredFunctions!=1?null:m.Pipeline.registeredFunctions[e]},m.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||m.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},m.Pipeline.load=function(e){var n=new m.Pipeline;return e.forEach(function(e){var t=m.Pipeline.getRegisteredFunction(e);if(!t)throw new Error("Cannot load un-registered function: "+e);n.add(t)}),n},m.Pipeline.prototype.add=function(){Array.prototype.slice.call(arguments).forEach(function(e){m.Pipeline.warnIfFunctionNotRegistered(e),this._queue.push(e)},this)},m.Pipeline.prototype.after=function(e,t){m.Pipeline.warnIfFunctionNotRegistered(t);e=this._queue.indexOf(e);if(-1===e)throw new Error("Cannot find existingFn");this._queue.splice(e+1,0,t)},m.Pipeline.prototype.before=function(e,t){m.Pipeline.warnIfFunctionNotRegistered(t);e=this._queue.indexOf(e);if(-1===e)throw new Error("Cannot find existingFn");this._queue.splice(e,0,t)},m.Pipeline.prototype.remove=function(e){e=this._queue.indexOf(e);-1!==e&&this._queue.splice(e,1)},m.Pipeline.prototype.run=function(e){for(var t=[],n=e.length,o=this._queue.length,i=0;i<n;i++){for(var r=e[i],s=0;s<o&&null!=(r=this._queue[s](r,i,e));s++);null!=r&&t.push(r)}return t},m.Pipeline.prototype.reset=function(){this._queue=[]},m.Pipeline.prototype.get=function(){return this._queue},m.Pipeline.prototype.toJSON=function(){return this._queue.map(function(e){return m.Pipeline.warnIfFunctionNotRegistered(e),e.label})},(m.Index=function(){this._fields=[],this._ref="id",this.pipeline=new m.Pipeline,this.documentStore=new m.DocumentStore,this.index={},this.eventEmitter=new m.EventEmitter,this._idfCache={},this.on("add","remove","update",function(){this._idfCache={}}.bind(this))}).prototype.on=function(){var e=Array.prototype.slice.call(arguments);return this.eventEmitter.addListener.apply(this.eventEmitter,e)},m.Index.prototype.off=function(e,t){return this.eventEmitter.removeListener(e,t)},m.Index.load=function(e){e.version!==m.version&&m.utils.warn("version mismatch: current "+m.version+" importing "+e.version);var t,n=new this;for(t in n._fields=e.fields,n._ref=e.ref,n.documentStore=m.DocumentStore.load(e.documentStore),n.pipeline=m.Pipeline.load(e.pipeline),n.index={},e.index)n.index[t]=m.InvertedIndex.load(e.index[t]);return n},m.Index.prototype.addField=function(e){return this._fields.push(e),this.index[e]=new m.InvertedIndex,this},m.Index.prototype.setRef=function(e){return this._ref=e,this},m.Index.prototype.saveDocument=function(e){return this.documentStore=new m.DocumentStore(e),this},m.Index.prototype.addDoc=function(r,e){var s;r&&(e=void 0===e||e,s=r[this._ref],this.documentStore.addDoc(s,r),this._fields.forEach(function(e){var t,n=this.pipeline.run(m.tokenizer(r[e])),o=(this.documentStore.addFieldLength(s,e,n.length),{});for(t in n.forEach(function(e){e in o?o[e]+=1:o[e]=1},this),o){var i=o[t],i=Math.sqrt(i);this.index[e].addToken(t,{ref:s,tf:i})}},this),e&&this.eventEmitter.emit("add",r,this))},m.Index.prototype.removeDocByRef=function(e){e&&!1!==this.documentStore.isDocStored()&&this.documentStore.hasDoc(e)&&(e=this.documentStore.getDoc(e),this.removeDoc(e,!1))},m.Index.prototype.removeDoc=function(e,t){var n;e&&(t=void 0===t||t,n=e[this._ref],this.documentStore.hasDoc(n)&&(this.documentStore.removeDoc(n),this._fields.forEach(function(t){this.pipeline.run(m.tokenizer(e[t])).forEach(function(e){this.index[t].removeToken(e,n)},this)},this),t&&this.eventEmitter.emit("remove",e,this)))},m.Index.prototype.updateDoc=function(e,t){t=void 0===t||t;this.removeDocByRef(e[this._ref],!1),this.addDoc(e,!1),t&&this.eventEmitter.emit("update",e,this)},m.Index.prototype.idf=function(e,t){var n="@"+t+"/"+e;if(Object.prototype.hasOwnProperty.call(this._idfCache,n))return this._idfCache[n];t=this.index[t].getDocFreq(e),e=1+Math.log(this.documentStore.length/(t+1));return this._idfCache[n]=e},m.Index.prototype.getFields=function(){return this._fields.slice()},m.Index.prototype.search=function(e,t){if(!e)return[];e="string"==typeof e?{any:e}:JSON.parse(JSON.stringify(e));var n=null;null!=t&&(n=JSON.stringify(t));for(var o=new m.Configuration(n,this.getFields()).get(),i={},r=Object.keys(e),s=0;s<r.length;s++){var u=r[s];i[u]=this.pipeline.run(m.tokenizer(e[u]))}var l,a={};for(l in o){var c=i[l]||i.any;if(c){var d=this.fieldSearch(c,l,o),h=o[l].boost;for(p in d)d[p]=d[p]*h;for(p in d)p in a?a[p]+=d[p]:a[p]=d[p]}}var f,p,g=[];for(p in a)f={ref:p,score:a[p]},this.documentStore.hasDoc(p)&&(f.doc=this.documentStore.getDoc(p)),g.push(f);return g.sort(function(e,t){return t.score-e.score}),g},m.Index.prototype.fieldSearch=function(e,d,t){var h=t[d].bool,n=t[d].expand,t=t[d].boost,f=null,p={};return 0!==t?(e.forEach(function(a){var e=[a],c=(1==n&&(e=this.index[d].expandToken(a)),{});e.forEach(function(e){var t=this.index[d].getDocs(e),n=this.idf(e,d);if(f&&"AND"==h){var o,i={};for(o in f)o in t&&(i[o]=t[o]);t=i}for(o in e==a&&this.fieldSearchStats(p,e,t),t){var r=this.index[d].getTermFrequency(e,o),s=this.documentStore.getFieldLength(o,d),u=1,l=1,r=r*n*(u=0!=s?1/Math.sqrt(s):u)*(l=e!=a?.15*(1-(e.length-a.length)/e.length):l);o in c?c[o]+=r:c[o]=r}},this),f=this.mergeScores(f,c,h)},this),f=this.coordNorm(f,p,e.length)):void 0},m.Index.prototype.mergeScores=function(e,t,n){if(!e)return t;if("AND"==n){var o={};for(i in t)i in e&&(o[i]=e[i]+t[i]);return o}for(var i in t)i in e?e[i]+=t[i]:e[i]=t[i];return e},m.Index.prototype.fieldSearchStats=function(e,t,n){for(var o in n)o in e?e[o].push(t):e[o]=[t]},m.Index.prototype.coordNorm=function(e,t,n){for(var o in e){var i;o in t&&(i=t[o].length,e[o]=e[o]*i/n)}return e},m.Index.prototype.toJSON=function(){var t={};return this._fields.forEach(function(e){t[e]=this.index[e].toJSON()},this),{version:m.version,fields:this._fields,ref:this._ref,documentStore:this.documentStore.toJSON(),index:t,pipeline:this.pipeline.toJSON()}},m.Index.prototype.use=function(e){var t=Array.prototype.slice.call(arguments,1);t.unshift(this),e.apply(this,t)},(m.DocumentStore=function(e){this._save=null==e||e,this.docs={},this.docInfo={},this.length=0}).load=function(e){var t=new this;return t.length=e.length,t.docs=e.docs,t.docInfo=e.docInfo,t._save=e.save,t},m.DocumentStore.prototype.isDocStored=function(){return this._save},m.DocumentStore.prototype.addDoc=function(e,t){this.hasDoc(e)||this.length++,this.docs[e]=!0===this._save?function(e){if(null===e||"object"!=typeof e)return e;var t,n=e.constructor();for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}(t):null},m.DocumentStore.prototype.getDoc=function(e){return!1===this.hasDoc(e)?null:this.docs[e]},m.DocumentStore.prototype.hasDoc=function(e){return e in this.docs},m.DocumentStore.prototype.removeDoc=function(e){this.hasDoc(e)&&(delete this.docs[e],delete this.docInfo[e],this.length--)},m.DocumentStore.prototype.addFieldLength=function(e,t,n){null!=e&&0!=this.hasDoc(e)&&(this.docInfo[e]||(this.docInfo[e]={}),this.docInfo[e][t]=n)},m.DocumentStore.prototype.updateFieldLength=function(e,t,n){null!=e&&0!=this.hasDoc(e)&&this.addFieldLength(e,t,n)},m.DocumentStore.prototype.getFieldLength=function(e,t){return null!=e&&e in this.docs&&t in this.docInfo[e]?this.docInfo[e][t]:0},m.DocumentStore.prototype.toJSON=function(){return{docs:this.docs,docInfo:this.docInfo,length:this.length,save:this._save}},a={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},c={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},e="[aeiouy]",t="[^aeiou][^aeiouy]*",d=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*"),h=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*[aeiouy][aeiou]*[^aeiou][^aeiouy]*"),f=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*([aeiouy][aeiou]*)?$"),p=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy]"),g=/^(.+?)(ss|i)es$/,y=/^(.+?)([^s])s$/,v=/^(.+?)eed$/,S=/^(.+?)(ed|ing)$/,x=/.$/,w=/(at|bl|iz)$/,b=new RegExp("([^aeiouylsz])\\1$"),I=new RegExp("^"+t+e+"[^aeiouwxy]$"),E=/^(.+?[^aeiou])y$/,F=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,D=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,k=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,C=/^(.+?)(s|t)(ion)$/,_=/^(.+?)e$/,N=/ll$/,P=new RegExp("^"+t+e+"[^aeiouwxy]$"),m.Pipeline.registerFunction(m.stemmer=function(e){var t,n,o,i,r,s,u,l;return e.length<3?e:("y"==(n=e.substr(0,1))&&(e=n.toUpperCase()+e.substr(1)),u=y,(r=g).test(e)?e=e.replace(r,"$1$2"):u.test(e)&&(e=e.replace(u,"$1$2")),u=S,(r=v).test(e)?(l=r.exec(e),(r=d).test(l[1])&&(e=e.replace(r=x,""))):u.test(e)&&(s=(l=u.exec(e))[1],(u=p).test(s)&&(e=s,o=b,i=I,(u=w).test(e)?e+="e":o.test(e)?e=e.replace(r=x,""):i.test(e)&&(e+="e"))),(r=E).test(e)&&(e=(s=(l=r.exec(e))[1])+"i"),(r=F).test(e)&&(s=(l=r.exec(e))[1],t=l[2],(r=d).test(s)&&(e=s+a[t])),(r=D).test(e)&&(s=(l=r.exec(e))[1],t=l[2],(r=d).test(s)&&(e=s+c[t])),u=C,(r=k).test(e)?(s=(l=r.exec(e))[1],(r=h).test(s)&&(e=s)):u.test(e)&&(s=(l=u.exec(e))[1]+l[2],(u=h).test(s)&&(e=s)),(r=_).test(e)&&(s=(l=r.exec(e))[1],u=f,o=P,((r=h).test(s)||u.test(s)&&!o.test(s))&&(e=s)),u=h,(r=N).test(e)&&u.test(e)&&(e=e.replace(r=x,"")),"y"==n?n.toLowerCase()+e.substr(1):e)},"stemmer"),m.stopWordFilter=function(e){return e&&!0!==m.stopWordFilter.stopWords[e]?e:void 0},m.clearStopWords=function(){m.stopWordFilter.stopWords={}},m.addStopWords=function(e){null!=e&&!1!==Array.isArray(e)&&e.forEach(function(e){m.stopWordFilter.stopWords[e]=!0},this)},m.resetStopWords=function(){m.stopWordFilter.stopWords=m.defaultStopWords},m.stopWordFilter.stopWords=m.defaultStopWords={"":!0,a:!0,able:!0,about:!0,across:!0,after:!0,all:!0,almost:!0,also:!0,am:!0,among:!0,an:!0,and:!0,any:!0,are:!0,as:!0,at:!0,be:!0,because:!0,been:!0,but:!0,by:!0,can:!0,cannot:!0,could:!0,dear:!0,did:!0,do:!0,does:!0,either:!0,else:!0,ever:!0,every:!0,for:!0,from:!0,get:!0,got:!0,had:!0,has:!0,have:!0,he:!0,her:!0,hers:!0,him:!0,his:!0,how:!0,however:!0,i:!0,if:!0,in:!0,into:!0,is:!0,it:!0,its:!0,just:!0,least:!0,let:!0,like:!0,likely:!0,may:!0,me:!0,might:!0,most:!0,must:!0,my:!0,neither:!0,no:!0,nor:!0,not:!0,of:!0,off:!0,often:!0,on:!0,only:!0,or:!0,other:!0,our:!0,own:!0,rather:!0,said:!0,say:!0,says:!0,she:!0,should:!0,since:!0,so:!0,some:!0,than:!0,that:!0,the:!0,their:!0,them:!0,then:!0,there:!0,these:!0,they:!0,this:!0,tis:!0,to:!0,too:!0,twas:!0,us:!0,wants:!0,was:!0,we:!0,were:!0,what:!0,when:!0,where:!0,which:!0,while:!0,who:!0,whom:!0,why:!0,will:!0,with:!0,would:!0,yet:!0,you:!0,your:!0},m.Pipeline.registerFunction(m.stopWordFilter,"stopWordFilter"),m.Pipeline.registerFunction(m.trimmer=function(e){if(null==e)throw new Error("token should not be undefined");return e.replace(/^\W+/,"").replace(/\W+$/,"")},"trimmer"),(m.InvertedIndex=function(){this.root={docs:{},df:0}}).load=function(e){var t=new this;return t.root=e.root,t},m.InvertedIndex.prototype.addToken=function(e,t,n){for(var n=n||this.root,o=0;o<=e.length-1;){var i=e[o];i in n||(n[i]={docs:{},df:0}),o+=1,n=n[i]}var r=t.ref;n.docs[r]?n.docs[r]={tf:t.tf}:(n.docs[r]={tf:t.tf},n.df+=1)},m.InvertedIndex.prototype.hasToken=function(e){if(!e)return!1;for(var t=this.root,n=0;n<e.length;n++){if(!t[e[n]])return!1;t=t[e[n]]}return!0},m.InvertedIndex.prototype.getNode=function(e){if(!e)return null;for(var t=this.root,n=0;n<e.length;n++){if(!t[e[n]])return null;t=t[e[n]]}return t},m.InvertedIndex.prototype.getDocs=function(e){e=this.getNode(e);return null==e?{}:e.docs},m.InvertedIndex.prototype.getTermFrequency=function(e,t){e=this.getNode(e);return null!=e&&t in e.docs?e.docs[t].tf:0},m.InvertedIndex.prototype.getDocFreq=function(e){e=this.getNode(e);return null==e?0:e.df},m.InvertedIndex.prototype.removeToken=function(e,t){e&&null!=(e=this.getNode(e))&&t in e.docs&&(delete e.docs[t],--e.df)},m.InvertedIndex.prototype.expandToken=function(e,t,n){if(null==e||""==e)return[];var o,t=t||[];if(null==n&&null==(n=this.getNode(e)))return t;for(o in 0<n.df&&t.push(e),n)"docs"!==o&&"df"!==o&&this.expandToken(e+o,t,n[o]);return t},m.InvertedIndex.prototype.toJSON=function(){return{root:this.root}},(m.Configuration=function(e,t){var n,e=e||"";if(null==t)throw new Error("fields should not be null");this.config={};try{n=JSON.parse(e),this.buildUserConfig(n,t)}catch(e){m.utils.warn("user configuration parse failed, will use default configuration"),this.buildDefaultConfig(t)}}).prototype.buildDefaultConfig=function(e){this.reset(),e.forEach(function(e){this.config[e]={boost:1,bool:"OR",expand:!1}},this)},m.Configuration.prototype.buildUserConfig=function(e,t){var n,o,i="OR",r=!1;if(this.reset(),"bool"in e&&(i=e.bool||i),"expand"in e&&(r=e.expand||r),"fields"in e)for(var s in e.fields)-1<t.indexOf(s)?(o=r,null!=(n=e.fields[s]).expand&&(o=n.expand),this.config[s]={boost:n.boost||0===n.boost?n.boost:1,bool:n.bool||i,expand:o}):m.utils.warn("field name in user configuration not found in index instance fields");else this.addAllFields2UserConfig(i,r,t)},m.Configuration.prototype.addAllFields2UserConfig=function(t,n,e){e.forEach(function(e){this.config[e]={boost:1,bool:t,expand:n}},this)},m.Configuration.prototype.get=function(){return this.config},m.Configuration.prototype.reset=function(){this.config={}},lunr.SortedSet=function(){this.length=0,this.elements=[]},lunr.SortedSet.load=function(e){var t=new this;return t.elements=e,t.length=e.length,t},lunr.SortedSet.prototype.add=function(){for(var e,t=0;t<arguments.length;t++)~this.indexOf(e=arguments[t])||this.elements.splice(this.locationFor(e),0,e);this.length=this.elements.length},lunr.SortedSet.prototype.toArray=function(){return this.elements.slice()},lunr.SortedSet.prototype.map=function(e,t){return this.elements.map(e,t)},lunr.SortedSet.prototype.forEach=function(e,t){return this.elements.forEach(e,t)},lunr.SortedSet.prototype.indexOf=function(e){for(var t=0,n=this.elements.length,o=n-t,i=t+Math.floor(o/2),r=this.elements[i];1<o;){if(r===e)return i;o=(n=e<r?i:n)-(t=r<e?i:t),i=t+Math.floor(o/2),r=this.elements[i]}return r===e?i:-1},lunr.SortedSet.prototype.locationFor=function(e){for(var t=0,n=this.elements.length,o=n-t,i=t+Math.floor(o/2),r=this.elements[i];1<o;)o=(n=e<r?i:n)-(t=r<e?i:t),i=t+Math.floor(o/2),r=this.elements[i];return e<r?i:r<e?i+1:void 0},lunr.SortedSet.prototype.intersect=function(e){for(var t=new lunr.SortedSet,n=0,o=0,i=this.length,r=e.length,s=this.elements,u=e.elements;!(i-1<n||r-1<o);)s[n]!==u[o]?s[n]<u[o]?n++:s[n]>u[o]&&o++:(t.add(s[n]),n++,o++);return t},lunr.SortedSet.prototype.clone=function(){var e=new lunr.SortedSet;return e.elements=this.toArray(),e.length=e.elements.length,e},lunr.SortedSet.prototype.union=function(e){for(var t,e=this.length>=e.length?(t=this,e):(t=e,this),n=t.clone(),o=0,i=e.toArray();o<i.length;o++)n.add(i[o]);return n},lunr.SortedSet.prototype.toJSON=function(){return this.toArray()},t=this,e=function(){return m},"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=m:t.elasticlunr=m}(),window.onload=function(){document.body.contains(document.goSearch)&&(document.goSearch.onsubmit=function(){return goSearchNow()}),document.body.contains(document.closeSearch)&&(document.closeSearch.onsubmit=function(){closeSearchNow()})};var suggestions=document.getElementById("suggestions"),userinput=document.getElementById("userinput");function inputFocus(e){191===e.keyCode&&"INPUT"!==document.activeElement.tagName&&"TEXTAREA"!==document.activeElement.tagName&&(e.preventDefault(),userinput.focus()),27===e.keyCode&&(userinput.blur(),suggestions.classList.add("d-none"))}function suggestionFocus(t){const n=suggestions.querySelectorAll("a");if(!suggestions.classList.contains("d-none")&&0!==n.length){const i=[...n];var o=i.indexOf(document.activeElement);let e=0;38===t.keyCode?(t.preventDefault(),e=0<o?o-1:0,n[e].focus()):40===t.keyCode&&(t.preventDefault(),e=o+1<i.length?o+1:o,n[e].focus())}}function substringByByte(e,t){for(var n="",o=!1,i=0,r=0,s=0,u=0;u<e.length;u++){var l=e.codePointAt(u).toString(16);if(o=4<l.length&&++u+1<e.length?"200d"==e.codePointAt(u+1).toString(16):o){if(i+=getByteByHex(l),u==e.length-1){if(!((r+=i)<=t))break;n+=e.substr(s,u-s+1)}}else if(0!=i){if(!((r=(r+=i)+getByteByHex(l))<=t))break;n+=e.substr(s,u-s+1),s=u+1,i=0}else{if(!((r+=getByteByHex(l))<=t))break;l.length<=4?n+=e[u]:n+=e[u-1]+e[u],s=u+1}}return n}function getByteByBinary(e){return[0,1,2,3,4][Math.ceil(e.length/8)]}function getByteByHex(e){return getByteByBinary(parseInt(e,16).toString(2))}document.addEventListener("keydown",inputFocus),document.addEventListener("click",function(e){suggestions.contains(e.target)||suggestions.classList.add("d-none")}),document.addEventListener("keydown",suggestionFocus),function(){var u=elasticlunr.Index.load(window.searchIndex);userinput.addEventListener("input",function(){var n,e=this.value.trim(),o=u.search(e,{bool:"OR",fields:{title:{boost:2},body:{boost:1}}}),i=suggestions.childNodes,r=o.length,s=e.split(/\s+/);suggestions.classList.remove("d-none"),o.forEach(function(e){""!==e.doc.body&&((n=document.createElement("div")).innerHTML="<a href><span></span><span></span></a>",a=n.querySelector("a"),t=n.querySelector("span:first-child"),d=n.querySelector("span:nth-child(2)"),a.href=e.ref,t.textContent=e.doc.title,d.innerHTML=function(e,t){var n=t.map(function(e){return elasticlunr.stemmer(e.toLowerCase())}),o=!1,i=0,r=[],s=e.toLowerCase().split(". ");for(p in s){var u,l=s[p].split(/[\s\n]/),a=8;for(u in l){if(0<(x=l[u]).length){for(var c in n)elasticlunr.stemmer(x).startsWith(n[c])&&(a=40,o=!0);r.push([x,a,i]),a=2}i=i+x.length+1}i+=1}if(0===r.length)return void 0!==e.length&&300<e.length?e.substring(0,300)+"...":e;for(var d=[],h=Math.min(r.length,30),f=0,p=0;p<h;p++)f+=r[p][1];d.push(f);for(p=0;p<r.length-h;p++)f=(f-=r[p][1])+r[p+h][1],d.push(f);var g=0;if(o)for(var m=0,p=d.length-1;0<=p;p--)d[p]>m&&(m=d[p],g=p);for(var y=[],v=r[g][2],p=g;p<g+h;p++){var S,x=r[p];v<x[2]&&(y.push(e.substring(v,x[2])),v=x[2]),40===x[1]&&y.push("<b>"),v=x[2]+x[0].length;40!==x[1]&&12<=x[0].length&&!/^[\x00-\xff]+$/.test(x[0])?(S=substringByByte(e.substring(x[2],v),12),y.push(S)):y.push(e.substring(x[2],v)),40===x[1]&&y.push("</b>")}return y.push("…"),y.join("")}(e.doc.body,s),suggestions.appendChild(n))});for(;i.length>r;)suggestions.removeChild(i[0])},!0),suggestions.addEventListener("click",function(){for(;suggestions.lastChild;)suggestions.removeChild(suggestions.lastChild);return!1},!0)}();
\ No newline at end of file diff --git a/static/favicon-16x16.png b/static/favicon-16x16.png Binary files differindex fbe79ae..6463bec 100644 --- a/static/favicon-16x16.png +++ b/static/favicon-16x16.png diff --git a/static/favicon-32x32.png b/static/favicon-32x32.png Binary files differindex 248aba2..e68ac3c 100644 --- a/static/favicon-32x32.png +++ b/static/favicon-32x32.png diff --git a/static/favicon.ico b/static/favicon.ico Binary files differindex 43e6530..4f9000b 100644 --- a/static/favicon.ico +++ b/static/favicon.ico diff --git a/static/katexoptions.js b/static/katexoptions.js new file mode 100644 index 0000000..b4fa30c --- /dev/null +++ b/static/katexoptions.js @@ -0,0 +1,3 @@ +!function(){ + document.addEventListener("DOMContentLoaded",function(){renderMathInElement(document.body,{delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\[",right:"\\]",display:!0}],throwOnError:!1})}); +}(); diff --git a/static/mstile-150x150.png b/static/mstile-150x150.png Binary files differindex f955741..41ce573 100644 --- a/static/mstile-150x150.png +++ b/static/mstile-150x150.png diff --git a/static/nojs.css b/static/nojs.css new file mode 100644 index 0000000..7e0ba6d --- /dev/null +++ b/static/nojs.css @@ -0,0 +1 @@ +.js{display:none}
\ No newline at end of file diff --git a/static/prestyle.js b/static/prestyle.js new file mode 100644 index 0000000..2516247 --- /dev/null +++ b/static/prestyle.js @@ -0,0 +1,4 @@ +const items = document.querySelectorAll('.preStyle'); +items.forEach(item => { + item.rel = 'stylesheet'; +}); diff --git a/static/search.js b/static/search.js new file mode 100644 index 0000000..e653d2b --- /dev/null +++ b/static/search.js @@ -0,0 +1,337 @@ +// in page results when press enter or click search icon from search box +function closeSearchNow() { + const main = document.querySelector("main"); + main.innerHTML = window.main; +} +function goSearchNow() { + const main = document.querySelector("main"); + if (!window.main) { + window.main = main.innerHTML + }; + var results = document.getElementById("suggestions");// suggestions div generated by search box + + var ResultsClone = results.cloneNode(true);// make a clone of the results, so that we can alter it + ResultsClone.id = "results";// alter the id of our clone, so that we can apply different css style + + var headerDiv = document.createElement("div");// create a div element + + var headerContent = '<form name="closeSearch"><h2><button type="submit" title="Close Search"><i class="svgs x"></i></button> Results For: '.concat(document.getElementById("userinput").value, "</h2></form>");// header to use at top of results page + + headerDiv.innerHTML = headerContent;// document element div (headerDiv), set the inner contents to our header html (headerContent) + + ResultsClone.insertBefore(headerDiv, ResultsClone.firstChild);//insert our header div at the top of the page + + main.innerHTML = ResultsClone.outerHTML;//display ResultsClone.outerHTML as the page + results.innerHTML = "";// clear the suggestions div popup + document.getElementById("userinput").value = "";// clear the search input box + + return false +} +window.onload = function() { + document.body.contains(document.goSearch) && (document.goSearch.onsubmit = function() { return goSearchNow() }), + document.body.contains(document.closeSearch) && (document.closeSearch.onsubmit = function() { closeSearchNow() }) +}; + +// Everything Below this line For Suggestsions as you type in search box +var suggestions = document.getElementById("suggestions"); +var userinput = document.getElementById("userinput"); + +function inputFocus(e) { + + if (e.keyCode === 191 + && document.activeElement.tagName !== "INPUT" + && document.activeElement.tagName !== "TEXTAREA") { + e.preventDefault(); + userinput.focus(); + } + + if (e.keyCode === 27 ) { + userinput.blur(); + suggestions.classList.add('d-none'); + } + +} + +function suggestionFocus(e) { + const focusableSuggestions= suggestions.querySelectorAll('a'); + if (suggestions.classList.contains('d-none') + || focusableSuggestions.length === 0) { + return; + } + const focusable= [...focusableSuggestions]; + const index = focusable.indexOf(document.activeElement); + + let nextIndex = 0; + + if (e.keyCode === 38) { + e.preventDefault(); + nextIndex= index > 0 ? index-1 : 0; + focusableSuggestions[nextIndex].focus(); + } + else if (e.keyCode === 40) { + e.preventDefault(); + nextIndex= index+1 < focusable.length ? index+1 : index; + focusableSuggestions[nextIndex].focus(); + } + +} + +document.addEventListener("keydown", inputFocus); +document.addEventListener("click", function(event) {suggestions.contains(event.target) || suggestions.classList.add("d-none")}); +document.addEventListener("keydown", suggestionFocus); + +// Get substring by bytes +// If using JavaScript inline substring method, it will return error codes +// Source: https://www.52pojie.cn/thread-1059814-1-1.html +function substringByByte(str, maxLength) { + var result = ""; + var flag = false; + var len = 0; + var length = 0; + var length2 = 0; + for (var i = 0; i < str.length; i++) { + var code = str.codePointAt(i).toString(16); + if (code.length > 4) { + i++; + if ((i + 1) < str.length) { + flag = str.codePointAt(i + 1).toString(16) == "200d"; + } + } + if (flag) { + len += getByteByHex(code); + if (i == str.length - 1) { + length += len; + if (length <= maxLength) { + result += str.substr(length2, i - length2 + 1); + } else { + break + } + } + } else { + if (len != 0) { + length += len; + length += getByteByHex(code); + if (length <= maxLength) { + result += str.substr(length2, i - length2 + 1); + length2 = i + 1; + } else { + break + } + len = 0; + continue; + } + length += getByteByHex(code); + if (length <= maxLength) { + if (code.length <= 4) { + result += str[i] + } else { + result += str[i - 1] + str[i] + } + length2 = i + 1; + } else { + break + } + } + } + return result; +} + +// Get the string bytes from binary +function getByteByBinary(binaryCode) { + // Binary system, starts with `0b` in ES6 + // Octal number system, starts with `0` in ES5 and starts with `0o` in ES6 + // Hexadecimal, starts with `0x` in both ES5 and ES6 + var byteLengthDatas = [0, 1, 2, 3, 4]; + var len = byteLengthDatas[Math.ceil(binaryCode.length / 8)]; + return len; +} + +// Get the string bytes from hexadecimal +function getByteByHex(hexCode) { + return getByteByBinary(parseInt(hexCode, 16).toString(2)); +} + +/* +Source: + - https://github.com/nextapps-de/flexsearch#index-documents-field-search + - https://raw.githack.com/nextapps-de/flexsearch/master/demo/autocomplete.html + - http://elasticlunr.com/ + - https://github.com/getzola/zola/blob/master/docs/static/search.js + - https://github.com/aaranxu/adidoks/blob/main/static/js/search.js +*/ +(function(){ + var index = elasticlunr.Index.load(window.searchIndex); + userinput.addEventListener('input', show_results, true); + suggestions.addEventListener('click', accept_suggestion, true); + + function show_results(){ + var value = this.value.trim(); + var options = { + bool: "OR", + fields: { + title: {boost: 2}, + body: {boost: 1}, + } + }; + var results = index.search(value, options); + + var entry, childs = suggestions.childNodes; + var i = 0, len = results.length; + var items = value.split(/\s+/); + suggestions.classList.remove('d-none'); + + results.forEach(function(page) { + if (page.doc.body !== '') { + entry = document.createElement('div'); + + entry.innerHTML = '<a href><span></span><span></span></a>'; + + a = entry.querySelector('a'), + t = entry.querySelector('span:first-child'), + d = entry.querySelector('span:nth-child(2)'); + a.href = page.ref; + t.textContent = page.doc.title; + d.innerHTML = makeTeaser(page.doc.body, items); + + suggestions.appendChild(entry); + } + }); + + while(childs.length > len){ + suggestions.removeChild(childs[i]) + } + + } + + function accept_suggestion(){ + + while(suggestions.lastChild){ + + suggestions.removeChild(suggestions.lastChild); + } + + return false; + } + + // Taken from mdbook + // The strategy is as follows: + // First, assign a value to each word in the document: + // Words that correspond to search terms (stemmer aware): 40 + // Normal words: 2 + // First word in a sentence: 8 + // Then use a sliding window with a constant number of words and count the + // sum of the values of the words within the window. Then use the window that got the + // maximum sum. If there are multiple maximas, then get the last one. + // Enclose the terms in <b>. + function makeTeaser(body, terms) { + var TERM_WEIGHT = 40; + var NORMAL_WORD_WEIGHT = 2; + var FIRST_WORD_WEIGHT = 8; + var TEASER_MAX_WORDS = 30; + + var stemmedTerms = terms.map(function (w) { + return elasticlunr.stemmer(w.toLowerCase()); + }); + var termFound = false; + var index = 0; + var weighted = []; // contains elements of ["word", weight, index_in_document] + + // split in sentences, then words + var sentences = body.toLowerCase().split(". "); + for (var i in sentences) { + var words = sentences[i].split(/[\s\n]/); + var value = FIRST_WORD_WEIGHT; + for (var j in words) { + + var word = words[j]; + + if (word.length > 0) { + for (var k in stemmedTerms) { + if (elasticlunr.stemmer(word).startsWith(stemmedTerms[k])) { + value = TERM_WEIGHT; + termFound = true; + } + } + weighted.push([word, value, index]); + value = NORMAL_WORD_WEIGHT; + } + + index += word.length; + index += 1; // ' ' or '.' if last word in sentence + } + + index += 1; // because we split at a two-char boundary '. ' + } + + if (weighted.length === 0) { + if (body.length !== undefined && body.length > TEASER_MAX_WORDS * 10) { + return body.substring(0, TEASER_MAX_WORDS * 10) + '...'; + } else { + return body; + } + } + + var windowWeights = []; + var windowSize = Math.min(weighted.length, TEASER_MAX_WORDS); + // We add a window with all the weights first + var curSum = 0; + for (var i = 0; i < windowSize; i++) { + curSum += weighted[i][1]; + } + windowWeights.push(curSum); + + for (var i = 0; i < weighted.length - windowSize; i++) { + curSum -= weighted[i][1]; + curSum += weighted[i + windowSize][1]; + windowWeights.push(curSum); + } + + // If we didn't find the term, just pick the first window + var maxSumIndex = 0; + if (termFound) { + var maxFound = 0; + // backwards + for (var i = windowWeights.length - 1; i >= 0; i--) { + if (windowWeights[i] > maxFound) { + maxFound = windowWeights[i]; + maxSumIndex = i; + } + } + } + + var teaser = []; + var startIndex = weighted[maxSumIndex][2]; + for (var i = maxSumIndex; i < maxSumIndex + windowSize; i++) { + var word = weighted[i]; + if (startIndex < word[2]) { + // missing text from index to start of `word` + teaser.push(body.substring(startIndex, word[2])); + startIndex = word[2]; + } + + // add <em/> around search terms + if (word[1] === TERM_WEIGHT) { + teaser.push("<b>"); + } + + startIndex = word[2] + word[0].length; + // Check the string is ascii characters or not + var re = /^[\x00-\xff]+$/ + if (word[1] !== TERM_WEIGHT && word[0].length >= 12 && !re.test(word[0])) { + // If the string's length is too long, it maybe a Chinese/Japance/Korean article + // if using substring method directly, it may occur error codes on emoji chars + var strBefor = body.substring(word[2], startIndex); + var strAfter = substringByByte(strBefor, 12); + teaser.push(strAfter); + } else { + teaser.push(body.substring(word[2], startIndex)); + } + + if (word[1] === TERM_WEIGHT) { + teaser.push("</b>"); + } + } + teaser.push("…"); + return teaser.join(""); + } +}()); diff --git a/static/search.min.js b/static/search.min.js index 03847dc..0a654cd 100644 --- a/static/search.min.js +++ b/static/search.min.js @@ -1 +1 @@ -function closeSearchNow(){const e=document.querySelector("main");e.innerHTML=window.main}function goSearchNow(){const e=document.querySelector("main");window.main||(window.main=e.innerHTML);var t=document.getElementById("suggestions"),n=((ResultsClone=t.cloneNode(!0)).id="results",document.createElement("div")),o='<form name="closeSearch"><h2><button type="submit" title="Close Search"><i class="svgs x"></i></button> Results For: '.concat(document.getElementById("userinput").value,"</h2></form>");return n.innerHTML=o,ResultsClone.insertBefore(n,ResultsClone.firstChild),e.innerHTML=ResultsClone.outerHTML,t.innerHTML="",document.getElementById("userinput").value="",!1}window.onload=function(){document.body.contains(document.goSearch)&&(document.goSearch.onsubmit=function(){return goSearchNow()}),document.body.contains(document.closeSearch)&&(document.closeSearch.onsubmit=function(){closeSearchNow()})},function(){function y(e){var t=new y.Index;return t.pipeline.add(y.trimmer,y.stopWordFilter,y.stemmer),e&&e.call(t,t),t}var a,c,e,t,d,h,f,p,g,m,v,S,x,w,b,I,E,F,D,C,k,_,N,P,n;y.version="0.9.5",((lunr=y).utils={}).warn=(n=this,function(e){n.console&&console.warn&&console.warn(e)}),y.utils.toString=function(e){return null==e?"":e.toString()},(y.EventEmitter=function(){this.events={}}).prototype.addListener=function(){var e=Array.prototype.slice.call(arguments),t=e.pop();if("function"!=typeof t)throw new TypeError("last argument must be a function");e.forEach(function(e){this.hasHandler(e)||(this.events[e]=[]),this.events[e].push(t)},this)},y.EventEmitter.prototype.removeListener=function(e,t){this.hasHandler(e)&&-1!==(t=this.events[e].indexOf(t))&&(this.events[e].splice(t,1),0==this.events[e].length&&delete this.events[e])},y.EventEmitter.prototype.emit=function(e){var t;this.hasHandler(e)&&(t=Array.prototype.slice.call(arguments,1),this.events[e].forEach(function(e){e.apply(void 0,t)},this))},y.EventEmitter.prototype.hasHandler=function(e){return e in this.events},(y.tokenizer=function(e){return arguments.length&&null!=e?Array.isArray(e)?(t=(t=e.filter(function(e){return null!=e})).map(function(e){return y.utils.toString(e).toLowerCase()}),n=[],t.forEach(function(e){e=e.split(y.tokenizer.seperator),n=n.concat(e)},this),n):e.toString().trim().toLowerCase().split(y.tokenizer.seperator):[];var t,n}).defaultSeperator=/[\s\-]+/,y.tokenizer.seperator=y.tokenizer.defaultSeperator,y.tokenizer.setSeperator=function(e){null!=e&&"object"==typeof e&&(y.tokenizer.seperator=e)},y.tokenizer.resetSeperator=function(){y.tokenizer.seperator=y.tokenizer.defaultSeperator},y.tokenizer.getSeperator=function(){return y.tokenizer.seperator},(y.Pipeline=function(){this._queue=[]}).registeredFunctions={},y.Pipeline.registerFunction=function(e,t){t in y.Pipeline.registeredFunctions&&y.utils.warn("Overwriting existing registered function: "+t),e.label=t,y.Pipeline.registeredFunctions[t]=e},y.Pipeline.getRegisteredFunction=function(e){return e in y.Pipeline.registeredFunctions!=1?null:y.Pipeline.registeredFunctions[e]},y.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||y.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},y.Pipeline.load=function(e){var n=new y.Pipeline;return e.forEach(function(e){var t=y.Pipeline.getRegisteredFunction(e);if(!t)throw new Error("Cannot load un-registered function: "+e);n.add(t)}),n},y.Pipeline.prototype.add=function(){Array.prototype.slice.call(arguments).forEach(function(e){y.Pipeline.warnIfFunctionNotRegistered(e),this._queue.push(e)},this)},y.Pipeline.prototype.after=function(e,t){if(y.Pipeline.warnIfFunctionNotRegistered(t),-1===(e=this._queue.indexOf(e)))throw new Error("Cannot find existingFn");this._queue.splice(e+1,0,t)},y.Pipeline.prototype.before=function(e,t){if(y.Pipeline.warnIfFunctionNotRegistered(t),-1===(e=this._queue.indexOf(e)))throw new Error("Cannot find existingFn");this._queue.splice(e,0,t)},y.Pipeline.prototype.remove=function(e){-1!==(e=this._queue.indexOf(e))&&this._queue.splice(e,1)},y.Pipeline.prototype.run=function(e){for(var t=[],n=e.length,o=this._queue.length,i=0;i<n;i++){for(var r=e[i],s=0;s<o&&null!=(r=this._queue[s](r,i,e));s++);null!=r&&t.push(r)}return t},y.Pipeline.prototype.reset=function(){this._queue=[]},y.Pipeline.prototype.get=function(){return this._queue},y.Pipeline.prototype.toJSON=function(){return this._queue.map(function(e){return y.Pipeline.warnIfFunctionNotRegistered(e),e.label})},(y.Index=function(){this._fields=[],this._ref="id",this.pipeline=new y.Pipeline,this.documentStore=new y.DocumentStore,this.index={},this.eventEmitter=new y.EventEmitter,this._idfCache={},this.on("add","remove","update",function(){this._idfCache={}}.bind(this))}).prototype.on=function(){var e=Array.prototype.slice.call(arguments);return this.eventEmitter.addListener.apply(this.eventEmitter,e)},y.Index.prototype.off=function(e,t){return this.eventEmitter.removeListener(e,t)},y.Index.load=function(e){e.version!==y.version&&y.utils.warn("version mismatch: current "+y.version+" importing "+e.version);var t,n=new this;for(t in n._fields=e.fields,n._ref=e.ref,n.documentStore=y.DocumentStore.load(e.documentStore),n.pipeline=y.Pipeline.load(e.pipeline),n.index={},e.index)n.index[t]=y.InvertedIndex.load(e.index[t]);return n},y.Index.prototype.addField=function(e){return this._fields.push(e),this.index[e]=new y.InvertedIndex,this},y.Index.prototype.setRef=function(e){return this._ref=e,this},y.Index.prototype.saveDocument=function(e){return this.documentStore=new y.DocumentStore(e),this},y.Index.prototype.addDoc=function(r,e){var s;r&&(e=void 0===e||e,s=r[this._ref],this.documentStore.addDoc(s,r),this._fields.forEach(function(e){var t,n=this.pipeline.run(y.tokenizer(r[e])),o=(this.documentStore.addFieldLength(s,e,n.length),{});for(t in n.forEach(function(e){e in o?o[e]+=1:o[e]=1},this),o){var i=o[t],i=Math.sqrt(i);this.index[e].addToken(t,{ref:s,tf:i})}},this),e&&this.eventEmitter.emit("add",r,this))},y.Index.prototype.removeDocByRef=function(e){e&&!1!==this.documentStore.isDocStored()&&this.documentStore.hasDoc(e)&&(e=this.documentStore.getDoc(e),this.removeDoc(e,!1))},y.Index.prototype.removeDoc=function(e,t){var n;e&&(t=void 0===t||t,n=e[this._ref],this.documentStore.hasDoc(n)&&(this.documentStore.removeDoc(n),this._fields.forEach(function(t){this.pipeline.run(y.tokenizer(e[t])).forEach(function(e){this.index[t].removeToken(e,n)},this)},this),t&&this.eventEmitter.emit("remove",e,this)))},y.Index.prototype.updateDoc=function(e,t){t=void 0===t||t,this.removeDocByRef(e[this._ref],!1),this.addDoc(e,!1),t&&this.eventEmitter.emit("update",e,this)},y.Index.prototype.idf=function(e,t){var n="@"+t+"/"+e;return Object.prototype.hasOwnProperty.call(this._idfCache,n)?this._idfCache[n]:(t=this.index[t].getDocFreq(e),e=1+Math.log(this.documentStore.length/(t+1)),this._idfCache[n]=e)},y.Index.prototype.getFields=function(){return this._fields.slice()},y.Index.prototype.search=function(e,t){if(!e)return[];e="string"==typeof e?{any:e}:JSON.parse(JSON.stringify(e));var n=null;null!=t&&(n=JSON.stringify(t));for(var o=new y.Configuration(n,this.getFields()).get(),i={},r=Object.keys(e),s=0;s<r.length;s++){var u=r[s];i[u]=this.pipeline.run(y.tokenizer(e[u]))}var l,a={};for(l in o){var c=i[l]||i.any;if(c){var d=this.fieldSearch(c,l,o),h=o[l].boost;for(p in d)d[p]=d[p]*h;for(p in d)p in a?a[p]+=d[p]:a[p]=d[p]}}var f,p,g=[];for(p in a)f={ref:p,score:a[p]},this.documentStore.hasDoc(p)&&(f.doc=this.documentStore.getDoc(p)),g.push(f);return g.sort(function(e,t){return t.score-e.score}),g},y.Index.prototype.fieldSearch=function(e,d,t){var h=t[d].bool,n=t[d].expand,t=t[d].boost,f=null,p={};return 0!==t?(e.forEach(function(a){var e=[a],c=(1==n&&(e=this.index[d].expandToken(a)),{});e.forEach(function(e){var t=this.index[d].getDocs(e),n=this.idf(e,d);if(f&&"AND"==h){var o,i={};for(o in f)o in t&&(i[o]=t[o]);t=i}for(o in e==a&&this.fieldSearchStats(p,e,t),t){var r=this.index[d].getTermFrequency(e,o),s=this.documentStore.getFieldLength(o,d),u=1,l=1,r=r*n*(u=0!=s?1/Math.sqrt(s):u)*(l=e!=a?.15*(1-(e.length-a.length)/e.length):l);o in c?c[o]+=r:c[o]=r}},this),f=this.mergeScores(f,c,h)},this),f=this.coordNorm(f,p,e.length)):void 0},y.Index.prototype.mergeScores=function(e,t,n){if(!e)return t;if("AND"==n){var o={};for(i in t)i in e&&(o[i]=e[i]+t[i]);return o}for(var i in t)i in e?e[i]+=t[i]:e[i]=t[i];return e},y.Index.prototype.fieldSearchStats=function(e,t,n){for(var o in n)o in e?e[o].push(t):e[o]=[t]},y.Index.prototype.coordNorm=function(e,t,n){for(var o in e){var i;o in t&&(i=t[o].length,e[o]=e[o]*i/n)}return e},y.Index.prototype.toJSON=function(){var t={};return this._fields.forEach(function(e){t[e]=this.index[e].toJSON()},this),{version:y.version,fields:this._fields,ref:this._ref,documentStore:this.documentStore.toJSON(),index:t,pipeline:this.pipeline.toJSON()}},y.Index.prototype.use=function(e){var t=Array.prototype.slice.call(arguments,1);t.unshift(this),e.apply(this,t)},(y.DocumentStore=function(e){this._save=null==e||e,this.docs={},this.docInfo={},this.length=0}).load=function(e){var t=new this;return t.length=e.length,t.docs=e.docs,t.docInfo=e.docInfo,t._save=e.save,t},y.DocumentStore.prototype.isDocStored=function(){return this._save},y.DocumentStore.prototype.addDoc=function(e,t){this.hasDoc(e)||this.length++,this.docs[e]=!0===this._save?function(e){if(null===e||"object"!=typeof e)return e;var t,n=e.constructor();for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}(t):null},y.DocumentStore.prototype.getDoc=function(e){return!1===this.hasDoc(e)?null:this.docs[e]},y.DocumentStore.prototype.hasDoc=function(e){return e in this.docs},y.DocumentStore.prototype.removeDoc=function(e){this.hasDoc(e)&&(delete this.docs[e],delete this.docInfo[e],this.length--)},y.DocumentStore.prototype.addFieldLength=function(e,t,n){null!=e&&0!=this.hasDoc(e)&&(this.docInfo[e]||(this.docInfo[e]={}),this.docInfo[e][t]=n)},y.DocumentStore.prototype.updateFieldLength=function(e,t,n){null!=e&&0!=this.hasDoc(e)&&this.addFieldLength(e,t,n)},y.DocumentStore.prototype.getFieldLength=function(e,t){return null!=e&&e in this.docs&&t in this.docInfo[e]?this.docInfo[e][t]:0},y.DocumentStore.prototype.toJSON=function(){return{docs:this.docs,docInfo:this.docInfo,length:this.length,save:this._save}},a={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},c={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},e="[aeiouy]",t="[^aeiou][^aeiouy]*",d=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*"),h=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*[aeiouy][aeiou]*[^aeiou][^aeiouy]*"),f=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*([aeiouy][aeiou]*)?$"),p=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy]"),g=/^(.+?)(ss|i)es$/,m=/^(.+?)([^s])s$/,v=/^(.+?)eed$/,S=/^(.+?)(ed|ing)$/,x=/.$/,w=/(at|bl|iz)$/,b=new RegExp("([^aeiouylsz])\\1$"),I=new RegExp("^"+t+e+"[^aeiouwxy]$"),E=/^(.+?[^aeiou])y$/,F=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,D=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,C=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,k=/^(.+?)(s|t)(ion)$/,_=/^(.+?)e$/,N=/ll$/,P=new RegExp("^"+t+e+"[^aeiouwxy]$"),y.Pipeline.registerFunction(y.stemmer=function(e){var t,n,o,i,r,s,u,l;return e.length<3?e:("y"==(n=e.substr(0,1))&&(e=n.toUpperCase()+e.substr(1)),u=m,(r=g).test(e)?e=e.replace(r,"$1$2"):u.test(e)&&(e=e.replace(u,"$1$2")),u=S,(r=v).test(e)?(l=r.exec(e),(r=d).test(l[1])&&(e=e.replace(r=x,""))):u.test(e)&&(s=(l=u.exec(e))[1],(u=p).test(s)&&(e=s,o=b,i=I,(u=w).test(e)?e+="e":o.test(e)?e=e.replace(r=x,""):i.test(e)&&(e+="e"))),(r=E).test(e)&&(e=(s=(l=r.exec(e))[1])+"i"),(r=F).test(e)&&(s=(l=r.exec(e))[1],t=l[2],(r=d).test(s)&&(e=s+a[t])),(r=D).test(e)&&(s=(l=r.exec(e))[1],t=l[2],(r=d).test(s)&&(e=s+c[t])),u=k,(r=C).test(e)?(s=(l=r.exec(e))[1],(r=h).test(s)&&(e=s)):u.test(e)&&(s=(l=u.exec(e))[1]+l[2],(u=h).test(s)&&(e=s)),(r=_).test(e)&&(s=(l=r.exec(e))[1],u=f,o=P,((r=h).test(s)||u.test(s)&&!o.test(s))&&(e=s)),u=h,(r=N).test(e)&&u.test(e)&&(e=e.replace(r=x,"")),"y"==n?n.toLowerCase()+e.substr(1):e)},"stemmer"),y.stopWordFilter=function(e){return e&&!0!==y.stopWordFilter.stopWords[e]?e:void 0},y.clearStopWords=function(){y.stopWordFilter.stopWords={}},y.addStopWords=function(e){null!=e&&!1!==Array.isArray(e)&&e.forEach(function(e){y.stopWordFilter.stopWords[e]=!0},this)},y.resetStopWords=function(){y.stopWordFilter.stopWords=y.defaultStopWords},y.stopWordFilter.stopWords=y.defaultStopWords={"":!0,a:!0,able:!0,about:!0,across:!0,after:!0,all:!0,almost:!0,also:!0,am:!0,among:!0,an:!0,and:!0,any:!0,are:!0,as:!0,at:!0,be:!0,because:!0,been:!0,but:!0,by:!0,can:!0,cannot:!0,could:!0,dear:!0,did:!0,do:!0,does:!0,either:!0,else:!0,ever:!0,every:!0,for:!0,from:!0,get:!0,got:!0,had:!0,has:!0,have:!0,he:!0,her:!0,hers:!0,him:!0,his:!0,how:!0,however:!0,i:!0,if:!0,in:!0,into:!0,is:!0,it:!0,its:!0,just:!0,least:!0,let:!0,like:!0,likely:!0,may:!0,me:!0,might:!0,most:!0,must:!0,my:!0,neither:!0,no:!0,nor:!0,not:!0,of:!0,off:!0,often:!0,on:!0,only:!0,or:!0,other:!0,our:!0,own:!0,rather:!0,said:!0,say:!0,says:!0,she:!0,should:!0,since:!0,so:!0,some:!0,than:!0,that:!0,the:!0,their:!0,them:!0,then:!0,there:!0,these:!0,they:!0,this:!0,tis:!0,to:!0,too:!0,twas:!0,us:!0,wants:!0,was:!0,we:!0,were:!0,what:!0,when:!0,where:!0,which:!0,while:!0,who:!0,whom:!0,why:!0,will:!0,with:!0,would:!0,yet:!0,you:!0,your:!0},y.Pipeline.registerFunction(y.stopWordFilter,"stopWordFilter"),y.Pipeline.registerFunction(y.trimmer=function(e){if(null==e)throw new Error("token should not be undefined");return e.replace(/^\W+/,"").replace(/\W+$/,"")},"trimmer"),(y.InvertedIndex=function(){this.root={docs:{},df:0}}).load=function(e){var t=new this;return t.root=e.root,t},y.InvertedIndex.prototype.addToken=function(e,t,n){for(var n=n||this.root,o=0;o<=e.length-1;){var i=e[o];i in n||(n[i]={docs:{},df:0}),o+=1,n=n[i]}var r=t.ref;n.docs[r]?n.docs[r]={tf:t.tf}:(n.docs[r]={tf:t.tf},n.df+=1)},y.InvertedIndex.prototype.hasToken=function(e){if(!e)return!1;for(var t=this.root,n=0;n<e.length;n++){if(!t[e[n]])return!1;t=t[e[n]]}return!0},y.InvertedIndex.prototype.getNode=function(e){if(!e)return null;for(var t=this.root,n=0;n<e.length;n++){if(!t[e[n]])return null;t=t[e[n]]}return t},y.InvertedIndex.prototype.getDocs=function(e){return null==(e=this.getNode(e))?{}:e.docs},y.InvertedIndex.prototype.getTermFrequency=function(e,t){return null!=(e=this.getNode(e))&&t in e.docs?e.docs[t].tf:0},y.InvertedIndex.prototype.getDocFreq=function(e){return null==(e=this.getNode(e))?0:e.df},y.InvertedIndex.prototype.removeToken=function(e,t){e&&null!=(e=this.getNode(e))&&t in e.docs&&(delete e.docs[t],--e.df)},y.InvertedIndex.prototype.expandToken=function(e,t,n){if(null==e||""==e)return[];var o,t=t||[];if(null==n&&null==(n=this.getNode(e)))return t;for(o in 0<n.df&&t.push(e),n)"docs"!==o&&"df"!==o&&this.expandToken(e+o,t,n[o]);return t},y.InvertedIndex.prototype.toJSON=function(){return{root:this.root}},(y.Configuration=function(e,t){var n,e=e||"";if(null==t)throw new Error("fields should not be null");this.config={};try{n=JSON.parse(e),this.buildUserConfig(n,t)}catch(e){y.utils.warn("user configuration parse failed, will use default configuration"),this.buildDefaultConfig(t)}}).prototype.buildDefaultConfig=function(e){this.reset(),e.forEach(function(e){this.config[e]={boost:1,bool:"OR",expand:!1}},this)},y.Configuration.prototype.buildUserConfig=function(e,t){var n,o,i="OR",r=!1;if(this.reset(),"bool"in e&&(i=e.bool||i),"expand"in e&&(r=e.expand||r),"fields"in e)for(var s in e.fields)-1<t.indexOf(s)?(o=r,null!=(n=e.fields[s]).expand&&(o=n.expand),this.config[s]={boost:n.boost||0===n.boost?n.boost:1,bool:n.bool||i,expand:o}):y.utils.warn("field name in user configuration not found in index instance fields");else this.addAllFields2UserConfig(i,r,t)},y.Configuration.prototype.addAllFields2UserConfig=function(t,n,e){e.forEach(function(e){this.config[e]={boost:1,bool:t,expand:n}},this)},y.Configuration.prototype.get=function(){return this.config},y.Configuration.prototype.reset=function(){this.config={}},lunr.SortedSet=function(){this.length=0,this.elements=[]},lunr.SortedSet.load=function(e){var t=new this;return t.elements=e,t.length=e.length,t},lunr.SortedSet.prototype.add=function(){for(var e,t=0;t<arguments.length;t++)~this.indexOf(e=arguments[t])||this.elements.splice(this.locationFor(e),0,e);this.length=this.elements.length},lunr.SortedSet.prototype.toArray=function(){return this.elements.slice()},lunr.SortedSet.prototype.map=function(e,t){return this.elements.map(e,t)},lunr.SortedSet.prototype.forEach=function(e,t){return this.elements.forEach(e,t)},lunr.SortedSet.prototype.indexOf=function(e){for(var t=0,n=this.elements.length,o=n-t,i=t+Math.floor(o/2),r=this.elements[i];1<o;){if(r===e)return i;o=(n=e<r?i:n)-(t=r<e?i:t),i=t+Math.floor(o/2),r=this.elements[i]}return r===e?i:-1},lunr.SortedSet.prototype.locationFor=function(e){for(var t=0,n=this.elements.length,o=n-t,i=t+Math.floor(o/2),r=this.elements[i];1<o;)o=(n=e<r?i:n)-(t=r<e?i:t),i=t+Math.floor(o/2),r=this.elements[i];return e<r?i:r<e?i+1:void 0},lunr.SortedSet.prototype.intersect=function(e){for(var t=new lunr.SortedSet,n=0,o=0,i=this.length,r=e.length,s=this.elements,u=e.elements;!(i-1<n||r-1<o);)s[n]!==u[o]?s[n]<u[o]?n++:s[n]>u[o]&&o++:(t.add(s[n]),n++,o++);return t},lunr.SortedSet.prototype.clone=function(){var e=new lunr.SortedSet;return e.elements=this.toArray(),e.length=e.elements.length,e},lunr.SortedSet.prototype.union=function(e){for(var t,e=this.length>=e.length?(t=this,e):(t=e,this),n=t.clone(),o=0,i=e.toArray();o<i.length;o++)n.add(i[o]);return n},lunr.SortedSet.prototype.toJSON=function(){return this.toArray()},"function"==typeof define&&define.amd?define(function(){return y}):"object"==typeof exports?module.exports=y:this.elasticlunr=y}();var suggestions=document.getElementById("suggestions"),userinput=document.getElementById("userinput");function inputFocus(e){191===e.keyCode&&(e.preventDefault(),userinput.focus()),27===e.keyCode&&(userinput.blur(),suggestions.classList.add("d-none"))}function suggestionFocus(e){const t=suggestions.querySelectorAll("a"),n=[...t],o=n.indexOf(document.activeElement);let i=0;38===e.keyCode?(e.preventDefault(),t[i=0<o?o-1:0].focus()):40===e.keyCode&&(e.preventDefault(),t[i=o+1<n.length?o+1:o].focus())}function substringByByte(e,t){for(var n="",o=!1,i=0,r=0,s=0,u=0;u<e.length;u++){var l=e.codePointAt(u).toString(16);if(o=4<l.length&&++u+1<e.length?"200d"==e.codePointAt(u+1).toString(16):o){if(i+=getByteByHex(l),u==e.length-1){if(!((r+=i)<=t))break;n+=e.substr(s,u-s+1)}}else if(0!=i){if(!((r=(r+=i)+getByteByHex(l))<=t))break;n+=e.substr(s,u-s+1),s=u+1,i=0}else{if(!((r+=getByteByHex(l))<=t))break;l.length<=4?n+=e[u]:n+=e[u-1]+e[u],s=u+1}}return n}function getByteByBinary(e){return[0,1,2,3,4][Math.ceil(e.length/8)]}function getByteByHex(e){return getByteByBinary(parseInt(e,16).toString(2))}document.addEventListener("keydown",inputFocus),document.addEventListener("click",function(e){suggestions.contains(e.target)||suggestions.classList.add("d-none")}),document.addEventListener("keydown",suggestionFocus),function(){var s=elasticlunr.Index.load(window.searchIndex);userinput.addEventListener("input",function(){var n,e=this.value.trim(),o=s.search(e,{bool:"OR",fields:{title:{boost:2},body:{boost:1}}}),i=suggestions.childNodes,r=o.length,x=e.split(/\s+/);for(suggestions.classList.remove("d-none"),o.forEach(function(e){""!==e.doc.body&&((n=document.createElement("div")).innerHTML="<a href><span></span><span></span></a>",a=n.querySelector("a"),t=n.querySelector("span:first-child"),d=n.querySelector("span:nth-child(2)"),a.href=e.ref,t.textContent=e.doc.title,d.innerHTML=function(e){var t=x.map(function(e){return elasticlunr.stemmer(e.toLowerCase())}),n=!1,o=0,i=[],r=e.toLowerCase().split(". ");for(f in r){var s,u=r[f].split(/[\s\n]/),l=8;for(s in u){if(0<(y=u[s]).length){for(var a in t)elasticlunr.stemmer(y).startsWith(t[a])&&(l=40,n=!0);i.push([y,l,o]),l=2}o=o+y.length+1}o+=1}if(0===i.length)return void 0!==e.length&&300<e.length?e.substring(0,300)+"...":e;for(var c=[],d=Math.min(i.length,30),h=0,f=0;f<d;f++)h+=i[f][1];for(c.push(h),f=0;f<i.length-d;f++)h=(h-=i[f][1])+i[f+d][1],c.push(h);var p=0;if(n)for(var g=0,f=c.length-1;0<=f;f--)c[f]>g&&(g=c[f],p=f);var y,m,v=[],S=i[p][2];for(f=p;f<p+d;f++)S<(y=i[f])[2]&&(v.push(e.substring(S,y[2])),S=y[2]),40===y[1]&&v.push("<b>"),S=y[2]+y[0].length,40!==y[1]&&12<=y[0].length&&!/^[\x00-\xff]+$/.test(y[0])?(m=substringByByte(e.substring(y[2],S),12),v.push(m)):v.push(e.substring(y[2],S)),40===y[1]&&v.push("</b>");return v.push("…"),v.join("")}(e.doc.body),suggestions.appendChild(n))});i.length>r;)suggestions.removeChild(i[0])},!0),suggestions.addEventListener("click",function(){for(;suggestions.lastChild;)suggestions.removeChild(suggestions.lastChild);return!1},!0)}();
\ No newline at end of file +function closeSearchNow(){const e=document.querySelector("main");e.innerHTML=window.main}function goSearchNow(){const e=document.querySelector("main");window.main||(window.main=e.innerHTML);var t=document.getElementById("suggestions"),n=t.cloneNode(!0),o=(n.id="results",document.createElement("div")),i='<form name="closeSearch"><h2><button type="submit" title="Close Search"><i class="svgs x"></i></button> Results For: '.concat(document.getElementById("userinput").value,"</h2></form>");return o.innerHTML=i,n.insertBefore(o,n.firstChild),e.innerHTML=n.outerHTML,t.innerHTML="",document.getElementById("userinput").value="",!1}!function(){function m(e){var t=new m.Index;return t.pipeline.add(m.trimmer,m.stopWordFilter,m.stemmer),e&&e.call(t,t),t}var a,c,e,t,d,h,f,p,g,y,v,S,x,w,b,I,E,F,D,k,C,_,N,P,n;m.version="0.9.5",((lunr=m).utils={}).warn=(n=this,function(e){n.console&&console.warn&&console.warn(e)}),m.utils.toString=function(e){return null==e?"":e.toString()},(m.EventEmitter=function(){this.events={}}).prototype.addListener=function(){var e=Array.prototype.slice.call(arguments),t=e.pop();if("function"!=typeof t)throw new TypeError("last argument must be a function");e.forEach(function(e){this.hasHandler(e)||(this.events[e]=[]),this.events[e].push(t)},this)},m.EventEmitter.prototype.removeListener=function(e,t){this.hasHandler(e)&&-1!==(t=this.events[e].indexOf(t))&&(this.events[e].splice(t,1),0==this.events[e].length&&delete this.events[e])},m.EventEmitter.prototype.emit=function(e){var t;this.hasHandler(e)&&(t=Array.prototype.slice.call(arguments,1),this.events[e].forEach(function(e){e.apply(void 0,t)},this))},m.EventEmitter.prototype.hasHandler=function(e){return e in this.events},(m.tokenizer=function(e){return arguments.length&&null!=e?Array.isArray(e)?(t=(t=e.filter(function(e){return null!=e})).map(function(e){return m.utils.toString(e).toLowerCase()}),n=[],t.forEach(function(e){e=e.split(m.tokenizer.seperator);n=n.concat(e)},this),n):e.toString().trim().toLowerCase().split(m.tokenizer.seperator):[];var t,n}).defaultSeperator=/[\s\-]+/,m.tokenizer.seperator=m.tokenizer.defaultSeperator,m.tokenizer.setSeperator=function(e){null!=e&&"object"==typeof e&&(m.tokenizer.seperator=e)},m.tokenizer.resetSeperator=function(){m.tokenizer.seperator=m.tokenizer.defaultSeperator},m.tokenizer.getSeperator=function(){return m.tokenizer.seperator},(m.Pipeline=function(){this._queue=[]}).registeredFunctions={},m.Pipeline.registerFunction=function(e,t){t in m.Pipeline.registeredFunctions&&m.utils.warn("Overwriting existing registered function: "+t),e.label=t,m.Pipeline.registeredFunctions[t]=e},m.Pipeline.getRegisteredFunction=function(e){return e in m.Pipeline.registeredFunctions!=1?null:m.Pipeline.registeredFunctions[e]},m.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||m.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},m.Pipeline.load=function(e){var n=new m.Pipeline;return e.forEach(function(e){var t=m.Pipeline.getRegisteredFunction(e);if(!t)throw new Error("Cannot load un-registered function: "+e);n.add(t)}),n},m.Pipeline.prototype.add=function(){Array.prototype.slice.call(arguments).forEach(function(e){m.Pipeline.warnIfFunctionNotRegistered(e),this._queue.push(e)},this)},m.Pipeline.prototype.after=function(e,t){m.Pipeline.warnIfFunctionNotRegistered(t);e=this._queue.indexOf(e);if(-1===e)throw new Error("Cannot find existingFn");this._queue.splice(e+1,0,t)},m.Pipeline.prototype.before=function(e,t){m.Pipeline.warnIfFunctionNotRegistered(t);e=this._queue.indexOf(e);if(-1===e)throw new Error("Cannot find existingFn");this._queue.splice(e,0,t)},m.Pipeline.prototype.remove=function(e){e=this._queue.indexOf(e);-1!==e&&this._queue.splice(e,1)},m.Pipeline.prototype.run=function(e){for(var t=[],n=e.length,o=this._queue.length,i=0;i<n;i++){for(var r=e[i],s=0;s<o&&null!=(r=this._queue[s](r,i,e));s++);null!=r&&t.push(r)}return t},m.Pipeline.prototype.reset=function(){this._queue=[]},m.Pipeline.prototype.get=function(){return this._queue},m.Pipeline.prototype.toJSON=function(){return this._queue.map(function(e){return m.Pipeline.warnIfFunctionNotRegistered(e),e.label})},(m.Index=function(){this._fields=[],this._ref="id",this.pipeline=new m.Pipeline,this.documentStore=new m.DocumentStore,this.index={},this.eventEmitter=new m.EventEmitter,this._idfCache={},this.on("add","remove","update",function(){this._idfCache={}}.bind(this))}).prototype.on=function(){var e=Array.prototype.slice.call(arguments);return this.eventEmitter.addListener.apply(this.eventEmitter,e)},m.Index.prototype.off=function(e,t){return this.eventEmitter.removeListener(e,t)},m.Index.load=function(e){e.version!==m.version&&m.utils.warn("version mismatch: current "+m.version+" importing "+e.version);var t,n=new this;for(t in n._fields=e.fields,n._ref=e.ref,n.documentStore=m.DocumentStore.load(e.documentStore),n.pipeline=m.Pipeline.load(e.pipeline),n.index={},e.index)n.index[t]=m.InvertedIndex.load(e.index[t]);return n},m.Index.prototype.addField=function(e){return this._fields.push(e),this.index[e]=new m.InvertedIndex,this},m.Index.prototype.setRef=function(e){return this._ref=e,this},m.Index.prototype.saveDocument=function(e){return this.documentStore=new m.DocumentStore(e),this},m.Index.prototype.addDoc=function(r,e){var s;r&&(e=void 0===e||e,s=r[this._ref],this.documentStore.addDoc(s,r),this._fields.forEach(function(e){var t,n=this.pipeline.run(m.tokenizer(r[e])),o=(this.documentStore.addFieldLength(s,e,n.length),{});for(t in n.forEach(function(e){e in o?o[e]+=1:o[e]=1},this),o){var i=o[t],i=Math.sqrt(i);this.index[e].addToken(t,{ref:s,tf:i})}},this),e&&this.eventEmitter.emit("add",r,this))},m.Index.prototype.removeDocByRef=function(e){e&&!1!==this.documentStore.isDocStored()&&this.documentStore.hasDoc(e)&&(e=this.documentStore.getDoc(e),this.removeDoc(e,!1))},m.Index.prototype.removeDoc=function(e,t){var n;e&&(t=void 0===t||t,n=e[this._ref],this.documentStore.hasDoc(n)&&(this.documentStore.removeDoc(n),this._fields.forEach(function(t){this.pipeline.run(m.tokenizer(e[t])).forEach(function(e){this.index[t].removeToken(e,n)},this)},this),t&&this.eventEmitter.emit("remove",e,this)))},m.Index.prototype.updateDoc=function(e,t){t=void 0===t||t;this.removeDocByRef(e[this._ref],!1),this.addDoc(e,!1),t&&this.eventEmitter.emit("update",e,this)},m.Index.prototype.idf=function(e,t){var n="@"+t+"/"+e;if(Object.prototype.hasOwnProperty.call(this._idfCache,n))return this._idfCache[n];t=this.index[t].getDocFreq(e),e=1+Math.log(this.documentStore.length/(t+1));return this._idfCache[n]=e},m.Index.prototype.getFields=function(){return this._fields.slice()},m.Index.prototype.search=function(e,t){if(!e)return[];e="string"==typeof e?{any:e}:JSON.parse(JSON.stringify(e));var n=null;null!=t&&(n=JSON.stringify(t));for(var o=new m.Configuration(n,this.getFields()).get(),i={},r=Object.keys(e),s=0;s<r.length;s++){var u=r[s];i[u]=this.pipeline.run(m.tokenizer(e[u]))}var l,a={};for(l in o){var c=i[l]||i.any;if(c){var d=this.fieldSearch(c,l,o),h=o[l].boost;for(p in d)d[p]=d[p]*h;for(p in d)p in a?a[p]+=d[p]:a[p]=d[p]}}var f,p,g=[];for(p in a)f={ref:p,score:a[p]},this.documentStore.hasDoc(p)&&(f.doc=this.documentStore.getDoc(p)),g.push(f);return g.sort(function(e,t){return t.score-e.score}),g},m.Index.prototype.fieldSearch=function(e,d,t){var h=t[d].bool,n=t[d].expand,t=t[d].boost,f=null,p={};return 0!==t?(e.forEach(function(a){var e=[a],c=(1==n&&(e=this.index[d].expandToken(a)),{});e.forEach(function(e){var t=this.index[d].getDocs(e),n=this.idf(e,d);if(f&&"AND"==h){var o,i={};for(o in f)o in t&&(i[o]=t[o]);t=i}for(o in e==a&&this.fieldSearchStats(p,e,t),t){var r=this.index[d].getTermFrequency(e,o),s=this.documentStore.getFieldLength(o,d),u=1,l=1,r=r*n*(u=0!=s?1/Math.sqrt(s):u)*(l=e!=a?.15*(1-(e.length-a.length)/e.length):l);o in c?c[o]+=r:c[o]=r}},this),f=this.mergeScores(f,c,h)},this),f=this.coordNorm(f,p,e.length)):void 0},m.Index.prototype.mergeScores=function(e,t,n){if(!e)return t;if("AND"==n){var o={};for(i in t)i in e&&(o[i]=e[i]+t[i]);return o}for(var i in t)i in e?e[i]+=t[i]:e[i]=t[i];return e},m.Index.prototype.fieldSearchStats=function(e,t,n){for(var o in n)o in e?e[o].push(t):e[o]=[t]},m.Index.prototype.coordNorm=function(e,t,n){for(var o in e){var i;o in t&&(i=t[o].length,e[o]=e[o]*i/n)}return e},m.Index.prototype.toJSON=function(){var t={};return this._fields.forEach(function(e){t[e]=this.index[e].toJSON()},this),{version:m.version,fields:this._fields,ref:this._ref,documentStore:this.documentStore.toJSON(),index:t,pipeline:this.pipeline.toJSON()}},m.Index.prototype.use=function(e){var t=Array.prototype.slice.call(arguments,1);t.unshift(this),e.apply(this,t)},(m.DocumentStore=function(e){this._save=null==e||e,this.docs={},this.docInfo={},this.length=0}).load=function(e){var t=new this;return t.length=e.length,t.docs=e.docs,t.docInfo=e.docInfo,t._save=e.save,t},m.DocumentStore.prototype.isDocStored=function(){return this._save},m.DocumentStore.prototype.addDoc=function(e,t){this.hasDoc(e)||this.length++,this.docs[e]=!0===this._save?function(e){if(null===e||"object"!=typeof e)return e;var t,n=e.constructor();for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}(t):null},m.DocumentStore.prototype.getDoc=function(e){return!1===this.hasDoc(e)?null:this.docs[e]},m.DocumentStore.prototype.hasDoc=function(e){return e in this.docs},m.DocumentStore.prototype.removeDoc=function(e){this.hasDoc(e)&&(delete this.docs[e],delete this.docInfo[e],this.length--)},m.DocumentStore.prototype.addFieldLength=function(e,t,n){null!=e&&0!=this.hasDoc(e)&&(this.docInfo[e]||(this.docInfo[e]={}),this.docInfo[e][t]=n)},m.DocumentStore.prototype.updateFieldLength=function(e,t,n){null!=e&&0!=this.hasDoc(e)&&this.addFieldLength(e,t,n)},m.DocumentStore.prototype.getFieldLength=function(e,t){return null!=e&&e in this.docs&&t in this.docInfo[e]?this.docInfo[e][t]:0},m.DocumentStore.prototype.toJSON=function(){return{docs:this.docs,docInfo:this.docInfo,length:this.length,save:this._save}},a={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},c={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},e="[aeiouy]",t="[^aeiou][^aeiouy]*",d=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*"),h=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*[aeiouy][aeiou]*[^aeiou][^aeiouy]*"),f=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*([aeiouy][aeiou]*)?$"),p=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy]"),g=/^(.+?)(ss|i)es$/,y=/^(.+?)([^s])s$/,v=/^(.+?)eed$/,S=/^(.+?)(ed|ing)$/,x=/.$/,w=/(at|bl|iz)$/,b=new RegExp("([^aeiouylsz])\\1$"),I=new RegExp("^"+t+e+"[^aeiouwxy]$"),E=/^(.+?[^aeiou])y$/,F=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,D=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,k=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,C=/^(.+?)(s|t)(ion)$/,_=/^(.+?)e$/,N=/ll$/,P=new RegExp("^"+t+e+"[^aeiouwxy]$"),m.Pipeline.registerFunction(m.stemmer=function(e){var t,n,o,i,r,s,u,l;return e.length<3?e:("y"==(n=e.substr(0,1))&&(e=n.toUpperCase()+e.substr(1)),u=y,(r=g).test(e)?e=e.replace(r,"$1$2"):u.test(e)&&(e=e.replace(u,"$1$2")),u=S,(r=v).test(e)?(l=r.exec(e),(r=d).test(l[1])&&(e=e.replace(r=x,""))):u.test(e)&&(s=(l=u.exec(e))[1],(u=p).test(s)&&(e=s,o=b,i=I,(u=w).test(e)?e+="e":o.test(e)?e=e.replace(r=x,""):i.test(e)&&(e+="e"))),(r=E).test(e)&&(e=(s=(l=r.exec(e))[1])+"i"),(r=F).test(e)&&(s=(l=r.exec(e))[1],t=l[2],(r=d).test(s)&&(e=s+a[t])),(r=D).test(e)&&(s=(l=r.exec(e))[1],t=l[2],(r=d).test(s)&&(e=s+c[t])),u=C,(r=k).test(e)?(s=(l=r.exec(e))[1],(r=h).test(s)&&(e=s)):u.test(e)&&(s=(l=u.exec(e))[1]+l[2],(u=h).test(s)&&(e=s)),(r=_).test(e)&&(s=(l=r.exec(e))[1],u=f,o=P,((r=h).test(s)||u.test(s)&&!o.test(s))&&(e=s)),u=h,(r=N).test(e)&&u.test(e)&&(e=e.replace(r=x,"")),"y"==n?n.toLowerCase()+e.substr(1):e)},"stemmer"),m.stopWordFilter=function(e){return e&&!0!==m.stopWordFilter.stopWords[e]?e:void 0},m.clearStopWords=function(){m.stopWordFilter.stopWords={}},m.addStopWords=function(e){null!=e&&!1!==Array.isArray(e)&&e.forEach(function(e){m.stopWordFilter.stopWords[e]=!0},this)},m.resetStopWords=function(){m.stopWordFilter.stopWords=m.defaultStopWords},m.stopWordFilter.stopWords=m.defaultStopWords={"":!0,a:!0,able:!0,about:!0,across:!0,after:!0,all:!0,almost:!0,also:!0,am:!0,among:!0,an:!0,and:!0,any:!0,are:!0,as:!0,at:!0,be:!0,because:!0,been:!0,but:!0,by:!0,can:!0,cannot:!0,could:!0,dear:!0,did:!0,do:!0,does:!0,either:!0,else:!0,ever:!0,every:!0,for:!0,from:!0,get:!0,got:!0,had:!0,has:!0,have:!0,he:!0,her:!0,hers:!0,him:!0,his:!0,how:!0,however:!0,i:!0,if:!0,in:!0,into:!0,is:!0,it:!0,its:!0,just:!0,least:!0,let:!0,like:!0,likely:!0,may:!0,me:!0,might:!0,most:!0,must:!0,my:!0,neither:!0,no:!0,nor:!0,not:!0,of:!0,off:!0,often:!0,on:!0,only:!0,or:!0,other:!0,our:!0,own:!0,rather:!0,said:!0,say:!0,says:!0,she:!0,should:!0,since:!0,so:!0,some:!0,than:!0,that:!0,the:!0,their:!0,them:!0,then:!0,there:!0,these:!0,they:!0,this:!0,tis:!0,to:!0,too:!0,twas:!0,us:!0,wants:!0,was:!0,we:!0,were:!0,what:!0,when:!0,where:!0,which:!0,while:!0,who:!0,whom:!0,why:!0,will:!0,with:!0,would:!0,yet:!0,you:!0,your:!0},m.Pipeline.registerFunction(m.stopWordFilter,"stopWordFilter"),m.Pipeline.registerFunction(m.trimmer=function(e){if(null==e)throw new Error("token should not be undefined");return e.replace(/^\W+/,"").replace(/\W+$/,"")},"trimmer"),(m.InvertedIndex=function(){this.root={docs:{},df:0}}).load=function(e){var t=new this;return t.root=e.root,t},m.InvertedIndex.prototype.addToken=function(e,t,n){for(var n=n||this.root,o=0;o<=e.length-1;){var i=e[o];i in n||(n[i]={docs:{},df:0}),o+=1,n=n[i]}var r=t.ref;n.docs[r]?n.docs[r]={tf:t.tf}:(n.docs[r]={tf:t.tf},n.df+=1)},m.InvertedIndex.prototype.hasToken=function(e){if(!e)return!1;for(var t=this.root,n=0;n<e.length;n++){if(!t[e[n]])return!1;t=t[e[n]]}return!0},m.InvertedIndex.prototype.getNode=function(e){if(!e)return null;for(var t=this.root,n=0;n<e.length;n++){if(!t[e[n]])return null;t=t[e[n]]}return t},m.InvertedIndex.prototype.getDocs=function(e){e=this.getNode(e);return null==e?{}:e.docs},m.InvertedIndex.prototype.getTermFrequency=function(e,t){e=this.getNode(e);return null!=e&&t in e.docs?e.docs[t].tf:0},m.InvertedIndex.prototype.getDocFreq=function(e){e=this.getNode(e);return null==e?0:e.df},m.InvertedIndex.prototype.removeToken=function(e,t){e&&null!=(e=this.getNode(e))&&t in e.docs&&(delete e.docs[t],--e.df)},m.InvertedIndex.prototype.expandToken=function(e,t,n){if(null==e||""==e)return[];var o,t=t||[];if(null==n&&null==(n=this.getNode(e)))return t;for(o in 0<n.df&&t.push(e),n)"docs"!==o&&"df"!==o&&this.expandToken(e+o,t,n[o]);return t},m.InvertedIndex.prototype.toJSON=function(){return{root:this.root}},(m.Configuration=function(e,t){var n,e=e||"";if(null==t)throw new Error("fields should not be null");this.config={};try{n=JSON.parse(e),this.buildUserConfig(n,t)}catch(e){m.utils.warn("user configuration parse failed, will use default configuration"),this.buildDefaultConfig(t)}}).prototype.buildDefaultConfig=function(e){this.reset(),e.forEach(function(e){this.config[e]={boost:1,bool:"OR",expand:!1}},this)},m.Configuration.prototype.buildUserConfig=function(e,t){var n,o,i="OR",r=!1;if(this.reset(),"bool"in e&&(i=e.bool||i),"expand"in e&&(r=e.expand||r),"fields"in e)for(var s in e.fields)-1<t.indexOf(s)?(o=r,null!=(n=e.fields[s]).expand&&(o=n.expand),this.config[s]={boost:n.boost||0===n.boost?n.boost:1,bool:n.bool||i,expand:o}):m.utils.warn("field name in user configuration not found in index instance fields");else this.addAllFields2UserConfig(i,r,t)},m.Configuration.prototype.addAllFields2UserConfig=function(t,n,e){e.forEach(function(e){this.config[e]={boost:1,bool:t,expand:n}},this)},m.Configuration.prototype.get=function(){return this.config},m.Configuration.prototype.reset=function(){this.config={}},lunr.SortedSet=function(){this.length=0,this.elements=[]},lunr.SortedSet.load=function(e){var t=new this;return t.elements=e,t.length=e.length,t},lunr.SortedSet.prototype.add=function(){for(var e,t=0;t<arguments.length;t++)~this.indexOf(e=arguments[t])||this.elements.splice(this.locationFor(e),0,e);this.length=this.elements.length},lunr.SortedSet.prototype.toArray=function(){return this.elements.slice()},lunr.SortedSet.prototype.map=function(e,t){return this.elements.map(e,t)},lunr.SortedSet.prototype.forEach=function(e,t){return this.elements.forEach(e,t)},lunr.SortedSet.prototype.indexOf=function(e){for(var t=0,n=this.elements.length,o=n-t,i=t+Math.floor(o/2),r=this.elements[i];1<o;){if(r===e)return i;o=(n=e<r?i:n)-(t=r<e?i:t),i=t+Math.floor(o/2),r=this.elements[i]}return r===e?i:-1},lunr.SortedSet.prototype.locationFor=function(e){for(var t=0,n=this.elements.length,o=n-t,i=t+Math.floor(o/2),r=this.elements[i];1<o;)o=(n=e<r?i:n)-(t=r<e?i:t),i=t+Math.floor(o/2),r=this.elements[i];return e<r?i:r<e?i+1:void 0},lunr.SortedSet.prototype.intersect=function(e){for(var t=new lunr.SortedSet,n=0,o=0,i=this.length,r=e.length,s=this.elements,u=e.elements;!(i-1<n||r-1<o);)s[n]!==u[o]?s[n]<u[o]?n++:s[n]>u[o]&&o++:(t.add(s[n]),n++,o++);return t},lunr.SortedSet.prototype.clone=function(){var e=new lunr.SortedSet;return e.elements=this.toArray(),e.length=e.elements.length,e},lunr.SortedSet.prototype.union=function(e){for(var t,e=this.length>=e.length?(t=this,e):(t=e,this),n=t.clone(),o=0,i=e.toArray();o<i.length;o++)n.add(i[o]);return n},lunr.SortedSet.prototype.toJSON=function(){return this.toArray()},t=this,e=function(){return m},"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=m:t.elasticlunr=m}(),window.onload=function(){document.body.contains(document.goSearch)&&(document.goSearch.onsubmit=function(){return goSearchNow()}),document.body.contains(document.closeSearch)&&(document.closeSearch.onsubmit=function(){closeSearchNow()})};var suggestions=document.getElementById("suggestions"),userinput=document.getElementById("userinput");function inputFocus(e){191===e.keyCode&&"INPUT"!==document.activeElement.tagName&&"TEXTAREA"!==document.activeElement.tagName&&(e.preventDefault(),userinput.focus()),27===e.keyCode&&(userinput.blur(),suggestions.classList.add("d-none"))}function suggestionFocus(t){const n=suggestions.querySelectorAll("a");if(!suggestions.classList.contains("d-none")&&0!==n.length){const i=[...n];var o=i.indexOf(document.activeElement);let e=0;38===t.keyCode?(t.preventDefault(),e=0<o?o-1:0,n[e].focus()):40===t.keyCode&&(t.preventDefault(),e=o+1<i.length?o+1:o,n[e].focus())}}function substringByByte(e,t){for(var n="",o=!1,i=0,r=0,s=0,u=0;u<e.length;u++){var l=e.codePointAt(u).toString(16);if(o=4<l.length&&++u+1<e.length?"200d"==e.codePointAt(u+1).toString(16):o){if(i+=getByteByHex(l),u==e.length-1){if(!((r+=i)<=t))break;n+=e.substr(s,u-s+1)}}else if(0!=i){if(!((r=(r+=i)+getByteByHex(l))<=t))break;n+=e.substr(s,u-s+1),s=u+1,i=0}else{if(!((r+=getByteByHex(l))<=t))break;l.length<=4?n+=e[u]:n+=e[u-1]+e[u],s=u+1}}return n}function getByteByBinary(e){return[0,1,2,3,4][Math.ceil(e.length/8)]}function getByteByHex(e){return getByteByBinary(parseInt(e,16).toString(2))}document.addEventListener("keydown",inputFocus),document.addEventListener("click",function(e){suggestions.contains(e.target)||suggestions.classList.add("d-none")}),document.addEventListener("keydown",suggestionFocus),function(){var u=elasticlunr.Index.load(window.searchIndex);userinput.addEventListener("input",function(){var n,e=this.value.trim(),o=u.search(e,{bool:"OR",fields:{title:{boost:2},body:{boost:1}}}),i=suggestions.childNodes,r=o.length,s=e.split(/\s+/);suggestions.classList.remove("d-none"),o.forEach(function(e){""!==e.doc.body&&((n=document.createElement("div")).innerHTML="<a href><span></span><span></span></a>",a=n.querySelector("a"),t=n.querySelector("span:first-child"),d=n.querySelector("span:nth-child(2)"),a.href=e.ref,t.textContent=e.doc.title,d.innerHTML=function(e,t){var n=t.map(function(e){return elasticlunr.stemmer(e.toLowerCase())}),o=!1,i=0,r=[],s=e.toLowerCase().split(". ");for(p in s){var u,l=s[p].split(/[\s\n]/),a=8;for(u in l){if(0<(x=l[u]).length){for(var c in n)elasticlunr.stemmer(x).startsWith(n[c])&&(a=40,o=!0);r.push([x,a,i]),a=2}i=i+x.length+1}i+=1}if(0===r.length)return void 0!==e.length&&300<e.length?e.substring(0,300)+"...":e;for(var d=[],h=Math.min(r.length,30),f=0,p=0;p<h;p++)f+=r[p][1];d.push(f);for(p=0;p<r.length-h;p++)f=(f-=r[p][1])+r[p+h][1],d.push(f);var g=0;if(o)for(var m=0,p=d.length-1;0<=p;p--)d[p]>m&&(m=d[p],g=p);for(var y=[],v=r[g][2],p=g;p<g+h;p++){var S,x=r[p];v<x[2]&&(y.push(e.substring(v,x[2])),v=x[2]),40===x[1]&&y.push("<b>"),v=x[2]+x[0].length;40!==x[1]&&12<=x[0].length&&!/^[\x00-\xff]+$/.test(x[0])?(S=substringByByte(e.substring(x[2],v),12),y.push(S)):y.push(e.substring(x[2],v)),40===x[1]&&y.push("</b>")}return y.push("…"),y.join("")}(e.doc.body,s),suggestions.appendChild(n))});for(;i.length>r;)suggestions.removeChild(i[0])},!0),suggestions.addEventListener("click",function(){for(;suggestions.lastChild;)suggestions.removeChild(suggestions.lastChild);return!1},!0)}();
\ No newline at end of file diff --git a/static/site.webmanifest b/static/site.webmanifest index f4e72ae..8634a6c 100644 --- a/static/site.webmanifest +++ b/static/site.webmanifest @@ -2,8 +2,8 @@ "name": "Abridge Zola Theme", "short_name": "Abridge", "description": "Fast & Lightweight Zola Theme", - "start_url": "https://abridge.netlify.app/", - "scope": "https://abridge.netlify.app/", + "start_url": "/index.html", + "scope": "/", "background_color": "#111111", "theme_color": "#222222", "display": "standalone", diff --git a/static/theme.js b/static/theme.js new file mode 100644 index 0000000..5f6f0f6 --- /dev/null +++ b/static/theme.js @@ -0,0 +1,4 @@ +// enforce local storage setting but also fallback to user-agent preferences +if (localStorage.getItem('theme') === 'light' || (!localStorage.getItem('theme') && !window.matchMedia("(prefers-color-scheme: dark)").matches)) { + document.documentElement.classList.add('light'); +} diff --git a/static/theme.min.js b/static/theme.min.js new file mode 100644 index 0000000..612895e --- /dev/null +++ b/static/theme.min.js @@ -0,0 +1 @@ +"light"!==localStorage.getItem("theme")&&(localStorage.getItem("theme")||window.matchMedia("(prefers-color-scheme: dark)").matches)||document.documentElement.classList.add("light");
\ No newline at end of file diff --git a/static/theme_button.js b/static/theme_button.js new file mode 100644 index 0000000..d71c4fb --- /dev/null +++ b/static/theme_button.js @@ -0,0 +1,5 @@ +// Set lightmode +document.getElementById('mode').addEventListener('click', () => { + document.documentElement.classList.toggle('light'); + localStorage.setItem('theme', document.documentElement.classList.contains('light') ? 'light' : 'dark'); +}); diff --git a/templates/base.html b/templates/base.html index 1c46795..161e147 100644 --- a/templates/base.html +++ b/templates/base.html @@ -3,13 +3,15 @@ {%- import "macros/page.html" as page_macros %} {%- import "macros/macros.html" as macros %} <!DOCTYPE html> -<html lang="{{ config.extra.language_code | default(value="en-US") }}"> +<html lang="{{ config.extra.language_code | default(value='en-US') }}"> <head> + {{- macros_head::theme() }} + {{- macros_head::stylesheets() }} + {{- macros_head::js() }} <meta charset="utf-8" /> <meta http-equiv="x-ua-compatible" content="ie=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> - {{- macros_head::resource() }} - {{- macros_head::stylesheet() }} + {{- macros_head::feed() }} {%- block seo %} {%- if config.extra.title_separator %} {%- set title_separator = " " ~ config.extra.title_separator ~ " " -%} @@ -17,14 +19,15 @@ {%- set title_separator = " | " -%} {%- endif %} {%- endblock seo %} - {{- macros_head::favicons() }} - {{- macros_head::security() }} <meta name="HandheldFriendly" content="True" /> <meta name="mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-status-bar-style" content="default" /> - {{- macros_head::math() }} - <noscript><style>.searchd{display:none}</style></noscript> + {{- macros_head::security() }} + {{- macros_head::favicons() }} + {%- if config.build_search_index %} + <noscript><link rel="stylesheet" href="{{ get_url(path='nojs.css', trailing_slash=false) | safe }}" /></noscript> + {%- endif %} </head> <body> {%- block header %} @@ -32,11 +35,11 @@ <nav> <div> {%- if config.extra.logo %} - <h1><a href="{{ config.base_url | safe }}{%- if config.extra.uglyurls %}/index.html{%- endif %}">{%- if config.extra.logo.file %}<img src="{{ config.base_url | safe }}/{{ config.extra.logo.file | safe }}"{%- if config.extra.logo.alt %} alt="{{ config.extra.logo.alt | safe }}"{%- endif %}{%- if config.extra.logo.width %} width="{{ config.extra.logo.width | safe }}"{%- endif %}{%- if config.extra.logo.height %} height="{{ config.extra.logo.height | safe }}"{%- endif %} />{%- endif %}{%- if config.extra.logo.text %}{{ config.extra.logo.text | safe }}{%- endif %}</a></h1> + <h1><a href="{{ config.base_url | safe }}/{%- if config.extra.uglyurls %}index.html{%- endif %}">{%- if config.extra.logo.file %}<img src="{{ config.base_url | safe }}/{{ config.extra.logo.file | safe }}"{%- if config.extra.logo.alt %} alt="{{ config.extra.logo.alt | safe }}"{%- endif %}{%- if config.extra.logo.width %} width="{{ config.extra.logo.width | safe }}"{%- endif %}{%- if config.extra.logo.height %} height="{{ config.extra.logo.height | safe }}"{%- endif %} />{%- endif %}{%- if config.extra.logo.text %}{{ config.extra.logo.text | safe }}{%- endif %}</a></h1> {%- elif config.extra.textlogo %} - <h1><a href="{{ config.base_url | safe }}{%- if config.extra.uglyurls %}/index.html{%- endif %}">{{ config.extra.textlogo | safe }}</a></h1> + <h1><a href="{{ config.base_url | safe }}/{%- if config.extra.uglyurls %}index.html{%- endif %}">{{ config.extra.textlogo | safe }}</a></h1> {%- elif config.title %} - <h1><a href="{{ config.base_url | safe }}{%- if config.extra.uglyurls %}/index.html{%- endif %}">{{ config.title | safe }}</a></h1> + <h1><a href="{{ config.base_url | safe }}/{%- if config.extra.uglyurls %}index.html{%- endif %}">{{ config.title | safe }}</a></h1> {%- endif %} </div> <div> @@ -44,13 +47,17 @@ {%- for i in config.extra.menu %} <li><h2><a href="{{ get_url(path=i.url, trailing_slash=i.slash) }}{%- if i.slash and config.extra.uglyurls %}index.html{%- endif %}">{{ i.name | safe }}</a></h2> </li> {%- endfor %} + {%- if config.extra.js_theme %} + <li class="js"><i type="reset" id="mode" class="svgs contrast"></i> + {%- endif %} + </li> </ul> </div> {%- if config.build_search_index %} <div> - <form name="goSearch"> + <form class="js" name="goSearch"> <div class="searchd"> - <input id="userinput" type="search" placeholder="Search" autocomplete="off" /> + <input id="userinput" type="text" placeholder="Search" autocomplete="off" /> <button type="submit" title="Search">{%- if config.extra.fontawesome %}<i class="svgs fa-solid fa-magnifying-glass"></i>{%- else %}<i class="svgs search"></i>{%- endif %}</button> </div> <div><div id="suggestions"></div></div> diff --git a/templates/index.html b/templates/index.html index a2f5b30..03a652c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -26,8 +26,8 @@ <div> {%- for page in paginator.pages %} <article> - {{- macros::title(page=page) }} - <p> + <h1><a href="{{ page.permalink | safe }}{%- if config.extra.uglyurls %}index.html{%- endif %}">{{ page.title }}</a></h1> + <p class="sum"> {%- if page.summary %} {{ page.summary | markdown(inline=true) | safe }} {%- elif page.description %} @@ -38,6 +38,17 @@ {%- endif %} <a href="{{ page.permalink | safe }}{%- if config.extra.uglyurls %}index.html{%- endif %}">...more</a> </p> + <span class="info"> + {%- if page.taxonomies.authors and config.taxonomies %} + <span class="rpad">{%- for author in page.taxonomies.authors %} + {%- if author_flag %} and {% endif %} + <a href="{{ get_taxonomy_url(kind='authors', name=author) | safe }}{%- if config.extra.uglyurls %}index.html{%- endif %}">{{ author }}</a> + {%- set_global author_flag = true %} + {%- endfor %}</span> + {%- elif config.extra.author and config.extra.author_show %}<span class="rpad">{{ config.extra.author }}</span> + {%- endif %} <span class="rpad">{{ page.date | date(format="%Y %B %d") }}</span>{%- if config.extra.readtime %}<span class="rpad"> {{ page.reading_time }} {{ config.extra.readtime_string | default(value="min") }} </span>{% endif %} +{%- if page.taxonomies.categories %}<span class="rpad"> [{% for cat in page.taxonomies.categories %}<a href="{{ get_taxonomy_url(kind='categories', name=cat) | safe }}{%- if config.extra.uglyurls %}index.html{%- endif %}">{{ cat }}</a>{% endfor %}]</span>{% endif %} +{%- if page.taxonomies.tags %} {%- for tag in page.taxonomies.tags %} #<a href="{{ get_taxonomy_url(kind='tags', name=tag) | safe }}{%- if config.extra.uglyurls %}index.html{%- endif %}">{{ tag }}</a> {% endfor -%}{%- endif %}</span> </article> {%- endfor %} {{- macros::pagination(paginator=paginator) }} diff --git a/templates/macros/head.html b/templates/macros/head.html index 4dc5895..2df6fef 100644 --- a/templates/macros/head.html +++ b/templates/macros/head.html @@ -1,37 +1,164 @@ -{%- macro stylesheet() %} - <link rel="stylesheet" href="{{ get_url(path=config.extra.stylesheet, trailing_slash=false, cachebust=true) | safe }}" /> +{%- macro theme() %} + {%- if config.extra.js_theme %} + {%- if config.extra.js_themeButton or config.extra.js_bundle %} + <script src="{{ get_url(path=config.extra.js_theme, trailing_slash=false) | safe }}" integrity="sha384-{{ get_file_hash(path=config.extra.js_theme, sha_type=384, base64=true) | safe }}"></script> + {%- endif %} + {%- endif %} {%- endmacro %} +{%- macro stylesheets() %} + + {%- if config.extra.stylesheets %}{%- for i in config.extra.stylesheets %} + <link rel="stylesheet" href="{{ get_url(path=i, trailing_slash=false, cachebust=true) | safe }}" /> + {%- endfor %}{%- endif %} -{%- macro resource() %} {%- if config.extra.fonts %}{%- for i in config.extra.fonts %} {%- if i.url is matching("^http[s]?://") %} - <link rel="preload" as="style" href="{{ i.url | safe }}" onload="this.onload=null;this.rel='stylesheet'" crossorigin="anonymous" /> + <link rel="preload" as="style" class="preStyle" href="{{ i.url | safe }}" crossorigin="anonymous" /> {%- else %} - <link rel="preload" as="font" href="{{ get_url(path=i.url, trailing_slash=false) | safe }}" type="font/woff2" crossorigin /> + <link rel="preload" as="font" href="{{ get_url(path=i.url, trailing_slash=false) | safe }}" type="font/woff2" crossorigin="anonymous" /> {%- endif %} {%- endfor %}{%- endif %} {%- if config.extra.fontawesome %} - <link rel="preload" href="{{ config.extra.fontawesome | safe }}" as="style" onload="this.onload=null;this.rel='stylesheet'" crossorigin="anonymous" /> + <link rel="preload" as="style" class="preStyle" href="{{ config.extra.fontawesome | safe }}" crossorigin="anonymous" /> {%- endif %} -{%- if config.build_search_index %} +{%- if config.extra.math or page.extra.math %} + + {%- if config.extra.katex_css %}{%- if config.extra.katex_css is matching("^http[s]?://") %} + <link rel="preload" as="style" class="preStyle" href="{{ config.extra.katex_css | safe }}" integrity="sha384-ZPe7yZ91iWxYumsBEOn7ieg8q/o+qh/hQpSaPow8T6BwALcXSCS6C6fSRPIAnTQs" crossorigin="anonymous" /> + {%- else %} + <link rel="preload" as="style" class="preStyle" href="{{ get_url(path=config.extra.katex_css, trailing_slash=false) }}" integrity="sha384-{{ get_file_hash(path=config.extra.katex_css, sha_type=384, base64=true) | safe }}" crossorigin="anonymous" /> + {%- endif %}{%- endif %} + +{%- endif %} + +{%- endmacro %} + + + +{%- macro feed() %} + {%- if config.generate_feed %} + <link rel="alternate" type="{% if config.feed_filename is containing('atom') %}application/atom+xml{% else %}application/rss+xml{% endif %}" title="Atom/RSS Feed" href="{{ get_url(path=config.feed_filename, trailing_slash=false) | safe }}" /> + {%- endif %} +{%- endmacro %} + + + +{%- macro js() %} + + {%- set preStyle = false %} + + {%- if config.extra.fonts %}{%- for i in config.extra.fonts %} + {%- if i.url is matching("^http[s]?://") %} + {%- set preStyle = true %} + {%- endif %} + {%- endfor %}{%- endif %} + + {%- if config.extra.fontawesome %} + {%- set preStyle = true %} + {%- endif %} + + {%- if config.extra.math or page.extra.math %} + {%- if config.extra.katex_css %} + {%- set preStyle = true %} + {%- endif %} + {%- endif %} + +{%- if config.build_search_index and config.extra.js_bundle %} + {%- if config.extra.js_search_index %} <script defer src="{{ get_url(path=config.extra.js_search_index, trailing_slash=false, cachebust=true) | safe }}" integrity="sha384-{{ get_file_hash(path=config.extra.js_search_index, sha_type=384, base64=true) | safe }}"></script> {%- endif %} - {%- if config.extra.js_search %} - <script defer src="{{ get_url(path=config.extra.js_search, trailing_slash=false, cachebust=true) | safe }}" integrity="sha384-{{ get_file_hash(path=config.extra.js_search, sha_type=384, base64=true) | safe }}"></script> + + {%- if config.extra.js_bundle %} + <script defer src="{{ get_url(path=config.extra.js_bundle, trailing_slash=false, cachebust=true) | safe }}" integrity="sha384-{{ get_file_hash(path=config.extra.js_bundle, sha_type=384, base64=true) | safe }}"></script> {%- endif %} + +{%- elif config.build_search_index %} + + {#- no bundle #} + + {%- if preStyle == true %} + {%- if config.extra.js_prestyle %} + <script defer src="{{ get_url(path=config.extra.js_prestyle, trailing_slash=false, cachebust=true) | safe }}" integrity="sha384-{{ get_file_hash(path=config.extra.js_prestyle, sha_type=384, base64=true) | safe }}"></script> + {%- endif %} + {%- endif %} + + {%- if config.extra.js_theme %} + {%- if config.extra.js_themeButton %} + <script defer src="{{ get_url(path=config.extra.js_themeButton, trailing_slash=false) | safe }}" integrity="sha384-{{ get_file_hash(path=config.extra.js_themeButton, sha_type=384, base64=true) | safe }}"></script> + {%- endif %} + {%- endif %} + + {%- if config.extra.js_search_index %} + <script defer src="{{ get_url(path=config.extra.js_search_index, trailing_slash=false, cachebust=true) | safe }}" integrity="sha384-{{ get_file_hash(path=config.extra.js_search_index, sha_type=384, base64=true) | safe }}"></script> + {%- endif %} + {%- if config.extra.js_search %}{%- for i in config.extra.js_search %} + <script defer src="{{ get_url(path=i, trailing_slash=false, cachebust=true) | safe }}" integrity="sha384-{{ get_file_hash(path=i, sha_type=384, base64=true) | safe }}"></script> + {%- endfor %}{%- endif %} + +{%- elif config.extra.js_bundle %} + + {#- no search #} + + <script defer src="{{ get_url(path=config.extra.js_bundle, trailing_slash=false, cachebust=true) | safe }}" integrity="sha384-{{ get_file_hash(path=config.extra.js_bundle, sha_type=384, base64=true) | safe }}"></script> + +{%- else %} + + {#- no bundle or search #} + + {%- if preStyle == true %} + {%- if config.extra.js_prestyle %} + <script defer src="{{ get_url(path=config.extra.js_prestyle, trailing_slash=false, cachebust=true) | safe }}" integrity="sha384-{{ get_file_hash(path=config.extra.js_prestyle, sha_type=384, base64=true) | safe }}"></script> + {%- endif %} + {%- endif %} + + {%- if config.extra.js_theme %} + {%- if config.extra.js_themeButton or config.extra.js_bundle %} + <script defer src="{{ get_url(path=config.extra.js_themeButton, trailing_slash=false) | safe }}" integrity="sha384-{{ get_file_hash(path=config.extra.js_themeButton, sha_type=384, base64=true) | safe }}"></script> + {%- endif %} + {%- endif %} + + +{%- endif %} + + +{#- https://katex.org/docs/autorender.html #} +{#- https://github.com/KaTeX/KaTeX/ #} +{#- https://github.com/KaTeX/KaTeX/tree/main/contrib/mathtex-script-type/ #} +{%- if config.extra.math or page.extra.math %} + + {%- if config.extra.katex_js %}{%- if config.extra.katex_js is matching("^http[s]?://") %} + <script defer src="{{ config.extra.katex_js | safe }}" integrity="sha384-ljao5I1l+8KYFXG7LNEA7DyaFvuvSCmedUf6Y6JI7LJqiu8q5dEivP2nDdFH31V4" crossorigin="anonymous"></script> + {%- else %} + <script defer src="{{ get_url(path=config.extra.katex_js, trailing_slash=false, cachebust=true) }}" integrity="sha384-{{ get_file_hash(path=config.extra.katex_js, sha_type=384, base64=true) | safe }}"></script> + {%- endif %}{%- endif %} + + {%- if config.extra.mathtex_js %}{%- if config.extra.mathtex_js is matching("^http[s]?://") %} + <script defer src="{{ config.extra.mathtex_js | safe }}" integrity="sha384-jiBVvJ8NGGj5n7kJaiWwWp9AjC+Yh8rhZY3GtAX8yU28azcLgoRo4oukO87g7zDT" crossorigin="anonymous"></script> + {%- else %} + <script defer src="{{ get_url(path=config.extra.mathtex_js, trailing_slash=false, cachebust=true) }}" integrity="sha384-{{ get_file_hash(path=config.extra.mathtex_js, sha_type=384, base64=true) | safe }}"></script> + {%- endif %}{%- endif %} + +{%- if config.extra.math_auto_render or page.extra.math_auto_render %} + {%- if config.extra.katex_autorender_js %} + {%- if config.extra.katex_autorender_js is matching("^http[s]?://") %} + <script defer src="{{ config.extra.katex_autorender_js | safe }}" integrity="sha384-+XBljXPPiv+OzfbB3cVmLHf4hdUFHlWNZN5spNQ7rmHTXpd7WvJum6fIACpNNfIR" crossorigin="anonymous"></script> + {%- else %} + <script defer src="{{ get_url(path=config.extra.katex_autorender_js, trailing_slash=false, cachebust=true) }}" integrity="sha384-{{ get_file_hash(path=config.extra.katex_autorender_js, sha_type=384, base64=true) | safe }}"></script> + {%- endif %} + {%- endif %} + <script defer src="{{ get_url(path=config.extra.katex_options, trailing_slash=false, cachebust=true) }}" integrity="sha384-{{ get_file_hash(path=config.extra.katex_options, sha_type=384, base64=true) | safe }}"></script> {%- endif %} -{%- if config.generate_feed %} - <link rel="alternate" type="{% if config.feed_filename is containing('atom') %}application/atom+xml{% else %}application/rss+xml{% endif %}" title="Atom/RSS Feed" href="{{ get_url(path=config.feed_filename, trailing_slash=false) | safe }}" /> {%- endif %} {%- endmacro %} + {%- macro favicons() %} {%- if config.extra.favicon_theme_color %} <meta name="theme-color" content="{{ config.extra.favicon_theme_color }}" /> @@ -63,6 +190,18 @@ {%- endmacro %} + +{%- macro security() %} + {%- if config.extra.security_header_referrer %} + <meta name="referrer" content="{{ config.extra.security_header_referrer | safe }}" /> + {%- endif %} + {%- if config.extra.security_header_csp %} + <meta http-equiv="Content-Security-Policy" content="{{ config.extra.security_header_csp | safe }}" /> + {%- endif %} +{%- endmacro %} + + + {#- type: website or article, generally setting article for blog articles -#} {#- page_images: using for the blog single template page -#} {#- page_section: the blog single template page have to pass the parameter -#} @@ -199,50 +338,3 @@ {%- endif %} {#- Extra SEO END #} {%- endmacro %} - -{%- macro security() %} - {%- if config.extra.security_header_referrer %} - <meta name="referrer" content="{{ config.extra.security_header_referrer | safe }}" /> - {%- endif %} - {%- if config.extra.security_header_csp %} - <meta http-equiv="Content-Security-Policy" content="{{ config.extra.security_header_csp | safe }}" /> - {%- endif %} -{%- endmacro %} - -{# https://katex.org/docs/autorender.html #} -{# https://github.com/KaTeX/KaTeX/ #} -{# https://github.com/KaTeX/KaTeX/tree/main/contrib/mathtex-script-type/ #} -{%- macro math() %} -{%- if config.extra.math or page.extra.math %} - - {%- if config.extra.katex_css %}{%- if config.extra.katex_css is matching("^http[s]?://") %} - <link rel="preload" href="{{ config.extra.katex_css | safe }}" as="style" integrity="sha384-ZPe7yZ91iWxYumsBEOn7ieg8q/o+qh/hQpSaPow8T6BwALcXSCS6C6fSRPIAnTQs" onload="this.onload=null;this.rel='stylesheet'" crossorigin="anonymous" /> - {%- else %} - <link rel="preload" href="{{ get_url(path=config.extra.katex_css, trailing_slash=false) }}" as="style" integrity="sha384-ZPe7yZ91iWxYumsBEOn7ieg8q/o+qh/hQpSaPow8T6BwALcXSCS6C6fSRPIAnTQs" onload="this.onload=null;this.rel='stylesheet'" crossorigin="anonymous" /> - {%- endif %}{%- endif %} - - {%- if config.extra.katex_js %}{%- if config.extra.katex_js is matching("^http[s]?://") %} - <script defer src="{{ config.extra.katex_js | safe }}" integrity="sha384-ljao5I1l+8KYFXG7LNEA7DyaFvuvSCmedUf6Y6JI7LJqiu8q5dEivP2nDdFH31V4" crossorigin="anonymous"></script> - {%- else %} - <script defer src="{{ get_url(path=config.extra.katex_js, trailing_slash=false) }}" integrity="sha384-ljao5I1l+8KYFXG7LNEA7DyaFvuvSCmedUf6Y6JI7LJqiu8q5dEivP2nDdFH31V4" crossorigin="anonymous"></script> - {%- endif %}{%- endif %} - - {%- if config.extra.mathtex_js %}{%- if config.extra.mathtex_js is matching("^http[s]?://") %} - <script defer src="{{ config.extra.mathtex_js | safe }}" integrity="sha384-jiBVvJ8NGGj5n7kJaiWwWp9AjC+Yh8rhZY3GtAX8yU28azcLgoRo4oukO87g7zDT" crossorigin="anonymous"></script> - {%- else %} - <script defer src="{{ get_url(path=config.extra.mathtex_js, trailing_slash=false) }}" integrity="sha384-jiBVvJ8NGGj5n7kJaiWwWp9AjC+Yh8rhZY3GtAX8yU28azcLgoRo4oukO87g7zDT" crossorigin="anonymous"></script> - {%- endif %}{%- endif %} - -{%- if config.extra.math_auto_render or page.extra.math_auto_render %} - {%- if config.extra.katex_autorender_js %} - {%- if config.extra.katex_autorender_js is matching("^http[s]?://") %} - <script defer src="{{ config.extra.katex_autorender_js | safe }}" integrity="sha384-+XBljXPPiv+OzfbB3cVmLHf4hdUFHlWNZN5spNQ7rmHTXpd7WvJum6fIACpNNfIR" crossorigin="anonymous"></script> - {%- else %} - <script defer src="{{ get_url(path=config.extra.katex_autorender_js, trailing_slash=false) }}" integrity="sha384-+XBljXPPiv+OzfbB3cVmLHf4hdUFHlWNZN5spNQ7rmHTXpd7WvJum6fIACpNNfIR" crossorigin="anonymous"></script> - {%- endif %} - {%- endif %} - <script>document.addEventListener("DOMContentLoaded",function(){renderMathInElement(document.body,{delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1},{left:"\\(",right:"\\)",display:!1},{left:"\\[",right:"\\]",display:!0}],throwOnError:!1})});</script> -{%- endif %} - -{%- endif %} -{%- endmacro %} diff --git a/templates/macros/macros.html b/templates/macros/macros.html index 8003420..4b6c7d5 100644 --- a/templates/macros/macros.html +++ b/templates/macros/macros.html @@ -1,17 +1,17 @@ {%- macro title(page) %} <h1><a href="{{ page.permalink | safe }}{%- if config.extra.uglyurls %}index.html{%- endif %}">{{ page.title }}</a></h1> - <span>{{ page.date | date(format="%B %d, %Y") }} - {%- if page.taxonomies.authors and config.taxonomies %} by - {%- for author in page.taxonomies.authors %} + <span> + {%- if page.taxonomies.authors and config.taxonomies %} + <span class="hpad"><b>{%- for author in page.taxonomies.authors %} {%- if author_flag %} and {% endif %} <a href="{{ get_taxonomy_url(kind='authors', name=author) | safe }}{%- if config.extra.uglyurls %}index.html{%- endif %}">{{ author }}</a> {%- set_global author_flag = true %} - {%- endfor %} - {%- elif config.extra.author and config.extra.author_show %} by {{ config.extra.author }} - {%- endif %} -{%- if page.taxonomies.categories %} [{% for cat in page.taxonomies.categories %}<a href="{{ get_taxonomy_url(kind='categories', name=cat) | safe }}{%- if config.extra.uglyurls %}index.html{%- endif %}">{{ cat }}</a>{% endfor %}]{% endif %} -{%- if page.taxonomies.tags %} {%- for tag in page.taxonomies.tags %} #<a href="{{ get_taxonomy_url(kind='tags', name=tag) | safe }}{%- if config.extra.uglyurls %}index.html{%- endif %}">{{ tag }}</a> {% endfor -%}{%- endif %} -{%- if config.extra.readtime %} - {{ page.reading_time }} {{ config.extra.readtime_string | default(value="min") }} {% endif %}</span> + {%- endfor %}</b></span> + {%- elif config.extra.author and config.extra.author_show %}<span class="hpad"><b>{{ config.extra.author }}</b></span> + {%- endif %}<span class="rpad"> {{ page.date | date(format="%B %d, %Y") }}</span> +{%- if page.taxonomies.categories %}<span class="rpad"> [{% for cat in page.taxonomies.categories %}<a href="{{ get_taxonomy_url(kind='categories', name=cat) | safe }}{%- if config.extra.uglyurls %}index.html{%- endif %}">{{ cat }}</a>{% endfor %}]</span>{% endif %} +{%- if page.taxonomies.tags %}<span class="rpad"> {%- for tag in page.taxonomies.tags %} #<a href="{{ get_taxonomy_url(kind='tags', name=tag) | safe }}{%- if config.extra.uglyurls %}index.html{%- endif %}">{{ tag }}</a> {% endfor -%}</span>{%- endif %} +{%- if config.extra.readtime %}<span class="rpad"> {{ page.reading_time }} {{ config.extra.readtime_string | default(value="min") }} </span>{% endif %}</span> {%- endmacro title %} diff --git a/templates/macros/social.html b/templates/macros/social.html index c1b0726..96f0056 100644 --- a/templates/macros/social.html +++ b/templates/macros/social.html @@ -1,45 +1,45 @@ {%- macro social_links(social_config) %} {%- set base_url = get_url(path="", lang=lang) %} {%- if config.generate_feed %}{%- if config.extra.social.feed %} - <a href="{{ get_url(path=config.feed_filename, trailing_slash=false) | safe }}" target="_blank"><i class="svg rss" title="Atom/RSS Feed"></i></a>{% endif %}{% endif %} + <a href="{{ get_url(path=config.feed_filename, trailing_slash=false) | safe }}" target="_blank"><i type="Button" class="svg rss" title="Atom/RSS Feed"></i></a> {% endif %}{% endif %} {%- if social_config.mail %} - <a href="mailto:{{ social_config.mail }}" target="_blank"><i class="svg mail" title="Mail"></i></a>{% endif %} + <a href="mailto:{{ social_config.mail }}" target="_blank"><i type="Button" class="svg mail" title="Mail"></i></a> {% endif %} {%- if social_config.mastodon %} - <a href="{{ social_config.mastodon }}/" target="_blank"><i class="svg mastodon" title="Mastodon"></i></a>{% endif %} + <a href="{{ social_config.mastodon }}/" target="_blank"><i type="Button" class="svg mastodon" title="Mastodon"></i></a> {% endif %} {%- if social_config.element %} - <a href="https://{{ social_config.element }}/" target="_blank"><i class="svg element" title="Element"></i></a>{% endif %} + <a href="https://{{ social_config.element }}/" target="_blank"><i type="Button" class="svg element" title="Element"></i></a> {% endif %} {%- if social_config.matrix %} - <a href="https://{{ social_config.matrix }}/" target="_blank"><i class="svg matrix" title="Matrix"></i></a>{% endif %} + <a href="https://{{ social_config.matrix }}/" target="_blank"><i type="Button" class="svg matrix" title="Matrix"></i></a> {% endif %} {%- if social_config.twitter %} - <a href="https://twitter.com/{{ social_config.twitter }}/" target="_blank"><i class="svg twitter" title="Twitter"></i></a>{% endif %} + <a href="https://twitter.com/{{ social_config.twitter }}/" target="_blank"><i type="Button" class="svg twitter" title="Twitter"></i></a> {% endif %} {%- if social_config.facebook %} - <a href="https://www.facebook.com/{{ social_config.facebook }}/" target="_blank"><i class="svg facebook" title="Facebook"></i></a>{% endif %} + <a href="https://www.facebook.com/{{ social_config.facebook }}/" target="_blank"><i type="Button" class="svg facebook" title="Facebook"></i></a> {% endif %} {%- if social_config.linkedin %} - <a href="https://www.linkedin.com/in/{{ social_config.linkedin }}/" target="_blank"><i class="svg linkedin" title="LinkedIn"></i></a>{% endif %} + <a href="https://www.linkedin.com/in/{{ social_config.linkedin }}/" target="_blank"><i type="Button" class="svg linkedin" title="LinkedIn"></i></a> {% endif %} {%- if social_config.researchgate %} - <a href="https://www.researchgate.net/profile/{{ social_config.researchgate }}/" target="_blank"><i class="svg researchgate" title="ResearchGate"></i></a>{% endif %} + <a href="https://www.researchgate.net/profile/{{ social_config.researchgate }}/" target="_blank"><i type="Button" class="svg researchgate" title="ResearchGate"></i></a> {% endif %} {%- if social_config.gitlab %} - <a href="https://gitlab.com/{{ social_config.gitlab }}/" target="_blank"><i class="svg gitlab" title="Gitlab"></i></a>{% endif %} + <a href="https://gitlab.com/{{ social_config.gitlab }}/" target="_blank"><i type="Button" class="svg gitlab" title="Gitlab"></i></a> {% endif %} {%- if social_config.github %} - <a href="https://github.com/{{ social_config.github }}/" target="_blank"><i class="svg github" title="Github"></i></a>{% endif %} + <a href="https://github.com/{{ social_config.github }}/" target="_blank"><i type="Button" class="svg github" title="Github"></i></a> {% endif %} {%- if social_config.bitbucket %} - <a href="https://bitbucket.org/{{ social_config.bitbucket }}/" target="_blank"><i class="svg bitbucket" title="Bitbucket"></i></a>{% endif %} + <a href="https://bitbucket.org/{{ social_config.bitbucket }}/" target="_blank"><i type="Button" class="svg bitbucket" title="Bitbucket"></i></a> {% endif %} {%- if social_config.python %} - <a href="https://pypi.org/user/{{ social_config.python }}/" target="_blank"><i class="svg python" title="Python"></i></a>{% endif %} + <a href="https://pypi.org/user/{{ social_config.python }}/" target="_blank"><i type="Button" class="svg python" title="Python"></i></a> {% endif %} {%- if social_config.docker %} - <a href="https://hub.docker.com/u/{{ social_config.docker }}/" target="_blank"><i class="svg docker" title="Docker"></i></a>{% endif %} + <a href="https://hub.docker.com/u/{{ social_config.docker }}/" target="_blank"><i type="Button" class="svg docker" title="Docker"></i></a> {% endif %} {%- if social_config.stack %} - <a href="https://stackoverflow.com/users/{{ social_config.stack }}/" target="_blank"><i class="svg stack" title="Stack"></i></a>{% endif %} + <a href="https://stackoverflow.com/users/{{ social_config.stack }}/" target="_blank"><i type="Button" class="svg stack" title="Stack"></i></a> {% endif %} {%- if social_config.instagram %} - <a href="https://www.instagram.com/{{ social_config.instagram }}/" target="_blank"><i class="svg instagram" title="Instagram"></i></a>{% endif %} + <a href="https://www.instagram.com/{{ social_config.instagram }}/" target="_blank"><i type="Button" class="svg instagram" title="Instagram"></i></a> {% endif %} {%- if social_config.pinterest %} - <a href="https://www.pinterest.com/{{ social_config.pinterest }}/" target="_blank"><i class="svg pinterest" title="Pinterest"></i></a>{% endif %} + <a href="https://www.pinterest.com/{{ social_config.pinterest }}/" target="_blank"><i type="Button" class="svg pinterest" title="Pinterest"></i></a> {% endif %} {%- if social_config.twitch %} - <a href="https://www.twitch.tv/{{ social_config.twitch }}/" target="_blank"><i class="svg twitch" title="Twitch"></i></a>{% endif %} + <a href="https://www.twitch.tv/{{ social_config.twitch }}/" target="_blank"><i type="Button" class="svg twitch" title="Twitch"></i></a> {% endif %} {%- if social_config.youtube %} - <a href="https://www.youtube.com/channel/{{ social_config.youtube }}/" target="_blank"><i class="svg youtube" title="YouTube"></i></a>{% endif %} + <a href="https://www.youtube.com/channel/{{ social_config.youtube }}/" target="_blank"><i type="Button" class="svg youtube" title="YouTube"></i></a> {% endif %} {%- if social_config.buymeacoffee %} - <a href="https://www.buymeacoffee.com/{{ social_config.buymeacoffee }}/" target="_blank"><i class="svg buymeacoffee" title="Buy Me A Coffee"></i></a>{% endif %} + <a href="https://www.buymeacoffee.com/{{ social_config.buymeacoffee }}/" target="_blank"><i type="Button" class="svg buymeacoffee" title="Buy Me A Coffee"></i></a> {% endif %} {%- if social_config.github_sponsor %} - <a href="https://github.com/sponsors/{{ social_config.github_sponsor }}/" target="_blank"><i class="svg github-sponsor" title="GitHub Sponsor"></i></a>{% endif %} + <a href="https://github.com/sponsors/{{ social_config.github_sponsor }}/" target="_blank"><i type="Button" class="svg github-sponsor" title="GitHub Sponsor"></i></a> {% endif %} {%- endmacro %} |
