Skip to content

Commit ed9cc48

Browse files
authored
docs: fix stylesheet paths (#4824)
1 parent 833a680 commit ed9cc48

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

articles/styling/advanced/reusable-theme.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ acme-theme
3636
├── ...
3737
----
3838

39-
.src/resources/META-INF/resources/acme-theme/styles.css
39+
.src/main/resources/META-INF/resources/acme-theme/styles.css
4040
[source,css]
4141
----
4242
@import 'components.css';
@@ -46,7 +46,7 @@ acme-theme
4646

4747
If the reusable theme should use the Aura or Lumo theme as its foundation, add an `@import` rule to the desired Vaadin theme at the beginning of the reusable theme’s master stylesheet.
4848

49-
.src/resources/META-INF/resources/acme-theme/styles.css
49+
.src/main/resources/META-INF/resources/acme-theme/styles.css
5050
[source,css]
5151
----
5252
/* To load the Aura theme */

articles/styling/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class Application implements AppShellConfigurator {
3333

3434
You can split your CSS over multiple stylesheets, and load them either with separate [annotationname]`@StyleSheet` annotations, or load additional stylesheets using the CSS `@import` rule.
3535

36-
.src/resources/META-INF/resources/styles.css
36+
.src/main/resources/META-INF/resources/styles.css
3737
[source,css]
3838
----
3939
@import "additional-styles.css";

articles/styling/stylesheets.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public class Application implements AppShellConfigurator {
2323

2424
You can split your CSS over multiple stylesheets, and load them either with separate [annotationname]`@StyleSheet` annotations, or load additional stylesheets using the CSS `@import` rule.
2525

26-
.src/resources/META-INF/resources/styles.css
26+
.src/main/resources/META-INF/resources/styles.css
2727
[source,css]
2828
----
2929
@import "additional-styles.css";
@@ -46,7 +46,7 @@ public class Application implements AppShellConfigurator {
4646
}
4747
----
4848

49-
.src/resources/META-INF/resources/styles.css
49+
.src/main/resources/META-INF/resources/styles.css
5050
[source,css]
5151
----
5252
@import "https://example.com/external-styles.css";
@@ -79,7 +79,7 @@ public class CalendarView extends VerticalLayout {
7979
}
8080
----
8181

82-
.src/resources/META-INF/resources/calendar-view.css
82+
.src/main/resources/META-INF/resources/calendar-view.css
8383
[source,css]
8484
----
8585
.calendar-view {

0 commit comments

Comments
 (0)