Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Status
colourYellow
titleRELEASE 2.6.0 OR ABOVE

테마 적용하기

...

Applying the theme

  1. Include the theme CSS file in the html page where the editor is applied.

    Code Block
    languagexml
    themeEmacs
    titleindex.html
    <!-- 테마Theme CSS -->
    <link rel='stylesheet' href='../dist/themes/dark-gray.css'>



  2. 에디터 설정 Set the theme in the editor setting 'editor.ui.theme' 에 테마를 설정합니다.

    Code Block
    languagejs
    themeEmacs
    titleconfig.js
    var synapEditorConfig = {
        "editor.ui.theme": "dark-gray"  // 테마Theme 이름name
    };


     

  3. 테마가 적용됩니다The theme is applied.

...


Theme list

...

default

dark-gray