diff --git a/frontend/app-config/webpack.config.js b/frontend/app-config/webpack.config.js index d8aa0a3b2..cf5deeebe 100644 --- a/frontend/app-config/webpack.config.js +++ b/frontend/app-config/webpack.config.js @@ -252,6 +252,7 @@ module.exports = function (env) { */ config.entry = { 'shims': './app/shims.ts', + 'style': './app/style.js', 'app': './app/app.ts' }; @@ -304,7 +305,7 @@ module.exports = function (env) { new plugins.HtmlWebpackPlugin({ filename: 'theme.html', hash: true, - chunks: ['app'], + chunks: ['style'], chunksSortMode: 'none', template: 'app/_theme.html' }) diff --git a/frontend/app/_theme.html b/frontend/app/_theme.html index 5c7960299..5c222f5c3 100644 --- a/frontend/app/_theme.html +++ b/frontend/app/_theme.html @@ -9,119 +9,129 @@ -
-
+
+
+
+

Squidex Theme

+
+
+
+ +
+
- - -
-
+
- Navbar - - - -
+
+
+ +
+
-
-
+
-
- - +
- +
- - - - - + + +
@@ -332,15 +328,15 @@
- +   - +
- +  
@@ -348,17 +344,16 @@
- + -
+
+
- +

Typography

@@ -383,7 +378,7 @@

Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.

The following is rendered as bold text.

The following is rendered as italicized text.

-

An abbreviation of the word attribute is attr.

+

The following is an abbreviation attr.

@@ -401,7 +396,7 @@
- +

Blockquotes

@@ -412,6 +407,7 @@

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

+
Someone famous in Source Title
@@ -420,20 +416,25 @@

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

+
+ -
+
+
- +

Tables

+
+
+
+
@@ -493,38 +494,100 @@ + -
+
+
- +

Tables2

-
+
-
-
- Legend +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
#Column headingColumn headingColumn heading
1Column contentColumn contentColumn content
2Column contentColumn contentColumn content
+
+
+
+
+
+ +
+
+
+
+

Forms

+
+
+ + +
+ Legend + +
+

Validation error.

+ +
    +
  • An user with the same email aready exists.
  • +
+
+ +
+
+
- - - We'll never share your email with anyone else. + + + + + We will never share your email with anyone else.
+
- - - Input with just a line. + + + + + Input with just an underlined.
+
- - + + +
+
- + +
+
- + +
+
- + +
+ +
+ + +
+ + + +
+
+
- - - This is some placeholder block-level help text for the above input. It's a bit lighter and easily wraps to a new line. + + +
-
- Radio buttons + +
+

Custom Radio buttons

+ +
+ + +
+ +
+ + +
+ +
+ + +
+
+ +
+

Custom Checkboxes

+
- + +
+
- + +
-
- + +
+ +
-
-
-
- -
- -
-
-
-
-
-
- - -
- -
- - -
+ +
-
-
- - -
+
+ +
+ -
- - -
-
+ +
-
- - -
Success! You've done it.
-
+
+ -
- - -
Shucks, try again.
-
+ +
-
- - -
+
+ -
- - -
+ +
-
- - -
+
+ -
- - -
-
- $ +
- - - -
- .00 + +
+ + + + +
Success! You've done it.
-
-
- -
-
+
+ + + + +
Shucks, try again.
+
+ +
+ + +
+
You have entered an invalid value.
+
+ + +
+ +
+ + + + +
+ The app name cannot be changed later. +
+
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + +
+
+ $ +
+ + + +
+ .00 +
+
+
+ +
+
+ + + -
+
+
- +

Forms

Tabs

+
+
+ +
+
@@ -691,22 +826,14 @@

Pills

+
+
+
-