Trouble changing the link font color using typography.js in gatsby

Trouble changing the link font color using typography.js in gatsby

Content Index :

it should still fix some issue Link is a wrapper around @reach/router's Link, which passes most props on to the resulting a tag, including style, so this will generate an anchor tag with the styles applied:
<Link to="/" style={{ color: `#733380`, textShadow: `none`, backgroundImage: `none` }}>Some Text</Link>

No Comments Right Now !

Boards Message :
You Must Login Or Sign Up to Add Your Comments .

Share : facebook icon twitter icon

Tag : html , By : Fred Morrison
Date : March 29 2020, 07:55 AM
hope this fix your issue Can't you simply apply a style attribute like this? You must be using color property for ul or li element which won't apply color to element, instead try this
<a href="path" style="color: #ff0000;">Stuff goes here</a>
ul.unstyled li a {
   color: #ff0000;

Tag : html , By : Daniel Halsey
Date : March 29 2020, 07:55 AM
this one helps. Just trying to change some FA Icons a:visited color from the default blue. Giving me a hell of a time for some reason. All I want is to change the links color from blue after it is visited. Here is the following code: , Try:
#socialMediaIcons a:link .fa, #socialMediaIcons a:visited .fa  {
    color: #ccc;

Trouble changing the font color depending on a certain date range in Javascript & CSS

Tag : javascript , By : desmiserables
Date : March 29 2020, 07:55 AM
To fix this issue Here is the code I am attempting to change font color of the div if today's date is between the 25-28 of October, but doesn't seem to work. Does anyone know a better alternative? , Try following code:
var today = new Date(); // I modified here date() to Date
var dd = today.getDate();
var mm = today.getMonth()+1; //Jan is 0!

if (dd<10) {

if (mm<10) {

if(mm==10 && (dd>24 && dd<29) ){ // I modified mm=10 to mm==10 also added a first brackets

Gatsby.js - Typography themes

Tag : javascript , By : anon
Date : March 29 2020, 07:55 AM
help you fix your problem I notice you placed gatsby-plugin-sass in an array, which is why gatsby didn't recognize it:
module.exports = {
  plugins: [
-   [`gatsby-plugin-sass`], <-- error
+   `gatsby-plugin-sass`,
      resolve: `gatsby-plugin-typography`,
      options: {
        pathToConfigModule: `src/utils/typography`

Google Fonts using Typography.js and Gatsby

Tag : development , By : Mena
Date : October 07 2020, 03:00 AM
wish help you to fix your issue It seems to be a problem specific for the fonts you selected, they do not take styles as option in google fonts, passing a empty array in styles fix the problem
  name: "Bonbon",
  styles: [],
  name: "Hanalei",
  styles: []
Related Posts Related QUESTIONS :
  • Running footer "element(footer)" in paged media appear only in last page
  • responsive web design video container whitespace
  • Select last element without a class
  • CSS: Can I put text over an image without having the text overflow?
  • Add styling to an angular custom component
  • JavaFX have scroll-bar transparent for all elements (scoll pane, text area, etc)
  • How to add 'title' tag (for tooltip) in react styled components
  • Input:checked + after element not working
  • css multiple selector last one doesn't work
  • Css variable in Email Template
  • css pseudo class applied to "a" tag with multiple classes
  • How do I cause a pseudo element to span over blank grid cells?
  • Is it possible to replicate bootstrap 4 col class in CSS Grid?
  • Flexbox - first column full height
  • apply style to ul li after a div span that has a specific class
  • "Inheritance" of a CSS selector
  • Material Ui (reactjs) - Center a logo image in the appBar
  • Placing Link Text Within a Button in Angular App
  • How to center an image in ReactJS using css
  • Less - how to generate values in a loop
  • React/CSS: Using CSS stylesheets in a React app?
  • Why is Safari‚Äôs default font tracking/letter-spacing different than other browsers?
  • How to set text color depends on element class name in css3
  • Encapsulating CSS code in javascript plugin
  • How to give margin-left in proportion to margin-right?
  • change text align according to mobile device in Bootstrap 4
  • ng-deep is effecting sibling components
  • Need to change the highlighted blue color on select drop down to any color without using JavaScript/jquery (mainly in ch
  • overflow-x and overflow-y don't override overflow
  • CSS selector for class and attribute together
  • why are my media queries not working on bootstrap?
  • Can I use PHP inside CSS pseudo class
  • How to select all children with class except the last one in css
  • using google fonts in nextjs with sass, css and semantic ui react
  • Embedding fonts in css file
  • Safari not scaling bullet images
  • Content inside div unclickable
  • How to get a CSS Layout like at elkaniho.com/
  • How to correct this glitch
  • Text editor with spell checker that ignores (X)HTML/CSS/javascript tags?
  • Cross-browser text-stroke methods?
  • What does an * (star) mean in front of a CSS declaration?
  • How to get cross browser <sup> without intrerupting line height?
  • Body Margin:0, Div Width:100% problem in FF and Chrome, fine in IE
  • different css reset for every browser ,is this a good idea to get maximum compatibility with less efforts?
  • Display rootPanel at centre GWT
  • CSS Frameworks like 960 and Blueprint?
  • How to standardize the height of a select box between Chrome and Firefox?
  • Why align="center" not overriding on {text-align:right;}
  • CSS: Parent-Div does not grow with it's children (horizontal)
  • how to set cache for css/js file
  • Is use of position:absolute inside relative can create problems in Print ,screen-readers and for mobile users?
  • Is there a method to include CSS background images in print?
  • How to create column width in CSS that expands with large images yet stays a default size for normally sized content?
  • TinyMCE Image Alignment
  • CSS - Which method is better?
  • Using CSS gradient instead of images
  • Scrolling with CSS
  • Vertically flowing text with css
  • How do you align a block item to the right edge of its parent (with CSS)?
  • shadow
    Privacy Policy - Terms - Contact Us © scrbit.com