• Stars
    star
    123
  • Rank 281,649 (Top 6 %)
  • Language SCSS
  • License
    Other
  • Created almost 6 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Contains the theme used on minecraft.net based on Boostrap 4

web-theme-bootstrap

Build Status

Contains the theme used on minecraft.net based on Bootstrap 4

Install

> npm i @mojang/web-theme-bootstrap --save

Included in the package

This package includes two parts:

1. SCSS files needed to generate your minecraft.net look and feel.

These files can be found under the scss folder. In your main scss file, include the following to get started:

$freyja-asset-path: "[path_to_public_folder]";
$master-head-height-lg: 112px;
$master-head-height-md: 87px;
$global-menu-height: 27px;

@import "~@mojang/web-theme-bootstrap/scss/styles";

Note that the theme takes care of including bootstrap the way it needs to be included so you do not need to @import it yourself.

2. Generic image assets used in several places, including an icon-set

In order to use the image assets and svg icons included in this package you need to have a build step in your build that copies the image assets to your public folder.

The svg icons also needs to be converted into a svg-sprite using svgstore or similar tool.

Changelog

v7.3.0 & v7.3.1

  • Added fonts: Minecraft Ten V2 & Minecraft Seven V2

v7.0.0

  • Update Minecraft, Minecraft Java, Realms & Minecraft Dungeons logos

v6.7.0

  • Added new class .form-tooltip, form-tooltip-text
  • Added svg line-vector-export and line-vector-help followed naming convention.
  • Removed svg vector

v6.6.0

  • Added media query @media (forced-colors: active) for .form-control:focus
  • Added new class .required:after
  • Added svg vector

v6.5.0

  • Add a new footer option. mojang-studios-tall-footer

v6.4.0

  • Added Minecraft Core Brand Logo

v6.3.1

  • Fixes README Changelog

v6.3.0

  • New primary color (buttons & links are based out of primary). New secondary and tertiary colors. Loader now uses tertiary colors on dark backgrounds.

v6.2.10

  • Add Minecraft Java Edition Logo

v6.2.9

  • Remove use of bg-variant and text-emphasis-variant mixins, that are deprecated in [email protected]

v6.2.8

  • High contrast fix for button

v6.2.7

  • Add box-shadow for disabled button
  • High contrast fix for nav bar

v6.2.6

  • Rerelease due to publish issue of 6.2.5

v6.2.5

  • Add highlight color on focus for link button

v6.2.4

  • Add style for radio and link button on high contrast mode
  • Add noto sans font assets

v6.2.3

  • Fix duplicate id in svg and add button high contrast style

v6.2.2

  • Fix radio buttons in high contrast mode

v6.2.1

  • Add radio button high contrast style

v6.2.0

  • Add Minecraft Dungeons Launcher icons

v6.1.0

  • Add .icon-cero-a

v6.0.0 BREAKING CHANGE

  • Rename following classes:
    • mojang-footer -> mojang-studios-footer
    • icon-microsoft-studios -> icon-xbox-game-studios
    • icon-mojang -> icon-mojang-studios

v5.1.0

  • Add cero-a logo

v5.0.0

BREAKING CHANGE

  • Replace logo svgs:
    • mojang with mojang-studios-horizontal
    • mono-mojang with mono-mojang-studios-horizontal

v4.5.0

  • Add xbox game studios color logo

v4.4.0

  • Add font-mc-seven

v4.3.1

  • Fix cart icon size

v4.3.0

  • Add pixelated cart icon

v4.2.0

  • Add Windows logo
  • Add new Minecraft Dungeons color

v4.1.0

  • Add Minecraft Dungeons logo back

v4.0.0

  • Remove Minecraft Dungeons logo

v3.3.1

  • Namespace Minecraft Dungeons logo ids

v3.3.0

  • Add Minecraft Dungeons logo

v3.2.0

  • Darken link color 5%
  • Add support for disabled radio button
  • Add new checkbox

v3.1.1

  • Set link color to primary (was $primary-supportive)

v3.1.0

  • Update inverted link hover color
  • Update dropdown-menu style
  • Add Xbox Game Studios logo

v3.0.0

  • Update primary and tertiary color
  • BREAKING CHANGE: Remove $primary-light-1, $primary-light-2, $primary-dark-1, $primary-dark-2. Use $primary-supportive for dark and $tertiary for light.

v2.0.0

  • Fix position of inline icons
  • Add 4 new monochrome SVG logos
  • Add a .svg-logo class that makes you able to control color through css
  • BREAKING CHANGE: #microsoft and #mojang logos now inherit their text color from currentColor. Use .svg-logo class and set text color to override.

More Repositories

1

brigadier

Brigadier is a command parser & dispatcher, designed and developed for Minecraft: Java Edition.
Java
3,327
star
2

DataFixerUpper

A set of utilities designed for incremental building, merging and optimization of data transformations.
Java
1,145
star
3

bedrock-samples

Samples and assets for building Minecraft: Bedrock Edition add-ons
671
star
4

ore-ui

๐Ÿ’Ž Building blocks to construct game UIs using web tech.
TypeScript
378
star
5

leveldb-mcpe

A fork of Google's LevelDB with added zlib compression and windows support
C++
264
star
6

LegacyLauncher

Hacky code to launch our old versions from the new launcher!
Java
245
star
7

minecraft-editor

Minecraft Editor is in early development. It is an in-engine, multiblock editing experience focused on making it possible for creators of all skillsets to easily craft high-quality experiences in Bedrock.
237
star
8

bedrock-protocol-docs

Documentation of the Bedrock network protocol. Protocol is subject to change release over release.
HTML
222
star
9

slicer

Resource pack migration tool for Minecraft 1.14
Java
163
star
10

Sift

A lightweight and easy-to-use tool for accessing your clouds
JavaScript
146
star
11

AccountsClient

Java client for accessing Mojang's account/profile API
Java
115
star
12

blixtser

Fast Serialization
Java
66
star
13

minecraft-creator-tools

A set of tools for creating content and add-ons for Minecraft Bedrock Edition.
TypeScript
48
star
14

stats.minecraft.net

Show them datas
JavaScript
43
star
15

TextureEnder

A tool to convert Minecraft Texture Packs to Resource Packs.
Java
43
star
16

minecraft-debugger

TypeScript
36
star
17

EducationContent

Content repository for MEE
TypeScript
34
star
18

minecraft-legends-docs

Houses public-facing documentation of content formats for Minecraft Legends
25
star
19

minecraft-editor-extension-starter-kit

A repo containing the build pipeline, libraries, and types required for a 3rd party to build a Minecraft Editor Extension
PowerShell
23
star
20

mojang.github.io

JavaScript
21
star
21

t-component

React translation component
TypeScript
17
star
22

dcpu-16

Documentation for DCPU-16 and related hardware.
16
star
23

minecraft-scripting-libraries

Sets of typescript scripting libraries for use with the minecraft scripting modules.
TypeScript
12
star
24

LegacyUnifont

Tracking Java Edition changes to Unifont
C
10
star
25

minecraft-editor-extension-samples

Minecraft Bedrock Editor Extension samples repo.
TypeScript
10
star
26

i18n-scripts

Localization scripts for t-component
JavaScript
9
star
27

legends-blockbench-plugin

Blockbench plugin for exporting Minecraft Legends content
JavaScript
9
star
28

PaintScan

[InventionWeek2020] Paint, scan, and see your own creations in Minecraft!
Java
9
star
29

breakpad

C++
6
star
30

FakeIt

FakeIt repo with fixes needed by our code not included in the main repo (https://github.com/eranpeer/FakeIt)
C++
5
star
31

geojson2fbx

Tool to convert geo.json content into FBX
4
star
32

sloedeployinfra

Azure Function for Commit Status Updates
PowerShell
3
star
33

OrcaSettings

Misc settings for the 3d printer firmware/slicer/etc
3
star
34

cef

Fork of CEF, with changes required for the launcher. See branch 2883.
C++
3
star
35

SFAT-Data-Explorer

C++
2
star
36

poc_precompiled_headers

C++
2
star
37

freetype2

Fork of git://git.sv.nongnu.org/freetype/freetype2.git
C
2
star
38

react-native-0.64

JavaScript
2
star
39

PaintScanAR

PaintScan experiments. Notable piece is use of AR.
Java
2
star
40

PRONYas

A tool for populating word document templates with data
Visual Basic .NET
2
star
41

redux-persist-01

JavaScript
1
star
42

POC_TIME_TRACE_FLAG

C++
1
star