From 29957fee42eecac562f788adc2c80aa127b5021a Mon Sep 17 00:00:00 2001 From: Ryan Bigg Date: Wed, 1 Jun 2011 21:22:15 +1000 Subject: [PATCH] Initial commit, contains ugly stylesheet. --- .gitignore | 4 ++++ Gemfile | 4 ++++ Rakefile | 2 ++ app/assets/stylesheets/forem/base/style.css | 6 ++++++ forem-theme-base.gemspec | 21 +++++++++++++++++++++ lib/forem-theme-base.rb | 9 +++++++++ lib/forem-theme-base/version.rb | 7 +++++++ 7 files changed, 53 insertions(+) create mode 100644 .gitignore create mode 100644 Gemfile create mode 100644 Rakefile create mode 100644 app/assets/stylesheets/forem/base/style.css create mode 100644 forem-theme-base.gemspec create mode 100644 lib/forem-theme-base.rb create mode 100644 lib/forem-theme-base/version.rb diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4040c6c --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.gem +.bundle +Gemfile.lock +pkg/* diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..4becf38 --- /dev/null +++ b/Gemfile @@ -0,0 +1,4 @@ +source "http://rubygems.org" + +# Specify your gem's dependencies in forem-theme-base.gemspec +gemspec diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..14cfe0b --- /dev/null +++ b/Rakefile @@ -0,0 +1,2 @@ +require 'bundler' +Bundler::GemHelper.install_tasks diff --git a/app/assets/stylesheets/forem/base/style.css b/app/assets/stylesheets/forem/base/style.css new file mode 100644 index 0000000..8f7fc25 --- /dev/null +++ b/app/assets/stylesheets/forem/base/style.css @@ -0,0 +1,6 @@ +body { + background: #680999; + color: white; + font: 14pt Helvetica; + letter-spacing: -2px; +} \ No newline at end of file diff --git a/forem-theme-base.gemspec b/forem-theme-base.gemspec new file mode 100644 index 0000000..c4fd8b9 --- /dev/null +++ b/forem-theme-base.gemspec @@ -0,0 +1,21 @@ +# -*- encoding: utf-8 -*- +$:.push File.expand_path("../lib", __FILE__) +require "forem-theme-base/version" + +Gem::Specification.new do |s| + s.name = "forem-theme-base" + s.version = Forem::Theme::Base::VERSION + s.platform = Gem::Platform::RUBY + s.authors = ["TODO: Write your name"] + s.email = ["TODO: Write your email address"] + s.homepage = "" + s.summary = %q{TODO: Write a gem summary} + s.description = %q{TODO: Write a gem description} + + s.rubyforge_project = "forem-theme-base" + + s.files = `git ls-files`.split("\n") + s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") + s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } + s.require_paths = ["lib"] +end diff --git a/lib/forem-theme-base.rb b/lib/forem-theme-base.rb new file mode 100644 index 0000000..6c5ba7b --- /dev/null +++ b/lib/forem-theme-base.rb @@ -0,0 +1,9 @@ +module Forem + module Theme + module Base + class Engine < Rails::Engine + Forem::Engine.theme = :base + end + end + end +end diff --git a/lib/forem-theme-base/version.rb b/lib/forem-theme-base/version.rb new file mode 100644 index 0000000..c084644 --- /dev/null +++ b/lib/forem-theme-base/version.rb @@ -0,0 +1,7 @@ +module Forem + module Theme + module Base + VERSION = "0.0.1" + end + end +end