diff --git a/src/code.js b/src/code.js index ad0d0ff..120518b 100644 --- a/src/code.js +++ b/src/code.js @@ -12,7 +12,7 @@ import CodeEngine from './codeengine'; import ButtonView from '@ckeditor/ckeditor5-ui/src/button/buttonview'; import codeIcon from '../theme/icons/code.svg'; -import '../theme/code.scss'; +import '../theme/code.css'; /** * The code feature. It introduces the Code button. diff --git a/theme/code.css b/theme/code.css new file mode 100644 index 0000000..3ebbb9b --- /dev/null +++ b/theme/code.css @@ -0,0 +1,10 @@ +/* + * Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md. + */ + +/* + * Note: This file should contain the wireframe styles only. But since there are no such styles, + * it acts as a message to the builder telling that it should look for the corresponding styles + * **in the theme** when compiling the editor. + */ diff --git a/theme/code.scss b/theme/code.scss deleted file mode 100644 index a51de58..0000000 --- a/theme/code.scss +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. -// For licensing, see LICENSE.md or http://ckeditor.com/license - -@import '~@ckeditor/ckeditor5-theme-lark/theme/helpers/_colors.scss'; -@import '~@ckeditor/ckeditor5-theme-lark/theme/helpers/_rounded.scss'; -@import '~@ckeditor/ckeditor5-theme-lark/theme/helpers/_spacing.scss'; - -@include ck-color-add( ( 'code': rgba( 200, 200, 200, 0.3 ) ) ); - -code { - background-color: ck-color( 'code' ); - padding: ck-spacing( 'tiny' ); - border-radius: $ck-border-radius; -}