Skip to content
This repository was archived by the owner on May 18, 2026. It is now read-only.

Commit 2b0c66d

Browse files
takaokoujiGemini
andcommitted
style: make MicrobitMore completion instruction bold and red
- Add .important-instruction style to connection-modal.css - Apply importantInstruction style to MicrobitMore tilt instruction in UpdatePeripheralStep Co-Authored-By: Gemini <noreply@google.com>
1 parent 63bf0a8 commit 2b0c66d

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

src/components/connection-modal/connection-modal.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,3 +446,8 @@
446446
height: 60%;
447447
width: inherit;
448448
}
449+
450+
.important-instruction {
451+
font-weight: bold;
452+
color: $red-primary;
453+
}

src/components/connection-modal/update-peripheral-step.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ class UpdatePeripheralStep extends React.Component {
146146
id="gui.connection.updatePeripheral.microbitMoreUpdateSuccessful"
147147
/>
148148
<FormattedMessage
149-
className={styles.centeredRow}
149+
className={classNames(styles.centeredRow, styles.importantInstruction)}
150150
defaultMessage="Tilt your micro:bit to light up all 25 LEDs to complete."
151151
description="Instructions to tilt the micro:bit to complete the update process"
152152
id="gui.connection.updatePeripheral.microbitMoreTiltToLightUp"

0 commit comments

Comments
 (0)