/themes/default/assets/images/
and is called dev-portal-logo.svg
.
.svg
format, ensuring that xmlns="http://www.w3.org/2000/svg"
is included within your <svg>
tag.
<img src="/assets/images/dev-portal-logo.svg">
and is found on line 6 from the /themes/default/partials/footer.tmpl
template./themes/default/assets/stylesheets/main.css
which contains some CSS variables that are used throughout the app. Let’s take a closer look.
You can apply some changes in the portal based on your preferences. For example, you can change the navigation background color, the text color and the different button theme colors. Furthermore, you can change table border color and radius.
If you want to change the navigation background color you need to edit the variable called --tdp-nav-bg-color
Similarly other variables as you can see where/how each one is used:
tdp
stands for Tyk Developer Portal--tdp-nav-bg-color
navigation background color--tdp-body-bg-color
App background color--tdp-text-color
default text color--tdp-link-color
links (anchor tags)--tdp-nav-link-color
navigation links--tdp-card-border-radius
Card component--tdp-border-color-on-error
input color if there’s an error--tdp-table-border-color
table--tdp-border-radius
radius--tdp-primary-border form
elements (such as <input>
and <select>
) if active--tdp-form-element-border
form elements (such as <input>
and <select>
)--tdp-primary-btn-color
background color--tdp-primary-btn-border
border color--tdp-secondary-btn-color
background color--tdp-secondary-btn-border
border color--tdp-danger-btn-color
background color--tdp-danger-btn-border
border color--tdp-danger-outline-btn-border
border color of the outline variation--tdp-warning-btn-color
background color--tdp-warning-btn-border
border color--tdp-warning-outline-btn-border
border color of the outline variation