Skip to content
This repository has been archived by the owner on Mar 24, 2019. It is now read-only.

Commit

Permalink
Done, for now
Browse files Browse the repository at this point in the history
Tweaks to colours:
- Lightened comments to 65%, applied italic
- Comment 'headings' lightened to #333, remain bold regular
- Text stays at #000
- Git should now ignore autosaved .txt files
  • Loading branch information
ry5n committed Dec 5, 2011
1 parent ebccc1d commit ac3348c
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 27 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
*(Autosaved).*
10 changes: 6 additions & 4 deletions Contents/Resources/SyntaxDefinition.xml
Expand Up @@ -16,22 +16,22 @@
<state-link state="AutodocComment" mode="CSS" />
<state-link state="SingleString" mode="CSS" />

<state id="CSS Comments" type="comment" color="#737373" font-weight="normal" font-style="normal">
<state id="CSS Comments" type="comment" color="#8c8c8c" font-weight="normal" font-style="italic">
<begin><regex>/\*</regex></begin>
<end><regex>\*/</regex></end>

<!-- Highlight ad-hoc comment headings. Not part of any standard -->
<keywords id="CSS Comment Headings" color="#222" font-weight="bold">
<keywords id="CSS Comment Headings" color="#333" font-weight="bold" font-style="normal">
<regex>(#{1,6} .*)([\r\n]|\*/)</regex>
</keywords>
</state>

<state id="Sass Comments" type="comment" color="#737373" font-weight="normal" font-style="normal">
<state id="Sass Comments" type="comment" color="#8c8c8c" font-weight="normal" font-style="italic">
<begin><regex>//</regex></begin>
<end><regex>[\n\r]</regex></end>

<!-- Highlight ad-hoc comment headings. Not part of any standard -->
<keywords id="Sass Comment Headings" color="#222" font-weight="bold" font-style="normal">
<keywords id="Sass Comment Headings" color="#333" font-weight="bold" font-style="normal">
<regex>(#{1,6} .*)[\r\n]</regex>
</keywords>

Expand Down Expand Up @@ -81,6 +81,7 @@
<regex>(border-bottom-width)(?:\s*)(?::)</regex>
<regex>(border-left-width)(?:\s*)(?::)</regex>
<regex>(bottom)(?:\s*)(?::)</regex>
<regex>(box-sizing)(?:\s*)(?::)</regex>
<regex>(caption-side)(?:\s*)(?::)</regex>
<regex>(clear)(?:\s*)(?::)</regex>
<regex>(clip)(?:\s*)(?::)</regex>
Expand Down Expand Up @@ -209,6 +210,7 @@
<regex>(-moz-border-radius-topright)(?:\s*)(?::)</regex>
<regex>(-moz-border-right-colors)(?:\s*)(?::)</regex>
<regex>(-moz-border-top-colors)(?:\s*)(?::)</regex>
<regex>(-moz-box-sizing)(?:\s*)(?::)</regex>
<regex>(-moz-opacity)(?:\s*)(?::)</regex>
<regex>(-moz-outline)(?:\s*)(?::)</regex>
<regex>(-moz-outline-color)(?:\s*)(?::)</regex>
Expand Down
47 changes: 24 additions & 23 deletions colours.rtf
@@ -1,15 +1,16 @@
{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf360
{\fonttbl\f0\fnil\fcharset0 Menlo-Regular;\f1\fnil\fcharset0 Menlo-Bold;}
{\colortbl;\red255\green255\blue255;\red97\green97\blue97;\red0\green20\blue36;\red207\green38\blue16;
\red60\green60\blue60;\red37\green67\blue84;\red23\green61\blue84;\red94\green0\blue166;\red84\green145\blue32;
\red158\green0\blue121;\red60\green147\blue176;\red0\green0\blue255;\red63\green125\blue176;\red99\green0\blue12;
\red43\green77\blue98;\red137\green137\blue137;\red100\green175\blue0;}
{\colortbl;\red255\green255\blue255;\red119\green153\blue87;\red49\green101\blue4;\red207\green38\blue16;
\red37\green67\blue84;\red37\green37\blue37;\red118\green0\blue61;\red23\green61\blue84;\red125\green45\blue0;
\red158\green0\blue121;\red63\green125\blue176;\red0\green0\blue255;\red99\green0\blue12;\red43\green77\blue98;
\red113\green143\blue85;}
\margl1440\margr1440\vieww17480\viewh23040\viewkind0
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural

\f0\fs24 \cf2 /*
\f1\b \cf3 # Bootstrap Normalize
\f0\b0 \cf2 \
\f1\b \cf3 # Bootstrap Normalize\
\cf2 * ------------------------------------------------------------
\f0\b0 \
* \
* Forked version of normalize.css, a project by \
* Nicolas Gallagher and Jonathan Neal.\
Expand All @@ -28,12 +29,12 @@
\
\
/*
\f1\b \cf5 # HTML5 display definitions
\f1\b \cf3 # HTML5 display definitions
\f0\b0 \cf2 */\
\
// Specify block display for new elements (IE6/7/8/9 & FF3)\cf6 \
// Specify block display for new elements (IE6/7/8/9 & FF3)\cf5 \
\
\cf7 article,\
\cf6 article,\
aside,\
details,\
figcaption,\
Expand All @@ -42,20 +43,20 @@ footer,\
header,\
hgroup,\
nav,\
section \{ \cf8 display\cf7 : \cf9 block\cf7 ; \}\
section \{ \cf7 display\cf8 : \cf9 block\cf6 ; \}\cf8 \
\
#something \{\
\cf10 @include\cf7 my-mixin;\
\cf11 $variable\cf7 : \cf12 2em\cf7 ;\
\cf13 $string\cf7 : \cf14 \'93some string\'94\cf7 ;\
\}\
\cf15 \
\cf16 // Specify inline-block display for new elements (IE6/7/8/9 & FF3)\
//\cf15 \
\cf7 audio,\
\cf6 #something \{\cf8 \
\cf10 @include\cf6 my-mixin;\cf8 \
\cf11 $variable\cf8 : \cf12 2em\cf6 ;\cf8 \
\cf11 $string\cf8 : \cf13 \'93some string\'94\cf6 ;\
\}\cf8 \
\cf14 \
\cf15 // Specify inline-block display for new elements (IE6/7/8/9 & FF3)\
//\cf14 \
\cf6 audio,\
canvas,\
video \{\
\cf8 display\cf7 : \cf9 inline-block\cf7 ;\
\cf8 *display\cf7 : \cf17 inline\cf7 ;\
\cf8 *zoom\cf7 : \cf12 1\cf7 ;\
video \{\cf8 \
\cf7 display\cf6 :\cf8 \cf9 inline-block\cf6 ;\cf8 \
\cf7 *display\cf6 :\cf8 \cf9 inline\cf6 ;\cf8 \
\cf7 *zoom\cf8 : \cf12 1\cf6 ;\
\}}

0 comments on commit ac3348c

Please sign in to comment.