Commit ac51c525 authored by Himanshu Kapoor's avatar Himanshu Kapoor

Remove feature flag :webide_dark_theme

Needs to be shipped in 13.0
parent e25b7b91
......@@ -28,7 +28,6 @@ function importMermaidModule() {
if (
window.gon?.user_color_scheme === 'dark' &&
window.gon?.features?.webideDarkTheme &&
// if on the Web IDE page
document.querySelector('.ide')
) {
......
......@@ -57,7 +57,7 @@ export default {
'editorTheme',
]),
themeName() {
return this.glFeatures.webideDarkTheme && window.gon?.user_color_scheme;
return window.gon?.user_color_scheme;
},
},
mounted() {
......
......@@ -6,10 +6,6 @@ class IdeController < ApplicationController
include ClientsidePreviewCSP
include StaticObjectExternalStorageCSP
before_action do
push_frontend_feature_flag(:webide_dark_theme)
end
def index
Gitlab::UsageDataCounters::WebIdeCounter.increment_views_count
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment