Problema com cores do WP-Syntax

14 Jul

WP-Syntax é o plugin que colore todos os códigos do meu blog. Meu grande amigo Handrus notou um problema com a cor dele, coincidentemente depois da atualização para WP 2.8.1. Ajustei a cor de background do plugin para que fique legível mas resolvi não trabalhar nas cores agora, pois o WP-Syntax-Colorizer é um .. pé no saco. Estou oficialmente começando a mecher com o mecanismo Geshi e o plugin WP-Syntax para melhorar o plugin, se alguém tiver sugestões do que fazer nele, postem ai :).

Vai ser o primeiro plugin para WP que eu trabalho.

Thx

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

3 Responses to “Problema com cores do WP-Syntax”

  1. Handrus julho 19, 2009 at %H:%M 01Sun, 19 Jul 2009 13:59:38 +000038. #

    Tips: Geshi (not geNshi as you wrote on post) is used on drupal to build drupal specific highligh and also to make functions a link to their API site.
    This site shows how to get their genshi definitions files: http://wimleers.com/article/run-your-own-svn-server-with-websvn-access-and-drupal-syntax-highlighting
    Also, there is a way to calculate the color contrast using php hexdec function.(http://particletree.com/notebook/calculating-color-contrast-for-legible-text/)
    You could use it with geshi css pack and using php to parse CSS automatize the color changes.
    This would become a GREAT evolution on wp-sintax. I’m available to help 😉

    VA:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    • Felipe 'chronos' Prenholato julho 19, 2009 at %H:%M 02Sun, 19 Jul 2009 14:50:36 +000036. #

      ops! thx for notify me about error :), I already fixed it.
      This weekend I’m focusing on Django, but next weekend (maybe hover week) I want to focus on wp-syntax and geshi css files and you help was very good :), I’ll contact you soon.

      VA:F [1.9.22_1171]
      Rating: 0.0/5 (0 votes cast)
  2. Felipe 'chronos' Prenholato julho 15, 2009 at %H:%M 12Wed, 15 Jul 2009 00:30:12 +000012. #

    I found a Geshi CSS Pack (http://mark-story.com/downloads/view/geshi-css-pack) and playing with it to make a descent style 🙂

    VA:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)

Leave a Reply