blob: 264183af0e35496024ea5f4ffdadba41b8f37aef [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/
/* Eclipse IDE Java Syntax Highlighting Colors */
/* Override Prism.js Java syntax highlighting with Eclipse IDE colors */
.token.keyword {
color: #7f0055 !important; /* Eclipse keyword purple */
font-weight: bold !important;
}
.token.string {
color: #2a00ff !important; /* Eclipse string blue */
}
.token.comment {
color: #3f7f5f !important; /* Eclipse comment green */
font-style: italic !important;
}
.token.number {
color: #000000 !important; /* Eclipse number black */
}
.token.operator {
color: #000000 !important; /* Eclipse operator black */
}
.token.punctuation {
color: #000000 !important; /* Eclipse punctuation black */
}
.token.class-name {
color: #000000 !important; /* Eclipse class name black */
}
.token.function {
color: #000000 !important; /* Eclipse method name black */
}
.token.annotation {
color: #646464 !important; /* Eclipse annotation gray */
}
/* Java-specific tokens */
.language-java .token.keyword {
color: #7f0055 !important;
font-weight: bold !important;
}
.language-java .token.string {
color: #2a00ff !important;
}
.language-java .token.comment {
color: #3f7f5f !important;
font-style: italic !important;
}
/* Code block background - Eclipse light theme */
pre[class*="language-"] {
background: #ffffff !important;
border: 1px solid #cccccc !important;
}
code[class*="language-"] {
background: transparent !important;
color: #000000 !important;
}
/* XML/HTML syntax highlighting for Eclipse colors */
.language-xml .token.tag {
color: #3f7f59 !important; /* Eclipse XML tag green */
}
.language-xml .token.attr-name {
color: #7f007f !important; /* Eclipse XML attribute purple */
}
.language-xml .token.attr-value {
color: #2a00ff !important; /* Eclipse XML attribute value blue */
}
.language-html .token.tag {
color: #3f7f59 !important;
}
.language-html .token.attr-name {
color: #7f007f !important;
}
.language-html .token.attr-value {
color: #2a00ff !important;
}