Commit 4d92f6bd authored by Igor Drozdov's avatar Igor Drozdov

Merge branch '216332-remove-ff-webide_dark_theme' into 'master'

Remove feature flag :webide_dark_theme

See merge request gitlab-org/gitlab!30916
parents b2d93df5 ac51c525
......@@ -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