Skip to content

Commit dbe30f4

Browse files
committed
chore: update text format in side bar
1 parent 2cdf5f2 commit dbe30f4

File tree

6 files changed

+12
-41
lines changed

6 files changed

+12
-41
lines changed

ouds_core/assets/doc/orange_theme.html

Lines changed: 7 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
--font-size-display-small: 2rem;
3636

3737
/* Line heights */
38-
--font-line-height-heading-large: 0px;
38+
--font-line-height-heading-large: 40px;
3939
--font-line-height-display-small: 40px;
4040
--font-line-height-body-medium: 14px;
4141

@@ -48,42 +48,12 @@
4848
}
4949

5050
/* Media queries for responsive variables */
51-
@media (min-width: 736px) {
52-
:root {
53-
--font-size-heading-small: 1.5rem;
54-
--font-size-heading-medium: 1.5rem;
55-
--font-size-heading-large: 2.25rem;
56-
--font-size-display-small: 2.5rem;
57-
58-
--font-line-height-heading-large: 36px;
59-
60-
--font-letter-spacing-display-small: -0.4px;
61-
--font-letter-spacing-heading-large: 0.28px;
62-
--font-letter-spacing-heading-small: 0px;
63-
--font-letter-spacing-body-large: 0.18px;
64-
}
65-
}
66-
67-
@media (min-width: 1024px) {
68-
:root {
69-
--font-size-heading-small: 1.5rem;
70-
--font-size-heading-medium: 1.75rem;
71-
--font-size-heading-large: 2.5rem;
72-
--font-size-display-small: 3rem;
73-
74-
--font-line-height-heading-large: 40px;
75-
--font-line-height-display-small: 56px;
76-
77-
--font-letter-spacing-display-small: -0.6px;
78-
--font-letter-spacing-heading-large: 0.32px;
79-
--font-letter-spacing-heading-small: -0.12px;
80-
}
81-
}
8251

8352
@media screen and (max-width: 840px){
8453

8554
:root {
8655
--font-size-heading-medium: 1.5rem;
56+
-font-size-heading-large: 1.0rem;
8757
}
8858

8959
#sidenav-left-toggle{
@@ -95,19 +65,19 @@
9565
}
9666
/* Taille du logo via CSS */
9767
.custom-logo {
98-
width: 20px;
68+
width: 35px;
9969
height: auto;
10070
margin-top: 10px;
10171
}
10272

10373
/* User name styling in header */
10474
header .self-name {
10575
font-size: var(--font-size-heading-medium) !important;
106-
margin-top: 10px;
76+
margin-top: 5px;
10777
}
10878

10979
#theme-button {
110-
margin-top: 20px !important;
80+
margin-top: 15px !important;
11181
}
11282

11383
#dartdoc-main-content {
@@ -142,7 +112,7 @@
142112
}
143113
.section-subtitle {
144114
margin-bottom: 5px;
145-
text-transform: lowercase !important;
115+
text-transform: none !important;
146116
}
147117

148118
/* Sidebar links styling */
@@ -511,6 +481,7 @@
511481
const element = document.querySelector('.package-name');
512482
element.textContent = 'Core Components';
513483

484+
//change the menu button place to be on left of logo
514485
document.addEventListener("DOMContentLoaded", () => {
515486
const toggleButton = document.getElementById('sidenav-left-toggle');
516487
const header = document.querySelector("header#title");

ouds_core/lib/components/form_input/ouds_text_input.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// Software description: Flutter library of reusable graphical components
1010
//
1111

12-
/// {@category Form Input}
12+
/// {@category Form input}
1313
library;
1414

1515
import 'package:flutter/material.dart';

ouds_core/lib/components/form_input/password_input/ouds_password_input.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// Software description: Flutter library of reusable graphical components
1010
//
1111

12-
/// {@category Form Input}
12+
/// {@category Form input}
1313
library;
1414

1515
import 'package:flutter/material.dart';

ouds_core/lib/components/pin_code_input/ouds_pin_code_input.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* // Software description: Flutter library of reusable graphical components
1111
* //
1212
*/
13-
/// {@category Pin Code Input}
13+
/// {@category PIN code input}
1414
library;
1515

1616
import 'package:flutter/material.dart';

ouds_core/lib/components/radio_button/ouds_radio_button.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* //
1212
*/
1313

14-
/// {@category Radio Button}
14+
/// {@category Radio button}
1515
library;
1616

1717
import 'package:flutter/material.dart';

ouds_core/lib/components/radio_button/ouds_radio_button_item.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* //
1212
*/
1313

14-
/// {@category Radio Button}
14+
/// {@category Radio button}
1515
library;
1616

1717
import 'package:flutter/material.dart';

0 commit comments

Comments
 (0)