Giter VIP home page Giter VIP logo

st-primer's People

Contributors

buildersbrewery avatar karelvuong avatar lucien144 avatar marcinwyszynski avatar omgmog avatar salgnt avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

st-primer's Issues

Find button height doesn't always match input height

A very minor visual issue: If your font size is very small (<= 10 with Menlo), the height of the inputs in the Find and Find in Files panels matches the size of the height:

image

Personally, I find 14-point text easier on the eyes, but this makes the inputs a few px taller than the buttons:

image

I understand why the inputs have to get taller, but it would be nice for the buttons to get taller to match.

icon for bower.json not working

just wanted to let you know that the bower icon is not working it is coming up as your settings icon thanx for the theme and hard work keep at it

ST3: Rule is missing a class name

Error in Console

Errors parsing theme:
Rule is missing a class name

User > Preferences.sublime-settings

{
    "close_windows_when_empty": true,
    "color_scheme": "Packages/User/SublimeLinter/Espresso Soda (SL).tmTheme",
    "default_line_ending": "unix",
    "ensure_newline_at_eof_on_save": true,
    "highlight_line": true,
    "highlight_modified_tabs": true,
    "ignored_packages":
    [
        "Vintage"
    ],
    "rulers":
    [
        80,
        120
    ],
    "scroll_speed": 2.0,
    "show_encoding": true,
    "show_line_endings": true,
    "theme": "Primer.sublime-theme",
    "translate_tabs_to_spaces": true,
    "trim_trailing_white_space_on_save": true
}

Truncated text in sidebar for Sublime Text 3

Text in sidebar is truncated for Sublime Text 3.
image

Settings:

"theme": "Primer Dark.sublime-theme",
"theme_primer_sidebar_font_large": true,
"theme_primer_sidebar_tree_large": true,
"theme_primer_tabs_font_large": true,
"theme_primer_tabs_large": true

Add panel button from Build 3101

Dev Build 3101 is out now at https://www.sublimetext.com/3dev
There's now a button on the status bar to switch between panels. If you have a custom theme, the relevant class name is panel_button_control.
Also changed is the way Sublime Text detects changes to open files. Sublime Text 2 would simply poll the current file whenever it was switched to. This has the disadvantage that any changes to the underlying file wouldn't be noticed until either the main window itself loses and then regains input focus, or the active file was changed to something else and then back. In practice, this was only an issue if there was a 3rd party changing the file behind the scenes. It also wouldn't notice background modifications to files that are never switched to.
Sublime Text 3 by and large worked around the missed notification issue by subscribing to file system change notifications, so that it didn't need to poll. To work around file systems that don't publish change notifications, it still polls files when an application window goes from an unfocused to a focused state, but not when simply switching between files. 3101 will now poll the active file when the active file changes, to better handle file systems that don't send change notifications.

Current background color is too bright

Hi @karelvuong,

Firstly, thank you for an amazing theme. May I request a less bright background color of your current color scheme (primer.light3 maybe). Current background is too bright and it hurt my eyes, I'm a fan of light color scheme though.

For your reference, can you please take a look at this PaperColor for Vim

Find in Files panel is partially cut off

I've installed Primer in Sublime Text build 3083 running on OS X 10.10.3. The Find panel looks great:

image

But in the Find in Files panel, the Replace row is partially cut off:

image

(It's cut off whether the status bar is shown or not.)

Not working with ST2

Package is reported as compatible with ST2, but when I try to enable it (OS X, not sure it matters) I get a completely unusable window.

schermata 2015-03-25 alle 11 10 28

It was really hard to see which one I choosed

here is a little problem for the primer -light theme
qq 20150731123427
the selected item's background color is too similar to white, It's really hard for me to see which one did I
choosed, can you add a setting to set the background color a litte more obviously

Fix scrollbar rendering with light theme

Observed as of c89952b commit in Windows 7 and Ubuntu, ST3 3086

The rendering of the horizontal and vertical scroll bars does not render consistently.
Rendering does appear to be correct using the dark theme.

image

Sample: JavaScript

/* ========================================================================
 * Bootstrap: dropdown.js v3.3.4
 * http://getbootstrap.com/javascript/#dropdowns
 * ========================================================================
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 * ======================================================================== */


+function ($) {
  'use strict';

  // DROPDOWN CLASS DEFINITION
  // =========================

  var backdrop = '.dropdown-backdrop'
  var toggle   = '[data-toggle="dropdown"]'
  var Dropdown = function (element) {
    $(element).on('click.bs.dropdown', this.toggle)
  }

  Dropdown.VERSION = '3.3.4'

  Dropdown.prototype.toggle = function (e) {
    var $this = $(this)

    if ($this.is('.disabled, :disabled')) return

    var $parent  = getParent($this)
    var isActive = $parent.hasClass('open')

    clearMenus()

    if (!isActive) {
      if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {
        // if mobile we use a backdrop because click events don't delegate
        $(document.createElement('div'))
          .addClass('dropdown-backdrop')
          .insertAfter($(this))
          .on('click', clearMenus)
      }

      var relatedTarget = { relatedTarget: this }
      $parent.trigger(e = $.Event('show.bs.dropdown', relatedTarget))

      if (e.isDefaultPrevented()) return

      $this
        .trigger('focus')
        .attr('aria-expanded', 'true')

      $parent
        .toggleClass('open')
        .trigger('shown.bs.dropdown', relatedTarget)
    }

    return false
  }

  Dropdown.prototype.keydown = function (e) {
    if (!/(38|40|27|32)/.test(e.which) || /input|textarea/i.test(e.target.tagName)) return

    var $this = $(this)

    e.preventDefault()
    e.stopPropagation()

    if ($this.is('.disabled, :disabled')) return

    var $parent  = getParent($this)
    var isActive = $parent.hasClass('open')

    if ((!isActive && e.which != 27) || (isActive && e.which == 27)) {
      if (e.which == 27) $parent.find(toggle).trigger('focus')
      return $this.trigger('click')
    }

    var desc = ' li:not(.disabled):visible a'
    var $items = $parent.find('[role="menu"]' + desc + ', [role="listbox"]' + desc)

    if (!$items.length) return

    var index = $items.index(e.target)

    if (e.which == 38 && index > 0)                 index--                        // up
    if (e.which == 40 && index < $items.length - 1) index++                        // down
    if (!~index)                                      index = 0

    $items.eq(index).trigger('focus')
  }

  function clearMenus(e) {
    if (e && e.which === 3) return
    $(backdrop).remove()
    $(toggle).each(function () {
      var $this         = $(this)
      var $parent       = getParent($this)
      var relatedTarget = { relatedTarget: this }

      if (!$parent.hasClass('open')) return

      if (e && e.type == 'click' && /input|textarea/i.test(e.target.tagName) && $.contains($parent[0], e.target)) return

      $parent.trigger(e = $.Event('hide.bs.dropdown', relatedTarget))

      if (e.isDefaultPrevented()) return

      $this.attr('aria-expanded', 'false')
      $parent.removeClass('open').trigger('hidden.bs.dropdown', relatedTarget)
    })
  }

  function getParent($this) {
    var selector = $this.attr('data-target')

    if (!selector) {
      selector = $this.attr('href')
      selector = selector && /#[A-Za-z]/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
    }

    var $parent = selector && $(selector)

    return $parent && $parent.length ? $parent : $this.parent()
  }


  // DROPDOWN PLUGIN DEFINITION
  // ==========================

  function Plugin(option) {
    return this.each(function () {
      var $this = $(this)
      var data  = $this.data('bs.dropdown')

      if (!data) $this.data('bs.dropdown', (data = new Dropdown(this)))
      if (typeof option == 'string') data[option].call($this)
    })
  }

  var old = $.fn.dropdown

  $.fn.dropdown             = Plugin
  $.fn.dropdown.Constructor = Dropdown


  // DROPDOWN NO CONFLICT
  // ====================

  $.fn.dropdown.noConflict = function () {
    $.fn.dropdown = old
    return this
  }


  // APPLY TO STANDARD DROPDOWN ELEMENTS
  // ===================================

  $(document)
    .on('click.bs.dropdown.data-api', clearMenus)
    .on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
    .on('click.bs.dropdown.data-api', toggle, Dropdown.prototype.toggle)
    .on('keydown.bs.dropdown.data-api', toggle, Dropdown.prototype.keydown)
    .on('keydown.bs.dropdown.data-api', '[role="menu"]', Dropdown.prototype.keydown)
    .on('keydown.bs.dropdown.data-api', '[role="listbox"]', Dropdown.prototype.keydown)

}(jQuery);

Update code folding indicator

screen shot 2015-04-21 at 11 46 35
Currently the code folding indicator is a low resolution picture and does not match the themes. Hope this could be improved.

Proper line highlighting

The caret is great, but when I am jumping across panes it can be difficult to see what line you're on at first glance. I'm seeing this issue with the primer.dark.tmTheme.

Tab text is truncated

When using a combiation of theme_primer_tabs_* and theme_primer_tabs_font_*, tab text is truncated.

Can't see the tail of the 'g' or the 'p'.

Please see attached image for example.
capture

Update screenshots

The current screenshots only reveal accent colors taking effect on the active tab and icons in the bottom panel.

image

Add Scrollbars to Theme

plz scrollbars to the theme i had switch back to my other fav theme cause of its scrollbars btw its Theme - Numix

GoAnything Panel border row

here 1.0.3 - uninstall, clean folder from old files, (re)install but nothing, there are not border on GoAnything Panel, it's a problem of my package?
schermata 2015-03-26 alle 08 37 18

Icons missing

I reverted back to the original sublime theme and now the icons are missing
sublime

Theme - Primer: v2.0

I have changed the code from Briles/gruvbox to output Theme - Primer based on primer/github-textmate-theme.

primer

Changes:

  • no NDC variants
  • no Soft, Medium, Hard variants
  • no extras
  • slightly changed README

Question:


Should fix #49, #48, #47, #41, #32, #31, #28 and if extras included from gruvbox also #24.


TODO:

  • change accent colors to match Primer
    • recolor assets
    • recolor extras if included
  • add Python file to automatically fix old settings during the transition phase to v2.0
    • fix color scheme and theme entries with new names
    • remove old other settings or replace if similar new found
  • changes visuals for sidebar to match old Primer versions
  • add menu and command palette entries if desired

Scrollbars gets ugly

Hi, I have a problem. Sometimes the scrollbars behave strange, changing of color, and I can't distinguish the bars from the total space assigned it.

Here is an image that explain better the problem

pantallazo

Like you see the vertical and horizontal bars (of the text editor) doesn't appear, and the total space, where could be located, have been replaced with a grey bar.

Anyone knows the reason of this problem?

Atom Theme

Really like this theme but, I've recently moved to using Atom. Is there an Atom UI + Syntax theme port for this?

Fix Code Completion for Dark Theme plz!!

Hey Thanks for fixing the scrollbars anyway just noticed that the code completion for the dark theme is all white and doesnt match the theme at all so i went in and changed some stuff and i got this effect

screenshot from 2015-04-15 23 52 08

here are the settings i changed

screenshot from 2015-04-15 23 50 05

screenshot from 2015-04-15 23 48 05

screenshot from 2015-04-15 23 49 36

if you could implement these with your own changes it would be great Thanks

Primer Dark window theme isn't working

Hello -- first of all thanks for putting together such a nice theme!

I'm having no problems with the light variation of the theme, but the Dark version doesn't seem to work at all.

I installed the package using Wbond's Package Manager, and I've confirmed that the "Primer Dark.sublime-theme" file exists, but it just doesn't want to apply.

I'm using Sublime Text 2, build 2221 on Linux.

Any thoughts?

New release tag

You're using tags, so to get the dark theme, we need a new release tag. :)

Update Color Scheme plz

So Sorry for but its just that when i'm in yml developing a new theme or color scheme it just looks weird

here take look

Color Scheme Example

screenshot from 2015-04-17 08 17 13

  • Notice the after the part of the string it doesn't stay green i know its little but its annoying

Theme Example

screenshot from 2015-04-17 08 17 38

  • Notice When you define property like layer0.opacity you get the red colon i know its easily overlooked but can you fix this plz & thank you in advance

Recommend Projects

  • React photo React

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

  • Vue.js photo Vue.js

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

  • Typescript photo Typescript

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

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

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

  • web

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

  • server

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

  • Machine learning

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

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

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

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.