mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Theming: a UI to choose some base colors that are applied to all the site css. CSS compiled outside of asset pipeline.
This commit is contained in:
9
db/migrate/20140506200235_remove_seed_color_scheme.rb
Normal file
9
db/migrate/20140506200235_remove_seed_color_scheme.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
class RemoveSeedColorScheme < ActiveRecord::Migration
|
||||
def up
|
||||
execute "DELETE FROM color_schemes WHERE id = 1"
|
||||
execute "DELETE FROM color_scheme_colors WHERE color_scheme_id = 1"
|
||||
end
|
||||
|
||||
def down
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,9 @@
|
||||
class RemoveOpacityFromColorSchemeColors < ActiveRecord::Migration
|
||||
def up
|
||||
remove_column :color_scheme_colors, :opacity
|
||||
end
|
||||
|
||||
def down
|
||||
add_column :color_scheme_colors, :opacity, :integer, null: false, default: 100
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user