File tree Expand file tree Collapse file tree
packages/console/app/src/routes Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -797,15 +797,29 @@ body {
797797 border-radius : 6px ;
798798 border : 1px solid var (--color-border-weak );
799799 padding : 20px ;
800- display : flex;
801- flex-direction : column;
802- gap : 12px ;
803800 width : 100% ;
804801
802+ /* Use color, not -moz-text-fill-color, for normal text */
803+ color : var (--color-text-strong );
804+
805805 @media (max-width : 30rem ) {
806806 padding-bottom : 80px ;
807807 }
808808
809+ & : not (: focus ) {
810+ color : var (--color-text-strong );
811+ }
812+
813+ & ::placeholder {
814+ color : var (--color-text-weak );
815+ opacity : 1 ;
816+ }
817+
818+ /* Optional legacy */
819+ & ::-moz-placeholder {
820+ color : var (--color-text-weak );
821+ opacity : 1 ;
822+ }
809823 }
810824
811825 input : focus {
Original file line number Diff line number Diff line change @@ -113,6 +113,8 @@ body {
113113 }
114114
115115
116+
117+
116118 [data-component = "container" ] {
117119 max-width : 67.5rem ;
118120 margin : 0 auto;
@@ -516,14 +518,29 @@ body {
516518 border-radius : 6px ;
517519 border : 1px solid var (--color-border-weak );
518520 padding : 20px ;
519- display : flex;
520- flex-direction : column;
521- gap : 12px ;
522521 width : 100% ;
523522
523+ /* Use color, not -moz-text-fill-color, for normal text */
524+ color : var (--color-text-strong );
525+
524526 @media (max-width : 30rem ) {
525527 padding-bottom : 80px ;
526528 }
529+
530+ & : not (: focus ) {
531+ color : var (--color-text-strong );
532+ }
533+
534+ & ::placeholder {
535+ color : var (--color-text-weak );
536+ opacity : 1 ;
537+ }
538+
539+ /* Optional legacy */
540+ & ::-moz-placeholder {
541+ color : var (--color-text-weak );
542+ opacity : 1 ;
543+ }
527544 }
528545
529546 input : focus {
You can’t perform that action at this time.
0 commit comments