Make WordPress Core

Ticket #49787: 49787.2.diff

File 49787.2.diff, 2.2 KB (added by samful, 5 years ago)

full patch with SCSS

  • wp-content/themes/twentynineteen/sass/variables-site/_colors.scss

    diff --git wp-content/themes/twentynineteen/sass/variables-site/_colors.scss wp-content/themes/twentynineteen/sass/variables-site/_colors.scss
    index 989daa0..9e4d3f5 100644
    $color__text-screen: #21759b; 
    1818$color__text-input: #666;
    1919$color__text-input-focus: #111;
    2020
     21// Inline Text
     22$color__inline-primary: #0073aa;
     23$color__inline-secondary: #005177;
     24$color__inline-dark-gray: #111;
     25$color__inline-light-gray: #767676;
     26$color__inline-white: #FFF;
     27
    2128// Links
    2229$color__link: #0073aa;
    2330$color__link-visited: #0073aa;
  • wp-content/themes/twentynineteen/style-editor.css

    diff --git wp-content/themes/twentynineteen/style-editor.css wp-content/themes/twentynineteen/style-editor.css
    index 3751318..b3ff8aa 100644
    figcaption, 
    758758  color: #767676;
    759759}
    760760
     761/** === Inline Text Colors === */
     762.has-inline-color.has-primary-color {
     763  color: #0073aa;
     764}
     765
     766.has-inline-color.has-secondary-color {
     767  color: #005177;
     768}
     769
     770.has-inline-color.has-dark-gray-color {
     771  color: #111;
     772}
     773
     774.has-inline-color.has-light-gray-color {
     775  color: #767676;
     776}
     777
     778.has-inline-color.has-white-color {
     779  color: #FFF;
     780}
     781
    761782/** === Post Title === */
    762783.editor-post-title__block:before {
    763784  background: #767676;
  • wp-content/themes/twentynineteen/style-editor.scss

    diff --git wp-content/themes/twentynineteen/style-editor.scss wp-content/themes/twentynineteen/style-editor.scss
    index b5c422f..25461fb 100644
    figcaption, 
    187187        color: $color__text-light;
    188188}
    189189
     190/** === Inline Text Colors === */
     191
     192.has-inline-color.has-primary-color{
     193        color: $color__inline-primary;
     194}
     195
     196.has-inline-color.has-secondary-color{
     197        color: $color__inline-secondary;
     198  }
     199 
     200.has-inline-color.has-dark-gray-color{
     201        color: $color__inline-dark-gray;
     202}
     203
     204.has-inline-color.has-light-gray-color{
     205        color: $color__inline-light-gray;
     206}
     207
     208.has-inline-color.has-white-color{
     209        color: $color__inline-white;
     210}
     211
    190212/** === Post Title === */
    191213
    192214.editor-post-title__block {