Browse Source

Generate style sheet from theme defaults.

pull/170/head
weisj 5 years ago
parent
commit
e5e902ed67
  1. 2
      core/src/main/java/com/github/weisj/darklaf/DarkLaf.java
  2. 202
      core/src/main/java/com/github/weisj/darklaf/task/StyleSheetInitTask.java
  3. 13
      core/src/main/java/com/github/weisj/darklaf/ui/text/DarkTextUI.java
  4. 9
      core/src/main/java/com/github/weisj/darklaf/util/DarkUIUtil.java
  5. 1
      core/src/main/resources/com/github/weisj/darklaf/properties/font.properties
  6. 127
      core/src/test/java/ui/DemoResources.java
  7. 50
      core/src/test/java/ui/text/HTMLPaneDemo.java
  8. 7
      core/src/test/java/ui/text/TextComponentDemo.java
  9. 2
      theme/src/main/java/com/github/weisj/darklaf/theme/Theme.java
  10. 337
      theme/src/main/resources/com/github/weisj/darklaf/theme/darcula/darcula_styleSheet.css
  11. 337
      theme/src/main/resources/com/github/weisj/darklaf/theme/high_contrast_dark/high_contrast_dark_styleSheet.css
  12. 337
      theme/src/main/resources/com/github/weisj/darklaf/theme/high_contrast_light/high_contrast_light_styleSheet.css
  13. 337
      theme/src/main/resources/com/github/weisj/darklaf/theme/intellij/intellij_styleSheet.css
  14. 337
      theme/src/main/resources/com/github/weisj/darklaf/theme/one_dark/one_dark_styleSheet.css
  15. 345
      theme/src/main/resources/com/github/weisj/darklaf/theme/solarized_dark/solarized_dark_styleSheet.css
  16. 345
      theme/src/main/resources/com/github/weisj/darklaf/theme/solarized_light/solarized_light_styleSheet.css

2
core/src/main/java/com/github/weisj/darklaf/DarkLaf.java

@ -52,10 +52,10 @@ public class DarkLaf extends BasicLookAndFeel {
*/
private static final DefaultsInitTask[] INIT_TASKS = new DefaultsInitTask[]{new RemoveUnusedInitTask(),
new ThemeDefaultsInitTask(),
new StyleSheetInitTask(),
new InputDefaultsInitTask(),
new IdeaDefaultsInitTask(),
new FontDefaultsInitTask(),
new StyleSheetInitTask(),
new UtilityDefaultsInitTask(),
new SystemDefaultsInitTask(),
new PlatformDefaultsInitTask(),

202
core/src/main/java/com/github/weisj/darklaf/task/StyleSheetInitTask.java

@ -24,20 +24,220 @@
*/
package com.github.weisj.darklaf.task;
import java.awt.*;
import javax.swing.*;
import javax.swing.text.html.HTMLEditorKit;
import javax.swing.text.html.StyleSheet;
import com.github.weisj.darklaf.theme.Theme;
import com.github.weisj.darklaf.util.ColorUtil;
public class StyleSheetInitTask implements DefaultsInitTask {
private UIDefaults defaults;
@Override
public void run(final Theme currentTheme, final UIDefaults defaults) {
StyleSheet styleSheet = currentTheme.loadStyleSheet();
this.defaults = defaults;
StyleSheet styleSheet = new StyleSheet();
Font font = defaults.getFont("html.font");
StringBuilder b = new StringBuilder();
b.append("body {")
.append("font-size: 14pt;")
.append("font-family: ").append(font.getFamily()).append(", ").append(font.getFontName()).append(";")
.append("font-weight: normal;")
.append("margin-left: 0;")
.append("margin-right: 0;")
.append("color: ").append(hex("textForeground")).append(";")
.append("}");
makeSingle(b, "p", "margin-top", "15px");
makeHeading(b, 1, "x-large");
makeHeading(b, 2, "large");
makeHeading(b, 3, "medium");
makeHeading(b, 4, "small");
makeHeading(b, 5, "x-small");
makeHeading(b, 6, "xx-small");
makeTBMargins(b, "li p");
makeSingle(b, "td p", "margin-top", "0");
makeTBMargins(b, "menu li p");
makeZeroMargins(b, "menu li");
makeMargins(b, "menu");
makeTBMargins(b, "dir li p");
makeZeroMargins(b, "dir li");
makeMargins(b, "dir");
makeMargins(b, "dd");
makeZeroMargins(b, "dd p");
makeTBMargins(b, "dt");
b.append("dl {")
.append("margin-left: 0;")
.append("margin-top: 10px;")
.append("margin-bottom: 10px;")
.append("}");
makeZeroMargins(b, "ol li");
b.append("ol {")
.append("margin-top: 10px;")
.append("margin-bottom: 10px;")
.append("margin-left-ltr: 50px;")
.append("margin-right-rtl: 50px;")
.append("list-style-type: decimal;")
.append("}");
makeTBMargins(b, "ol li p");
makeZeroMargins(b, "ul li");
b.append("ul {")
.append("margin-top: 10px;")
.append("margin-bottom: 10px;")
.append("margin-left-ltr: 50px;")
.append("margin-right-rtl: 50px;")
.append("list-style-type: disc;")
.append("-bullet-gap: 10px;")
.append("}");
makeZeroMargins(b, "ul li ul li");
b.append("ul li ul {")
.append("margin-left-ltr: 25px;")
.append("margin-right-rtl: 25px;")
.append("list-style-type: circle;")
.append("}");
makeZeroMargins(b, "ul li ul li ul li");
b.append("ul li menu {")
.append("margin-left-ltr: 25px;")
.append("margin-right-rtl: 25px;")
.append("list-style-type: circle;")
.append("}");
makeTBMargins(b, "ul li p");
b.append("a {")
.append("color: ").append(hex("hyperlink")).append(";")
.append("text-decoration: underline;")
.append("}");
b.append("address {")
.append("color: ").append(hex("hyperlink"))
.append("font-style: italic;")
.append("}");
makeSingle(b, "big", "font-size", "x-large");
makeSingle(b, "small", "font-size", "x-small");
makeMono(b, "samp");
makeItalic(b, "cite");
makeMono(b, "code");
makeItalic(b, "dfn");
makeItalic(b, "em");
makeItalic(b, "i");
makeBold(b, "b");
makeMono(b, "kbd");
makeSingle(b, "strike", "text-decoration", "line-through");
makeSingle(b, "s", "text-decoration", "line-through");
makeBold(b, "strong");
makeSingle(b, "sub", "vertical-align", "sub");
makeSingle(b, "sup", "vertical-align", "sub");
makeSingle(b, "tt", "font-family", "Monospaced, monospace");
makeSingle(b, "u", "text-decoration", "underline");
b.append("var {")
.append("font-weight: bold;")
.append("font-style: italic;")
.append("}");
b.append("table {")
.append("border-color: ").append(hex("border")).append(";")
.append("border-style: solid;")
.append("border-width: 1px;")
.append("border-collapse: collapse;")
.append("}");
makeSingle(b, "tr", "text-align", "left");
b.append("td {")
.append("border-color: ").append(hex("border")).append(";")
.append("border-style: none;")
.append("border-width: 1px;")
.append("padding: 3px;")
.append("border-collapse: collapse;")
.append("}");
b.append("th {")
.append("border-color: ").append(hex("border")).append(";")
.append("border-style: solid;")
.append("border-width: 1px;")
.append("font-weight: bold;")
.append("border-collapse: collapse;")
.append("padding: 3px;")
.append("}");
makeSingle(b, "blockquote", "margin", "5px 35px");
makeSingle(b, "center", "text-align", "center");
b.append("pre {")
.append("margin-top: 5px;")
.append("margin-bottom: 5px;")
.append("font-family: Monospaced, monospace;")
.append("}");
makeSingle(b, "pre p", "margin-top", "0");
b.append("caption {")
.append("caption-side: top;")
.append("text-align: center;")
.append("}");
makeSingle(b, "nobr", "white-space", "nowrap");
makeSingle(b, "input", "border", "none");
b.append("div {")
.append("border-color: ").append(hex("borderSecondary")).append(";")
.append("border-width: 1px;")
.append("}");
styleSheet.addRule(b.toString());
StyleSheet custom = currentTheme.loadStyleSheet();
if (custom.getStyleNames().hasMoreElements()) {
styleSheet.addStyleSheet(custom);
}
new HTMLEditorKit().setStyleSheet(styleSheet);
}
protected void makeHeading(final StringBuilder b, final int type, final String size) {
b.append("h").append(type).append("{")
.append("font-size: ").append(size).append(";")
.append("font-weight: bold;")
.append("margin-top: 10px;")
.append("margin-bottom: 10px;")
.append("}");
}
protected void makeMargins(final StringBuilder b, final String name) {
b.append(name).append(" {")
.append("margin-left-ltr: 40px;")
.append("margin-right-rtl: 40px;")
.append("margin-top: 10px;")
.append("margin-bottom: 10px;")
.append("}");
}
protected void makeTBMargins(final StringBuilder b, final String name) {
b.append(name).append(" {")
.append("margin-top: 0;")
.append("margin-bottom: 0;")
.append("}");
}
protected void makeZeroMargins(final StringBuilder b, final String name) {
makeSingle(b, name, "margin", "0");
}
protected void makeItalic(final StringBuilder b, final String name) {
makeSingle(b, name, "font-style", "italic");
}
protected void makeBold(final StringBuilder b, final String name) {
makeSingle(b, name, "font-weight", "bold");
}
protected void makeSingle(final StringBuilder b, final String name,
final String key, final String value) {
b.append(name).append(" {")
.append(key).append(": ").append(value).append(";")
.append("}");
}
protected void makeMono(final StringBuilder b, final String name) {
b.append(name).append(" {")
.append("font-size: small;")
.append("font-family: Monospaced, monospace;")
.append("}");
}
protected String hex(final String key) {
Color c = defaults.getColor(key);
return "#" + ColorUtil.toHex(c);
}
@Override
public boolean onlyDuringInstallation() {
return true;

13
core/src/main/java/com/github/weisj/darklaf/ui/text/DarkTextUI.java

@ -199,6 +199,13 @@ public abstract class DarkTextUI extends BasicTextUI implements PropertyChangeLi
final Container parent = getRelevantParent(editor);
if (parent != null) {
g.setColor(parent.getBackground());
if (parent instanceof JTextComponent) {
if (!parent.isEnabled()) {
g.setColor(disabledColor);
} else if (!((JTextComponent) parent).isEditable()) {
g.setColor(inactiveColor);
}
}
g.fillRect(0, 0, editor.getWidth(), editor.getHeight());
}
@ -234,15 +241,15 @@ public abstract class DarkTextUI extends BasicTextUI implements PropertyChangeLi
}
}
protected Container getRelevantParent(final Component c) {
protected Container getRelevantParent(final Component comp) {
Container parent = editor.getParent();
if (parent instanceof JSpinner.DefaultEditor) {
JSpinner spinner = DarkUIUtil.getParentOfType(JSpinner.class, c);
JSpinner spinner = DarkUIUtil.getParentOfType(JSpinner.class, comp);
if (spinner != null) parent = spinner.getParent();
} else if (parent instanceof JComboBox) {
parent = parent.getParent();
}
return DarkUIUtil.getOpaqueParent(parent);
return DarkUIUtil.getParentMatching(parent, c -> c.isOpaque() || c instanceof JTextComponent);
}
@Override

9
core/src/main/java/com/github/weisj/darklaf/util/DarkUIUtil.java

@ -32,6 +32,7 @@ import java.awt.event.MouseEvent;
import java.awt.geom.AffineTransform;
import java.beans.PropertyChangeEvent;
import java.util.Objects;
import java.util.function.Predicate;
import javax.swing.*;
import javax.swing.border.Border;
@ -396,9 +397,13 @@ public final class DarkUIUtil {
return false;
}
public static Container getOpaqueParent(final Container parent) {
public static Container getParentMatching(final Container parent, final Predicate<Container> test) {
Container p;
for (p = parent; p != null && !p.isOpaque(); p = p.getParent()) {}
for (p = parent; p != null && !test.test(p); p = p.getParent()) {}
return p;
}
public static Container getOpaqueParent(final Container parent) {
return getParentMatching(parent, Container::isOpaque);
}
}

1
core/src/main/resources/com/github/weisj/darklaf/properties/font.properties

@ -24,6 +24,7 @@
#
# suppress inspection "UnusedProperty" for whole file
#
html.font = withSize(%fontSize.default)withStyle(0)
Button.font = withSize(%fontSize.default)withStyle(0)
CheckBox.font = withSize(%fontSize.default)withStyle(0)
CheckBoxMenuItem.font = withSize(%fontSize.default)withStyle(0)

127
core/src/test/java/ui/DemoResources.java

@ -52,5 +52,132 @@ public class DemoResources {
+ "elementum ligula at, porta turpis. Praesent feugiat dolor diam, at facilisis metus gravida\n"
+ " non. Aliquam quis pellentesque nibh. Sed vestibulum porttitor nisi. In vitae malesuada\n "
+ "sapien.";
public static final String HTML_DEMO = "<h1>Lorem ipsum dolor sit amet consectetuer adipiscing \n"
+ "elit</h1>\n"
+ "\n"
+ "\n"
+ "<p>Lorem ipsum dolor sit amet, consectetuer adipiscing \n"
+ "elit. Aenean commodo ligula eget dolor. Aenean massa \n"
+ "<strong>strong</strong>. Cum sociis natoque penatibus \n"
+ "et magnis dis parturient montes, nascetur ridiculus \n"
+ "mus. Donec quam felis, ultricies nec, pellentesque \n"
+ "eu, pretium quis, sem. Nulla consequat massa quis \n"
+ "enim. Donec pede justo, fringilla vel, aliquet nec, \n"
+ "vulputate eget, arcu. In enim justo, rhoncus ut, \n"
+ "imperdiet a, venenatis vitae, justo. Nullam dictum \n"
+ "felis eu pede <a class=\"external ext\" href=\"#\">link</a> \n"
+ "mollis pretium. Integer tincidunt. Cras dapibus. \n"
+ "Vivamus elementum semper nisi. Aenean vulputate \n"
+ "eleifend tellus. Aenean leo ligula, porttitor eu, \n"
+ "consequat vitae, eleifend ac, enim. Aliquam lorem ante, \n"
+ "dapibus in, viverra quis, feugiat a, tellus. Phasellus \n"
+ "viverra nulla ut metus varius laoreet. Quisque rutrum. \n"
+ "Aenean imperdiet. Etiam ultricies nisi vel augue. \n"
+ "Curabitur ullamcorper ultricies nisi.</p>\n"
+ "\n"
+ "\n"
+ "<h1>Lorem ipsum dolor sit amet consectetuer adipiscing \n"
+ "elit</h1>\n"
+ "\n"
+ "\n"
+ "<h2>Aenean commodo ligula eget dolor aenean massa</h2>\n"
+ "\n"
+ "\n"
+ "<p>Lorem ipsum dolor sit amet, consectetuer adipiscing \n"
+ "elit. Aenean commodo ligula eget dolor. Aenean massa. \n"
+ "Cum sociis natoque penatibus et magnis dis parturient \n"
+ "montes, nascetur ridiculus mus. Donec quam felis, \n"
+ "ultricies nec, pellentesque eu, pretium quis, sem.</p>\n"
+ "\n"
+ "\n"
+ "<h2>Aenean commodo ligula eget dolor aenean massa</h2>\n"
+ "\n"
+ "\n"
+ "<p>Lorem ipsum dolor sit amet, consectetuer adipiscing \n"
+ "elit. Aenean commodo ligula eget dolor. Aenean massa. \n"
+ "Cum sociis natoque penatibus et magnis dis parturient \n"
+ "montes, nascetur ridiculus mus. Donec quam felis, \n"
+ "ultricies nec, pellentesque eu, pretium quis, sem.</p>\n"
+ "\n"
+ "\n"
+ "<ul>\n"
+ " <li>Lorem ipsum dolor sit amet consectetuer.</li>\n"
+ " <li>Aenean commodo ligula eget dolor.</li>\n"
+ " <li>Aenean massa cum sociis natoque penatibus.</li>\n"
+ "</ul>\n"
+ "\n"
+ "hr:"
+ "<hr></hr>"
+ "\n"
+ "custom div:"
+ "<div style=\"height: 0px; border-top-style: solid; border-width: 1px\"></div>"
+ "\n"
+ "<p>Lorem ipsum dolor sit amet, consectetuer adipiscing \n"
+ "elit. Aenean commodo ligula eget dolor. Aenean massa. \n"
+ "Cum sociis natoque penatibus et magnis dis parturient \n"
+ "montes, nascetur ridiculus mus. Donec quam felis, \n"
+ "ultricies nec, pellentesque eu, pretium quis, sem.</p>\n"
+ "\n"
+ "\n"
+ "<form action=\"#\" method=\"post\">\n"
+ " <fieldset>\n"
+ " <label for=\"name\">Name:</label>\n"
+ " <input type=\"text\" id=\"name\" placeholder=\"Enter your \n"
+ "full name\" />\n"
+ "\n"
+ " <label for=\"email\">Email:</label>\n"
+ " <input type=\"email\" id=\"email\" placeholder=\"Enter \n"
+ "your email address\" />\n"
+ "\n"
+ " <label for=\"message\">Message:</label>\n"
+ " <textarea id=\"message\" placeholder=\"What's on your \n"
+ "mind?\"></textarea>\n"
+ "\n"
+ " <input type=\"submit\" value=\"Send message\" />\n"
+ "\n"
+ " </fieldset>\n"
+ "</form>\n"
+ "\n"
+ "\n"
+ "<p>Lorem ipsum dolor sit amet, consectetuer adipiscing \n"
+ "elit. Aenean commodo ligula eget dolor. Aenean massa. \n"
+ "Cum sociis natoque penatibus et magnis dis parturient \n"
+ "montes, nascetur ridiculus mus. Donec quam felis, \n"
+ "ultricies nec, pellentesque eu, pretium quis, sem.</p>\n"
+ "\n"
+ "\n"
+ "<table class=\"data\">\n"
+ " <tr>\n"
+ " <th>Entry Header 1</th>\n"
+ " <th>Entry Header 2</th>\n"
+ " <th>Entry Header 3</th>\n"
+ " <th>Entry Header 4</th>\n"
+ " </tr>\n"
+ " <tr>\n"
+ " <td>Entry First Line 1</td>\n"
+ " <td>Entry First Line 2</td>\n"
+ " <td>Entry First Line 3</td>\n"
+ " <td>Entry First Line 4</td>\n"
+ " </tr>\n"
+ " <tr>\n"
+ " <td>Entry Line 1</td>\n"
+ " <td>Entry Line 2</td>\n"
+ " <td>Entry Line 3</td>\n"
+ " <td>Entry Line 4</td>\n"
+ " </tr>\n"
+ " <tr>\n"
+ " <td>Entry Last Line 1</td>\n"
+ " <td>Entry Last Line 2</td>\n"
+ " <td>Entry Last Line 3</td>\n"
+ " <td>Entry Last Line 4</td>\n"
+ " </tr>\n"
+ "</table>\n"
+ "\n"
+ "\n"
+ "<p>Lorem ipsum dolor sit amet, consectetuer adipiscing \n"
+ "elit. Aenean commodo ligula eget dolor. Aenean massa. \n"
+ "Cum sociis natoque penatibus et magnis dis parturient \n"
+ "montes, nascetur ridiculus mus. Donec quam felis, \n"
+ "ultricies nec, pellentesque eu, pretium quis, sem.</p>\n";
public static Icon FOLDER_ICON = DarkUIUtil.ICON_LOADER.getIcon("files/folder.svg", 19, 19, true);
}

50
core/src/test/java/ui/text/HTMLPaneDemo.java

@ -0,0 +1,50 @@
/*
* MIT License
*
* Copyright (c) 2020 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*/
package ui.text;
import javax.swing.*;
import ui.ComponentDemo;
import ui.DemoResources;
public class HTMLPaneDemo extends TextPaneDemo {
public static void main(final String[] args) {
ComponentDemo.showDemo(new HTMLPaneDemo());
}
@Override
protected JTextPane createTextComponent() {
JTextPane textPane = super.createTextComponent();
textPane.setContentType("text/html");
textPane.setText(DemoResources.HTML_DEMO);
return textPane;
}
@Override
public String getTitle() {
return "HTML Demo";
}
}

7
core/src/test/java/ui/text/TextComponentDemo.java

@ -42,8 +42,11 @@ public abstract class TextComponentDemo<T extends JTextComponent> implements Com
@Override
public JComponent createComponent() {
T text = createTextComponent();
text.setText(StringUtil.repeat(StringUtil.repeat("Word ", 5) + "\n", 5));
DemoPanel panel = new DemoPanel(text, new BorderLayout(), 10);
String txt = text.getText();
if (txt == null || txt.isEmpty()) {
text.setText(StringUtil.repeat(StringUtil.repeat("Word ", 5) + "\n", 5));
}
DemoPanel panel = new DemoPanel(new JScrollPane(text), new BorderLayout(), 10);
Border textBorder = new DarkTextBorder();
Border border = text.getBorder();

2
theme/src/main/java/com/github/weisj/darklaf/theme/Theme.java

@ -264,7 +264,7 @@ public abstract class Theme implements Comparable<Theme>, Comparator<Theme> {
* @return the {@link StyleSheet}.
*/
public final StyleSheet loadStyleSheet() {
return loadStyleSheetWithClass(getLoaderClass());
return new StyleSheet();
}
/**

337
theme/src/main/resources/com/github/weisj/darklaf/theme/darcula/darcula_styleSheet.css

@ -1,337 +0,0 @@
/*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed 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.
*/
body {
font-size: 14pt;
font-family: Serif, serif;
font-weight: normal;
margin-left: 0;
margin-right: 0;
color: #bbbbbb;
}
p {
margin-top: 15px;
}
h1 {
font-size: x-large;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h2 {
font-size: large;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h3 {
font-size: medium;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h4 {
font-size: small;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h5 {
font-size: x-small;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h6 {
font-size: xx-small;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
li p {
margin-top: 0;
margin-bottom: 0;
}
td p {
margin-top: 0;
}
menu li p {
margin-top: 0;
margin-bottom: 0;
}
menu li {
margin: 0;
}
menu {
margin-left-ltr: 40px;
margin-right-rtl: 40px;
margin-top: 10px;
margin-bottom: 10px;
}
dir li p {
margin-top: 0;
margin-bottom: 0;
}
dir li {
margin: 0;
}
dir {
margin-left-ltr: 40px;
margin-right-rtl: 40px;
margin-top: 10px;
margin-bottom: 10px;
}
dd {
margin-left-ltr: 40px;
margin-right-rtl: 40px;
margin-top: 0;
margin-bottom: 0;
}
dd p {
margin: 0;
}
dt {
margin-top: 0;
margin-bottom: 0;
}
dl {
margin-left: 0;
margin-top: 10px;
margin-bottom: 10px;
}
ol li {
margin: 0;
}
ol {
margin-top: 10px;
margin-bottom: 10px;
margin-left-ltr: 50px;
margin-right-rtl: 50px;
list-style-type: decimal;
}
ol li p {
margin-top: 0;
margin-bottom: 0;
}
ul li {
margin: 0;
}
ul {
margin-top: 10px;
margin-bottom: 10px;
margin-left-ltr: 50px;
margin-right-rtl: 50px;
list-style-type: disc;
-bullet-gap: 10px;
}
ul li ul li {
margin: 0;
}
ul li ul {
list-style-type: circle;
margin-left-ltr: 25px;
margin-right-rtl: 25px;
}
ul li ul li ul li {
margin: 0;
}
ul li ul li ul {
list-style-type: square;
margin-left-ltr: 25px;
margin-right-rtl: 25px;
}
ul li menu {
list-style-type: circle;
margin-left-ltr: 25px;
margin-right-rtl: 25px;
}
ul li p {
margin-top: 0;
margin-bottom: 0;
}
a {
color: #589df6;
text-decoration: underline;
}
address {
color: #589df6;
font-style: italic;
}
big {
font-size: x-large;
}
small {
font-size: x-small;
}
samp {
font-size: small;
font-family: Monospaced, monospace;
}
cite {
font-style: italic;
}
code {
font-size: small;
font-family: Monospaced, monospace;
}
dfn {
font-style: italic;
}
em {
font-style: italic;
}
i {
font-style: italic;
}
b {
font-weight: bold;
}
kbd {
font-size: small;
font-family: Monospaced, monospace;
}
s {
text-decoration: line-through;
}
strike {
text-decoration: line-through;
}
strong {
font-weight: bold;
}
sub {
vertical-align: sub;
}
sup {
vertical-align: sub;
}
tt {
font-family: Monospaced, monospace;
}
u {
text-decoration: underline;
}
var {
font-weight: bold;
font-style: italic;
}
table {
border-color: Gray;
border-style: outset;
}
tr {
text-align: left;
}
td {
border-color: Gray;
border-style: inset;
padding: 3px;
}
th {
text-align: center;
font-weight: bold;
border-color: Gray;
border-style: inset;
padding: 3px;
}
blockquote {
margin: 5px 35px;
}
center {
text-align: center;
}
pre {
margin-top: 5px;
margin-bottom: 5px;
font-family: Monospaced, monospace;
}
pre p {
margin-top: 0;
}
caption {
caption-side: top;
text-align: center;
}
table {
border: none;
}
td {
border: none;
}
nobr {
white-space: nowrap;
}

337
theme/src/main/resources/com/github/weisj/darklaf/theme/high_contrast_dark/high_contrast_dark_styleSheet.css

@ -1,337 +0,0 @@
/*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed 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.
*/
body {
font-size: 14pt;
font-family: Serif, serif;
font-weight: normal;
margin-left: 0;
margin-right: 0;
color: #000000;
}
p {
margin-top: 15px;
}
h1 {
font-size: x-large;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h2 {
font-size: large;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h3 {
font-size: medium;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h4 {
font-size: small;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h5 {
font-size: x-small;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h6 {
font-size: xx-small;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
li p {
margin-top: 0;
margin-bottom: 0;
}
td p {
margin-top: 0;
}
menu li p {
margin-top: 0;
margin-bottom: 0;
}
menu li {
margin: 0;
}
menu {
margin-left-ltr: 40px;
margin-right-rtl: 40px;
margin-top: 10px;
margin-bottom: 10px;
}
dir li p {
margin-top: 0;
margin-bottom: 0;
}
dir li {
margin: 0;
}
dir {
margin-left-ltr: 40px;
margin-right-rtl: 40px;
margin-top: 10px;
margin-bottom: 10px;
}
dd {
margin-left-ltr: 40px;
margin-right-rtl: 40px;
margin-top: 0;
margin-bottom: 0;
}
dd p {
margin: 0;
}
dt {
margin-top: 0;
margin-bottom: 0;
}
dl {
margin-left: 0;
margin-top: 10px;
margin-bottom: 10px;
}
ol li {
margin: 0;
}
ol {
margin-top: 10px;
margin-bottom: 10px;
margin-left-ltr: 50px;
margin-right-rtl: 50px;
list-style-type: decimal;
}
ol li p {
margin-top: 0;
margin-bottom: 0;
}
ul li {
margin: 0;
}
ul {
margin-top: 10px;
margin-bottom: 10px;
margin-left-ltr: 50px;
margin-right-rtl: 50px;
list-style-type: disc;
-bullet-gap: 10px;
}
ul li ul li {
margin: 0;
}
ul li ul {
list-style-type: circle;
margin-left-ltr: 25px;
margin-right-rtl: 25px;
}
ul li ul li ul li {
margin: 0;
}
ul li ul li ul {
list-style-type: square;
margin-left-ltr: 25px;
margin-right-rtl: 25px;
}
ul li menu {
list-style-type: circle;
margin-left-ltr: 25px;
margin-right-rtl: 25px;
}
ul li p {
margin-top: 0;
margin-bottom: 0;
}
a {
color: #1AEBFF;
text-decoration: underline;
}
address {
color: #1AEBFF;
font-style: italic;
}
big {
font-size: x-large;
}
small {
font-size: x-small;
}
samp {
font-size: small;
font-family: Monospaced, monospace;
}
cite {
font-style: italic;
}
code {
font-size: small;
font-family: Monospaced, monospace;
}
dfn {
font-style: italic;
}
em {
font-style: italic;
}
i {
font-style: italic;
}
b {
font-weight: bold;
}
kbd {
font-size: small;
font-family: Monospaced, monospace;
}
s {
text-decoration: line-through;
}
strike {
text-decoration: line-through;
}
strong {
font-weight: bold;
}
sub {
vertical-align: sub;
}
sup {
vertical-align: sub;
}
tt {
font-family: Monospaced, monospace;
}
u {
text-decoration: underline;
}
var {
font-weight: bold;
font-style: italic;
}
table {
border-color: White;
border-style: outset;
}
tr {
text-align: left;
}
td {
border-color: White;
border-style: inset;
padding: 3px;
}
th {
text-align: center;
font-weight: bold;
border-color: White;
border-style: inset;
padding: 3px;
}
blockquote {
margin: 5px 35px;
}
center {
text-align: center;
}
pre {
margin-top: 5px;
margin-bottom: 5px;
font-family: Monospaced, monospace;
}
pre p {
margin-top: 0;
}
caption {
caption-side: top;
text-align: center;
}
table {
border: none;
}
td {
border: none;
}
nobr {
white-space: nowrap;
}

337
theme/src/main/resources/com/github/weisj/darklaf/theme/high_contrast_light/high_contrast_light_styleSheet.css

@ -1,337 +0,0 @@
/*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed 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.
*/
body {
font-size: 14pt;
font-family: Serif, serif;
font-weight: normal;
margin-left: 0;
margin-right: 0;
color: #FFFFFF;
}
p {
margin-top: 15px;
}
h1 {
font-size: x-large;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h2 {
font-size: large;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h3 {
font-size: medium;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h4 {
font-size: small;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h5 {
font-size: x-small;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h6 {
font-size: xx-small;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
li p {
margin-top: 0;
margin-bottom: 0;
}
td p {
margin-top: 0;
}
menu li p {
margin-top: 0;
margin-bottom: 0;
}
menu li {
margin: 0;
}
menu {
margin-left-ltr: 40px;
margin-right-rtl: 40px;
margin-top: 10px;
margin-bottom: 10px;
}
dir li p {
margin-top: 0;
margin-bottom: 0;
}
dir li {
margin: 0;
}
dir {
margin-left-ltr: 40px;
margin-right-rtl: 40px;
margin-top: 10px;
margin-bottom: 10px;
}
dd {
margin-left-ltr: 40px;
margin-right-rtl: 40px;
margin-top: 0;
margin-bottom: 0;
}
dd p {
margin: 0;
}
dt {
margin-top: 0;
margin-bottom: 0;
}
dl {
margin-left: 0;
margin-top: 10px;
margin-bottom: 10px;
}
ol li {
margin: 0;
}
ol {
margin-top: 10px;
margin-bottom: 10px;
margin-left-ltr: 50px;
margin-right-rtl: 50px;
list-style-type: decimal;
}
ol li p {
margin-top: 0;
margin-bottom: 0;
}
ul li {
margin: 0;
}
ul {
margin-top: 10px;
margin-bottom: 10px;
margin-left-ltr: 50px;
margin-right-rtl: 50px;
list-style-type: disc;
-bullet-gap: 10px;
}
ul li ul li {
margin: 0;
}
ul li ul {
list-style-type: circle;
margin-left-ltr: 25px;
margin-right-rtl: 25px;
}
ul li ul li ul li {
margin: 0;
}
ul li ul li ul {
list-style-type: square;
margin-left-ltr: 25px;
margin-right-rtl: 25px;
}
ul li menu {
list-style-type: circle;
margin-left-ltr: 25px;
margin-right-rtl: 25px;
}
ul li p {
margin-top: 0;
margin-bottom: 0;
}
a {
color: #00D1E5;
text-decoration: underline;
}
address {
color: #00D1E5;
font-style: italic;
}
big {
font-size: x-large;
}
small {
font-size: x-small;
}
samp {
font-size: small;
font-family: Monospaced, monospace;
}
cite {
font-style: italic;
}
code {
font-size: small;
font-family: Monospaced, monospace;
}
dfn {
font-style: italic;
}
em {
font-style: italic;
}
i {
font-style: italic;
}
b {
font-weight: bold;
}
kbd {
font-size: small;
font-family: Monospaced, monospace;
}
s {
text-decoration: line-through;
}
strike {
text-decoration: line-through;
}
strong {
font-weight: bold;
}
sub {
vertical-align: sub;
}
sup {
vertical-align: sub;
}
tt {
font-family: Monospaced, monospace;
}
u {
text-decoration: underline;
}
var {
font-weight: bold;
font-style: italic;
}
table {
border-color: Black;
border-style: outset;
}
tr {
text-align: left;
}
td {
border-color: Black;
border-style: inset;
padding: 3px;
}
th {
text-align: center;
font-weight: bold;
border-color: Black;
border-style: inset;
padding: 3px;
}
blockquote {
margin: 5px 35px;
}
center {
text-align: center;
}
pre {
margin-top: 5px;
margin-bottom: 5px;
font-family: Monospaced, monospace;
}
pre p {
margin-top: 0;
}
caption {
caption-side: top;
text-align: center;
}
table {
border: none;
}
td {
border: none;
}
nobr {
white-space: nowrap;
}

337
theme/src/main/resources/com/github/weisj/darklaf/theme/intellij/intellij_styleSheet.css

@ -1,337 +0,0 @@
/*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed 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.
*/
body {
font-size: 14pt;
font-family: Serif, serif;
font-weight: normal;
margin-left: 0;
margin-right: 0;
color: #000000;
}
p {
margin-top: 15px;
}
h1 {
font-size: x-large;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h2 {
font-size: large;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h3 {
font-size: medium;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h4 {
font-size: small;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h5 {
font-size: x-small;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h6 {
font-size: xx-small;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
li p {
margin-top: 0;
margin-bottom: 0;
}
td p {
margin-top: 0;
}
menu li p {
margin-top: 0;
margin-bottom: 0;
}
menu li {
margin: 0;
}
menu {
margin-left-ltr: 40px;
margin-right-rtl: 40px;
margin-top: 10px;
margin-bottom: 10px;
}
dir li p {
margin-top: 0;
margin-bottom: 0;
}
dir li {
margin: 0;
}
dir {
margin-left-ltr: 40px;
margin-right-rtl: 40px;
margin-top: 10px;
margin-bottom: 10px;
}
dd {
margin-left-ltr: 40px;
margin-right-rtl: 40px;
margin-top: 0;
margin-bottom: 0;
}
dd p {
margin: 0;
}
dt {
margin-top: 0;
margin-bottom: 0;
}
dl {
margin-left: 0;
margin-top: 10px;
margin-bottom: 10px;
}
ol li {
margin: 0;
}
ol {
margin-top: 10px;
margin-bottom: 10px;
margin-left-ltr: 50px;
margin-right-rtl: 50px;
list-style-type: decimal;
}
ol li p {
margin-top: 0;
margin-bottom: 0;
}
ul li {
margin: 0;
}
ul {
margin-top: 10px;
margin-bottom: 10px;
margin-left-ltr: 50px;
margin-right-rtl: 50px;
list-style-type: disc;
-bullet-gap: 10px;
}
ul li ul li {
margin: 0;
}
ul li ul {
list-style-type: circle;
margin-left-ltr: 25px;
margin-right-rtl: 25px;
}
ul li ul li ul li {
margin: 0;
}
ul li ul li ul {
list-style-type: square;
margin-left-ltr: 25px;
margin-right-rtl: 25px;
}
ul li menu {
list-style-type: circle;
margin-left-ltr: 25px;
margin-right-rtl: 25px;
}
ul li p {
margin-top: 0;
margin-bottom: 0;
}
a {
color: #589df6;
text-decoration: underline;
}
address {
color: #589df6;
font-style: italic;
}
big {
font-size: x-large;
}
small {
font-size: x-small;
}
samp {
font-size: small;
font-family: Monospaced, monospace;
}
cite {
font-style: italic;
}
code {
font-size: small;
font-family: Monospaced, monospace;
}
dfn {
font-style: italic;
}
em {
font-style: italic;
}
i {
font-style: italic;
}
b {
font-weight: bold;
}
kbd {
font-size: small;
font-family: Monospaced, monospace;
}
s {
text-decoration: line-through;
}
strike {
text-decoration: line-through;
}
strong {
font-weight: bold;
}
sub {
vertical-align: sub;
}
sup {
vertical-align: sub;
}
tt {
font-family: Monospaced, monospace;
}
u {
text-decoration: underline;
}
var {
font-weight: bold;
font-style: italic;
}
table {
border-color: Gray;
border-style: outset;
}
tr {
text-align: left;
}
td {
border-color: Gray;
border-style: inset;
padding: 3px;
}
th {
text-align: center;
font-weight: bold;
border-color: Gray;
border-style: inset;
padding: 3px;
}
blockquote {
margin: 5px 35px;
}
center {
text-align: center;
}
pre {
margin-top: 5px;
margin-bottom: 5px;
font-family: Monospaced, monospace;
}
pre p {
margin-top: 0;
}
caption {
caption-side: top;
text-align: center;
}
table {
border: none;
}
td {
border: none;
}
nobr {
white-space: nowrap;
}

337
theme/src/main/resources/com/github/weisj/darklaf/theme/one_dark/one_dark_styleSheet.css

@ -1,337 +0,0 @@
/*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed 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.
*/
body {
font-size: 14pt;
font-family: Serif, serif;
font-weight: normal;
margin-left: 0;
margin-right: 0;
color: #abb2bf;
}
p {
margin-top: 15px;
}
h1 {
font-size: x-large;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h2 {
font-size: large;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h3 {
font-size: medium;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h4 {
font-size: small;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h5 {
font-size: x-small;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h6 {
font-size: xx-small;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
li p {
margin-top: 0;
margin-bottom: 0;
}
td p {
margin-top: 0;
}
menu li p {
margin-top: 0;
margin-bottom: 0;
}
menu li {
margin: 0;
}
menu {
margin-left-ltr: 40px;
margin-right-rtl: 40px;
margin-top: 10px;
margin-bottom: 10px;
}
dir li p {
margin-top: 0;
margin-bottom: 0;
}
dir li {
margin: 0;
}
dir {
margin-left-ltr: 40px;
margin-right-rtl: 40px;
margin-top: 10px;
margin-bottom: 10px;
}
dd {
margin-left-ltr: 40px;
margin-right-rtl: 40px;
margin-top: 0;
margin-bottom: 0;
}
dd p {
margin: 0;
}
dt {
margin-top: 0;
margin-bottom: 0;
}
dl {
margin-left: 0;
margin-top: 10px;
margin-bottom: 10px;
}
ol li {
margin: 0;
}
ol {
margin-top: 10px;
margin-bottom: 10px;
margin-left-ltr: 50px;
margin-right-rtl: 50px;
list-style-type: decimal;
}
ol li p {
margin-top: 0;
margin-bottom: 0;
}
ul li {
margin: 0;
}
ul {
margin-top: 10px;
margin-bottom: 10px;
margin-left-ltr: 50px;
margin-right-rtl: 50px;
list-style-type: disc;
-bullet-gap: 10px;
}
ul li ul li {
margin: 0;
}
ul li ul {
list-style-type: circle;
margin-left-ltr: 25px;
margin-right-rtl: 25px;
}
ul li ul li ul li {
margin: 0;
}
ul li ul li ul {
list-style-type: square;
margin-left-ltr: 25px;
margin-right-rtl: 25px;
}
ul li menu {
list-style-type: circle;
margin-left-ltr: 25px;
margin-right-rtl: 25px;
}
ul li p {
margin-top: 0;
margin-bottom: 0;
}
a {
color: #6494ed;
text-decoration: underline;
}
address {
color: #6494ed;
font-style: italic;
}
big {
font-size: x-large;
}
small {
font-size: x-small;
}
samp {
font-size: small;
font-family: Monospaced, monospace;
}
cite {
font-style: italic;
}
code {
font-size: small;
font-family: Monospaced, monospace;
}
dfn {
font-style: italic;
}
em {
font-style: italic;
}
i {
font-style: italic;
}
b {
font-weight: bold;
}
kbd {
font-size: small;
font-family: Monospaced, monospace;
}
s {
text-decoration: line-through;
}
strike {
text-decoration: line-through;
}
strong {
font-weight: bold;
}
sub {
vertical-align: sub;
}
sup {
vertical-align: sub;
}
tt {
font-family: Monospaced, monospace;
}
u {
text-decoration: underline;
}
var {
font-weight: bold;
font-style: italic;
}
table {
border-color: Gray;
border-style: outset;
}
tr {
text-align: left;
}
td {
border-color: Gray;
border-style: inset;
padding: 3px;
}
th {
text-align: center;
font-weight: bold;
border-color: Gray;
border-style: inset;
padding: 3px;
}
blockquote {
margin: 5px 35px;
}
center {
text-align: center;
}
pre {
margin-top: 5px;
margin-bottom: 5px;
font-family: Monospaced, monospace;
}
pre p {
margin-top: 0;
}
caption {
caption-side: top;
text-align: center;
}
table {
border: none;
}
td {
border: none;
}
nobr {
white-space: nowrap;
}

345
theme/src/main/resources/com/github/weisj/darklaf/theme/solarized_dark/solarized_dark_styleSheet.css

@ -1,345 +0,0 @@
/*
* MIT License
*
* Copyright (c) 2020 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
body {
font-size: 14pt;
font-family: Serif, serif;
font-weight: normal;
margin-left: 0;
margin-right: 0;
color: #A7B6BA;
}
p {
margin-top: 15px;
}
h1 {
font-size: x-large;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h2 {
font-size: large;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h3 {
font-size: medium;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h4 {
font-size: small;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h5 {
font-size: x-small;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h6 {
font-size: xx-small;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
li p {
margin-top: 0;
margin-bottom: 0;
}
td p {
margin-top: 0;
}
menu li p {
margin-top: 0;
margin-bottom: 0;
}
menu li {
margin: 0;
}
menu {
margin-left-ltr: 40px;
margin-right-rtl: 40px;
margin-top: 10px;
margin-bottom: 10px;
}
dir li p {
margin-top: 0;
margin-bottom: 0;
}
dir li {
margin: 0;
}
dir {
margin-left-ltr: 40px;
margin-right-rtl: 40px;
margin-top: 10px;
margin-bottom: 10px;
}
dd {
margin-left-ltr: 40px;
margin-right-rtl: 40px;
margin-top: 0;
margin-bottom: 0;
}
dd p {
margin: 0;
}
dt {
margin-top: 0;
margin-bottom: 0;
}
dl {
margin-left: 0;
margin-top: 10px;
margin-bottom: 10px;
}
ol li {
margin: 0;
}
ol {
margin-top: 10px;
margin-bottom: 10px;
margin-left-ltr: 50px;
margin-right-rtl: 50px;
list-style-type: decimal;
}
ol li p {
margin-top: 0;
margin-bottom: 0;
}
ul li {
margin: 0;
}
ul {
margin-top: 10px;
margin-bottom: 10px;
margin-left-ltr: 50px;
margin-right-rtl: 50px;
list-style-type: disc;
-bullet-gap: 10px;
}
ul li ul li {
margin: 0;
}
ul li ul {
list-style-type: circle;
margin-left-ltr: 25px;
margin-right-rtl: 25px;
}
ul li ul li ul li {
margin: 0;
}
ul li ul li ul {
list-style-type: square;
margin-left-ltr: 25px;
margin-right-rtl: 25px;
}
ul li menu {
list-style-type: circle;
margin-left-ltr: 25px;
margin-right-rtl: 25px;
}
ul li p {
margin-top: 0;
margin-bottom: 0;
}
a {
color: #589df6;
text-decoration: underline;
}
address {
color: #589df6;
font-style: italic;
}
big {
font-size: x-large;
}
small {
font-size: x-small;
}
samp {
font-size: small;
font-family: Monospaced, monospace;
}
cite {
font-style: italic;
}
code {
font-size: small;
font-family: Monospaced, monospace;
}
dfn {
font-style: italic;
}
em {
font-style: italic;
}
i {
font-style: italic;
}
b {
font-weight: bold;
}
kbd {
font-size: small;
font-family: Monospaced, monospace;
}
s {
text-decoration: line-through;
}
strike {
text-decoration: line-through;
}
strong {
font-weight: bold;
}
sub {
vertical-align: sub;
}
sup {
vertical-align: sub;
}
tt {
font-family: Monospaced, monospace;
}
u {
text-decoration: underline;
}
var {
font-weight: bold;
font-style: italic;
}
table {
border-color: Gray;
border-style: outset;
}
tr {
text-align: left;
}
td {
border-color: Gray;
border-style: inset;
padding: 3px;
}
th {
text-align: center;
font-weight: bold;
border-color: Gray;
border-style: inset;
padding: 3px;
}
blockquote {
margin: 5px 35px;
}
center {
text-align: center;
}
pre {
margin-top: 5px;
margin-bottom: 5px;
font-family: Monospaced, monospace;
}
pre p {
margin-top: 0;
}
caption {
caption-side: top;
text-align: center;
}
table {
border: none;
}
td {
border: none;
}
nobr {
white-space: nowrap;
}

345
theme/src/main/resources/com/github/weisj/darklaf/theme/solarized_light/solarized_light_styleSheet.css

@ -1,345 +0,0 @@
/*
* MIT License
*
* Copyright (c) 2020 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
body {
font-size: 14pt;
font-family: Serif, serif;
font-weight: normal;
margin-left: 0;
margin-right: 0;
color: #2E4E58;
}
p {
margin-top: 15px;
}
h1 {
font-size: x-large;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h2 {
font-size: large;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h3 {
font-size: medium;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h4 {
font-size: small;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h5 {
font-size: x-small;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
h6 {
font-size: xx-small;
font-weight: bold;
margin-top: 10px;
margin-bottom: 10px;
}
li p {
margin-top: 0;
margin-bottom: 0;
}
td p {
margin-top: 0;
}
menu li p {
margin-top: 0;
margin-bottom: 0;
}
menu li {
margin: 0;
}
menu {
margin-left-ltr: 40px;
margin-right-rtl: 40px;
margin-top: 10px;
margin-bottom: 10px;
}
dir li p {
margin-top: 0;
margin-bottom: 0;
}
dir li {
margin: 0;
}
dir {
margin-left-ltr: 40px;
margin-right-rtl: 40px;
margin-top: 10px;
margin-bottom: 10px;
}
dd {
margin-left-ltr: 40px;
margin-right-rtl: 40px;
margin-top: 0;
margin-bottom: 0;
}
dd p {
margin: 0;
}
dt {
margin-top: 0;
margin-bottom: 0;
}
dl {
margin-left: 0;
margin-top: 10px;
margin-bottom: 10px;
}
ol li {
margin: 0;
}
ol {
margin-top: 10px;
margin-bottom: 10px;
margin-left-ltr: 50px;
margin-right-rtl: 50px;
list-style-type: decimal;
}
ol li p {
margin-top: 0;
margin-bottom: 0;
}
ul li {
margin: 0;
}
ul {
margin-top: 10px;
margin-bottom: 10px;
margin-left-ltr: 50px;
margin-right-rtl: 50px;
list-style-type: disc;
-bullet-gap: 10px;
}
ul li ul li {
margin: 0;
}
ul li ul {
list-style-type: circle;
margin-left-ltr: 25px;
margin-right-rtl: 25px;
}
ul li ul li ul li {
margin: 0;
}
ul li ul li ul {
list-style-type: square;
margin-left-ltr: 25px;
margin-right-rtl: 25px;
}
ul li menu {
list-style-type: circle;
margin-left-ltr: 25px;
margin-right-rtl: 25px;
}
ul li p {
margin-top: 0;
margin-bottom: 0;
}
a {
color: #589df6;
text-decoration: underline;
}
address {
color: #589df6;
font-style: italic;
}
big {
font-size: x-large;
}
small {
font-size: x-small;
}
samp {
font-size: small;
font-family: Monospaced, monospace;
}
cite {
font-style: italic;
}
code {
font-size: small;
font-family: Monospaced, monospace;
}
dfn {
font-style: italic;
}
em {
font-style: italic;
}
i {
font-style: italic;
}
b {
font-weight: bold;
}
kbd {
font-size: small;
font-family: Monospaced, monospace;
}
s {
text-decoration: line-through;
}
strike {
text-decoration: line-through;
}
strong {
font-weight: bold;
}
sub {
vertical-align: sub;
}
sup {
vertical-align: sub;
}
tt {
font-family: Monospaced, monospace;
}
u {
text-decoration: underline;
}
var {
font-weight: bold;
font-style: italic;
}
table {
border-color: Gray;
border-style: outset;
}
tr {
text-align: left;
}
td {
border-color: Gray;
border-style: inset;
padding: 3px;
}
th {
text-align: center;
font-weight: bold;
border-color: Gray;
border-style: inset;
padding: 3px;
}
blockquote {
margin: 5px 35px;
}
center {
text-align: center;
}
pre {
margin-top: 5px;
margin-bottom: 5px;
font-family: Monospaced, monospace;
}
pre p {
margin-top: 0;
}
caption {
caption-side: top;
text-align: center;
}
table {
border: none;
}
td {
border: none;
}
nobr {
white-space: nowrap;
}
Loading…
Cancel
Save