+
Getting Started
+ + +Project Templates
+ + +Javadoc
+ + + ++
diff --git a/_sass/fabric.scss b/_sass/fabric.scss index e45be97a..d3317642 100644 --- a/_sass/fabric.scss +++ b/_sass/fabric.scss @@ -64,6 +64,19 @@ button, .button { font-size: 20px; font-weight: 700; } + &.warning { + border: 2px solid $warning-color; + + &:hover, &:focus { + background-color: darken($warning-color, 10%); + border-color: darken($warning-color, 10%); + } + + &:active { + background-color: lighten($warning-color, 5%); + border-color: lighten($warning-color, 5%); + } + } border-radius: 5px; color: white !important; @@ -143,7 +156,33 @@ p { section { padding-bottom: 12px; - margin-bottom: auto; + } + + .button-group { + display: flex; + flex-direction: column; + gap: 8px; + } + + .javadoc-selector { + margin-bottom: 8px; + + select { + max-width: 100%; width: 100%; + + border: 2px solid $button-color; + color: $text-color !important; + padding: 8px 8px; + text-align: center; + display: inline-block; + box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px; + font-size: 16px; + background-color: transparent; + + option { + background-color: $grey-color-very-dark; + } + } } } diff --git a/assets/dark.scss b/assets/dark.scss index e30e3dff..af0ab9fd 100644 --- a/assets/dark.scss +++ b/assets/dark.scss @@ -8,6 +8,7 @@ $grey-color-dark: #6e7681; $grey-color-very-dark: #30363d; $button-color: #1f6feb; +$warning-color: #eb811f; $content-width: 1024px; diff --git a/assets/main.scss b/assets/main.scss index 5fd8f504..e2ce7df7 100755 --- a/assets/main.scss +++ b/assets/main.scss @@ -2,6 +2,7 @@ --- $button-color: #2D46B9; +$warning-color: #b96e2d; $grey-color-very-dark: #30363d; $content-width: 1024px; diff --git a/develop.md b/develop.md index 24cea03f..cbb945ba 100755 --- a/develop.md +++ b/develop.md @@ -1,34 +1,57 @@ --- -layout: page +layout: default title: Develop permalink: /develop/ topnav: true --- -This page contains a range of resources to help you create a new mod or maintain an existing mod. - -### Getting started - -* If you would like to create a new mod please see the [wiki](https://fabricmc.net/wiki/start/). - -* Use the online [template mod generator](./template/). - -* An up-to date template mod can be found on [github](https://github.com/FabricMC/fabric-example-mod). - -* Install the [Fabric command line tools](./cli/). - -* If you need some extra help we have a number of mod development channels on our [Discord](https://discord.gg/v6v4pMv). - -### Latest Versions +# Develop + +This page provides a curated selection of resources to support both new mod creation and the maintenance of existing projects. + +If you require additional help, [the Fabric Discord server](https://discord.gg/v6v4pMv) offers dedicated mod development channels with resources and advice from the community. + +
Loading versions..
{:then data} -Online Javadoc is available for each project and the game itself using the links below, but also through your IDE directly.
{#each data as project} - - - -- {project.name}: - - - - Go to JavaDoc - -
+Error: {error.message}
diff --git a/scripts/src/lib/Versions.svelte b/scripts/src/lib/Versions.svelte index 6aab570f..a82bdc59 100644 --- a/scripts/src/lib/Versions.svelte +++ b/scripts/src/lib/Versions.svelte @@ -31,8 +31,10 @@ {#await gameVersions} -Loading versions..
+Loading versions...
{:then gameVersions} +Select a Minecraft version to get the recommended versions of Fabric Loader, Yarn, and Fabric API for your gradle.properties
file.
Minecraft Version: